I have been attempting to compile both 1.4 & 2.0b1 in PCBSD (FreeBSD8.2).
In 1.4, I get an error message when attempting to create the makefile.
./configue
=>
~
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking GL/gl.h usability... no
checking GL/gl.h presence... no
checking for GL/gl.h... no
configure: error: Can't find GL/gl.h. Look for Mesa devel packages for your distro.
The header files exist, and the gl.h is in /usr/X11R6/include/GL. All prerequisites are installed via the ports with make install to include the source files.
Looked through the configure.in file, but nothing stood out.
In 2.0: error message is:
/usr/local/src/speed-dreams-2.0.0-b1-r3937-src# cmake . {used ccmake . previously & set up the parameters]
-- Looking for library plib/ul - found
-- Looking for library plib/js - found
-- Looking for library plib/sg - found
-- Looking for library plib/sl - found
-- Looking for library plib/ssg - found
-- Looking for library plib/ssgaux - found
-- Looking for library OpenAL - found
-- Looking for library ENET - found
-- Looking for library OpenGL - found
-- Looking for library OpenGL/GLU - found
-- Looking for libraries X11 - found
-- Looking for library Zlib - found
-- Looking for library PNG - found
-- Looking for library SDL - found
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/local/src/speed-dreams-2.0.0-b1-r3937-src
[pms@xw9400] /usr/local/src/speed-dreams-2.0.0-b1-r3937-src# make
Linking CXX shared library libtxml.so
/usr/local/include: file not recognized: File format not recognized
*** Error code 1
/usr/local/lib -> shows libtxml.so libtxml.so.0 libtxml.so.0.0.0
Tried file as a symlink to /usr/local/lib/torcs/lib/libxml.so, still same error.
Any ideas?
Peter