Linux(PHP) + MSSQL 7 (NT)

bogowonto bogowonto at yahoo.com
Tue Apr 18 21:59:31 EDT 2000


Hi, Michael

I try and follow you instruction for Build FreeTDS,
in linux box and login as super user
but i have some error like this

# ./configure --prefix=/usr/local/freetds_me
--with-tdsver=4.2
and after me make and 
#make install
see... the message
make[2]: Leaving directory
`/usr/local/freetds/include'
make[1]: Leaving directory
`/usr/local/freetds/include'
make[1]: Entering directory `/usr/local/freetds'
make[2]: Entering directory `/usr/local/freetds'
make[2]: Nothing to be done for `install-exec-am'.
/bin/sh ./mkinstalldirs /usr/local/freetds_me

and after, i try to make test, see the message

sh test.sh
Starting tests for tds
----------------------
Building...done
Testing 1...failed
Testing 2...failed
0 tests passed.  2 tests failed.

Starting tests for dblib
------------------------
Building...done
Testing 1...failed
Testing 2...failed
Testing 3...not run
Testing 4...failed
Testing 5...failed
Testing 6...failed
Testing 7...failed
Testing 8...failed
Testing 9...failed
Testing 10...failed
Testing 11...failed
0 tests passed.  10 tests failed.

Starting tests for ctlib
------------------------
Building...done
Testing 1...failed
0 tests passed.  1 tests failed.


Thanks




--- Michael Suedkamp <ms at suedkm.franken.de> wrote:
> Here is the README I created from my experiences. It
> is derived from the 
> instructions supplied with Apache and PHP3.
> 
> Hope it helps
> 
> Michael
> 
>
-------------------------------------------------------------------
> 
> 1. Build FreeTDS
>    $ ./configure --prefix=/path/to/freetds
> --with-tdsver=4.2
>    $ make
> 
>    (adapt PWD file)
> 
>    $ make install
>    $ export SYBASE=/path/to/freetds
>    $ export LD_LIBRARY_PATH=/path/to/freetds/lib
>    $ make test
> 
> 2. Build PHP3 with FreeTDS
>    $ cd apache_1.3.X
>    $ ./configure --prefix=/path/to/apache
>    $ cd ../php-3.0
>    $ ./configure
> --with-shared-apache=../apache_1.3.X 
> --with-sybase-ct=/path/to/freetds
> [--with-mysql=/path/to/mysql ...]
>    $ make
>    $ make install 
> 
>    (libphp3.module is beeing copied to
> ../apache_1.3.x/src/modules/php3. 
> Edit the lib entries by removing all Sybase/FreeTDS
> related except lct)
> 
> 
> 
> 3. Build Apache with dynamic PHP support
>    
>     $ cd ../apache_1.3.X
>     $ ./configure --prefix=/path/to/apache \
>                  
> --activate-module=src/modules/php3/libphp3.a \
>                   --enable-shared=php3
>     $ make 
>     $ make install
> 
>     (activate AddType ...php3 in httpd.conf)
>     (add/modify environment vars: set SYBASE to
> /path/to/freetds and expand 
> LD_LIBRARY_PATH by /path/to/freetds/lib in start
> script apachectl or 
> whichever you use)
> 
> ---
> You are currently subscribed to freetds as:
> bogowonto at yahoo.com
> To unsubscribe, forward this message to
> $subst('Email.Unsub')
> 
> 

=====
=======================================================
"How wonderful it is that nobody need waiting 
a single moment before starting to improve the world"

__________________________________________________
Do You Yahoo!?
Send online invitations with Yahoo! Invites.
http://invites.yahoo.com



More information about the FreeTDS mailing list