Bucket Heap? Error?

2010-06-25 Thread Dos Wizard
Hello,

I can't make mod_perl to work with httpd-2.2.15
While everything is ok, I get this annoying error whatever I had tried yet 
(e.g. read the docs and follow the installation steps accurately)

Currenlty I am using a custom compiled Perl5.12.1 which had NO problems during 
the installation (it had passed all the tests successfully), and so on with 
additional modules, etc.

Now, when I try mod_perl I get this:

/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: 
/usr/src/httpd-2.2.15/srclib/apr-util/.libs/libaprutil-1.a(apr_buckets_pool.o): 
relocation R_X86_64_32S against `apr_bucket_type_heap' can not be used when 
making a shared object; recompile with -fPIC 
/usr/src/httpd-2.2.15/srclib/apr-util/.libs/libaprutil-1.a: could not read 
symbols: Bad value collect2: ld returned 1 exit status

Now, the strange thing is that I see the -fPIC being used, even just
right above.

gcc -c  -I/usr/src/mod_perl-2.0.4/src/modules/perl -I/usr/src/mod_perl-2.0.4/xs 
-I/usr/src/httpd-2.2.15/include -I/usr/src/httpd-2.2.15/srclib/apr/include 
-I/usr/src/httpd-2.2.15/srclib/apr-util/include -I/usr/src/httpd-2.2.15/os/unix 
-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector 
-I/usr/local/include  -DMOD_PERL -DMP_COMPAT_1X   -O3   -DVERSION=\0.009000\ 
-DXS_VERSION=\0.009000\ -fPIC 
-I/local/lib/perl5/5.12.1/x86_64-linux-thread-multi-ld/CORE  
-DMP_HAVE_APR_LIBS modperl_common_log.c

Any Ideas?

Best Regards
Nick.



Re: Bucket Heap? Error?

2010-06-25 Thread William A. Rowe Jr.
On 6/25/2010 4:54 PM, Dos Wizard wrote:
 Hello,
 
 I can't make mod_perl to work with httpd-2.2.15
 While everything is ok, I get this annoying error whatever I had tried yet 
 (e.g. read the docs and follow the installation steps accurately)
 
 Currenlty I am using a custom compiled Perl5.12.1 which had NO problems 
 during the installation (it had passed all the tests successfully), and so on 
 with additional modules, etc.
 
 Now, when I try mod_perl I get this:
 
 /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: 
 /usr/src/httpd-2.2.15/srclib/apr-util/.libs/libaprutil-1.a(apr_buckets_pool.o):
  relocation R_X86_64_32S against `apr_bucket_type_heap' can not be used when 
 making a shared object; recompile with -fPIC 
 /usr/src/httpd-2.2.15/srclib/apr-util/.libs/libaprutil-1.a: could not read 
 symbols: Bad value collect2: ld returned 1 exit status

Recompile *PERL* -fPIC - it can't relocate the perl code.