Sven, Peter, Did you two sort out what was going on here? We haven't a clue. (If there's some advice to offer to other users, we'll gladly add it to the FAQ.)
Simon | -----Original Message----- | From: Peter Smith [mailto:[EMAIL PROTECTED]] | Sent: 25 January 2003 01:26 | To: [EMAIL PROTECTED] | Subject: Problem with --split-objs on windoze (when building HOpenGL) | | I'm having some difficulties with the --split-objs parameter when building | HOpenGL on win xp ine with --disable-split-objs. | | Tried uninstalling my 'normal' copy of perl & upgrading GHC to 5.04.2 but | am still getting the same error. | | Couldn't find anything in the archives, so anyone got any ideas?? | | $ make | ------------------------------------------------------------------------ | Recursively making `all' in lib examples ... | PWD = /usr/local/HOpenGL-1.04 | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | make all - --unix; | in /usr/local/HOpenGL-1.04/lib | ------------------------------------------------------------------------ | rm -f GL_Marshal.o ; if [ ! -d GL_Marshal_split ]; then mkdir | GL_Marshal_split; | else find GL_Marshal_split -name '*.o' -print | xargs -s 8000 rm -f | __rm_food ; | fi ; | "/cygdrive/c/ghc/ghc-5.04.1/bin/ghc" -package lang -package-name HOpenGL | -i../GL | UT -I../GLUT/include -cpp -DCALLCONV=stdcall -split-objs -odir | GL_Marshal_split | -fglasgow-exts "-#include <GL/glut.h>" -O -c GL_Marshal.hs -o GL_Marshal.o | Can't locate utf8.pm in @INC (@INC contains: .) at | c:\ghc\ghc-5.04.1\ghc-split l | ine 50, <TMPI> line 7. | BEGIN failed--compilation aborted, <TMPI> line 7. | make[1]: *** [GL_Marshal.o] Error 1make: *** [all] Error 1 | | | Peter | | At 01:10 PM 24/01/2003 +0100, Sven Panne wrote: | Peter Smith wrote: | > I'm getting the following error when running make all/make install (make | > depend worked fine). | > | > I'm building on windoze xp home, GHC5.04.1, cygwin. Any ideas? [...] | Hmmm, this looks like a GHC/Perl installation problem (GHC uses Perl | e.g. for -split-objs). A few questions: | * Can you compile and link a simple HelloWorld.hs with -O? | * Can you do the same with -O *and* -split-objs? | * Does HOpenGL work when configure is called with --disable-split-objs? | Cheers, | S. | | _______________________________________________ | Glasgow-haskell-users mailing list | [EMAIL PROTECTED] | http://www.haskell.org/mailman/listinfo/glasgow-haskell-users _______________________________________________ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
