'make' command failing when install pdo on CentOS 6.4 (64 bit)
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
'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 -
yum install re2c
from
this is a non std location
the *.c files can not find the headers
export the location of the headers ,from where ever you put them .
I installed re2c, same errors still. As for the 'non std location' thing, I just installed php, perl, MySQL, and the other things I can't remember. I didn't modify anything at all incept MySQL root passwords/databases. I honestly have no clue what the error you're describing is about, I just have a clean install.
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:
<?php
phpinfo();
?>
I'm confused by all of this. =S I'm trying to install a control panel that requires a database; I'm trying to use MySQL and it is saying I need to have the "pdo_mysql" extension loaded into the ini.php file located at /etc/ini.php . I'm forced to use MySQL since sqlite doesn't feel like working on the machine I'm trying to run the panel on. The control panel is called Space Bukkit for Minecraft servers; I'm thinking about hosting them. http://spacebukkit.xereo.net/
I did the yum command you specified, this is the transaction receipt.
Code:
=====================================================================================================================================================================================================
Package Arch Version Repository Size
=====================================================================================================================================================================================================
Installing:
mysql-devel x86_64 5.5.30-15.el6.art atomic 154 k
perl-devel x86_64 4:5.10.1-130.el6_4 updates 421 k
php-pdo x86_64 5.3.23-16.el6.art atomic 108 k
Updating:
mysql x86_64 5.5.30-15.el6.art atomic 5.7 M
php x86_64 5.3.23-16.el6.art atomic 2.4 M
php-devel x86_64 5.3.23-16.el6.art atomic 1.1 M
Installing for dependencies:
keyutils-libs-devel x86_64 1.4-4.el6 base 28 k
krb5-devel x86_64 1.10.3-10.el6_4.1 updates 494 k
libcom_err-devel x86_64 1.41.12-14.el6 base 31 k
libselinux-devel x86_64 2.0.94-5.3.el6 base 136 k
libsepol-devel x86_64 2.0.41-4.el6 base 64 k
mysqlclient16 x86_64 5.1.59-2.el6.art atomic 1.4 M
openssl-devel x86_64 1.0.0-27.el6_4.2 updates 1.1 M
perl-ExtUtils-MakeMaker x86_64 6.55-130.el6_4 updates 292 k
perl-ExtUtils-ParseXS x86_64 1:2.2003.0-130.el6_4 updates 44 k
perl-Test-Harness x86_64 3.17-130.el6_4 updates 230 k
Updating for dependencies:
mysql-libs x86_64 5.5.30-15.el6.art atomic 766 k
mysql-server x86_64 5.5.30-15.el6.art atomic 10 M
php-cli x86_64 5.3.23-16.el6.art atomic 2.3 M
php-common x86_64 5.3.23-16.el6.art atomic 900 k
Transaction Summary
=====================================================================================================================================================================================================
Install 13 Package(s)
Upgrade 7 Package(s)
Total download size: 28 M
WebServer with PHP 5.2.8 or greater
Rewriting engine (like mod_rewrite)
allow_url_fopen
CURL
MySQL or SQLite
Apache , php ( with mod rewrite configured ) ,and mysql ( standard web server install on rhel/cent ) 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 )
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/
Apache , php ( with mod rewrite configured ) ,and mysql ( standard web server install on rhel/cent ) 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 )
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/
I don't think you're understanding my MAIN problem; everything about Space Bukkit, server and webserver, are set up. All of that is just fine. I can't complete the web-based configuration because the 'pdo' and 'pdo_mysql' extensions aren't loaded into the 'php.ini' file. I need to get those extensions for this to work, otherwise it can't write data to the database, in my case, not being able to save the super admin account credentials to the database since the 'pdo' extension isn't helping it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.