'make' command failing when install pdo on CentOS 6.4 (64 bit)
Alright, so basically, a dedicated server I own is having trouble installing pdo aswell as pdo_mysql, both have the same errors. Link to log of the install
System Information: Linux x86_64 GNU/Linux (64 Bit) CentOS release 6.4 (Final) |
the error says that "re2c" is not installed
if you need it then Code:
su - Quote:
the *.c files can not find the headers export the location of the headers ,from where ever you put them . |
Quote:
|
PDO-1.0.3.tgz is old : 2005.
The package php-pdo is available for CentOS 6 : # yum install php-pdo ( http://mirror.centos.org/centos/6.4/os/x86_64/Packages/ > http://mirror.centos.org/centos/6.4/...el6.x86_64.rpm > php-pdo-5.3.3-22.el6.x86_64.rpm : 23-Feb-2013.) - |
how did you install mysql,php,and perl
PDO is in the repos it is called php-pdo everything is in the cent repos Code:
su - http://php.net/manual/en/ref.pdo-mysql.php if the centos 6.4 mysql in the repos was not then you need to build mysql from source from the pecl page did you grab the svn code ? http://pecl.php.net/package/PDO_MYSQL see the warning at the top of the page Quote:
also this has moved into php and is part of it what very old programs are you trying to use that need this also when you run the <phpinfo> script is it listed as being built into it phpinfo.php Code:
|
Quote:
I did the yum command you specified, this is the transaction receipt. Code:
===================================================================================================================================================================================================== |
Oops, forgot the screen shot of the panel. http://puu.sh/2ztnF
|
Quote:
|
Blah ??????
what ????? , we are all volunteers and it has only been now 2 hours from http://xereo.net/documentation/cat1/requirements it says nothing about that old pdo mod so you are trying to run this set up Quote:
you do need to configure it though -- the normal install ( if not installed from source -- I do recommend ,installing from source , for the first few Apache stack installs -- so that you learn how to configure it ) Code:
su - http://httpd.apache.org/docs/2.4/mod/mod_rewrite.html curl ( libcurl should be installed , if not search yum ) -------------------------------------------- it looks like that "Space Bukkit" first needs a up and running Apache server installing is easy Learning to configure it , that can take a lifetime ( or at lease a few weeks for anything more than the basics ) --- the current Apache documentation http://httpd.apache.org/docs/2.4/ prepare Apache for it http://xereo.net/documentation/cat1/...-bukkit-server then you install the control panel http://xereo.net/documentation/cat1/...ling-the-panel |
Quote:
Go to this link; it shows the panel working functionally. http://d1.shimencraft.com/sb/index.php/install |
did you run the phpinfo.php script ?
( you place it in the <Documentroot> that is set in httpd.conf ) and did it say that mysql was built with "--disable-pdo" or --with-pdo ? if it is disabled then rebuild mysql with it |
Quote:
|
what dose the the output say ?
if mysql was not built with pdo support then you need to rebuild in with pdo support |
Quote:
|
Hello? :(
|
to uninstall mysql installed using the package manager
use the package manager to remove it Code:
su - Code:
yum --help then fallow the build instructions on the mysql page http://dev.mysql.com/doc/refman/5.6/en/index.html -- build form source link on the above docs--- http://dev.mysql.com/doc/mysql-sourc.../en/index.html but include the option in the configure line " --with-pdo-mysql " as per the the build guide from the php build instructions http://php.net/manual/en/ref.pdo-mysql.php for a listing of possible "build options " for MySQL run this configure option FIRST - it only outputs a list of options run this is the SAME folder as the mysql "configure" script Code:
./configure --help "type these 5 commands and you are done " you need to be able to integrate php with mysql as in mysql needs to have options turned on that you will need for php recommended you might want to use the source mysql.src.rpm in the centos6 "source repo" and edit the build for that using "rpmbuild" that way it IS THE SAME version that is used on CentOS6 see chapter #2 of the build from source guide http://dev.mysql.com/doc/mysql-sourc...tribution.html Apache , php, mysql are all interdependent on each other this is why i stated in post # 9 Quote:
5 min. to learn but a lifetime to master ( or at least a few months for more than just the basics ) |
All times are GMT -5. The time now is 10:15 AM. |