Subject: | possible bug regarding 64-bit support |
Date: | Sat, 8 Aug 2009 17:46:15 -0500 |
To: | bug-X11-GUITest [...] rt.cpan.org |
From: | "Jason W. Plummer" <vhsjwp01 [...] gmail.com> |
Greetings,
The Makefile.PL in the Perl::X11::GUITest tarball does not properly
support 64-bit paths. It is hardcoded to always produce the following
in the derived Makefile:
# X11::GUITest might depend on some other libraries:
# See ExtUtils::Liblist for details
#
EXTRALIBS = -L/usr/X11R6/lib -lXtst -lXext -lX11
LDLOADLIBS = -L/usr/X11R6/lib -lXtst -lXext -lX11
BSLOADLIBS =
LD_RUN_PATH = /usr/X11R6/lib
For 64-bit Linux systems, this should instead be:
# X11::GUITest might depend on some other libraries:
# See ExtUtils::Liblist for details
#
EXTRALIBS = -L/usr/X11R6/lib64 -lXtst -lXext -lX11
LDLOADLIBS = -L/usr/X11R6/lib64 -lXtst -lXext -lX11
BSLOADLIBS =
LD_RUN_PATH = /usr/X11R6/lib64
I have attached a modified Makefile.PL which shows a way to deal with
it. I have tested it on 32-bit and 64-bit Linux and also on MacOS
Leopard. Feel free to use or discard as you see fit.
Message body is not shown because sender requested not to inline it.
--
Adios,
Jase-Man
----------------------------------------------
Jason W. Plummer <jason_plummer@speakeasy.net>