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

List:       apreq-dev
Subject:    Resolved: cant build libapreq2 on trustix linux
From:       "Bengt-Arne Fjellner" <Bengt-Arne.Fjellner () ltu ! se>
Date:       2005-11-02 9:43:19
Message-ID: 1297.130.240.136.220.1130924599.squirrel () pinus
[Download RAW message or body]

>
>system trustix secure linux version 2.2
>
>perl 5.8.5  all cpan modules up to date
>mod_perl 2.0.1
>
>tried with normal and cvs version of libapreq2-2.06-dev
>both on a prodution system and on a clean system.
>Almost all tests in parsers fail with: Segmentation fault
>see attached files:
>compile.txt:
>  ./buildconf
>  perl Makefile.PL --with-apache2-apxs=/usr/sbin/apxs
>  make
>  make test
>  cd library/t && ./parsers
Finally resolved:
export CFLAGS=`apxs -q CFLAGS`
before Perl Makefile.PL  fixed it.

shouldnt configure take this into account ????
hope this helps someone else.
p.s. result of apxs -C CFLAGS
-O3 -fomit-frame-pointer -pipe -s -mpentium -mcpu=pentium -march=pentium
-fexpensive-optimizations -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES=1
-D_LARGEFILE64_SOURCE=1


-- 
Bengt-Arne Fjellner
Luleċ technical university
LTU Skellefteċ
Skellefteċ
Sweden



-- 
Bengt-Arne Fjellner
0910-58 53 69


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

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