[Ipopt] Ipopt 3.4.0 installation on Intel Mac
Andreas Waechter
andreasw at watson.ibm.com
Thu May 29 14:27:10 EDT 2008
Hi Ray,
I don't have a access to a Mac, but I know of people how have successfully
compiled Ipopt under Darwin.
1. It seems that you are using compilers from different major GCC
releases. I would not be surprised if that causes problems.
2. I think that other Darwin users have been able to get around this
problem during the sizeof check by explicitly taking off the
"-pedantic-errors" compilation flag. To do this, add the following
arguments to your configure command:
CFLAGS='-O3 -fomit-frame-pointer -pipe -DNDEBUG'
CXXFLAGS='-O3 -fomit-frame-pointer -pipe -DNDEBUG'
This will overwrite the default compiler flags (that include
-pedantic-errors).
I hope this helps,
Andreas
On Thu, 29 May 2008, Ray Zimmerman wrote:
> On May 2, 2008, at 18:10 PM, Andrew Tse wrote:
>> I am trying to install Ipopt 3.4.0 on an intel Mac running OSX
>> 10.5.2 (leopard).
>>
>> I first tried to use the standard procedure :
>>
>> The default ./configure script returned the following error :
>>
>> configure:22429: error: cannot compute sizeof (int *), 77
>> See `config.log' for more details.
>> >From the log, the precise source of the error seemed to be
>> "undefined
>> symbols:
>> "_cplusplus":
>>
> Were you ever able to successfully build Ipopt on your Intel Mac?
>
> I am attempting to configure on a MacBook Pro running 10.5.3 and
> getting the error ...
>
> checking size of int *... configure: error: cannot compute sizeof (int
> *), 77
> See `config.log' for more details.
> configure: error: /bin/sh '../../Ipopt/configure' failed for Ipopt
>
> I have the following compilers available:
>
> gcc version 4.0.1 (Apple Inc. build 5465) (from Apple's dev
> tools)
> gfortran : gcc version 4.3.0 (GCC) (installed via
> fink)
> g95 : gcc version 4.0.3 (g95 0.91!) Apr 18 2008 (installed via
> fink)
>
> I'm happy to provide the config.log file if someone could help me
> figure this out.
>
> Thanks,
>
> --
> Ray Zimmerman
> Senior Research Associate
> 428-B Phillips Hall, Cornell University, Ithaca, NY 14853
> phone: (607) 255-9645
>
> _______________________________________________
> Ipopt mailing list
> Ipopt at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/ipopt
>
More information about the Ipopt
mailing list