Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #15645

Re: PHP 5.6.12 compilation difficulties

Path csiph.com!eternal-september.org!feeder.eternal-september.org!newsfeed.kamp.net!newsfeed.kamp.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From "J.O. Aho" <user@example.net>
Newsgroups comp.lang.php
Subject Re: PHP 5.6.12 compilation difficulties
Date Sun, 9 Aug 2015 08:58:49 +0200
Lines 36
Message-ID <d2oc19Fd0m7U1@mid.individual.net> (permalink)
References <mq65rm$dsi$1@ns2.nl2k.ab.ca>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
X-Trace individual.net arwwdOSaRad7XiMb9OuAPwB6LjhNf8JSmfjT0YpiAdLGQLpllh
Cancel-Lock sha1:h+WNaa4F9O8bRhv1YuHmje/DM7Y=
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0
In-Reply-To <mq65rm$dsi$1@ns2.nl2k.ab.ca>
Xref csiph.com comp.lang.php:15645

Show key headers only | View raw


On 08/09/2015 02:11 AM, The Doctor wrote:
> All right.
>
> I have just compiles Mysql 5.5 current correctly
>
> and when I try to get a PDO configured, I get
>
> checking for MySQL support for PDO... yes
> checking for mysql_config... /usr/contrib/bin/mysql_config
> checking for mysql_commit in -lmysqlclient... no
> checking for mysql_commit in -lmysqlclient... (cached) no
> configure: error: PDO_MYSQL configure failed, MySQL 4.1 needed. Please check config.log for more information.
>
> Why is this happening when mysql_commit is present in
> libmysqlclient dot a and dot so
>

When you run the ./configure script, you need to tell where the binaries 
are installed, this includes the full path to the mysql_config which you 
want to use, as it seems your php has found the mysql which is 
installed, not the one you compiled.

Run: ./configure --help
to see all the options that can be tweaked.


My recommendation is that you make a new installation of a 
rolling-distribution instead, this way you will be able to update all 
the time and don't have to compile anything, unless you want more 
control and then you should go for a meta distribution like Funtoo or 
SourgeMage.


-- 

  //Aho

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

PHP 5.6.12 compilation difficulties doctor@doctor.nl2k.ab.ca (The Doctor) - 2015-08-09 00:11 +0000
  Re: PHP 5.6.12 compilation difficulties Matthew Carter <m@ahungry.com> - 2015-08-08 21:17 -0400
    Re: PHP 5.6.12 compilation difficulties doctor@doctor.nl2k.ab.ca (The Doctor) - 2015-08-09 04:01 +0000
    Re: PHP 5.6.12 compilation difficulties Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-08-09 11:01 +0200
  Re: PHP 5.6.12 compilation difficulties "J.O. Aho" <user@example.net> - 2015-08-09 08:58 +0200
    Re: PHP 5.6.12 compilation difficulties doctor@doctor.nl2k.ab.ca (The Doctor) - 2015-08-09 12:08 +0000
      Re: PHP 5.6.12 compilation difficulties "J.O. Aho" <user@example.net> - 2015-08-09 18:25 +0200

csiph-web