Is that the output you are seeing?
------------------8<------------------
perl Makefile.PL
running gnome-config... ok
checking for main() in -lghttp... no
libghttp not found
Try setting LIBS and INC values on the command line
Or get libghttp from
  ftp://ftp.gnome.org/pub/GNOME/stable/sources/libghttp/
------------------8<------------------

Well the problem does not come from libghttp because when running perl
Makefile.PL DEBUG=1 you get the following output:

------------------8<------------------
perl Makefile.PL DEBUG=1
running gnome-config... gnome-config --libs ghttp
gnome-config --cflags ghttp
ok
checking for main() in -lghttp... gcc -o conftest -D_REENTRANT -D_GNU_SOURCE 
-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I 
-I/usr/include  -L/usr/local/lib conftest.c -lnsl -lndbm -lgdbm -ldl -lm -lpthread -lc 
-lcrypt -lutil -L/usr/lib -lghttp -lghttp
/usr/bin/ld: cannot find -lndbm
collect2: ld returned 1 exit status
system call to 'gcc -o conftest -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I -I/usr/include  
-L/usr/local/lib conftest.c -lnsl -lndbm -lgdbm -ldl -lm -lpthread -lc -lcrypt -lutil 
-L/usr/lib -lghttp -lghttp' failed at Makefile.PL line 92.
------------------8<------------------

You have to do:
------------------8<------------------
urpmi db2-devel
------------------8<------------------

I'm running on mdk9.1(cooker-9.2). Hope that helps.

Tom


Am Mon, 2003-07-14 um 21.28 schrieb Jason Kumpf:
> I have been trying to install AxKit on my laptop running Mandrake 9.1 for 
> a couple days and have been stuck on the installation of the HTTP::GHTTP 
> modules.  It says it can't find main() in -lghttp.  So I went and 
> downloaded the libghttp source from ftp://ftp.gnome.org and installed it.  
> It seemed to install correctly but I still get the same error when I try 
> to install HTTP::GHTTP.  Then I try to specify the LIBS and INC values on 
> the perl Makefile.PL command and it still doesn't seem to find them.  
> 
> Now I am more confused than ever.  I mean I have installed my fair share 
> of software on Linux (Mostly on RH systems) and been through this before but 
> always seem to be able to find the libraries that the install scripts are 
> looking for and point them in the right direction.  Can someone suggest 
> anything else I might be missing or to look for?
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to