[ODE] Building on MacOSX (and now Linux)

Ryan Gardner ryebrye at gmail.com
Fri Apr 28 09:13:39 MST 2006


On Mac OS X, a big part of the problem is that the default Automake  
installed is version 1.6.3 - which is older than the 1.8 required to  
build the things in ODE.

If you have Darwin Ports installed - here's how you fix the problem.

First:
Get automake 1.9.6 installed in your ports bin directory:

sudo port install automake

Then you need to get rid of the automake in your /usr/bin/ so it  
doesn't use that one by default... I just renamed it to be safe

sudo mv /usr/bin/automake /usr/bin/automake--OLD

You will have to then either open a new terminal or reload bash to  
make it not keep trying to use the original automake.

After that - the autogen.sh will work just fine on Mac OS X (for me  
at least)...

The make process goes much further for me then - but still hangs up  
when trying to build anything that needs GL/gl.h or GL/glu.h...
"drawstuff.cpp:44:19: error: GL/gl.h: No such file or directory"

Ryan Gardner

Second:
On Apr 28, 2006, at 9:17 AM, Rodrigo Hernandez wrote:

>
> Yeah, thats not what I said, I said autogen.sh fails, not automake, my
> guess is that your enviroment is configured in such a way that
> shell scripts are unable to see autotools (automake,autoconf,etc), and
> as such autoGEN.sh fails to properly run the autotools commands in it.
>
> So my advice is take it one step at a time, and try and find out  
> why is
> autogen.sh not able to see autotools.
>
> Christian Schneider wrote:
>
>>
>> Rodrigo Hernandez wrote:
>>
>>> I replied about the "ODE_API thing" too, reading the log you posted
>>> it seems like configure is not properly build (since autogen fails)
>>> and then when you do Make configure you're calling on the OLD way of
>>> doing things, so obviously, there is not going to be a ODE_API
>>> definition.
>>
>> No, automake ran fine when I executed the single commands from  
>> the .sh
>> file (as I wrote). Still the missing ODE_API define.
>>
>> /Irrisor
>>
>
> _______________________________________________
> ODE mailing list
> ODE at q12.org
> http://q12.org/mailman/listinfo/ode



More information about the ODE mailing list