LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 07-12-2006, 06:01 AM   #1
thammerlund
LQ Newbie
 
Registered: Jul 2006
Posts: 22

Rep: Reputation: 15
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
 
Old 07-12-2006, 06:18 AM   #2
zeitounator
Member
 
Registered: Aug 2003
Location: Montpellier, France, Europe, World, Solar System
Distribution: Debian Sarge, Fedora core 5 (i386 and x86_64)
Posts: 262

Rep: Reputation: 30
Code:
yum install libXpm-devel
 
Old 07-12-2006, 06:21 AM   #3
thammerlund
LQ Newbie
 
Registered: Jul 2006
Posts: 22

Original Poster
Rep: Reputation: 15
Thank you for your reply. Do I need to install it in /usr/share/fonts?
 
Old 07-12-2006, 06:48 AM   #4
zeitounator
Member
 
Registered: Aug 2003
Location: Montpellier, France, Europe, World, Solar System
Distribution: Debian Sarge, Fedora core 5 (i386 and x86_64)
Posts: 262

Rep: Reputation: 30
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
 
Old 07-12-2006, 09:14 PM   #5
thammerlund
LQ Newbie
 
Registered: Jul 2006
Posts: 22

Original Poster
Rep: Reputation: 15
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.
 
  


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
Cacti Installation Problems with include/config.php tovythomas Linux - Software 2 03-13-2007 07:49 PM
Php Installation problems Dillius Mandriva 1 05-25-2006 04:39 AM
How to add options in php.in after installation of PHP? touqeeransar Linux - Software 1 11-30-2005 05:52 AM
PHP cant see GD installation pacde Linux - Software 6 05-02-2005 03:39 PM
slackware, apache and PHP from .tgz - problems with PHP szymon Slackware 2 09-06-2004 05:57 PM


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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration