Package: libextractor-python
Version: 0.5.4-1
Severity: normal

As far as I know, it's not possible to override the system default
python. For instance, when I ask for python2.4 using the PYTHON env
var, configure uses python2.4, but the build uses the default (2.3) instead.

I'm not sure where to change this (I'm not that familiar with the
debian build system).

Thanks!

Joe

Transcript:

> I specify 2.4...
$ env PYTHON=/usr/bin/python2.4 fakeroot debian/rules binary > rec 2>&1
dh_testdir
# Configuring package
CFLAGS="-Wall -g -O2" ./configure --host=i486-linux-gnu --build=i486-linux-gnu 
--prefix=/home/dl/libextractor-python-0.5.4/debian/libextractor-python/usr
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gawk... (cached) gawk
checking for i486-linux-gnu-gcc... i486-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i486-linux-gnu-gcc accepts -g... yes
checking for i486-linux-gnu-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of i486-linux-gnu-gcc... none
checking for python version... 2.4
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.4/site-packages
checking for python extension module directory... 
${exec_prefix}/lib/python2.4/site-packages
checking for Python include path... /usr/include/python2.4
checking for Python library path... /usr/lib/python2.4/config
checking python extra libraries... 
checking for python... no
checking for libextractor... checking how to run the C preprocessor... 
i486-linux-gnu-gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
--with-extractor not specified
checking extractor.h usability... yes
checking extractor.h presence... yes
checking for extractor.h... yes
checking for EXTRACTOR_loadDefaultLibraries in -lextractor... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
dh_testdir
# Building package
/usr/bin/make EXT_LIB_PATH=/usr/lib install
make[1]: Entering directory `/home/dl/libextractor-python-0.5.4'
make[2]: Entering directory `/home/dl/libextractor-python-0.5.4'
python libextractor_python_setup.py /usr/lib install 
--prefix=/home/dl/libextractor-python-0.5.4/debian/libextractor-python/usr
running install
running build
running build_ext
building 'extractor' extension
creating build


>>> but 2.3 is used instead!


creating build/temp.linux-i686-2.3
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes 
-fPIC -I/usr/lib/include -I/usr/include/python2.3 -c libextractor_python.c -o 
build/temp.linux-i686-2.3/libextractor_python.o
creating build/lib.linux-i686-2.3
gcc -pthread -shared build/temp.linux-i686-2.3/libextractor_python.o 
-L/usr/lib/lib -lextractor -o build/lib.linux-i686-2.3/extractor.so
running install_lib
creating /home/dl/libextractor-python-0.5.4/debian/libextractor-python
creating /home/dl/libextractor-python-0.5.4/debian/libextractor-python/usr
creating /home/dl/libextractor-python-0.5.4/debian/libextractor-python/usr/lib
creating 
/home/dl/libextractor-python-0.5.4/debian/libextractor-python/usr/lib/python2.3
creating 
/home/dl/libextractor-python-0.5.4/debian/libextractor-python/usr/lib/python2.3/site-packages
copying build/lib.linux-i686-2.3/extractor.so -> 
/home/dl/libextractor-python-0.5.4/debian/libextractor-python/usr/lib/python2.3/site-packages
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/dl/libextractor-python-0.5.4'
make[1]: Leaving directory `/home/dl/libextractor-python-0.5.4'
touch build-stamp
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
# Installing package
/usr/bin/make EXT_LIB_PATH=/usr/lib install
make[1]: Entering directory `/home/dl/libextractor-python-0.5.4'
make[2]: Entering directory `/home/dl/libextractor-python-0.5.4'
python libextractor_python_setup.py /usr/lib install 
--prefix=/home/dl/libextractor-python-0.5.4/debian/libextractor-python/usr
running install
running build
running build_ext
running install_lib
creating /home/dl/libextractor-python-0.5.4/debian/libextractor-python/usr
creating /home/dl/libextractor-python-0.5.4/debian/libextractor-python/usr/lib
creating 
/home/dl/libextractor-python-0.5.4/debian/libextractor-python/usr/lib/python2.3
creating 
/home/dl/libextractor-python-0.5.4/debian/libextractor-python/usr/lib/python2.3/site-packages
copying build/lib.linux-i686-2.3/extractor.so -> 
/home/dl/libextractor-python-0.5.4/debian/libextractor-python/usr/lib/python2.3/site-packages
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/dl/libextractor-python-0.5.4'
make[1]: Leaving directory `/home/dl/libextractor-python-0.5.4'
dh_testdir
dh_testroot
dh_installchangelogs ChangeLog
dh_installdocs
dh_install
dh_link
dh_strip
dh_compress
dh_fixperms
dh_python
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
dpkg-deb: building package `libextractor-python' in 
`../libextractor-python_0.5.4-1_i386.deb'.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages libextractor-python depends on:
ii  libc6                         2.3.6-3    GNU C Library: Shared libraries an
ii  libextractor1c2a              0.5.10-1   extracts meta-data from files of a
ii  python                        2.3.5-5    An interactive high-level object-o

libextractor-python recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to