#565 closed defect (fixed)
[configure.in] Fixes for AMD64/Linux build
Reported by: | dmorissette | Owned by: | mapserverbugs |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Build Problems | Version: | 4.1 |
Severity: | normal | Keywords: | |
Cc: | jmarca@… |
Description
>>>James Marca - 02/05/04 1:56 AM >>> Hi, in configure and configure.in, it fails to find gd when gd is saved in /usr/lib64 (the standard place for 64 bit libraries), due to the following hardcoded tests. So changes should be made as folllows. test -f $GD_DIR/lib/libgd.a && GD_LIBDIR="$GD_DIR/lib" test -f $GD_DIR/.libs/libgd.a && GD_LIBDIR="$GD_DIR/.libs" should be test -f $GD_DIR/lib/libgd.a && GD_LIBDIR="$GD_DIR/lib" test -f $GD_DIR/lib64/libgd.a && GD_LIBDIR="$GD_DIR/lib64" test -f $GD_DIR/.libs/libgd.a && GD_LIBDIR="$GD_DIR/.libs" and then test -f $GD_DIR/lib/libgd.so -o -f $GD_DIR/lib/libgd.sl && GD_LIBDIR="$GD_DIR/lib" test -f $GD_DIR/.libs/libgd.so -o -f $GD_DIR/.libs/libgd.sl && GD_LIBDIR="$GD_DIR/.libs" should be test -f $GD_DIR/lib/libgd.so -o -f $GD_DIR/lib/libgd.sl && GD_LIBDIR="$GD_DIR/lib" test -f $GD_DIR/lib64/libgd.so -o -f $GD_DIR/lib64/libgd.sl && GD_LIBDIR="$GD_DIR/lib64" test -f $GD_DIR/.libs/libgd.so -o -f $GD_DIR/.libs/libgd.sl && GD_LIBDIR="$GD_DIR/.libs" then configure passes (sorry, no patch. not handy with patch yet)
Attachments (1)
Change History (4)
by , 20 years ago
Attachment: | configure.diff added |
---|
comment:1 by , 20 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
I have tried to apply your lib64 fixes to the configure.in and committed a new configure script with those fixes in the main CVS trunk (v4.1). I'll mark the bug fixed, but please test it and reopen if that doesn't work for you. Note that I also removed the obsolete OGR_STATIC stuff from the configure.in (the large block that you had deleted in your patch) since it was old legacy stuff that's probably not used any more, and may not even have worked any more with the latest OGR and MapServer.
comment:2 by , 20 years ago
FYI I committed a new version of configure and configure.in in which I added checks for 'lib64' directory for all support libs. I had done only the GD case in the previous version.
Note:
See TracTickets
for help on using tickets.
Diff against 'configure' sent by James