From: Andrew F. <af...@ph...> - 2006-06-09 15:08:26
|
xtof Thanks for your help I think I have buggered up the configuration process. what is the correct set of commands to setup a configuration from scratch (i.e. generate all the configure and Makefile.in files) assuming a valid set of config and Makefile.am files? I'm not a UNIX guru I have automake 1.9.6 and autoconf 2.59 (I had to download and build my own copies as the system ones were too old for libSBML) I suspect that the lack of macro expansion in the makefile is causing the g++ error :-( yours Andrew > -----Original Message----- > From: Christoph Flamm [mailto:xt...@tb...]=20 > Sent: 09 June 2006 15:58 > To: Andrew Finney > Cc: SOSlib Development > Subject: Re: [SOSlib-devel] more fun on AIX[Scanned] >=20 > hi andrew, >=20 > g++ (GCC) 3.3.2 is rather old, the current version is g++ (GCC) 4.0.2 > which should be available for AIX. >=20 > you still have problems with the automake/autoconf/configure=20 > process; your configure script has not properly substituted=20 > the @WHATEVER@ variables from the Makefile.in with the values=20 > determined by the configure script! >=20 > which version of automake/autoconf are you using? > the current one's are: > automake (GNU automake) 1.9.5 > autoconf (GNU Autoconf) 2.59 >=20 > =3D;) xtof >=20 > Andrew Finney writes: > > Rainer > > > > trying to get SOS lib to compile on AIX has been > one=20 > long hack and I have not got there yet... > > > > first: > > > > - I couldn't get xerces to link with libSBML > > so I'm using expat=20 > >=20 > > so I replaced xerces-c with expat as you described > > > > - I removed -Wl,-rpath from sbml.m4 > >=20 > > not supported > > > > - I added libstdc++ and libm to sbml.m4 >=20 > > not there by default > > > > - one of the makefile.in was missing which required > > the following: > >=20 > > touch src/sbmlsolver/config.h.in > > aclocal > > autoconf > > automake --all-missing > > > > The above enabled me to complete ./configure > > However=20 > when I run gmake at the top level I get: > > > > ---------------------------------------- > > > > bash-2.05a$ gmake > > Making all in src > > if g++ -DHAVE_CONFIG_H -I. -I. -I../src/sbmlsolver > > @SUNDIALS_CFLAGS@ @G > > RAPHVIZ_CFLAGS@ @SBML_CFLAGS@ @GRACE_CFLAGS@ -I. -g -O2 -MT > > ASTIndexNameN > > ode.o -MD -MP -MF ".deps/ASTIndexNameNode.Tpo" -c -o=20 > ASTIndexNameNode.o > ASTIndex > NameNode.cpp; then mv -f=20 > ".deps/ASTIndexNameNode.Tpo" > > ".deps/ASTIndexNameNode.P > > o"; else rm -f ".deps/ASTIndexNameNode.Tpo"; exit 1; fi >=20 > g++: cannot specify -o with -c or -S and multiple=20 > compilations > make: 1254-004 The error code from the last=20 > command is 1. > > > > > > Stop. > > gmake: *** [all-recursive] Error 1 > > bash-2.05a$ g++ --version > > g++ (GCC) 3.3.2 > > Copyright (C) 2003 Free Software Foundation, Inc. > > This is free software; see the source for copying=20 > conditions. There is > NO > warranty; not even for=20 > MERCHANTABILITY or FITNESS FOR A PARTICULAR > PURPOSE. > > > > ----------------------------- > > > > Is the version of g++ I'm using too old? > > Is this make output correct? > > > > Any ideas would be most helpful > > > > yours Andrew > > > > > > > > _______________________________________________ > > sbmlsolver-devel mailing list > > sbm...@li... > > https://lists.sourceforge.net/lists/listinfo/sbmlsolver-devel >=20 > -- > Christoph Flamm > Bioinformatik, Inst.f.Informatik, Univ.Leipzig, Germany > www: http://www.tbi.univie.ac.at/~xtof > phone: ++49 341 97-16688 fax: ++49 341 97-16709 > email: xt...@bi... > smail: Haertelstrasse 16-18, D-04107 Leipzig, Germany >=20 |