Problem with --split-objs on windoze (when building HOpenGL)

25 Jan
2003
25 Jan
'03
1:25 a.m.
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" -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, line 7. BEGIN failed--compilation aborted, 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.
8196
Age (days ago)
8196
Last active (days ago)
0 comments
1 participants
participants (1)
-
Peter Smith