Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 01-02-2013, 03:18 AM   #1
Registered: Jul 2012
Posts: 31

Rep: Reputation: Disabled
compiling PHP - configure error


I get the following error after going for --configure with --with-xpm:

configure: error: libXpm. (a|so) not found.
So I thought to myself, "Installing the developer package is what you need" and did a smooth "sudo apt-get install libxpm-dev" - which surprisingly told me that libxpm-dev is already the newest version.

Does anyone know now how to go on? Googl'ing for the problem keeps be pinned down to the installing the libxpm-dev package.

More information:

- Running on Ubuntu 12.04 Server Edtion (within a VM established with Vagrant (->
- Exact command used: ./configure [... more options ...] --with-xpm-dir
- I am root while executing any command

Last edited by LukasH; 01-02-2013 at 03:20 AM. Reason: adding information
Old 01-02-2013, 10:03 AM   #2
Senior Member
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,064
Blog Entries: 1

Rep: Reputation: 90
I think you could hack the location where configure is checking for the existence of that file by setting up an environment variable or --with-xpm-dir=


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
can not install/compile PHP on 64bit RHEL 6.3 : Error configure: error: utf8_mime2tex sanjivus Red Hat 1 12-26-2012 04:24 PM
Conmpile error wen compile php:configure: error: libpng.(a|so) not found tanveer Linux - Software 5 02-03-2009 06:13 AM
Configure error while compiling gtk+ linuxlover.chaitanya Linux - Software 7 05-06-2008 12:42 PM
error during compiling php an2ny_18 Debian 2 03-10-2006 12:46 PM
Compiling Kaffiene ./configure Error elliotfuller Linux - Software 1 04-27-2005 09:46 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:43 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