You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Jonathan Mangin <jo...@comcast.net> on 2007/01/14 20:30:45 UTC

Problem with libapreq2 and make

Hi,
Downloaded libapreq2-2.08 and did:
perl Makefile.PL --with-apache2-apxs=/usr/local/apache3/bin/apxs
make

Got the following errors:
make[2]: *** [libapreq2.la] Error 1
make[2]: Leaving directory `/src/misc/libapreq2-2.08/library'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/src/misc/libapreq2-2.08/library'
make: *** [all-recursive] Error 1

I got the same errors with a CPAN install.  Does anyone have a
clue what the problem might be?  I replaced make 3.80 with 3.81,
but no difference.  This is with Solaris 2.8x86 and gcc 3.3.2.

Thanks,
Jon


Re: Problem with libapreq2 and make

Posted by Jonathan Mangin <jo...@comcast.net>.
> > false cru .libs/libapreq2.a  util.o version.o cookie.o param.o parser.o
> > parser_urlencoded.o parser_header.o parser_multipart.o module.o
> > module_custom.o module_cgi.o error.o
> >
A pretty big clue.  Included libtool configured with:

AR="false"

--Jon


Re: Problem with libapreq2 and make

Posted by Jonathan Mangin <jo...@comcast.net>.
Is this last line supposed to be creating libapreq2.la or
using libapreq2.la?

make[2]: Entering directory `/src/misc/libapreq2-2.08/library'
/bin/ksh ../libtool --tag=CC --mode=link
/usr/local/bin/gcc  -g -O2 -fno-strict-aliasing   -o libapreq2.la -rpath
/usr/local/apache3/lib ......



----- Original Message ----- 
From: "Jonathan Mangin" <jo...@comcast.net>
To: "Jonathan Mangin" <jo...@comcast.net>; <mo...@perl.apache.org>
Sent: Sunday, January 14, 2007 3:40 PM
Subject: Re: Problem with libapreq2 and make


>
> ----- Original Message ----- 
> From: "Jonathan Mangin" <jo...@comcast.net>
> To: <mo...@perl.apache.org>
> Sent: Sunday, January 14, 2007 2:30 PM
> Subject: Problem with libapreq2 and make
>
>
> > Hi,
> > Downloaded libapreq2-2.08 and did:
> > perl Makefile.PL --with-apache2-apxs=/usr/local/apache3/bin/apxs
> > make
> >
> > Got the following errors:
> > make[2]: *** [libapreq2.la] Error 1
> > make[2]: Leaving directory `/src/misc/libapreq2-2.08/library'
> > make[1]: *** [all] Error 2
> > make[1]: Leaving directory `/src/misc/libapreq2-2.08/library'
> > make: *** [all-recursive] Error 1
> >
> > I got the same errors with a CPAN install.  Does anyone have a
> > clue what the problem might be?  I replaced make 3.80 with 3.81,
> > but no difference.  This is with Solaris 2.8x86 and gcc 3.3.2.
> >
> > Thanks,
> > Jon
> >
> I see that others have gotten actual errors before the
> lines I listed above.  I don't see any errors.
> Here are the three lines preceding make[2]... (just in case):
>
> (cd .libs && rm -f libapreq2.so.2 && ln -s libapreq2.so.2.6.0
> libapreq2.so.2)
> (cd .libs && rm -f libapreq2.so && ln -s libapreq2.so.2.6.0 libapreq2.so)
> false cru .libs/libapreq2.a  util.o version.o cookie.o param.o parser.o
> parser_urlencoded.o parser_header.o parser_multipart.o module.o
> module_custom.o module_cgi.o error.o
>
> Thanks again,
> Jon
>


Re: Problem with libapreq2 and make

Posted by Jonathan Mangin <jo...@comcast.net>.
----- Original Message ----- 
From: "Jonathan Mangin" <jo...@comcast.net>
To: <mo...@perl.apache.org>
Sent: Sunday, January 14, 2007 2:30 PM
Subject: Problem with libapreq2 and make


> Hi,
> Downloaded libapreq2-2.08 and did:
> perl Makefile.PL --with-apache2-apxs=/usr/local/apache3/bin/apxs
> make
>
> Got the following errors:
> make[2]: *** [libapreq2.la] Error 1
> make[2]: Leaving directory `/src/misc/libapreq2-2.08/library'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/src/misc/libapreq2-2.08/library'
> make: *** [all-recursive] Error 1
>
> I got the same errors with a CPAN install.  Does anyone have a
> clue what the problem might be?  I replaced make 3.80 with 3.81,
> but no difference.  This is with Solaris 2.8x86 and gcc 3.3.2.
>
> Thanks,
> Jon
>
I see that others have gotten actual errors before the
lines I listed above.  I don't see any errors.
Here are the three lines preceding make[2]... (just in case):

(cd .libs && rm -f libapreq2.so.2 && ln -s libapreq2.so.2.6.0
libapreq2.so.2)
(cd .libs && rm -f libapreq2.so && ln -s libapreq2.so.2.6.0 libapreq2.so)
false cru .libs/libapreq2.a  util.o version.o cookie.o param.o parser.o
parser_urlencoded.o parser_header.o parser_multipart.o module.o
module_custom.o module_cgi.o error.o

Thanks again,
Jon