Ah, that looks simpler. Thanks.
-James

-----Original Message-----
From: Morten Bjørnsvik [mailto:morten.bjorns...@experian-da.no]
Sent: Friday, April 29, 2011 3:01 AM
To: James B. Muir; modperl@perl.apache.org
Subject: RE: libapreq2 build to /usr/lib64

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.m...@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


IMPORTANT NOTICE REGARDING THIS ELECTRONIC MESSAGE:

This message is intended for the use of the person to whom it is addressed and 
may contain information that is privileged, confidential, and protected from 
disclosure under applicable law.  If you are not the intended recipient, your 
use of this message for any purpose is strictly prohibited.  If you have 
received this communication in error, please delete the message and notify the 
sender so that we may correct our records.

Reply via email to