[HOpenGL] HOpenGL 1.2
Andre W B Furtado
awfurtado@uol.com.br
Wed, 8 May 2002 01:39:06 -0300
This is a multi-part message in MIME format.
------=_NextPart_000_000C_01C1F631.23FB80C0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
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
------=_NextPart_000_000C_01C1F631.23FB80C0
Content-Type: application/octet-stream;
name="config.log"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="config.log"
This file contains any messages produced by compilers while=0A=
running configure, to aid debugging if configure makes a mistake.=0A=
=0A=
It was created by configure, which was=0A=
generated by GNU Autoconf 2.52. Invocation command line was=0A=
=0A=
$ ./configure --with-glut-api=3D4=0A=
=0A=
## ---------- ##=0A=
## Platform. ##=0A=
## ---------- ##=0A=
=0A=
hostname =3D WINDOWS9=0A=
uname -m =3D i586=0A=
uname -r =3D 1.1.4(0.26/3/2)=0A=
uname -s =3D CYGWIN_98-4.10=0A=
uname -v =3D 2000-08-03 20:53=0A=
=0A=
/usr/bin/uname -p =3D unknown=0A=
/bin/uname -X =3D unknown=0A=
=0A=
/bin/arch =3D unknown=0A=
/usr/bin/arch -k =3D unknown=0A=
/usr/convex/getsysinfo =3D unknown=0A=
hostinfo =3D unknown=0A=
/bin/machine =3D unknown=0A=
/usr/bin/oslevel =3D unknown=0A=
/bin/universe =3D unknown=0A=
=0A=
PATH =3D =
/usr/local/bin:/usr/bin:/usr/bin:/GHC/OPENGL:/PROGS/GHC5023:/GHCARD/GC-2.=
01:/CYGWIN/BIN:/PROGS/GHC5023/BIN:/USR/INCLUDE/GL:/USR/LOCAL/BIN:/usr/bin=
:/WINDOWS/SYSTEM:/ARQUIV~1/JBUILD~1/JAVA/BIN:/ARQUIV~1/MICROS~3/COMMON/MS=
DEV98/BIN:/ARQUIV~1/MICROS~3/VC98/BIN:/TASM/BIN:/WINDOWS/SYSTEM:/DJGPP/BI=
N:/WINDOWS:/WINDOWS/COMMAND:.=0A=
=0A=
## ------------ ##=0A=
## Core tests. ##=0A=
## ------------ ##=0A=
=0A=
configure:934: PATH=3D".;."; conftest.sh
conftest.sh: not found
conftest.sh: not found
configure:937: $? =3D 127
configure:1032: checking for gcc
configure:1047: found /usr/bin/gcc
configure:1055: result: gcc
configure:1283: checking for C compiler version
configure:1286: gcc --version </dev/null >&5
2.95.2
configure:1289: $? =3D 0
configure:1291: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/specs
gcc version 2.95.2 19991024 (release-2)
configure:1294: $? =3D 0
configure:1296: gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure:1299: $? =3D 1
configure:1319: checking for C compiler default output
configure:1322: gcc conftest.c >&5
configure:1325: $? =3D 0
configure:1354: result: a.exe
configure:1359: checking whether the C compiler works
configure:1365: ./a.exe
configure:1368: $? =3D 0
configure:1383: result: yes
configure:1390: checking whether we are cross compiling
configure:1392: result: no
configure:1395: checking for executable suffix
configure:1397: gcc -o conftest.exe conftest.c >&5
configure:1400: $? =3D 0
configure:1422: result: .exe
configure:1428: checking for object suffix
configure:1446: gcc -c conftest.c >&5
configure:1449: $? =3D 0
configure:1468: result: o
configure:1472: checking whether we are using the GNU C compiler
configure:1493: gcc -c conftest.c >&5
configure:1496: $? =3D 0
configure:1499: test -s conftest.o
configure:1502: $? =3D 0
configure:1514: result: yes
configure:1520: checking whether gcc accepts -g
configure:1538: gcc -c -g conftest.c >&5
configure:1541: $? =3D 0
configure:1544: test -s conftest.o
configure:1547: $? =3D 0
configure:1557: result: yes
configure:1584: gcc -c -g -O2 conftest.c >&5
conftest.c:2: parse error before `me'
configure:1587: $? =3D 1
configure: failed program was:
#ifndef __cplusplus=0A=
choke me=0A=
#endif=0A=
configure:1688: checking for ghc
configure:1705: found /PROGS/GHC5023/BIN/ghc
configure:1716: result: /PROGS/GHC5023/BIN/ghc
configure:1731: checking for green-card
configure:1748: found /GHCARD/GC-2.01/green-card
configure:1759: result: /GHCARD/GC-2.01/green-card
configure:1773: checking for etags
configure:1790: found /usr/bin/etags
configure:1801: result: /usr/bin/etags
configure:1813: checking for hstags
configure:1844: result: no
configure:1853: WARNING: Using etags as a replacement for hstags
configure:1859: checking syslib for GetOpt
configure:1879: result: util
configure:1883: checking syslib for Addr
configure:1903: result: lang
configure:1907: checking for buggy readXXXOffAddr/inliner and =
hGetBufFull/Foreign
configure:1924: result: no
configure:1928: checking for -package-name GHC flag
configure:1938: result: yes
configure:1946: checking for -split-objs bug
configure:1968: result: no
configure:1981: checking whether Green Card has comma bug
configure:2000: result: no
configure:2078: checking how to run the C preprocessor
configure:2104: gcc -E -DGLUT_API_VERSION=3D4 conftest.c
configure:2110: $? =3D 0
configure:2137: gcc -E -DGLUT_API_VERSION=3D4 conftest.c
configure:2134: ac_nonexistent.h: No such file or directory
configure:2143: $? =3D 1
configure: failed program was:
#line 2133 "configure"=0A=
#include "confdefs.h"=0A=
#include <ac_nonexistent.h>=0A=
configure:2180: result: gcc -E
configure:2195: gcc -E -DGLUT_API_VERSION=3D4 conftest.c
configure:2201: $? =3D 0
configure:2228: gcc -E -DGLUT_API_VERSION=3D4 conftest.c
configure:2225: ac_nonexistent.h: No such file or directory
configure:2234: $? =3D 1
configure: failed program was:
#line 2224 "configure"=0A=
#include "confdefs.h"=0A=
#include <ac_nonexistent.h>=0A=
configure:2273: checking for X
configure:2374: gcc -E -DGLUT_API_VERSION=3D4 conftest.c
configure:2371: X11/Intrinsic.h: No such file or directory
configure:2380: $? =3D 1
configure: failed program was:
#line 2370 "configure"=0A=
#include "confdefs.h"=0A=
#include <X11/Intrinsic.h>=0A=
configure:2425: gcc -o conftest.exe -g -O2 -DGLUT_API_VERSION=3D4 =
conftest.c -lXt >&5
configure:2414: X11/Intrinsic.h: No such file or directory
configure:2428: $? =3D 1
configure: failed program was:
#line 2413 "configure"=0A=
#include "confdefs.h"=0A=
#include <X11/Intrinsic.h>=0A=
int=0A=
main ()=0A=
{=0A=
XtMalloc (0)=0A=
;=0A=
return 0;=0A=
}=0A=
configure:2472: result: no
configure:3378: checking build system type
configure:3396: result: i586-pc-cygwin
configure:3406: checking host system type
configure:3420: result: i586-pc-cygwin
configure:3620: checking for library containing glEnd
configure:3640: gcc -o conftest.exe -g -O2 conftest.c >&5
/WINDOWS/TEMP/cctzJKxu.o: In function `main':
/progs/ghc5023/HOpenGL/configure:3633: undefined reference to =
`_imp__glEnd@0'
collect2: ld returned 1 exit status
configure:3643: $? =3D 1
configure: failed program was:
#line 3628 "configure"=0A=
#include "confdefs.h"=0A=
#include <GL/glut.h>=0A=
int=0A=
main ()=0A=
{=0A=
glEnd()=0A=
;=0A=
return 0;=0A=
}=0A=
configure:3672: gcc -o conftest.exe -g -O2 conftest.c -lGL >&5
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
configure:3675: $? =3D 1
configure: failed program was:
#line 3660 "configure"=0A=
#include "confdefs.h"=0A=
#include <GL/glut.h>=0A=
int=0A=
main ()=0A=
{=0A=
glEnd()=0A=
;=0A=
return 0;=0A=
}=0A=
configure:3672: gcc -o conftest.exe -g -O2 conftest.c -lopengl32 >&5
configure:3675: $? =3D 0
configure:3678: test -s conftest.exe
configure:3681: $? =3D 0
configure:3693: result: -lopengl32
configure:3702: checking for library containing gluNewQuadric
configure:3722: gcc -o conftest.exe -g -O2 conftest.c -lopengl32 >&5
/WINDOWS/TEMP/cc8xkbvq.o: In function `main':
/progs/ghc5023/HOpenGL/configure:3715: undefined reference to =
`gluNewQuadric@0'
collect2: ld returned 1 exit status
configure:3725: $? =3D 1
configure: failed program was:
#line 3710 "configure"=0A=
#include "confdefs.h"=0A=
#include <GL/glut.h>=0A=
int=0A=
main ()=0A=
{=0A=
gluNewQuadric()=0A=
;=0A=
return 0;=0A=
}=0A=
configure:3754: gcc -o conftest.exe -g -O2 conftest.c -lGLU =
-lopengl32 >&5
/usr/bin/ld: cannot find -lGLU
collect2: ld returned 1 exit status
configure:3757: $? =3D 1
configure: failed program was:
#line 3742 "configure"=0A=
#include "confdefs.h"=0A=
#include <GL/glut.h>=0A=
int=0A=
main ()=0A=
{=0A=
gluNewQuadric()=0A=
;=0A=
return 0;=0A=
}=0A=
configure:3754: gcc -o conftest.exe -g -O2 conftest.c -lglu32 =
-lopengl32 >&5
configure:3757: $? =3D 0
configure:3760: test -s conftest.exe
configure:3763: $? =3D 0
configure:3775: result: -lglu32
configure:3784: checking for library containing glXChooseVisual
configure:3804: gcc -o conftest.exe -g -O2 conftest.c -lglu32 =
-lopengl32 >&5
/WINDOWS/TEMP/ccz0Z7oC.o: In function `main':
/progs/ghc5023/HOpenGL/configure:3797: undefined reference to =
`glXChooseVisual'
collect2: ld returned 1 exit status
configure:3807: $? =3D 1
configure: failed program was:
#line 3792 "configure"=0A=
#include "confdefs.h"=0A=
#include <GL/glut.h>=0A=
int=0A=
main ()=0A=
{=0A=
glXChooseVisual()=0A=
;=0A=
return 0;=0A=
}=0A=
configure:3836: gcc -o conftest.exe -g -O2 conftest.c -lGLX -lglu32 =
-lopengl32 >&5
/usr/bin/ld: cannot find -lGLX
collect2: ld returned 1 exit status
configure:3839: $? =3D 1
configure: failed program was:
#line 3824 "configure"=0A=
#include "confdefs.h"=0A=
#include <GL/glut.h>=0A=
int=0A=
main ()=0A=
{=0A=
glXChooseVisual()=0A=
;=0A=
return 0;=0A=
}=0A=
configure:3836: gcc -o conftest.exe -g -O2 conftest.c -lMesaGLX =
-lglu32 -lopengl32 >&5
/usr/bin/ld: cannot find -lMesaGLX
collect2: ld returned 1 exit status
configure:3839: $? =3D 1
configure: failed program was:
#line 3824 "configure"=0A=
#include "confdefs.h"=0A=
#include <GL/glut.h>=0A=
int=0A=
main ()=0A=
{=0A=
glXChooseVisual()=0A=
;=0A=
return 0;=0A=
}=0A=
configure:3857: result: no
configure:3866: checking for library containing glutMainLoop
configure:3886: gcc -o conftest.exe -g -O2 conftest.c -lglu32 =
-lopengl32 >&5
/WINDOWS/TEMP/cc31gjdU.o: In function `main':
/progs/ghc5023/HOpenGL/configure:3879: undefined reference to =
`glutMainLoop@0'
collect2: ld returned 1 exit status
configure:3889: $? =3D 1
configure: failed program was:
#line 3874 "configure"=0A=
#include "confdefs.h"=0A=
#include <GL/glut.h>=0A=
int=0A=
main ()=0A=
{=0A=
glutMainLoop()=0A=
;=0A=
return 0;=0A=
}=0A=
configure:3918: gcc -o conftest.exe -g -O2 conftest.c -lglut32 =
-lglu32 -lopengl32 >&5
configure:3921: $? =3D 0
configure:3924: test -s conftest.exe
configure:3927: $? =3D 0
configure:3939: result: -lglut32
configure:3955: checking OpenGL flags
configure:3962: result:=20
configure:3966: checking OpenGL libs
configure:3973: result: -lglut32 -lglu32 -lopengl32=20
configure:4009: checking GL version
configure:4030: gcc -c -g -O2 -DGLUT_API_VERSION=3D4 conftest.c >&5
configure:4022: #error Alas, not GL 1.2
configure:4033: $? =3D 1
configure: failed program was:
#line 4015 "configure"=0A=
#include "confdefs.h"=0A=
#include <GL/glut.h>=0A=
int=0A=
main ()=0A=
{=0A=
=0A=
#ifndef GL_VERSION_1_2=0A=
#error Alas, not GL 1.2=0A=
#endif=0A=
;=0A=
return 0;=0A=
}=0A=
configure:4061: gcc -c -g -O2 -DGLUT_API_VERSION=3D4 conftest.c >&5
configure:4064: $? =3D 0
configure:4067: test -s conftest.o
configure:4070: $? =3D 0
configure:4083: result: 1.1
configure:4092: checking GLU version
configure:4113: gcc -c -g -O2 -DGLUT_API_VERSION=3D4 conftest.c >&5
configure:4105: #error Alas, not GLU 1.3
configure:4116: $? =3D 1
configure: failed program was:
#line 4098 "configure"=0A=
#include "confdefs.h"=0A=
#include <GL/glut.h>=0A=
int=0A=
main ()=0A=
{=0A=
=0A=
#ifndef GLU_VERSION_1_3=0A=
#error Alas, not GLU 1.3=0A=
#endif=0A=
;=0A=
return 0;=0A=
}=0A=
configure:4144: gcc -c -g -O2 -DGLUT_API_VERSION=3D4 conftest.c >&5
configure:4147: $? =3D 0
configure:4150: test -s conftest.o
configure:4153: $? =3D 0
configure:4166: result: 1.2
configure:4175: checking for GL/glut.h
configure:4185: gcc -E -DGLUT_API_VERSION=3D4 conftest.c
configure:4191: $? =3D 0
configure:4210: result: yes
configure:4220: checking GLUT API version
configure:4284: result: >=3D 4
configure:4290: checking GLUT Xlib implementation
configure:4354: result: >=3D 13
configure:4360: checking size of char
configure:4381: gcc -o conftest.exe -g -O2 -DGLUT_API_VERSION=3D4 =
conftest.c >&5
configure:4384: $? =3D 0
configure:4386: ./conftest.exe
configure:4389: $? =3D 0
configure:4401: result: 1
configure:4405: checking alignment of char
configure:4434: gcc -o conftest.exe -g -O2 -DGLUT_API_VERSION=3D4 =
conftest.c >&5
configure:4437: $? =3D 0
configure:4439: ./conftest.exe
configure:4442: $? =3D 0
configure:4455: result: 1
configure:4459: checking size of int
configure:4480: gcc -o conftest.exe -g -O2 -DGLUT_API_VERSION=3D4 =
conftest.c >&5
configure:4483: $? =3D 0
configure:4485: ./conftest.exe
configure:4488: $? =3D 0
configure:4500: result: 4
configure:4504: checking alignment of int
configure:4533: gcc -o conftest.exe -g -O2 -DGLUT_API_VERSION=3D4 =
conftest.c >&5
configure:4536: $? =3D 0
configure:4538: ./conftest.exe
configure:4541: $? =3D 0
configure:4554: result: 4
configure:4558: checking size of void *
configure:4579: gcc -o conftest.exe -g -O2 -DGLUT_API_VERSION=3D4 =
conftest.c >&5
configure:4582: $? =3D 0
configure:4584: ./conftest.exe
configure:4587: $? =3D 0
configure:4599: result: 4
configure:4603: checking alignment of void *
configure:4632: gcc -o conftest.exe -g -O2 -DGLUT_API_VERSION=3D4 =
conftest.c >&5
configure:4635: $? =3D 0
configure:4637: ./conftest.exe
configure:4640: $? =3D 0
configure:4653: result: 4
configure:4657: checking size of float
configure:4678: gcc -o conftest.exe -g -O2 -DGLUT_API_VERSION=3D4 =
conftest.c >&5
configure:4681: $? =3D 0
configure:4683: ./conftest.exe
configure:4686: $? =3D 0
configure:4698: result: 4
configure:4702: checking alignment of float
configure:4731: gcc -o conftest.exe -g -O2 -DGLUT_API_VERSION=3D4 =
conftest.c >&5
configure:4734: $? =3D 0
configure:4736: ./conftest.exe
configure:4739: $? =3D 0
configure:4752: result: 4
configure:4756: checking size of double
configure:4777: gcc -o conftest.exe -g -O2 -DGLUT_API_VERSION=3D4 =
conftest.c >&5
configure:4780: $? =3D 0
configure:4782: ./conftest.exe
configure:4785: $? =3D 0
configure:4797: result: 8
configure:4801: checking alignment of double
configure:4830: gcc -o conftest.exe -g -O2 -DGLUT_API_VERSION=3D4 =
conftest.c >&5
configure:4833: $? =3D 0
configure:4835: ./conftest.exe
configure:4838: $? =3D 0
configure:4851: result: 8
configure:4971: creating ./config.status
=0A=
## ----------------------- ##=0A=
## Running config.status. ##=0A=
## ----------------------- ##=0A=
=0A=
This file was extended by config.status 2.52, executed with=0A=
CONFIG_FILES =3D =0A=
CONFIG_HEADERS =3D =0A=
CONFIG_LINKS =3D =0A=
CONFIG_COMMANDS =3D =0A=
> ./config.status =0A=
on WINDOWS9=0A=
=0A=
config.status:5442: creating config.mk
config.status:5442: creating lib/HOpenGL.conf
config.status:5442: creating lib/Makefile
config.status:5442: creating lib/GL_BinaryIO.hs
config.status:5442: creating lib/GL_FFI.hs
config.status:5442: creating lib/GL_CoordTrans.gc
config.status:5442: creating lib/GL_Colors.gc
config.status:5442: creating lib/GL_VertexArray.gc
config.status:5442: creating lib/GL_PixelRect.gc
config.status:5442: creating lib/GL_Texturing.gc
config.status:5442: creating lib/GL_PerFragment.gc
config.status:5442: creating lib/GL_EnumQueries2.gc
config.status:5442: creating lib/GL_EnumQueries3.gc
config.status:5442: creating lib/GL_EnumQueries4.gc
config.status:5442: creating lib/GL_EnumQueries5.gc
config.status:5442: creating lib/GL_EnumQueries7.gc
config.status:5442: creating lib/GL.hs
config.status:5442: creating lib/GLU_NURBS.gc
config.status:5442: creating lib/GLUT.hs
config.status:5442: creating lib/GLUT_CBWindow.gc
config.status:5442: creating lib/GLUT_CBGlobal.gc
config.status:5442: creating lib/GLUT_Fonts.gc
config.status:5442: creating lib/GLUT_Game.gc
config.status:5442: creating lib/GLUT_Init.gc
config.status:5442: creating lib/GLUT_Misc.gc
config.status:5442: creating lib/GLUT_Overlay.hs
config.status:5442: creating lib/GLUT_Resize.gc
config.status:5442: creating lib/GLUT_State.gc
config.status:5442: creating lib/GLUT_Window.gc
config.status:5442: creating examples/misc/Makefile
config.status:5442: creating examples/misc/TestGLUT.hs
config.status:5442: creating examples/redbook_HS/Makefile
config.status:5442: creating examples/redbook_C/Makefile.linux
## ----------------- ##
## Cache variables. ##
## ----------------- ##
hopengl_cv_sizeof_void_p=3D'4'
hopengl_cv_glu_version=3D'1.2'
hopengl_cv_gl_version=3D'1.1'
hopengl_cv_alignof_void_p=3D'4'
hopengl_cv_sizeof_int=3D'4'
mdl_cv_gl_libs=3D'-lglut32 -lglu32 -lopengl32 '
hopengl_cv_alignof_int=3D'4'
mdl_cv_gl_cflags=3D''
ac_cv_prog_cc_g=3D'yes'
ac_cv_env_LDFLAGS_set=3D''
ac_cv_c_compiler_gnu=3D'yes'
ac_cv_exeext=3D'.exe'
ac_cv_env_CFLAGS_set=3D''
hopengl_cv_sizeof_char=3D'1'
ac_cv_search_gluNewQuadric=3D'-lglu32'
ac_cv_header_GL_glut_h=3D'yes'
ac_cv_path_green_card=3D'/GHCARD/GC-2.01/green-card'
hopengl_cv_alignof_char=3D'1'
ac_cv_search_glXChooseVisual=3D'no'
hopengl_cv_sizeof_float=3D'4'
ac_cv_path_HC=3D'/PROGS/GHC5023/BIN/ghc'
ac_cv_env_CPP_value=3D''
ac_cv_env_CPPFLAGS_set=3D''
hopengl_cv_alignof_float=3D'4'
hopengl_cv_green_card_comma_bug=3D'no'
ac_cv_path_etags=3D'/usr/bin/etags'
ac_cv_env_host_alias_set=3D''
ac_cv_search_glEnd=3D'-lopengl32'
hopengl_cv_syslib_Addr=3D'lang'
ac_cv_env_build_alias_set=3D''
ac_cv_env_LDFLAGS_value=3D''
ac_cv_env_target_alias_set=3D''
ac_cv_host_alias=3D'i586-pc-cygwin'
ac_cv_env_CFLAGS_value=3D''
ac_cv_env_CC_set=3D''
ac_cv_have_x=3D'have_x=3Dno'
ac_cv_build_alias=3D'i586-pc-cygwin'
hopengl_cv_split_objs_bug=3D'no'
ac_cv_env_CPPFLAGS_value=3D''
ac_cv_host=3D'i586-pc-cygwin'
ac_cv_env_host_alias_value=3D''
ac_cv_search_glutMainLoop=3D'-lglut32'
ac_cv_build=3D'i586-pc-cygwin'
ac_cv_prog_CPP=3D'gcc -E'
ac_cv_env_build_alias_value=3D''
ac_cv_prog_ac_ct_CC=3D'gcc'
hopengl_cv_sizeof_double=3D'8'
ac_cv_env_target_alias_value=3D''
ac_cv_env_CC_value=3D''
hopengl_cv_alignof_double=3D'8'
ac_cv_env_CPP_set=3D''
hopengl_cv_syslib_GetOpt=3D'util'
ac_cv_objext=3D'o'
## ------------ ##
## confdefs.h. ##
## ------------ ##
#define X_DISPLAY_MISSING 1
configure: exit 0
------=_NextPart_000_000C_01C1F631.23FB80C0--