Re: Starting it all over again: It works!!!
Andre Wilson Brotto Furtado <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.hopengl |
|---|---|
| Message-ID | <[email protected]> |
Manuel Garcia Rodriguez wrote: > Thanks God! After three weeks I was able to compile > and run HOpenGL. Unfortunately I did not succeed yet... Check this weird history: I was stuck at "make install" getting the error: GL/glut.h: No such file or directory I then copied the glut files from http://haskell.org/HOpenGL/releases/OpenGL-includes.zip and passed through this point. Later in "make install", I got a new error: test -d "/cygdrive/c/GHC/GHC-5.04.2/BIN/ghc/imports/HOpenGL" || mkdir "/cygdrive /c/GHC/GHC-5.04.2/BIN/ghc/imports/HOpenGL" mkdir: cannot create directory `/cygdrive/c/GHC/GHC-5.04.2/BIN/ghc/imports/HOpen GL': No such file or directory make[1]: *** [install] Error 1 make: *** [install] Error 1 I created the missing directory by hand and finally "make install" was completed, in spite of a lot of warnings such as: - foreign declaration uses deprecated non-standard syntax - assignment discards qualifiers from pointer target type - implicit declaration of function `glTexImage3D' - ... I did not understand why the examples (both C and HS) were not compiled during stall. I then tryied to compile them by hand, but got stuck at BlendEqn with the following error: ../../lib/libHOpenGL.a(GL_PerFragment__57.o)(.text+0x124)://c/WINDOWS/TEMP/g hc-3 33765.hc: undefined reference to `glBlendEquation' make[1]: *** [BlendEqn] Error 1 make: *** [all] Error 1 I then decided to start it all over again (once more :]) because I realized that I copied glut files AFTER the ./configure step, and supposed that this could give me more problems in the future. When running "./configure" once more, I was very surprised by this error: checking for ghc... no configure: error: No Haskell compiler not found (!!!) Now I have no idea what am I supposed to do... perhaps uninstall everything (including GHC) and try it once more. As always, config.log is attached, in case someone can give me a light. Cheers, -- Andre
config.log
(text/plain, 4.6 KB)
This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.52. Invocation command line was $ ./configure ## ---------- ## ## Platform. ## ## ---------- ## hostname = 1401A uname -m = i686 uname -r = 1.3.18(0.69/3/2) uname -s = CYGWIN_98-4.10 uname -v = 2002-12-25 15:37 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH = /usr/local/bin:/usr/bin:/bin:/USR/LOCAL/BIN:/USR/BIN:/cygdrive/c/GHC/GHC-5.04.2/BIN:/cygdrive/c/GHC/GHC-5.04.2:/cygdrive/c/HASKELL/GREEN-CARD:/usr/bin:/cygdrive/c/WINDOWS/SYSTEM:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/COMMAND:/cygdrive/c/GHC/GHC-50~1.2/BIN:. ## ------------ ## ## Core tests. ## ## ------------ ## configure:941: PATH=".;."; conftest.sh conftest.sh: not found configure:944: $? = 127 configure:1066: checking for gcc configure:1081: found /usr/bin/gcc configure:1089: result: gcc configure:1317: checking for C compiler version configure:1320: gcc --version </dev/null >&5 gcc (GCC) 3.2 20020927 (prerelease) Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:1323: $? = 0 configure:1325: gcc -v </dev/null >&5 Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.2/specs Configured with: /netrel/src/gcc-3.2-3/configure --enable-languages=c,c++,f77,java --enable-libgcj --enable-threads=posix --with-system-zlib --enable-nls --without-included-gettext --enable-interpreter --disable-sjlj-exceptions --disable-version-specific-runtime-libs --enable-shared --build=i686-pc-linux --host=i686-pc-cygwin --target=i686-pc-cygwin --enable-haifa --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --includedir=/nonexistent/include --libexecdir=/usr/sbin Thread model: posix gcc version 3.2 20020927 (prerelease) configure:1328: $? = 0 configure:1330: gcc -V </dev/null >&5 gcc: argument to `-V' is missing configure:1333: $? = 1 configure:1353: checking for C compiler default output configure:1356: gcc conftest.c >&5 configure:1359: $? = 0 configure:1388: result: a.exe configure:1393: checking whether the C compiler works configure:1399: ./a.exe configure:1402: $? = 0 configure:1417: result: yes configure:1424: checking whether we are cross compiling configure:1426: result: no configure:1429: checking for executable suffix configure:1431: gcc -o conftest.exe conftest.c >&5 configure:1434: $? = 0 configure:1456: result: .exe configure:1462: checking for object suffix configure:1480: gcc -c conftest.c >&5 configure:1483: $? = 0 configure:1502: result: o configure:1506: checking whether we are using the GNU C compiler configure:1527: gcc -c conftest.c >&5 configure:1530: $? = 0 configure:1533: test -s conftest.o configure:1536: $? = 0 configure:1548: result: yes configure:1554: checking whether gcc accepts -g configure:1572: gcc -c -g conftest.c >&5 configure:1575: $? = 0 configure:1578: test -s conftest.o configure:1581: $? = 0 configure:1591: result: yes configure:1618: gcc -c -g -O2 conftest.c >&5 conftest.c:2: parse error before "me" configure:1621: $? = 1 configure: failed program was: #ifndef __cplusplus choke me #endif configure:1722: checking for green-card configure:1739: found /cygdrive/c/HASKELL/GREEN-CARD/green-card configure:1750: result: /cygdrive/c/HASKELL/GREEN-CARD/green-card configure:1765: checking for ghc configure:1796: result: no configure:1801: error: No Haskell compiler not found ## ----------------- ## ## Cache variables. ## ## ----------------- ## ac_cv_path_with_green_card='/cygdrive/c/HASKELL/GREEN-CARD/green-card' ac_cv_prog_cc_g='yes' ac_cv_env_LDFLAGS_set='' ac_cv_c_compiler_gnu='yes' ac_cv_exeext='.exe' ac_cv_env_CFLAGS_set='' ac_cv_env_CPP_value='' ac_cv_env_CPPFLAGS_set='' ac_cv_env_host_alias_set='' ac_cv_env_build_alias_set='' ac_cv_env_LDFLAGS_value='' ac_cv_env_target_alias_set='' ac_cv_env_CFLAGS_value='' ac_cv_env_CC_set='' ac_cv_env_CPPFLAGS_value='' ac_cv_env_host_alias_value='' ac_cv_env_build_alias_value='' ac_cv_prog_ac_ct_CC='gcc' ac_cv_env_target_alias_value='' ac_cv_env_CC_value='' ac_cv_env_CPP_set='' ac_cv_objext='o' configure: exit 1