Public bug reported:
Binary package hint: python2.6
Hi,
A no-change rebuild of capisuite with 2.6 as the default python
fails:
m -f libccmodules.a
ar cru libccmodules.a audiosend.o callmodule.o audioreceive.o faxreceive.o
connectmodule.o switch2faxG3.o readDTMF.o calloutgoing.o disconnectmodule.o
faxsend.o
ranlib libccmodules.a
make[4]: Leaving directory `/tmp/buildd/capisuite-0.4.5/src/modules'
make[4]: Entering directory `/tmp/buildd/capisuite-0.4.5/src'
if i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALSTATEDIR=\"/var\"
-DPKGDATADIR=\"/usr/share/capisuite\" -DPKGSYSCONFDIR=\"/etc/capisuite\"
-DPKGLIBDIR=\"/usr/lib/capisuite\" -I/usr/include/python2.6 -g -O2 -MT main.o
-MD -MP -MF ".deps/main.Tpo" -c -o main.o main.cpp; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f
".deps/main.Tpo"; exit 1; fi
i486-linux-gnu-g++ -g -O2 -Wl,-Bsymbolic-functions
-L/usr/lib/python2.6/config -Xlinker -export-dynamic -Wl,-O1
-Wl,-Bsymbolic-functions -o capisuite main.o application/libccapplication.a
modules/libccmodules.a backend/libccbackend.a -lpthread -lcapi20 -lpthread
-ldl -lutil -lm -lpython2.6 -L/usr/lib -lz
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
This is because /usr/lib/python2.6/config/Makefile contains
LOCALMODLIBS= -L$(exec_prefix)/lib -lz
where for 2.5 that variable is empty.
Either this is a mistake and the variable should be empty for python 2.6 as
well,
python2.6-dev should depend on the -dev package for libz, or each pacakge that
uses this variable to get the linker line will have the Build-Dependencies
altered.
Thanks,
James
** Affects: python2.6 (Ubuntu)
Importance: Undecided
Status: New
--
python2.6-dev should perhaps depend on zlib-dev
https://bugs.launchpad.net/bugs/336344
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs