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 
-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,


PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to