RE: [PHP-INST] Problems to get PHP 4.3.0 compiled (MySQL?)
| From: | Ville Mattila | Date: | Wed, 23 Apr 2003 23:12:06 +0000 |
| Subject: | RE: [PHP-INST] Problems to get PHP 4.3.0 compiled (MySQL?) | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-10703@lists.php.net to get a copy of this message | ||
OK thanks Jim. Interesting - when I left out apxs switch, I encountered same
errors as in my original message "ext/mysql/libmysql/my_lib.lo(.text+0x3d1):
In function `my_dir':" and so on, in both cases when I keep "--disable-cli"
switch and when I leave it out...
Would somebody have any idea why this happens? I keep exactly same configure
string in both cases, except apxs switch.
Ville
> -----Original Message-----
> From: Jim Thome [mailto:jthome@fcgov.com]
> Sent: 24. huhtikuuta 2003 1:56
> To: php-install@lists.php.net; ville.mattila@pilotmedia.fi;
> Venkatesh@printcafe.com
> Subject: RE: [PHP-INST] Problems to get PHP 4.3.0 compiled (MySQL?)
>
>
> Recompile without the apxs switch.
>
> --
> Jim
>
> >>> "Ville Mattila" <ville.mattila@pilotmedia.fi> 04/23/03 04:51PM
> >>> >>>
> Hello,
>
> Thanks for tip - now I got Apache properly running with PHP and MySQL
> support.
>
> Anyway, I'd like to ask if it is possible to install PHP also for command
> line as well as apache module)? Now it seems that there is no php binary
> (like /usr/bin/php) which I could run from shell... Or?
>
> Thanks for help,
> Ville
>
>
> > -----Original Message-----
> > From: Venkatesh Coonamamani [mailto:Venkatesh@printcafe.com]
> > Sent: 24. huhtikuuta 2003 1:06
> > To: 'Ville Mattila'; php-install@lists.php.net
> > Subject: RE: [PHP-INST] Problems to get PHP 4.3.0 compiled (MySQL?)
> >
> >
> > Make you are running the options on the configure
> >
> > "-disable-cli"
> >
> > Thanks
> >
> >
> > -----Original Message-----
> > From: Ville Mattila [mailto:ville.mattila@pilotmedia.fi]
> > Sent: Wednesday, April 23, 2003 6:03 PM
> > To: php-install@lists.php.net
> > Subject: [PHP-INST] Problems to get PHP 4.3.0 compiled (MySQL?)
> >
> >
> > Hello everyone,
> >
> > I tried to compile PHP 4.3.0 with following configure string:
> --with-pear
> > --with-zlib-dir=/usr/include/ --enable-mailparse --enable-trans- sid
> > --enable-shared --enable-static --with-apxs=/usr/local/apache/bin/apxs -
> > -with-curlwrappers --enable-ftp --enable-exif --with-gd
> > --with-jpeg-dir=/usr
> > /lib --with-png-dir=/usr/lib --with-zlib-dir=/usr/include
> > --with-freetype=/u
> > sr/lib --enable-gd-native-ttf --with-mysql
> > --with-pdflib=/usr/local --with-r
> > egex --with-zlib --with-config-file-path=/etc --enable-track-vars
> >
> > Everything went fine until "make" command gives following errors:
> > ext/mysql/libmysql/my_lib.lo(.text+0x3d1): In function `my_dir':
> > /root/php-4.3.1/ext/mysql/libmysql/my_lib.c:169: undefined reference to
> > `errno'
> > ext/mysql/libmysql/my_lib.lo(.text+0x5ef): In function `my_stat':
> > /root/php-4.3.1/ext/mysql/libmysql/my_lib.c:588: undefined reference to
> > `errno'
> > ext/mysql/libmysql/my_malloc.lo(.text+0xde): In function `my_malloc':
> > /root/php-4.3.1/ext/mysql/libmysql/my_malloc.c:24: undefined
> reference to
> > `errno'
> > ext/mysql/libmysql/my_realloc.lo(.text+0xd5): In function `my_realloc':
> > /root/php-4.3.1/ext/mysql/libmysql/my_realloc.c:44: undefined
> reference to
> > `errno'
> > ext/mysql/libmysql/my_delete.lo(.text+0x86): In function `my_delete':
> > /root/php-4.3.1/ext/mysql/libmysql/my_delete.c:16: undefined
> reference to
> > `errno'
> > ext/mysql/libmysql/my_tempnam.lo(.text+0x85):/root/php-4.3.1/ext/m
> > ysql/libmy
> > sql/my_tempnam.c:108: more undefined references to `errno' follow
> > collect2: ld returned 1 exit status
> > make: *** [sapi/cli/php] Error 1
> > [root@server php-4.3.1]#
> >
> > Any ideas what's up? MySQL was installed from RPM to my RH9 box, does it
> > have some effect?
> >
> > Thanks for any clue,
> > Ville
> >
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>