
Finally I got some time to install and try HOpenGL 1.02. Here is my feedback: "configure" and "make depend" were done succesfully, but during "make install", I had the following problem: mkdir: cannot make directory `/PROGS/GHC5023/BIN/ghc/imports/HOpenGL': No such f ile or directory make[1]: *** [install] Error 1 make: *** [install] Error 1 I'm using Windows98 with Cygwin, and my ghc dir is "c:\progs\ghc5023". The GHC version is 5.02.3. The HOME variable in cygwin is set to be "c:/progs/ghc5023". I copied HOpenGL to "c:/progs/ghc5023/HOpenGL" and this is where I am issuing the installation commands. I'm sending my config.log attached. Can anyone help? Thanks a lot, -- Andre

Andre W B Furtado wrote:
Finally I got some time to install and try HOpenGL 1.02. Here is my feedback: "configure" and "make depend" were done succesfully, but during "make install", I had the following problem:
mkdir: cannot make directory `/PROGS/GHC5023/BIN/ghc/imports/HOpenGL': No such file or directory make[1]: *** [install] Error 1 make: *** [install] Error 1 [...]
I'm not an expert in the arcane ways cygwin and GHC on M$-platforms mangle innocent pathnames, but you could try make GHC_LIB_DIR=<wherever your GHC really is> install or edit lib/Makefile directly. Strange, I've got a similar setup and it worked for me... Cheers, S.

mkdir: cannot make directory `/PROGS/GHC5023/BIN/ghc/imports/HOpenGL': No such file or directory make[1]: *** [install] Error 1 make: *** [install] Error 1 [...]
I'm not an expert in the arcane ways cygwin and GHC on M$-platforms mangle innocent pathnames, but you could try
make GHC_LIB_DIR=<wherever your GHC really is> install
Well, using:
make GHC_LIB_DIR=~/ install
worked and the package was installed successfully. But now I have another
problem: I tried to use "make all" to build the examples and then I got:
/PROGS/GHC502/BIN/ghc -i../../lib -I../../lib -syslib util -fglasgow-exts
"-#i
nclude

Andre W B Furtado wrote:
[...] I tried to use "make all" to build the examples and then I got:
/PROGS/GHC502/BIN/ghc -i../../lib -I../../lib -syslib util -fglasgow-exts "-#include
" -O -c BspTree.hs -o BspTree.o /PROGS/GHC502/BIN/ghc: not found make[2]: *** [BspTree.o] Error 127 make[1]: *** [all] Error 1 make: *** [all] Error 1 [...]
Hmmm, I'm not sure what's going on here, things worked for me in a similar setup. Is /PROGS/GHC502/BIN/ghc the correct path? Does a "make distclean" help? It wipes away the old configuration, while "make clean" does not (standard GNU behaviour for these targets). Cheers, S.

Andre W B Furtado wrote:
[...] I tried to use "make all" to build the examples and then I got: ["/PROGS/GHC502/BIN/ghc: not found" error message]
Is /PROGS/GHC502/BIN/ghc the correct path?
Actually, the correct path should be /progs/ghc502/bin/ghc rather than /PROGS/GHC502/BIN/ghc. I'm having a similar problem trying to install Haddock: the "configure" also thinks ghc path is the one with upper case letters...
"make distclean" help? It wipes away the old configuration, while "make clean" does not (standard GNU behaviour for these targets).
No, unfortunately it did not help. Now things really got strange: I can't run "configure" anymore... the following error appears: checking for gcc... gcc checking for C compiler default output... a.exe checking whether the C compiler works... yes checking whether we are cross compiling... no checking for executable suffix... .exe checking for object suffix... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for ghc... /PROGS/GHC502/BIN/ghc checking for green-card... /GHCARD/GC-2.01/green-card checking for etags... /usr/bin/etags checking for hstags... no configure: WARNING: Using etags as a replacement for hstags checking syslib for GetOpt... /PROGS/GHC502/BIN/ghc: not found /PROGS/GHC502/BIN/ghc: not found /PROGS/GHC502/BIN/ghc: not found configure: error: No syslib for GetOpt found I'll try to install the a fresh version of cygwin and check if this problem still occurs... -- Andre

hi andre, i apologise if this suggestion is wrong as i only just joined the mailing list and havent really caught much of this thread yet but surely youd just need to delete the config.cache to fix this problem. Maybe you already tried that tho. Anyway, ive just managed to get HOpenGL 1.2 compiled and installed with ghc 5.02.3 on mandrake 8.0 linux, so it does work- so good luck with cygwin, its the best thing on windows, but its still a pig when things go wrong as they will do. cheers, john On Thursday 16 May 2002 13:08, you wrote:
Andre W B Furtado wrote:
[...] I tried to use "make all" to build the examples and then I got: ["/PROGS/GHC502/BIN/ghc: not found" error message]
Is /PROGS/GHC502/BIN/ghc the correct path?
Actually, the correct path should be /progs/ghc502/bin/ghc rather than /PROGS/GHC502/BIN/ghc. I'm having a similar problem trying to install Haddock: the "configure" also thinks ghc path is the one with upper case letters...
"make distclean" help? It wipes away the old configuration, while "make clean" does not (standard GNU behaviour for these targets).
No, unfortunately it did not help. Now things really got strange: I can't run "configure" anymore... the following error appears:
checking for gcc... gcc checking for C compiler default output... a.exe checking whether the C compiler works... yes checking whether we are cross compiling... no checking for executable suffix... .exe checking for object suffix... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for ghc... /PROGS/GHC502/BIN/ghc checking for green-card... /GHCARD/GC-2.01/green-card checking for etags... /usr/bin/etags checking for hstags... no configure: WARNING: Using etags as a replacement for hstags checking syslib for GetOpt... /PROGS/GHC502/BIN/ghc: not found /PROGS/GHC502/BIN/ghc: not found /PROGS/GHC502/BIN/ghc: not found configure: error: No syslib for GetOpt found
I'll try to install the a fresh version of cygwin and check if this problem still occurs...
-- Andre
_______________________________________________ HOpenGL mailing list HOpenGL@haskell.org http://www.haskell.org/mailman/listinfo/hopengl
participants (4)
-
Andre W B Furtado
-
ible
-
Sven Panne
-
Sven Panne