[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

libsbml4 and libsbml5



Hi all,

The libsbml5 is already in testing. But copasi 4.8.35 (the newest
version) needs still libsbml4. Both can be installed on one machine
well (except the *dev packages). I prepared a package for libsbml4, but
I'm not shure, how to handle it - should I file an ITP bug for
libsbml4, too?
Anyway, its located in the svn in packages/libsbml/branches/libsbml4.
It's the right place?
But another (more critical) problem is pbuilder - I can't build
libsbml4 with pdebuild; configure works, but then I get strange errors
at the begin of make:
_____________________________________________________________________________

# Add here commands to compile the package.
/usr/bin/make
make[1]: Entering directory `/tmp/buildd/libsbml-4.3.1'
/usr/bin/make -C src -w --jobserver-fds=3,5 -j include
/usr/bin/make -C docs -w --jobserver-fds=3,5 -j include
/usr/bin/make -C win -w --jobserver-fds=3,5 -j include
/usr/bin/make -C macosx -w --jobserver-fds=3,5 -j include
make[2]: Entering directory `/tmp/buildd/libsbml-4.3.1/win'
make[2]: Nothing to be done for `include'.
make[2]: Leaving directory `/tmp/buildd/libsbml-4.3.1/win'
/usr/bin/make -C src -w --jobserver-fds=3,5 -j 
make[2]: Entering directory `/tmp/buildd/libsbml-4.3.1/docs'
make[2]: Nothing to be done for `include'.
make[2]: Leaving directory `/tmp/buildd/libsbml-4.3.1/docs'
/usr/bin/make -C docs -w --jobserver-fds=3,5 -j 
[...]
make[3]: Entering directory `/tmp/buildd/libsbml-4.3.1/src/common'
mkdir -p -- /tmp/buildd/libsbml-4.3.1/include/sbml/common
Copying /tmp/buildd/libsbml-4.3.1/include/sbml/common/extern.h
Copying /tmp/buildd/libsbml-4.3.1/include/sbml/common/common.h
make[3]: Entering directory `/tmp/buildd/libsbml-4.3.1/src/common'
/tmp/buildd/libsbml-4.3.1/doltlibtool --mode=compile --tag=CXX g++ -I.
-I/tmp/buildd/libsbml-4.3.1/include -DLINUX        -MT
libsbml-version.lo -MD -MP -MF ".deps/libsbml-version.Po" -c -o
libsbml-version.lo libsbml-version.cpp make[3]: Entering directory
`/tmp/buildd/libsbml-4.3.1/src/util' /tmp/buildd/libsbml-4.3.1/doltlibtool
--mode=compile --tag=CXX g++ -I. -I/tmp/buildd/libsbml-4.3.1/include
-DLINUX    -DPACKAGE_NAME=\"libSBML\"    -MT List.lo -MD -MP -MF
".deps/List.Po" -c -o List.lo List.cpp /usr/bin/make -C util -w
--jobserver-fds=3,5 - --jobserver-fds=3,5 -j include In file included
from libsbml-version.h:35:0, from
libsbml-version.cpp:32: /tmp/buildd/libsbml-4.3.1/include/sbml/common/extern.h:34:43:
fatal error: sbml/common/libsbml-namespace.h: No such file or directory
compilation terminated.
_________________________________________________________________________________

and it breaks.

with debuild i get:
_________________________________________________________________________________

# Add here commands to compile the package.
/usr/bin/make
make[1]: Entering directory
`/local/home/ivo/src/alioth/packages/libsbml/build-area/libsbml-4.3.1' /usr/bin/make
-C src -w include make[2]: Entering directory
`/local/home/ivo/src/alioth/packages/libsbml/build-area/libsbml-4.3.1/src' /usr/bin/make
-C common -w include make[3]: Entering directory
`/local/home/ivo/src/alioth/packages/libsbml/build-area/libsbml-4.3.1/src/common'
mkdir -p
-- /local/home/ivo/src/alioth/packages/libsbml/build-area/libsbml-4.3.1/include/sbml/common
Copying /local/home/ivo/src/alioth/packages/libsbml/build-area/libsbml-4.3.1/include/sbml/common/common.h
Copying /local/home/ivo/src/alioth/packages/libsbml/build-area/libsbml-4.3.1/include/sbml/common/extern.h
Copying /local/home/ivo/src/alioth/packages/libsbml/build-area/libsbml-4.3.1/include/sbml/common/libsbml-config.h
Copying /local/home/ivo/src/alioth/packages/libsbml/build-area/libsbml-4.3.1/include/sbml/common/libsbml-config-unix.h
Copying /local/home/ivo/src/alioth/packages/libsbml/build-area/libsbml-4.3.1/include/sbml/common/libsbml-config-win.h
Copying /local/home/ivo/src/alioth/packages/libsbml/build-area/libsbml-4.3.1/include/sbml/common/libsbml-namespace.h
Copying /local/home/ivo/src/alioth/packages/libsbml/build-area/libsbml-4.3.1/include/sbml/common/libsbml-version.h
Copying /local/home/ivo/src/alioth/packages/libsbml/build-area/libsbml-4.3.1/include/sbml/common/operationReturnValues.h
[...]
_________________________________________________________________________________

and it works.

I don't think, that I forgot some build dependencies, and the error
doesn't point in that direction. It seems, that not all files are
copied to the right directory, bu I have no idea at all, why "make" has
a different behavior...
Is this an absolutely no-go, or would it be sufficient, if it builds
with debuild?

Ivo


Reply to: