From: Andrew F. <af...@ph...> - 2006-06-09 15:40:07
|
xtof Many thanks I seem to be making progress again! I ran the autogen.sh again and then repeated the xerces-c for expat substitution The configure run was successful. And I have managed to build some files!!! In fact libODES.a is built which I guess is libSOS!! I've run into a problem with getopt.h in odeSolver but its early days with that! Thanks Andrew > -----Original Message----- > From: Christoph Flamm [mailto:xt...@tb...]=20 > Sent: 09 June 2006 16:15 > To: Andrew Finney > Cc: SOSlib Development > Subject: RE: [SOSlib-devel] more fun on AIX[Scanned] >=20 > hi andrew, >=20 > yes this seems to be the problem. > you can look into the autogen.sh script in the source of=20 > ODE_solver the right order is >=20 > aclocal -I config > autoheader > automake --add-missing --gnu --copy >=20 > =3D;) xtof >=20 > Andrew Finney writes: > > xtof > > > > Thanks for your help > > > > I think I have buggered up the configuration process. > > what is the correct set of commands to setup a=20 > configuration from > scratch (i.e. generate all the=20 > configure and Makefile.in files) assuming > a valid set of=20 > config and Makefile.am files? I'm not a UNIX guru > > I=20 > have automake 1.9.6 and autoconf 2.59 > > (I had to=20 > download and build my own copies as > the system ones were=20 > too old for libSBML) > > I suspect that the lack of macro=20 > expansion in the makefile is causing > the g++ error :-( > =20 > > yours Andrew > > > -----Original Message----- > > From:=20 > Christoph Flamm [mailto:xt...@tb...] > > Sent: 09=20 > June 2006 15:58 > > To: Andrew Finney > > Cc: SOSlib=20 > Development > > Subject: Re: [SOSlib-devel] more fun on=20 > AIX[Scanned] > > > > hi andrew, > > > > g++ (GCC) 3.3.2=20 > is rather old, the current version is g++ (GCC) 4.0.2 > >=20 > which should be available for AIX. > > > > > > you still have problems with the=20 > automake/autoconf/configure > > process; your configure=20 > script has not properly substituted > > the @WHATEVER@=20 > variables from the Makefile.in with the values > >=20 > determined by the configure script! > > > > > > which version of automake/autoconf are you using? > > > the current one's are: > > > automake (GNU automake) 1.9.5 > > > autoconf (GNU Autoconf) 2.59 > > > > > > =3D;) xtof > > > > > > Andrew Finney writes: > > > > Rainer > > > > > > > > trying to get SOS lib to compile on AIX has been >=20 > one > > 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 > >=20 > However > > 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. =20 > -g -O2 -MT > > > > ASTIndexNameN > > > > ode.o -MD -MP -MF ".deps/ASTIndexNameNode.Tpo" -c -o =20 > > > ASTIndexNameNode.o > ASTIndex > NameNode.cpp; then mv=20 > -f > > ".deps/ASTIndexNameNode.Tpo" > > > > ".deps/ASTIndexNameNode.P > > > > o"; else rm -f ".deps/ASTIndexNameNode.Tpo"; exit 1;=20 > fi > > > g++: cannot specify -o with -c or -S and multiple =20 > > > compilations > make: 1254-004 The error code from the=20 > last > > command is 1. > > > > > > > > > > > > Stop. > > > > gmake: *** [all-recursive] Error 1 > > >=20 > bash-2.05a$ g++ --version > > > g++ (GCC) 3.3.2 > > >=20 > 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 > > > > > > -- > > > 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 > >=20 > email: xt...@bi... > > smail: Haertelstrasse=20 > 16-18, D-04107 Leipzig, Germany > >=20 >=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 |