From: Andrew F. <af...@ph...> - 2006-06-08 14:27:26
|
This is a not so recent version of 1.6.0=20 Andrew > -----Original Message----- > From: Rainer Machne [mailto:ra...@tb...]=20 > Sent: 08 June 2006 15:25 > To: Andrew Finney; Christoph Flamm > Cc: SOSlib Development > Subject: Re: [SOSlib-devel] building SBML ODE Solver for AIX=20 > - can I use expat?[Scanned] >=20 >=20 > > > > It looks as if the loader (ld) isn't performing as expected :-( > > > > what's the -rpath supposed to do? >=20 >=20 > Maybe Xtof can help out here. >=20 > Just a short question: are you trying to compile version=20 > 1.5.0 or is there an old version number hidden somewhere in=20 > the configure process? >=20 > Rainer >=20 > On Thu, 8 Jun 2006, Andrew Finney wrote: >=20 > > Rainer > > > > I managed to substitute expat for xerces > > > > But I still can't link to libsbml in the config.log > > (attached) > > I get the following: > > > > --------------------------------- > > > > configure:4155: checking correct functioning of SBML > > configure:4185: gcc -o conftest -g -O2=20 > > -I/hpc/home/finneya/programs/include > > -Wl,-rpath,/hpc/home/finneya/programs/lib > > -L/hpc/home/finneya/programs/lib conftest.c -lexpat -lsbml >&5 > > ld: 0706-012 The -p flag is not recognized. > > ld: 0706-012 The -a flag is not recognized. > > ld: 0706-012 The -t flag is not recognized. > > ld: 0706-012 The -h flag is not recognized. > > collect2: ld returned 255 exit status > > configure:4191: $? =3D 1 > > configure: failed program was: > > | /* confdefs.h. */ > > | > > | #define PACKAGE_NAME "odeSolver" > > | #define PACKAGE_TARNAME "SBML_odeSolver" > > | #define PACKAGE_VERSION "1.5.0" > > | #define PACKAGE_STRING "odeSolver 1.5.0" > > | #define PACKAGE_BUGREPORT "{raim,xtof}@tbi.univie.ac.at" > > | #define PACKAGE "SBML_odeSolver" > > | #define VERSION "1.5.0" > > | #ifdef __cplusplus > > | extern "C" void std::exit (int) throw (); using std::exit; #endif > > | /* end confdefs.h. */ > > | #include <sbml/SBMLTypes.h> > > | int > > | main () > > | { > > | SBMLReader_t *sr; sr =3D SBMLReader_create(); SBMLReader_free(sr); > > | ; > > | return 0; > > | } > > configure:4220: result: no: > > CFLAGS=3D-g -O2 = -I/hpc/home/finneya/programs/include > > LDFLAGS=3D = -Wl,-rpath,/hpc/home/finneya/programs/lib > > -L/hpc/home/finneya/programs/lib > > LIBS=3D -lexpat -lsbml > > configure:4228: error: Can not link to SBML Library: > > Please, make sure to use libSBML version >=3D 2.3.2 > > > > ------------------ > > > > It looks as if the loader (ld) isn't performing as expected :-( > > > > what's the -rpath supposed to do? > > > > yours Andrew > > > > > >> -----Original Message----- > >> From: Rainer Machne [mailto:ra...@tb...] > >> Sent: 08 June 2006 14:13 > >> To: Andrew Finney > >> Cc: SOSlib Development > >> Subject: Re: building SBML ODE Solver for AIX - can I use=20 > >> expat?[Scanned] > >> > >> Hi Andrew > >> > >> Unfortunately we completely forgot about libSBML with expat. > >> > >> There is a bug report in sourceforge with short instructions. > >> http://sourceforge.net/tracker/index.php?func=3Ddetail&aid=3D14204 > >> 89&group_id=3D139893&atid=3D744811 > >> > >> > >> Copied from there, with slight corrections: > >> > >> This bug can temporarily be solved simply by replacing all=20 > occurences=20 > >> of > >> > >> `-lxerces-c' > >> > >> in the files: > >> > >> configure > >> src/Makefile.am > >> src/Makefile.in > >> examples/Makefile.am > >> examples/Makefile.in > >> odeSolver/Makefile.am > >> odeSolver/Makefile.in > >> > >> with `-lexpat' > >> > >> e.g. by usind sed: > >> > >> sed 's/xerces-c/expat/g' configure >configure.new mv configure.new=20 > >> configure > >> > >> for all above files. > >> > >> > >> I tried it once and it worked! Please let me know if you suceed! > >> > >> Rainer > >> > >> > >> > >> On Thu, 8 Jun 2006, Andrew Finney wrote: > >> > >>> Rainer > >>> > >>> I'm trying to build SOS on AIX > >>> > >>> for some reason I'm having problems linking with xerces for that=20 > >>> platform > >>> > >>> Is there a way to configure SOS to use expat? > >>> > >>> Andrew > >>> > >> > > >=20 |