RE: libapreq2 build to /usr/lib64

Morten Bjørnsvik <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
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:[email protected]] 
Sent: 28. april 2011 22:56
To: [email protected]
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
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.