Trouble Installing Apache::Request 
Author Message
 Trouble Installing Apache::Request

I'm having some trouble installing Apache::Request on a Solaris 8
system which has Apache installed in /local/apache/aws and mod_perl in
/usr/apache/perl5/5.005/sun4-solaris.  I've added the line lib
'/usr/apache/perl5/5.005/sun4-solaris/' to Makefile.PL to tell make
where Apache/src.pm is located.  I still get some errors, shown in
Output 1 about "otherldflags".  Has anyone seen these before and would
know how to edit the Makefile to fix this error?

Output 2 shows what happens if I go ahead and continue with "make".
These errors are regarding the apache *.h files not found.  how can I
tell make where these files are located?

Thanks in advance.

Output 1 -


Checking if your kit is complete...
Looks good
Writing Makefile for libapreq
WARNING from evaluation of
/local/.cpan/build/libapreq-1.0/Request/Makefile.PL: Can't locate
object method "usr" via package "lib" (perhaps you forgot to load
"lib"?) at (eval 83) line 6.
mkdir ../blib
mkdir ../blib/arch
mkdir ../blib/arch/auto
mkdir ../blib/arch/auto/libapreq
WARNING from evaluation of
/local/.cpan/build/libapreq-1.0/Cookie/Makefile.PL: Can't locate
object method "otherldflags" via package "Apache::src" (perhaps you
forgot to load "Apache::src"?) at (eval 84) line 28.
Writing Makefile for libapreq

Output 2 -

cp libapreq.pod blib/lib/libapreq.pod
cp lib/Apache/libapreq.pm blib/lib/Apache/libapreq.pm
make[1]: Entering directory `/local/.cpan/build/libapreq-1.0/c'
gcc -B/usr/ccs/bin -c -I./auto/Apache/include
-I./auto/Apache/include/modules/perl -I -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O  
-DVERSION=\"0.10\" -DXS_VERSION=\"0.10\" -fPIC
-I/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE  apache_request.c
In file included from apache_request.c:59:
apache_request.h:5: httpd.h: No such file or directory
apache_request.h:6: http_config.h: No such file or directory
apache_request.h:7: http_core.h: No such file or directory
apache_request.h:8: http_log.h: No such file or directory
apache_request.h:9: http_main.h: No such file or directory
apache_request.h:10: http_protocol.h: No such file or directory
apache_request.h:11: util_script.h: No such file or directory
gcc: file path prefix `/usr/ccs/bin' never used
make[1]: *** [apache_request.o] Error 1
make[1]: Leaving directory `/local/.cpan/build/libapreq-1.0/c'
make: *** [subdirs] Error 2



Fri, 28 Jan 2005 11:29:38 GMT  
 Trouble Installing Apache::Request

[...]

Quote:
> Output 1 -


> Checking if your kit is complete...
> Looks good
> Writing Makefile for libapreq
> WARNING from evaluation of
> /local/.cpan/build/libapreq-1.0/Request/Makefile.PL: Can't locate
> object method "usr" via package "lib" (perhaps you forgot to load
> "lib"?) at (eval 83) line 6.

Looks to me like perl's saying you've got "usr lib ..." on line 6
of Makefile.PL.                              ^
                                         s/r/e/ here: does that fix it?

--
Joe Schaefer     "Documentation is like term insurance: It satisfies because
                 almost no one who subscribes to it depends on its benefits."
                                               -- Alan J. Perlis



Fri, 28 Jan 2005 13:15:00 GMT  
 Trouble Installing Apache::Request

Quote:


> [...]

> > Output 1 -


> > Checking if your kit is complete...
> > Looks good
> > Writing Makefile for libapreq
> > WARNING from evaluation of
> > /local/.cpan/build/libapreq-1.0/Request/Makefile.PL: Can't locate
> > object method "usr" via package "lib" (perhaps you forgot to load
> > "lib"?) at (eval 83) line 6.

> Looks to me like perl's saying you've got "usr lib ..." on line 6
> of Makefile.PL.                              ^
>                                          s/r/e/ here: does that fix it?

Sorry, I fat fingered that line.  Thanks for pointing that one out.  

It didn't fix

WARNING from evaluation of
/local/.cpan/build/libapreq-1.0/Cookie/Makefile.PL: Can't locate
object method "otherldflags" via package "Apache::src" (perhaps you
forgot to load "Apache::src"?) at (eval 84) line 28.

and

apache_request.h:5: httpd.h: No such file or directory

though. Any ideas on these?

-Chris



Fri, 28 Jan 2005 22:29:57 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Apache::Request Installation troubles

2. Problems installing Apache::Request, Locale::Maketext and Text::Template

3. Problem installing Apache::Request

4. Problem installing Apache::Request

5. Problems installing Apache::Request

6. Apache::Request is not good to me.

7. Apache::Request->new or ->instance..

8. Apache::ASP / Redhat Trouble

9. Can't load Apache::Request

10. Apache::ASP: Trouble opening .asp pages

11. Apache::Request

12. Apache::Request->new or ->instance..

 

 
Powered by phpBB® Forum Software