Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-11-2003, 09:03 AM   #1
Registered: Nov 2003
Location: Poland => Mazowieckie => Ok'a
Distribution: Gentoo
Posts: 176

Rep: Reputation: 30
problems during apache+php compilation

i've downloaded apache-1.3.28 and php-4.3.4. i uncompress them after that i configure apache using:

#./configure --prefix=/www

and than change directory to php-x and do:

#./configure --with-mysql=/usr/local/mysql --with-apache=../apache-x --enable-track-vars
#make install

everything is done ok, but after that i cd to apache-x, and do:

#./configure --activate-module=src/modules/php4/libmodphp4.a

and than:


and here the problem appeares. something happens during the installation. could anyone try compiling the source code of apache + php, and if he'd manage to do so, plz tell me where do i make a mistake.
Old 11-11-2003, 11:25 AM   #2
Registered: Nov 2003
Distribution: Mandrake 10.1/Solaris 10 (sparc)
Posts: 96

Rep: Reputation: 16
If you are running Redhat, you might want to try to make a rpm file instead of just compiling it.

Download and install the source rpm <name>.src.rpm, then go into /usr/src/RPM/SPECS/ and check out the <name>.spec file to make sure if has all of the options (--with-mysql=/usr/local/mysql --with-apache=../apache-x --enable-track-vars in this case) you want, then just run:

rpm -ba <name>.spec

It will compile it and give you a nice new rpm file (source file too) that you can install on your box, and have it to share/reload/whatever.

Getting a source file means that someone else has already compiled it, so any compile bugs have hopefully been worked out.

Oh, what is the error you're getting, btw?


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
slackware, apache and PHP from .tgz - problems with PHP szymon Slackware 2 09-06-2004 04:57 PM
PHP compilation problems with imap netw3rm Slackware 2 11-27-2003 07:27 PM
Apache and PHP compilation WiWa Linux - Software 1 10-05-2003 11:30 AM
php + apache problems nocturnal Linux - Software 1 07-02-2003 07:50 PM
php on apache problems andrew001 Linux - Software 3 06-21-2003 04:14 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:21 AM.

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