[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modperl
Subject:    Perl Configure solaris -R adds space - modperl compile fails
From:       Ken McNamara <conmara () oaktree ! net>
Date:       1999-09-28 16:20:55
[Download RAW message or body]

In the Perl Configure $useshrplib the 'solaris|netbsd' statement adds a
space after the -R.

The result is that gcc when attempting the test compile in Apache
helpers TestCompile blows up (looks like it treats the -R directory as a
file instead of a path.

The result for modperl compilers is:

	+doing sanity check on complier and options
** A test compilation with your Makefile configuration
** failed. This is most likely because your C compiler
** is NOT ANSI
blah, blah, blah
Aborting!


This also shows up in 'perl -V' (note the space after -R)

   Dynamic Linking:
     dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='  -R
 /usr/local/lib/perl5/5.00503/sun4-solaris/CORE'
     cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'
 

Removing the space from after -R in configure fixes the problem the
compile is then successful.



Ken McNamara

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic