Bug #18479: Bad Error Message: (libgd)
| From: | ewhite at stsci dot edu | Date: | Mon, 22 Jul 2002 22:22:54 +0000 |
| Subject: | Bug #18479: Bad Error Message: (libgd) | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-14808@lists.php.net to get a copy of this message | ||
From: ewhite@stsci.edu
Operating system: Doesn't Matter
PHP version: 4.2.1
PHP Bug Type: *Compile Issues
Bug description: Bad Error Message: (libgd)
When you include gd support through configure, at some point it takes steps
to actually detect, and make sure that libgd exists on your machine.
It does separate checks, looking for a lib/libgd.(a|so), as well as a
check for include/gd.h
The problem is (which I ran into), that the error message for either of
these checks failing is:
configure: error: Unable to find libgd.(a|so) anywhere under 'blah'
In my case, it WAS finding libgd.a, but it was complaining because it
couldn't find gd.h It took me lots of hair pulling to finally figure out
(via scanning the configure scripts) that it was actually complaining
about not seeing gd.h where it expected it.
The error message should EITHER specify which error occured (preferrable),
or give a more generic error message of: "can't find libgd.a OR gd.h"
--
Edit bug report at http://bugs.php.net/?id=18479&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18479&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18479&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18479&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18479&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18479&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18479&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18479&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18479&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18479&r=globals