problems building cvs under mac os x and linux

Started by funsheep, July 20, 2004, 09:32:37

Previous topic - Next topic

vtowel

I also use Gentoo, and I tried all of the previous poster's suggestions for getting LWJGL to work, to no avail. Here is the output after I've taken all those above steps:
compile_native_linux:
     [echo] Compiling Linux LWJGL version
    [apply] autoconf: Undefined macros:
    [apply] configure.in:70:AC_FUNC_MALLOC
    [apply] configure.in:73:AC_CONFIG_FILES([Makefile
    [apply] configure.in:7:AC_CONFIG_SRCDIR([autogen.sh])
    [apply] configure: error: can not find sources in . or ..
    [apply] make: *** No targets specified and no makefile found.  Stop.
    [apply] strip: '.libs/liblwjgl.0.0.0': No such file

BUILD FAILED
/home/paul/arc/LWJGL/build.xml:118: The following error occurred while executing this line:
/home/paul/arc/LWJGL/build.xml:165: The following error occurred while executing this line:
/home/paul/arc/LWJGL/build.xml:186: Warning: Could not find file /home/paul/arc/LWJGL/src/native/.libs/liblwjgl.0.0.0 to copy.
I've got automake 1.8.5, and I've tried building it with both sun-jdk-1.4.2.05 and blackdown-jdk-1.4.2_rc1, with the same results. Any clue?

cfmdobbie

What version of autoconf are you running?  Try updating it, and see if that helps.

If you think you're already running the latest version, check to see if you have multiple versions of it installed - that's a common problem with Linux systems.
ellomynameis Charlie Dobbie.

vtowel

Thanks, that was the problem! In Gentoo, the autoconf-2.59-r4 package installs both autoconf-2.13 and autoconf-2.59. The default version used is autoconf-2.13. To override this, you have to set an environment variable like so:
export WANT_AUTOCONF=2.5
Then autoconf-2.59 will be used.

In my projects, I add a line like AC_PREREQ( 2.52 ) to aclocal.m4 to require version 2.52 of autoconf (for example), and then it seems to choose the right version of autoconf automatically. Is LWJGL supposed to do this?