[NTLUG:Discuss] CPAN install problem

rob apodaca rob.apodaca at attbi.com
Mon Dec 9 18:27:08 CST 2002


On 09 Dec 2002 17:28:31 -0600
Bobby Wrenn <bjwrenn at augustmail.com> wrote:

> On Mon, 2002-12-09 at 16:48, rob apodaca wrote:
> > > > I would run 'make' then 'make test' to see if they succeed. No
> > > > files get written outside of your source directory until you
> > > > run'make install', so you should be safe performing these
> > > > steps.
> > > > 
> > > make and make test both return the following:
> > > 
> > > make[1]: Entering directory `/root/.cpan/build/libapreq-1.0/c'
> > > gcc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
> > > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm
> > > -O3-fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586
> > > -ffast-math-fno-strength-reduce   -DVERSION=\"\"
> > > -DXS_VERSION=\"\"
> > > -fpic"-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" 
> > > apache_request.c make[1]: Leaving
> > > directory`/root/.cpan/build/libapreq-1.0/c'
> > 
> > GOOD! It looks like make and make test were successful (by lack of
> > error message). You should be able to proceed with 'make install'
> > (as root).
> > 
> > > 
> > > Sorry this is all Greek to me. There is a lot more that scrolls
> > > off the screen but the above is all that is captured by
> > > redirecting stdout with '>'.
> > > 
> > It's all greek to me too but no errors means it did what it needed
> > to do.
> > 
> > Good Luck,
> > -rob
> > 
> Nope! Still not working. How do I find out what Perl modules are
> installed?
> 

Hi Bobby,
Ok, I got curious and downloaded the libapreq perl module and tried to
install it. The first thing I noticed was a lack of documentation
(makes it tough). After that I noticed that to install, you do:$ perl
Makefile.PL$make install

apparently forgoing the 'make' step.

Ok so I did that and got an error right out of the chute...could not
find httpd.h...which is a header file for apache. So I installed my
apache-devel package (I'm running mandrake 8.2). 

Then I get another error complaining about perl-mod header files. So,
I installed mod-perl-devel.

Then Hooray! it worked. So make sure those two development packages
are installed and you should be set.

By the way, I was able to get the whole output by:

$ cd libapreq-1.0
$ perl Makefile.PL
$ script
$ make install
$ exit
$ less typescript

Good luck, let us know how it goes.

-rob




More information about the Discuss mailing list