[ODE] Old makefile build system
Rodrigo Hernandez
kwizatz at aeongames.com
Thu Apr 6 09:04:47 MST 2006
The Enable problems should not be patched the way you did it, it seems I
forgot about a thing regarding the change from with to enable,
enable uses the variable $enableval instead of $withval (which makes
sence), I'll fix it right away.
As for the change in libraries, I will add checks for libXmu.a and
libXi, those shoudnt pose a problem, but the path to /usr/X11R6/lib/
should be set in the LD_LIBRARY_PATH enviroment variable (unless of
course there is an M4 macro to detect the X library path).
try adding:
LD_LIBRARY_PATH=/usr/X11R6/lib/:$LD_LIBRARY_PATH ; export LD_LIBRARY_PATH
to your ~/.bash_profile file.
Cheers!
Peter Kyme wrote:
>I was using the old makefile system, but I've switched to the autotools
>setup this week since the old system seemed to be falling out of
>maintenance.
>
>I have however experienced a couple of problems, which I suspect are
>related to my system (I'm running Redhat 9, automake-1.9.6), but I'll
>detail them here anyway.
>
>For reasons which I didn't fully get to the bottom of, the libGLU check
>fails. I hacked around this by adding the following line to configure.in
>
>GL_LIBS="$GL_LIBS -L/usr/X11R6/lib/ -lGLU -lXmu -lXi"
>
>I also found that the configure options for --enable-release and
>--enable-double-precision weren't working correctly. Finally, the
>#define dNODEBUG wasn't being set even when release mode was enabled.
>
>Following is a diff that fixes these problems on my system.
>
>Index: libsrc/ode/configure.in
>===================================================================
>--- libsrc/ode/configure.in (revision 682)
>+++ libsrc/ode/configure.in (revision 684)
>@@ -68,7 +68,8 @@
> dnl Check Precision, define the dInfinity
>constant--------------------------/
> AC_MSG_CHECKING(if double precision is requested)
>+precision=no
>AC_ARG_ENABLE(double-precision,AC_HELP_STRING([--enable-double-precision],
> [Configure ODE to work with double precision, if not specified, single
>precision is used]),
>-precision=$withval,precision=no)
>+precision=yes)
> if test "$precision" != no
> then
>@@ -223,7 +224,8 @@
>
> AC_MSG_CHECKING(if building a release library)
>+release=no
> AC_ARG_ENABLE(release,AC_HELP_STRING([--enable-release],
> [build a release library with -fomit-frame-pointer and -ffast-math]),
>-release=$withval,release=no)
>+release=yes)
> if test "x$release" == xyes
> then
>@@ -231,4 +233,5 @@
> CPPFLAGS="-fomit-frame-pointer -ffast-math"
> CXXFLAGS="-fomit-frame-pointer -ffast-math"
>+ AC_DEFINE(dNODEBUG,,[Disable debug output])
> else
> CFLAGS="-g"
>
>
>J. Perkins wrote:
>
>
>>I just want to check one more time: is everyone okay with removing the
>>old makefile/configurator build system? Any objections, please speak
>>up!
>>
>>I have removed the old Visual Studio project files that were scattered
>>around the source tree; use the ones in ode/build instead.
>>
>>Jason
>>
>>_______________________________________________
>>ODE mailing list
>>ODE at q12.org
>>http://q12.org/mailman/listinfo/ode
>>
>>
>>
>_______________________________________________
>ODE mailing list
>ODE at q12.org
>http://q12.org/mailman/listinfo/ode
>
>
>
More information about the ODE
mailing list