Skip Menu |

This queue is for tickets about the HTTP-GHTTP CPAN distribution.

Report information
The Basics
Id: 4644
Status: resolved
Priority: 0/
Queue: HTTP-GHTTP

People
Owner: cwhitener [...] gmail.com
Requestors: mike [...] nachbaur.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.07
Fixed in: (no value)



Subject: Makefile.PL have_library tests gives a fanse negative
The Makefile.PL file that comes with the distribution makes two calls to have_library() that fail. It tells me that it cannot find libghttp, even though I have it installed on my system, in the search path, and of the correct version (running on Mandrake 9.1 and 9.2). If I simply remove the two tests, the distribution compiles and all it's tests succeed. I don't know what to do to resolve this, so I haven't supplied a patch with this bug report. Sorry if this is short on details. [nachbaur@silicon HTTP-GHTTP-1.07]$ sudo perl Makefile.PL running gnome-config... failed using fallback values for LIBS and INC options: LIBS='-L/usr/local/lib -L/usr/lib -lghttp' INC='-I/usr/local/include -I/usr/include' If this is wrong, Re-run as: $ /usr/bin/perl5.8.0 Makefile.PL LIBS='-L/path/to/lib' INC='-I/path/to/include' 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/ [nachbaur@silicon HTTP-GHTTP-1.07]$ !rp rpm -ql libghttp1-devel /usr/include/ghttp.h /usr/include/ghttp_constants.h /usr/lib/ghttpConf.sh /usr/lib/libghttp.a /usr/lib/libghttp.la /usr/lib/libghttp.so /usr/share/doc/libghttp1-devel-1.0.9 /usr/share/doc/libghttp1-devel-1.0.9/AUTHORS /usr/share/doc/libghttp1-devel-1.0.9/COPYING /usr/share/doc/libghttp1-devel-1.0.9/ChangeLog /usr/share/doc/libghttp1-devel-1.0.9/NEWS /usr/share/doc/libghttp1-devel-1.0.9/README /usr/share/doc/libghttp1-devel-1.0.9/ghttp.html The offending lines are as follows: if (!have_library("ghttp")) { die <<DEATH; 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/ DEATH } have_library("ghttp", "ghttp_get_header_names");
Hi Mike, Although I seriously doubt you're still trying to use this module since GNOME's libghttp has been EOLed since 2002, I believe this problem to be resolved now that the latest testing release, 1.080_001, is relying on Alien::GHTTP. Please reopen if you're still using this and noticing the problem. Thanks, Chase