php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5460 Error checking for XpmFreeXpmImage
Submitted: 2000-07-08 17:03 UTC Modified: 2000-11-08 19:17 UTC
From: pour at mieterra dot com Assigned:
Status: Closed Package: Compile Warning
PHP Version: 4.0.1pl2 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: pour at mieterra dot com
New email:
PHP Version: OS:

 

 [2000-07-08 17:03 UTC] pour at mieterra dot com
The configure script has a bug.  When checking for XpmFreeXpmImage (configure script line 14204), the X11 library is not included, causing the check to fail.  The patch follows:

--- configure.orig      Fri Jul  7 12:12:31 2000
+++ configure   Fri Jul  7 12:12:44 2000
@@ -14201,7 +14201,7 @@
             withval="/usr/X11R6"
           fi
           old_LIBS=$LIBS
-          LIBS="$LIBS -L$withval/lib"
+          LIBS="$LIBS -lX11 -L$withval/lib"
           echo $ac_n "checking for XpmFreeXpmImage in -lXpm""... $ac_c" 1>&6
 echo "configure:14207: checking for XpmFreeXpmImage in -lXpm" >&5
 ac_lib_var=`echo Xpm'_'XpmFreeXpmImage | sed 'y%./+-%__p_%'`

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-27 17:56 UTC] sniper@php.net
This should be fixed in the latest CVS. 
Please reopen if problem persists with php4.0.2

--Jani
 [2000-08-27 19:16 UTC] mrobinso@php.net
This warning still appears in the latest cvs, from
about 10 minutes ago.

 [2000-08-27 19:16 UTC] mrobinso@php.net
Sorry. Reopened.
 [2000-11-08 19:17 UTC] sniper@php.net
Now this is really fixed in CVS. 

--Jani
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri May 09 07:01:28 2025 UTC