LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   PHP Installation Problems (https://www.linuxquestions.org/questions/linux-newbie-8/php-installation-problems-463246/)

thammerlund 07-12-2006 05:01 AM

PHP Installation Problems
 
Hi all,

I'm trying to compile my PHP installation, and when I do ./compile and add all my tags, I get an error saying "xpm.h" isn't found. I'm running Fedora 5. Do I have to install XFree86?

Thank you for your help.
Tom

zeitounator 07-12-2006 05:18 AM

Code:

yum install libXpm-devel

thammerlund 07-12-2006 05:21 AM

Thank you for your reply. Do I need to install it in /usr/share/fonts?

zeitounator 07-12-2006 05:48 AM

Just type the above command and it will install the package in its destination location. The header file should then be found without any problem when you configure php for compilation.

Question: why do you absolutely need to compile php from source on a fedora core 5 machine ? Unless you are in a particular situation, yum install php should get you up and running. yum list php* will give you a list of all php modules you can install (you can list all needed modules on the same yum install line

thammerlund 07-12-2006 08:14 PM

Well, I don't need to install it from source, I'm installing Mapserver on a new Fedora 5 machine and this is my first time really doing something serious on Linux. I really need to buy a book.

Thank you for your help everyone.


All times are GMT -5. The time now is 09:57 AM.