logo       

Re: hopengl fails to compile in cvs head: msg#00033

lang.haskell.glasgow.bugs

Subject: Re: hopengl fails to compile in cvs head

Jeremy Shaw wrote:
[...]
------------------------------------------------------------------------
==fptools== gmake boot -wr;
in /usr/ports/lang/ghc-cvs/work/fptools/libraries/OpenGL
------------------------------------------------------------------------
../../ghc/utils/ghc-pkg/ghc-pkg-inplace --update-package <package.conf.inplace
Reading package info from stdin... Fail: Couldn't parse package configuration.
gmake[2]: *** [../../ghc/driver/stamp-pkg-conf-OpenGL] Error 1
gmake[1]: *** [boot] Error 1
gmake[1]: Leaving directory `/usr/ports/lang/ghc-cvs/work/fptools/libraries'
gmake: *** [build] Error 1

Huh? These lines look a little bit mysterious: Just before the ghc-pkg-inplace
two lines seem to be missing. Here the relevant lines from my compilation log
(about a month old):

------------------------------------------------------------------------
==fptools== make boot -wr;
in /usr/src/packages/BUILD/fptools/libraries/OpenGL
------------------------------------------------------------------------
gcc -E -undef -traditional -I../../ghc/includes -x c -DGLU_CFLAGS=',"-I/usr/X11R6/include"' -DGLU_LIBS=',"-lGLU"
,"-lGL" ,"-L/usr/X11R6/lib" ,"-lX11" ,"-lm"' package.conf.in \
| sed 's/^#.*$//g' >package.conf.inplace
gcc -E -undef -traditional -I../../ghc/includes -DINSTALLING -x c -DGLU_CFLAGS=',"-I/usr/X11R6/include"'
-DGLU_LIBS=',"-lGLU" ,"-lGL" ,"-L/usr/X11R6/lib" ,"-lX11" ,"-lm"' package.conf.in \
| sed 's/^#.*$//g' >package.conf.installed
../../ghc/utils/ghc-pkg/ghc-pkg-inplace --update-package <package.conf.inplace
warning: can't find GHCi lib `HSOpenGL.o'
Reading package info from stdin... done.
Expanding embedded variables... done.
Saving old package config file... done.
Writing new package config file... done.
[...]
------------------------------------------------------------------------

Could you send me your full compilation log and fptools/config.log, please?
Meanwhile I try to build the HEAD...

Cheers,
S.


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise