<!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>
&gt;<BR>
&gt; I'm trying to install Ipopt on my iMac G5 (MacOSand finally got it to<BR>
&gt; work with MUMPS.&nbsp; On a side note, I spent a long time troubleshooting<BR>
&gt; installation problems when deciding to be enterprising and changing the<BR>
&gt; variable in the get.Mumps routine to version 4.8.1-it worked with the<BR>
&gt; out of the box version of 4.7.3.<BR>
&gt;<BR>
&gt;&nbsp;<BR>
&gt;<BR>
&gt; Now my problem is adding the ASL code I get the following:<BR>
&gt;<BR>
&gt; g++ -O3 -fomit-frame-pointer -pipe -DNDEBUG -pedantic-errors -Wimplicit<BR>
&gt; -Wparent heses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith<BR>
&gt; -Wwrite-strings -Wconversi on -o .libs/ipopt ampl_ipopt.o<BR>
&gt; -Wl,-bind_at_load&nbsp; ./.libs/libamplinterface.a ../<BR>
&gt; ../Interfaces/.libs/libipopt.dylib<BR>
&gt; /Users/melrobin/Ipopt-3.4.2/ThirdParty/ASL/am plsolver.a -lpthread<BR>
&gt; -llapack -lblas -lcrt1.10.5.o -L/usr/local/lib/gcc/powerpc-<BR>
&gt; apple-darwin9.4.0/4.4.0<BR>
&gt; -L/usr/local/lib/gcc/powerpc-apple-darwin9.4.0/4.4.0/../ ../..<BR>
&gt; /usr/local/lib/gcc/powerpc-apple-darwin9.4.0/4.4.0/libgfortranbegin.a<BR>
&gt; /usr /local/lib/libgfortran.dylib -lm -lgcc_s.10.5 -lSystemStubs<BR>
&gt; -lSystem -ldl<BR>
&gt;<BR>
&gt; Undefined symbols:<BR>
&gt;<BR>
&gt;&nbsp;&nbsp; &quot;_strtod_ASL&quot;, referenced from:<BR>
&gt;<BR>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _Dval_ASL in amplsolver.a(value.o)<BR>
&gt;<BR>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _DA_val_ASL in amplsolver.a(value.o)<BR>
&gt;<BR>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _D_val_ASL in amplsolver.a(value.o)<BR>
&gt;<BR>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _DU_val_ASL in amplsolver.a(value.o)<BR>
&gt;<BR>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _jac0dim_ASL in amplsolver.a(jac0dim.o)<BR>
&gt;<BR>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _strtod_ASL$non_lazy_ptr in amplsolver.a(func_add.o)<BR>
&gt;<BR>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _ascanf_ASL in amplsolver.a(bscanf.o)<BR>
&gt;<BR>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _f_OPprecision in amplsolver.a(rops2.o)<BR>
&gt;<BR>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _Round in amplsolver.a(rops2.o)<BR>
&gt;<BR>
&gt; ld: symbol(s) not found<BR>
&gt;<BR>
&gt; collect2: ld returned 1 exit status<BR>
&gt;<BR>
&gt; make[3]: *** [ipopt] Error 1<BR>
&gt;<BR>
&gt; make[2]: *** [all-recursive] Error 1<BR>
&gt;<BR>
&gt; make[1]: *** [all-recursive] Error 1<BR>
&gt;<BR>
&gt; make: *** [all-recursive] Error 1<BR>
&gt;<BR>
&gt;&nbsp;<BR>
&gt;<BR>
&gt; I added the -DNDEBUG after looking at some other mailing lists with<BR>
&gt; similar problems, but this didn't solve it.&nbsp; I also did a configure and<BR>
&gt; make from the ThirdParty/ASL directory and this worked just fine.&nbsp; Any<BR>
&gt; ideas on how I can get past this error?&nbsp; It seems some simple way that I<BR>
&gt; screwed up.&nbsp; BTW, g++ -v reports:<BR>
&gt;<BR>
&gt;&nbsp;<BR>
&gt;<BR>
&gt; Justin:Ipopt-3.4.2 melrobin$ g++ -v<BR>
&gt;<BR>
&gt; Using built-in specs.<BR>
&gt;<BR>
&gt; Target: powerpc-apple-darwin9<BR>
&gt;<BR>
&gt; Configured with: /var/tmp/gcc_42/gcc_42-5564~1/src/configure<BR>
&gt; --disable-checking --enable-werror --prefix=/usr --mandir=/usr/share/man<BR>
&gt; --enable-languages=c,objc,c++,obj-c++<BR>
&gt; --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/<BR>
&gt; --with-gxx-include-dir=/usr/include/c++/4.0.0 --with-slibdir=/usr/lib<BR>
&gt; --build=i686-apple-darwin9 --program-prefix=<BR>
&gt; --host=powerpc-apple-darwin9 --target=powerpc-apple-darwin9<BR>
&gt;<BR>
&gt; Thread model: posix<BR>
&gt;<BR>
&gt; gcc version 4.2.1 (Apple Inc. build 5564)<BR>
&gt;<BR>
&gt;&nbsp;<BR>
&gt;<BR>
&gt; There is something screwy between my 4.2.1 and 4.4.0 (while I was<BR>
&gt; troubleshooting the MUMPS problem), but I don't think that this is<BR>
&gt; causing the issue.<BR>
&gt;<BR>
&gt;&nbsp;<BR>
&gt;<BR>
&gt;&nbsp;<BR>
&gt;<BR>
&gt;<BR>
&gt;<BR>
&gt;<BR>
&gt; ------------------------------------------------------------------------<BR>
&gt;<BR>
&gt; _______________________________________________<BR>
&gt; Ipopt mailing list<BR>
&gt; Ipopt@list.coin-or.org<BR>
&gt; <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>