Re: error compiling 2.0.7

Jiří Pavlovský <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
On 23.7.2012 19:59, Fred Moyer wrote:
> On Mon, Jul 23, 2012 at 9:59 AM, Jiří Pavlovský<[email protected]>  wrote:
>> I'm trying (unsuccessfully)  to compile 2.0.7 with perl-5.16 and
>> httpd-2.2.22. The error is below. I have a perl compiled with fPIC. I put
>> fPIC into LDFLAGS when compiling mod_perl.
>> Anyway to make this work?
> Are you sure it is compiled with -fPIC? Can you post 'perl -V'?
>


Here it is

Summary of my perl5 (revision 5 version 16 subversion 0) configuration:

   Platform:
     osname=linux, osvers=3.2.21-1.32.6.amzn1.x86_64, archname=x86_64-linux
     uname='linux ip-10-54-250-162 3.2.21-1.32.6.amzn1.x86_64 #1 smp sat 
jun 23 02:32:15 utc 2012 x86_64 x86_64 x86_64 gnulinux '
     config_args=''
     hint=recommended, useposix=true, d_sigaction=define
     useithreads=undef, usemultiplicity=undef
     useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
     use64bitint=define, use64bitall=define, uselongdouble=undef
     usemymalloc=n, bincompat5005=undef
   Compiler:
     cc='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector 
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
     optimize='-O2',
     cppflags='-fno-strict-aliasing -pipe -fstack-protector 
-I/usr/local/include'
     ccversion='', gccversion='4.4.6 20110731 (Red Hat 4.4.6-3)', 
gccosandvers=''
     intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
     d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
     ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', 
lseeksize=8
     alignbytes=8, prototype=define
   Linker and Libraries:
     ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
     libpth=/usr/local/lib /lib/../lib64 /usr/lib/../lib64 /lib /usr/lib 
/lib64 /usr/lib64 /usr/local/lib64
     libs=-lnsl -ldb -ldl -lm -lcrypt -lutil -lc
     perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
     libc=/lib/libc-2.12.so, so=so, useshrplib=false, libperl=libperl.a
     gnulibc_version='2.12'
   Dynamic Linking:
     dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
     cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib 
-fstack-protector'


Characteristics of this binary (from libperl):
   Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV
                         PERL_MALLOC_WRAP PERL_PRESERVE_IVUV USE_64_BIT_ALL
                         USE_64_BIT_INT USE_LARGE_FILES USE_LOCALE
                         USE_LOCALE_COLLATE USE_LOCALE_CTYPE
                         USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
   Built under linux
   Compiled at Jul 22 2012 19:09:19
   @INC:
     /opt/perl/lib/site_perl/5.16.0/x86_64-linux
     /opt/perl/lib/site_perl/5.16.0
     /opt/perl/lib/5.16.0/x86_64-linux
     /opt/perl/lib/5.16.0
     .

-- 
Jiří Pavlovský
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.