Re: [PHP4BETA] RC2 make error on Sybase
| From: | Joey | Date: | Fri, 19 May 2000 19:31:20 +0000 |
| Subject: | Re: [PHP4BETA] RC2 make error on Sybase | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-15268@lists.php.net to get a copy of this message | ||
What OS? Try something like:
--with-sybase=/path/to/sybase
or even better,
--with-sybase-ct=/path/to/sybase
(-ct is better supported by Sybase. DB-Lib is old and deprecated.)
--Joey Smith
Please forgive the long sig:
*** Notice To Bulk Emailers: Attention! Pursuant to US Code, Title 47,
Chapter 5, Subchapter II, 227, any & all unsolicited commercial e-mail
sent to this address is subject to a download and archival fee in the
amount of the $1500 US and copies will be forwarded to domain
administrators. Emailing denotes acceptance of said terms!
On Thu, 18 May 2000, Damien Mc Kenna wrote:
> I'm trying to compile with the following options:
>
> ./configure --with-xml --with-pgsql --with-mysql --with-sybase --with-apxs=/usr/sbin/apxs
> --enable-track-vars
>
> I get this when I do 'make install':
>
> make[2]: Entering directory `/usr/src/php-4.0RC2/ext/sybase'
> make[3]: Entering directory `/usr/src/php-4.0RC2/ext/sybase'
> /bin/sh /usr/src/php-4.0RC2/libtool --silent --mode=compile gcc
> -DHAVE_CONFIG_H -I. -I/usr/src/php-4.0RC2/ext/sybase -I/usr/src/php-4.0RC2
> -I/usr/include/apache/ -I/usr/src/php-4.0RC2/Zend -I/usr/src/php-4.0RC2
> -I/usr/src/php-4.0RC2/ext/mysql/libmysql -I/home/sybase/include
> -I/usr/src/php-4.0RC2/ext/xml/expat/xmltok
> -I/usr/src/php-4.0RC2/ext/xml/expat/xmlparse -DEAPI=1 -DXML_BYTE_ORDER=12
> -g -O2 -Wall -c sybase.c
> In file included from sybase.c:27:
> php_sybase.h:83: sybfront.h: No such file or directory
> php_sybase.h:84: sybdb.h: No such file or directory
> php_sybase.h:85: syberror.h: No such file or directory
> sybase.h:34: sybfront.h: No such file or directory
> sybase.h:35: sybdb.h: No such file or directory
> sybase.h:36: syberror.h: No such file or directory
> make[3]: *** [sybase.lo] Error 1
> make[3]: Leaving directory `/usr/src/php-4.0RC2/ext/sybase'
> make[2]: *** [install-recursive] Error 1
> make[2]: Leaving directory `/usr/src/php-4.0RC2/ext/sybase'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/usr/src/php-4.0RC2/ext'
> make: *** [install-recursive] Error 1
>
> This is on Mandrake 7.0, MySQL 3.22.32 (RPMs), PGSQL 7.0 (RPMs), Sybase
> 11.9.2, and Apache 1.3.9.
>
> I installed all of the Sybase RPMs (not knowing what I'd need), ie:
> sybase-common-11.9.2-1.i386.rpm
> sybase-doc-11.9.2-1.i386.rpm
> sybase-monserver-11.9.2-1.i386.rpm
> sybase-openclient-11.1.1-1.i386.rpm
> sybase-sqlremote-6.0.2-1.i386.rpm
> sybase-ase-11.9.2-1.i386.rpm
>
> Any suggestions?
>
>
> Damien Mc Kenna, Computer Science Student, Married to Jen, Parent of 4 cats
> http://mc-kenna.com - damien@mc-kenna.com - ICQ:17066133
> Please use our new web and email addresses and remove any old ones you have
>
>
>
> --
> PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
> For additional commands, e-mail: php4beta-help@lists.php.net
> To contact the list administrators, e-mail: php4beta-admin@lists.php.net
>
>