: Error Configuring PHP w/ FreeTDS

From: Date: Tue, 22 May 2001 02:14:12 +0000
Subject: : Error Configuring PHP w/ FreeTDS
Groups: php.db 
Request: Send a blank email to php-db+get-9516@lists.php.net to get a copy of this message
Hi, I wanted to configure PHP w/ Sybase support in our Solaris box. So, I have installed FreeTDS. When I ran the "configure" command in PHP, I got the following error messages: checking whether the C++ compiler (c++ -R/usr/ucblib -L/usr/ucblib -R/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.3 -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.3 -R/usr/local/mysql/lib -L/usr/local/mysql/lib -R/usr/local/freetds/lib -L/usr/local/freetds/lib) works... no configure: error: installation or configuration problem: C++ compiler cannot create executables. Does it have something to do with our GCC compiler? I issued "pkginfo | grep gcc", and I got the following:
application SMCgcc         gcc
Did I install the correct gcc compiler? Btw, I have configured Perl with DBD-Sybase using FreeTDS also in the same machine. And I can connect to the database successfully. Now, I want to do the same with PHP since most of our apps are written in PHP. Thanks a lot, Lester

« previous php.db (#9516) next »