Re: need some help with jpl installation

[email protected] (Seo Sanghyeon) Fri, 17 Sep 2004 16:51:31 +0900
Newsgroups perl.jpl
Organization SPARCS, KAIST
Message-ID <[email protected]>
Hello, Jan Hoffmann, and people on perl.jpl,

Regarding your compile error: Perl on SUSE is most likely compiled with
thread safety and largefile support, which makes some declarations in
the headers incompatible. You need #define used to compile SUSE Perl.
And it's available from Config module.

Adding $Config{ccflags} to "FLAGS" in PerlInterpreter/Makefile.PL
will make it work. A patch follows:

diff -ur perl-5.8.4/jpl/PerlInterpreter/Makefile.PL jpl/PerlInterpreter/Makefile.PL
--- perl-5.8.4/jpl/PerlInterpreter/Makefile.PL	1999-09-15 11:57:08.000000000 +0900
+++ jpl/PerlInterpreter/Makefile.PL	2004-09-17 16:42:43.000000000 +0900
@@ -28,7 +28,7 @@
 ARCHNAME = $Config{archname}
 PERLARCHDIR = $Config{archlib}
 CC = $Config{cc}
-FLAGS = $Config{cccdlflags} $Config{ccdlflags} $Config{lddlflags} $flags
+FLAGS = $Config{ccflags} $Config{cccdlflags} $Config{ccdlflags} $Config{lddlflags} $flags
 INCL  = -I\$(PERLARCHDIR)/CORE \\
 	-I\$(JAVA_HOME)/include \\
 	-I\$(JAVA_HOME)/include/$^O \\

I think this should go into the main Perl tree, but I don't sure what
should I do.

Seo Sanghyeon