tech-pkg archive

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

The right way to change PLIST for lang/python24 for QNX



Hi,

I'm using pkgsrc on QNX and working on Python (lang/python24). I have two 
questions about changing PLIST.

1) First I want to exclude some files from the package especially for QNX. 
There are some dynamic libraries not build, e.g. for NIS. As NIS seems not to
be available for QNX I will simply exclude the related dynamic module from 
PLIST. 
What is the best way to achieve this? I have not found a conditional for PLIST.

2) Another issue is the naming of the dynamic python library:

pkgsrc/lang/python24/work/Python-2.4.4:
-rwxr-xr-x  2 root      root        1162454 Dec 12 17:07 libpython.so.2.4
-rw-r--r--  1 root      root        1324726 Dec 12 17:07 libpython2.4.a

The naming is the normal convention used for QNX. Here is the naming of the 
standard C lib from QNX:
lrwxrwxrwx  1 root      root              9 Oct 12 10:49 /lib/libc.so -> 
libc.so.2
-rwxrwxr-x  1 root      root              0 Dec 10 14:03 /lib/libc.so.1
-rwxrwxr-x  1 root      root         583420 Oct 11  2006 /lib/libc.so.2


What would be the best way to support the QNX naming scheme of dynamic 
libraries?


Here are the messages from the make:

$ cd lang/python24
$ bmake package
=> Bootstrap dependency digest>=20010302: found digest-20070803
===> Building binary package for python24-2.4.4
Creating package /usr/src/HEAD/pkgsrc/packages/All/python24-2.4.4
Using SrcDir value of /usr/pkg
Registering conflicts: python-[0-9]*.
pkg_create: can't stat `/usr/pkg/lib/libpython2.4.so'
pkg_create: can't stat `/usr/pkg/lib/libpython2.4.so.1.0'
pkg_create: can't stat `/usr/pkg/lib/python2.4/lib-dynload/bsddb185.so'
pkg_create: can't stat `/usr/pkg/lib/python2.4/lib-dynload/dbm.so'
pkg_create: can't stat `/usr/pkg/lib/python2.4/lib-dynload/nis.so'
pkg_create: can't stat `/usr/pkg/lib/python2.4/lib-dynload/termios.so'
pkg_create: lstat failed for file lib/libpython2.4.so: No such file or directory


These are the files already installed in /usr/pkg/lib/:
-r-xr-xr-x  1 root      root        1162454 Dec 12 17:07 
/usr/pkg/lib/libpython.so
lrwxrwxrwx  1 root      root             12 Dec 12 17:11 
/usr/pkg/lib/libpython.so.2.4 -> libpython.so


Thanks
Christian

-- 
Christian Leutloff, Aachen, Germany
_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066



Home | Main Index | Thread Index | Old Index