From: Christoph F. <xt...@tb...> - 2006-06-09 15:15:00
|
hi andrew, yes this seems to be the problem. you can look into the autogen.sh script in the source of ODE_solver the right order is aclocal -I config autoheader automake --add-missing --gnu --copy =;) xtof 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 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...] > > Sent: 09 June 2006 15:58 > > To: Andrew Finney > > Cc: SOSlib Development > > Subject: Re: [SOSlib-devel] more fun on AIX[Scanned] > > > > hi andrew, > > > > g++ (GCC) 3.3.2 is rather old, the current version is g++ (GCC) 4.0.2 > > which should be available for AIX. > > > > you still have problems with the automake/autoconf/configure > > process; your configure script has not properly substituted > > the @WHATEVER@ variables from the Makefile.in with the values > > 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 > > > > =;) xtof > > > > Andrew Finney writes: > > > Rainer > > > > > > trying to get SOS lib to compile on AIX has been > 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 > > > > > > so I replaced xerces-c with expat as you described > > > > > > - I removed -Wl,-rpath from sbml.m4 > > > > > > not supported > > > > > > - I added libstdc++ and libm to sbml.m4 > > > > not there by default > > > > > > - one of the makefile.in was missing which required > > > the following: > > > > > > touch src/sbmlsolver/config.h.in > > > aclocal > > > autoconf > > > automake --all-missing > > > > > > The above enabled me to complete ./configure > > 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. -g -O2 -MT > > > ASTIndexNameN > > > ode.o -MD -MP -MF ".deps/ASTIndexNameNode.Tpo" -c -o > > ASTIndexNameNode.o > ASTIndex > NameNode.cpp; then mv -f > > ".deps/ASTIndexNameNode.Tpo" > > > ".deps/ASTIndexNameNode.P > > > o"; else rm -f ".deps/ASTIndexNameNode.Tpo"; exit 1; fi > > > g++: cannot specify -o with -c or -S and multiple > > compilations > make: 1254-004 The error code from the last > > 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 > > conditions. There is > NO > warranty; not even for > > 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 > > email: xt...@bi... > > smail: Haertelstrasse 16-18, D-04107 Leipzig, Germany > > -- 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 |