We are trying to add Sybase-CT support to PHP.

System is a Compaq Prosignia 740 running Red Hat Enterprise Linux 2.1 ES,
all
errata & updates installed, and with Sybase ASE 11.0.3.3 installed
at /opt/sybase.

Steps taken:
install php-4.1.2-2.1.6.src.rpm (rpm -ivh php-4.1.2-2.1.6.src.rpm)
edit /usr/src/redhat/SPECS/php.spec by adding
  --with-sybase-ct=/opt/sybase \
to config tree
run "rpm -ba php.spec"

compile fails as follows:

/bin/sh /usr/src/redhat/BUILD/php-4.1.2/build-cgi/libtool --silent -- 
mode=link
gcc -I. -I/usr/src/redhat/BUILD/php-4.1.2/ -I/usr/src/redhat/BUILD/php-
4.1.2/build-cgi/main -I/usr/src/redhat/BUILD/php-4.1.2 -
I/usr/src/redhat/BUILD/php-4.1.2/build-cgi/Zend -I/usr/include/libxml2 -
I/usr/include/freetype2/freetype -I/usr/include/imap -I/usr/include/mysql -
I/usr/include -I/usr/include/pspell -I/opt/sybase/include -
I/usr/src/redhat/BUILD/php-4.1.2/main -I/usr/src/redhat/BUILD/php-4.1.2/Zend
 -
I/usr/src/redhat/BUILD/php-4.1.2/TSRM  -I/usr/src/redhat/BUILD/php-4.1.2/bui
ld-

cgi/TSRM -O2 -march=i386 -mcpu=i686 -fPIC  -L/usr/kerberos/lib -o
php -export-
dynamic   stub.lo libphp4.la
/usr/bin/ld: cannot find -linsck
collect2: ld returned 1 exit status
make[1]: *** [php] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/php-4.1.2/build-cgi'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.32457 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.32457 (%build)



More data points - this also fails with Red Hat 8.0 and 9.0.but I was able
to successfully complete builds of the php-4.1.2-2.1.6.src.rpm unmodified
and also with:
  --with-sybase=/opt/sybase \


It's just sybase-ct that fails, and of course, that's what we need. Any
assistance you can offer gratefully appreciated - I've been beating my head
against a wall with this one...

Andrew Solmssen



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to