perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Morten Bjørnsvik <morten.bjorns...@experian-da.no>
Subject RE: libapreq2 build to /usr/lib64
Date Fri, 29 Apr 2011 07:01:00 GMT
Hi
I use the following when compiling libapreq:
(the vaiables are just paths to the dirs and bins)

Apache2::Request  2.13  libapreq2-2.13.tar.gz downloaded_201012171512 "$PERL_BIN Makefile.PL
--with-apache2-apxs=$APXS_BIN --with-perl=$PERL_BIN --enable-lib64 --with-expat=$APACHE_DIR"

--
MortenB


-----Original Message-----
From: James B. Muir [mailto:James.B.Muir@hitchcock.org] 
Sent: 28. april 2011 22:56
To: modperl@perl.apache.org
Subject: RE: libapreq2 build to /usr/lib64

I followed this lead earlier to today but it did not lead anywhere in this case. Thanks for
suggesting it.

Fortunately I did find the solution. I added --libdir=/usr/lib64 to the ./configure:

#!/bin/bash

cd /usr/local/src/libapreq2-2.13

env LDFLAGS="-L/usr/lib64 -R/usr/lib64 -lexpat" ./configure --with-apache2-apxs=
/usr/sbin/apxs --enable-perl-glue --with-perl=/usr/bin/perl --libdir="/usr/lib64"

make &&
make test &&
make install

-James


Mime
View raw message