Re: easy one...
| From: | Frank S. Bernhardt | Date: | Fri, 08 Dec 2000 18:45:15 +0000 |
| Subject: | Re: easy one... | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-1113@lists.php.net to get a copy of this message | ||
You must point the mysql to the top level mysql directory and the apxs to where
apxs is within apache, for example:
--with-mysql=/usr/local/mysql-3.23.27 --with-apxs=/usr/local/apache/bin/apxs
Brian Janice wrote:
> ok, im sure this is an easy one. Im trying to install php with mysql
> support:
>
> >From the docs, i did this:
>
> ./configure --with-mysql --with-apxs
>
> as far as i can, no problem.
>
> Then i try 'make', and at the end i get this:
>
> make[1]: Entering directory `/home/tux_drive/php4/php-4.0.3pl1'
> /bin/sh /home/tux_drive/php4/php-4.0.3pl1/libtool --silent --mode=link
> cc -I. -I/home/tux_drive/php4/php-4.0.3pl1/ -I/home/tux_drive/php4/php-4.0.
> 3pl1 -I/home/tux_drive/php4/php-4.0.3pl1/main -I/usr/include/apache -I/home/
> tux_drive/php4/php-4.0.3pl1/Zend -I/home/tux_drive/php4/php-4.0.3pl1 -I/home
> /tux_drive/php4/php-4.0.3pl1/ext/mysql/libmysql -I/home/tux_drive/php4/php-4
> .0.3pl1/ext/xml/expat/xmltok -I/home/tux_drive/php4/php-4.0.3pl1/ext/xml/exp
> at/xmlparse -I/home/tux_drive/php4/php-4.0.3pl1/TSRM -DEAPI -DXML_BYTE_ORDE
> R=12 -g -O2 -o libphp4.la -rpath
> /home/tux_drive/php4/php-4.0.3pl1/libs -avoid-version stub.lo
> Zend/libZend.la sapi/apache/libsapi.la main/libmain.la regex/libregex.la
> ext/mysql/libmysql.la ext/pcre/libpcre.la ext/posix/libposix.la
> ext/session/libsession.la ext/standard/libstandard.la ext/xml/libxml.la
> TSRM/libtsrm.la -ldl -lresolv -lm -ldl -lcrypt -lnsl -lresolv
> stub.lo: file not recognized: File truncated
> collect2: ld returned 1 exit status
> make[1]: *** [libphp4.la] Error 1
> make[1]: Leaving directory `/home/tux_drive/php4/php-4.0.3pl1'
> make: *** [all-recursive] Error 1
> [root@tux1 php-4.0.3pl1]#
>
> what is stub.lo? is that what its even looking for? any help would be
> appreciated.
> If it matters, i have php installed already, but im trying to get the mysql
> support going. Am i going about this the wrong way?
>
> Any help appreciated! Thanks!
>
> - Brian
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
> For additional commands, e-mail: php-install-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
Regards
Frank S. Bernhardt
b.c.s.i.
14 Halton Court
Markham, ON.
L3P 6R3
905-471-1691 Voice
905-471-3016 FAX
frank@bcsi.ca
Attachment: [application/x-pkcs7-signature] S/MIME Cryptographic Signature smime.p7s
Attachment: [application/x-pkcs7-signature] S/MIME Cryptographic Signature smime.p7s