Hi All,
 I've tried installing databases/py-sybase on both -release and a snapshot from 
6/8, from both ports and packages on both. For the packages, I set $PKG_PATH to 
point to the i386 packages on ftp3.usa.openbsd.org. Both correctly install 
python, freetds and other dependencies just fine. However, when it gets to 
installing py-sybase it errors out.

(these are from -release)

# pkg_add py-sybase-0.36.tgz
Can't install py-sybase-0.36.tgz: lib not found intl.2.0
Even by looking in the dependency tree:
        freetds-0.62.4p0, bzip2-1.0.2, python-2.3.5, libiconv-1.9.2
Maybe it's in a dependent package, but not tagged with @lib ?
(check with pkg_info -K -L)
If you are still running 3.6 packages, update them.

 When trying to install from the port, I get

# make install
===>  Building package for py-sybase-0.36
Can't resolve libspec intl
/usr/sbin/pkg_create: Exactly one single package name is required: CVS Makefile 
distinfo pkg w-py-sybase-0.36 Error code 1 -P 
databases/freetds:freetds-*:freetds-0.62.4p0 -P 
lang/python/2.3:python-2.3*:python-2.3.5 -W ct.2.0 -W sybdb.4.0 -W tds.3.0 Stop 
in /usr/ports/databases/py-sybase (line 2337 of 
/usr/ports/infrastructure/mk/bsd.port.mk). -B 
/usr/ports/databases/py-sybase/w-py-sybase-0.36/fake-i386 -Ai386 
/usr/ports/packages/i386/all/py-sybase-0.36.tgz
Usage: pkg_create [-hnv] [-A arches] [-B pkg-destdir] [-D name=value]
       [-i iscript] [-k dscript] [-L localbase] [-M displayfile]
       [-P pkg-dependency] [-p prefix] [-r rscript] [-S pkg-destdir]
       [-U undisplayfile] [-W wantedlib] -c desc -d desc -f packinglist pkgname
===>  Cleaning for py-sybase-0.36
rm -f /usr/ports/packages/i386/all/py-sybase-0.36.tgz
*** Error code 1

Stop in /usr/ports/databases/py-sybase (line 1918 of 
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/databases/py-sybase (line 1209 of 
/usr/ports/infrastructure/mk/bsd.port.mk).

 This appears to be the same problem with p5-DBD-Sybase as reported a few days 
ago (http://archives.neohapsis.com/archives/openbsd/2005-05/2080.html). To get 
it working, commenting out WANTLIB works, but that's not optimal. Any ideas?

 I've also installed the gettext (tried both packages and ports). libintl.2.0 
does indeed get installed, but that doesn't make any difference.

Thanks!
 marco

Reply via email to