LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 12-15-2004, 04:19 PM   #1
theprophet
LQ Newbie
 
Registered: Dec 2004
Posts: 6

Rep: Reputation: 0
Error compiling PHP


I am using apachetoolbox and I ran through the setup and when it runs it fails to compile PHP.

The error message I get in the log file is

' /tmp/apachetemp/Apachetoolbox-1.5.72/src/php-4.3.9/ext/mysql/php_mysql.c:1202: undefined reference to `mysql_drop_db'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1'

The error I get in the command line is

'Enter the name if the text editor you would like to
use to edit the PHP configureation script [pico]:
No editor specified, defaulting to pico.
Please edit the configuration script for PHP...
Press Enter to continue
./install.sh: line 94: pico: command not found
[+] Script edited , continuing with configuration...
Press Enter to continue
[+] PHP: Configuring... [DONE]
[+] PHP: Compiling...[-] *****php-compile.log FAILED!******


Check in "/tmp/apachetemp/Apachetoolbox-1.5.72/logs/php-compile.log" for errors.'

Thanks for any help.
 
Old 12-15-2004, 04:27 PM   #2
JasonSmedvik
LQ Newbie
 
Registered: Oct 2004
Posts: 6

Rep: Reputation: 0
Install mysql maybe?

What does the php-compile.log file say?
 
Old 12-15-2004, 05:32 PM   #3
theprophet
LQ Newbie
 
Registered: Dec 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Newbie question

Ok. I am pretty sure not having the software could very well be the problem. After taking a little more time and reading the apachetoolbox output i get this

From apachetoolbox
Choice [?] go
[+] Testing for Log directory... [DONE]
[+] Testing for src directory... [DONE]
---------------------------------------------------------------------
--------------------- Scanning for RPM's ----------------------------
---------------------------------------------------------------------
Testing for PHP RPM... found! Please remove the rpm. EG: rpm -e php-4.3.8-2.1
Testing for PHP IMAP RPM... not found.
Testing for PHP LDAP RPM... found! Please remove the rpm. EG: rpm -e php-ldap-4 .3.8-2.1
Testing for PHP PGSQL RPM... not found.
Testing for Apache RPM... not found.
Testing for Apache Devel RPM... not found.
Testing for Mod_Perl RPM... found! Please remove the rpm. EG: rpm -e mod_perl-1 .99_12-2.1
Testing for Mod_Perl Devel RPM... not found.
[+] ** If your going to use an RPM package (like openssl) you better have the D EVEL rpm installed as well! **
-----------------------------------------------------------------------
RPMs that will probably cause problems where found!
Do you wish to continue anyway? (be careful) [y/n]

------------------------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------------------------------

I am pretty sure you can't compile programs you don't have

SO my question is two fold
1) Where would I find this fill Testing for PHP RPM... found! Please remove the rpm. EG: rpm -e php-4.3.8-2.1
maybe '/usr/lib' I am looking
2)Once I download the programs need what directory should I put them in?

thanks for any help

Last edited by theprophet; 12-15-2004 at 05:55 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Re-compiling PHP lumux Linux - Software 1 01-12-2004 01:25 PM
Error when compiling PHP 4.3.3 w/ MySQL on RH9 Shaolyen Linux - Software 1 10-21-2003 03:26 PM
Compiling PHP Risen Linux - Software 3 10-13-2003 12:28 PM
compiling PHP WiWa Linux - Software 4 10-07-2003 09:16 AM
error compiling php nrmx Linux - Software 0 03-13-2003 10:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 05:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration