Hi lanas!
On 13 Dec 06 at 23:59, "lanas" (lanas ) wrote:
lanas> Hi, I would like to confirm that Prima installs OK on SuSE 10.0 64
lanas> bit platform by following the hint given earlier this year by
lanas> Johannes Blankenstein. With Prima 1.21 it means doing a change in
lanas> the Makefile.PL file by replacing /usr/X11R6/lib at line 1298 by:
lanas> /usr/X11R6/lib64, then doing make as usual.
May I ask you to try out the following diff, which tries to search in lib64
automatically? I don't have 64-bit SuSE at hand.
RCS file: /pub/prima.eu.org/cvs/prima/Prima/Makefile.PL,v
retrieving revision 1.184
diff -u -r1.184 Makefile.PL
--- Makefile.PL 16 Nov 2006 16:08:41 -0000 1.184
+++ Makefile.PL 14 Dec 2006 07:12:17 -0000
@@ -1293,13 +1293,17 @@
}
# find X11 libraries
- my $libpath = find_lib( "X11", '',
+ my @libpath = ( "X11", '',
(defined($X11BASE) ? "$X11BASE/lib" : ()),
"/usr/X11R6/lib",
"/usr/X11/lib",
"/usr/X/lib",
"/usr/openwin/lib"
);
+ # using /usr/X11R6/lib64 ?
+ unshift @libpath, map { s/lib$/lib64/; $_ } grep { /lib$/ } @libpath
+ if $Config{intsize} == 8;
+ my $libpath = find_lib( @libpath);
die "Prima needs X11 libraries for compilation! Set X11BASE='/path/to/X' or LIBPATH+='/path/to/X/lib' if you have a non-standard path to X. $extramsg\n"
unless defined $libpath;
if ( -d $libpath) {
-- Sincerely, Dmitry KarasikReceived on Thu 14 Dec 2006 - 08:16:22 CET
This archive was generated by hypermail 2.2.0 : Wed 27 Mar 2013 - 10:40:22 CET