<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7651.59">
<TITLE>RE: [Ipopt] Small installation problem</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Yes, I am running 10.5, so I'm excited about possibly resolving this after trying for hours. I'm eager to give the examples a whirl and learn more about this great piece of software!<BR>
<BR>
Should these flags be set in the Makefile of the Ipopt-3.4.2 directory or in the Ipopt-3.4.2/ThirdParty/ASL directory or both?<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: Stefan Vigerske [<A HREF="mailto:stefan@vigerske.de">mailto:stefan@vigerske.de</A>]<BR>
Sent: Wed 8/20/2008 1:04 PM<BR>
To: Robinson, Melvin D<BR>
Cc: Ipopt@list.coin-or.org<BR>
Subject: Re: [Ipopt] Small installation problem<BR>
<BR>
Hi,<BR>
<BR>
if it's MacOS X 10.5, then please check<BR>
<A HREF="https://projects.coin-or.org/BuildTools/wiki/current-issues">https://projects.coin-or.org/BuildTools/wiki/current-issues</A><BR>
<BR>
Adding<BR>
-mmacosx-version-min=10.4<BR>
to the CFLAGS and CXXFLAGS could help.<BR>
<BR>
Stefan<BR>
<BR>
><BR>
> I'm trying to install Ipopt on my iMac G5 (MacOSand finally got it to<BR>
> work with MUMPS. On a side note, I spent a long time troubleshooting<BR>
> installation problems when deciding to be enterprising and changing the<BR>
> variable in the get.Mumps routine to version 4.8.1-it worked with the<BR>
> out of the box version of 4.7.3.<BR>
><BR>
> <BR>
><BR>
> Now my problem is adding the ASL code I get the following:<BR>
><BR>
> g++ -O3 -fomit-frame-pointer -pipe -DNDEBUG -pedantic-errors -Wimplicit<BR>
> -Wparent heses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith<BR>
> -Wwrite-strings -Wconversi on -o .libs/ipopt ampl_ipopt.o<BR>
> -Wl,-bind_at_load ./.libs/libamplinterface.a ../<BR>
> ../Interfaces/.libs/libipopt.dylib<BR>
> /Users/melrobin/Ipopt-3.4.2/ThirdParty/ASL/am plsolver.a -lpthread<BR>
> -llapack -lblas -lcrt1.10.5.o -L/usr/local/lib/gcc/powerpc-<BR>
> apple-darwin9.4.0/4.4.0<BR>
> -L/usr/local/lib/gcc/powerpc-apple-darwin9.4.0/4.4.0/../ ../..<BR>
> /usr/local/lib/gcc/powerpc-apple-darwin9.4.0/4.4.0/libgfortranbegin.a<BR>
> /usr /local/lib/libgfortran.dylib -lm -lgcc_s.10.5 -lSystemStubs<BR>
> -lSystem -ldl<BR>
><BR>
> Undefined symbols:<BR>
><BR>
> "_strtod_ASL", referenced from:<BR>
><BR>
> _Dval_ASL in amplsolver.a(value.o)<BR>
><BR>
> _DA_val_ASL in amplsolver.a(value.o)<BR>
><BR>
> _D_val_ASL in amplsolver.a(value.o)<BR>
><BR>
> _DU_val_ASL in amplsolver.a(value.o)<BR>
><BR>
> _jac0dim_ASL in amplsolver.a(jac0dim.o)<BR>
><BR>
> _strtod_ASL$non_lazy_ptr in amplsolver.a(func_add.o)<BR>
><BR>
> _ascanf_ASL in amplsolver.a(bscanf.o)<BR>
><BR>
> _f_OPprecision in amplsolver.a(rops2.o)<BR>
><BR>
> _Round in amplsolver.a(rops2.o)<BR>
><BR>
> ld: symbol(s) not found<BR>
><BR>
> collect2: ld returned 1 exit status<BR>
><BR>
> make[3]: *** [ipopt] Error 1<BR>
><BR>
> make[2]: *** [all-recursive] Error 1<BR>
><BR>
> make[1]: *** [all-recursive] Error 1<BR>
><BR>
> make: *** [all-recursive] Error 1<BR>
><BR>
> <BR>
><BR>
> I added the -DNDEBUG after looking at some other mailing lists with<BR>
> similar problems, but this didn't solve it. I also did a configure and<BR>
> make from the ThirdParty/ASL directory and this worked just fine. Any<BR>
> ideas on how I can get past this error? It seems some simple way that I<BR>
> screwed up. BTW, g++ -v reports:<BR>
><BR>
> <BR>
><BR>
> Justin:Ipopt-3.4.2 melrobin$ g++ -v<BR>
><BR>
> Using built-in specs.<BR>
><BR>
> Target: powerpc-apple-darwin9<BR>
><BR>
> Configured with: /var/tmp/gcc_42/gcc_42-5564~1/src/configure<BR>
> --disable-checking --enable-werror --prefix=/usr --mandir=/usr/share/man<BR>
> --enable-languages=c,objc,c++,obj-c++<BR>
> --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/<BR>
> --with-gxx-include-dir=/usr/include/c++/4.0.0 --with-slibdir=/usr/lib<BR>
> --build=i686-apple-darwin9 --program-prefix=<BR>
> --host=powerpc-apple-darwin9 --target=powerpc-apple-darwin9<BR>
><BR>
> Thread model: posix<BR>
><BR>
> gcc version 4.2.1 (Apple Inc. build 5564)<BR>
><BR>
> <BR>
><BR>
> There is something screwy between my 4.2.1 and 4.4.0 (while I was<BR>
> troubleshooting the MUMPS problem), but I don't think that this is<BR>
> causing the issue.<BR>
><BR>
> <BR>
><BR>
> <BR>
><BR>
><BR>
><BR>
><BR>
> ------------------------------------------------------------------------<BR>
><BR>
> _______________________________________________<BR>
> Ipopt mailing list<BR>
> Ipopt@list.coin-or.org<BR>
> <A HREF="http://list.coin-or.org/mailman/listinfo/ipopt">http://list.coin-or.org/mailman/listinfo/ipopt</A><BR>
<BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>