Goal: Install the HTTP :: GHTTP module for perl running on AIX
Problem Statement: The Perl Makefile.pl command fails, it cannot find the "ghttp" library
What have I tried: I installed the libghttp rpm from the AIX for Linux tool kit. The module would not install. I then downladed the libraries directly and installed them, the module still cannot find the library. I have included some details below. Any help is very much appreciated
Moot point(s): I am working in a closed network with no CPAN shell access, so all my module installs require an excessive amount of manual effort.
Supporting details:
--------------------------------------------------------------- Perl Makefile.PL # /admin/perl5_64/bin/perl Makefile.PL LIBS='-L/usr/local/lib -lghttp' + INC='-I/usr/local/include' 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/ HTTP:GHTTP (HTTP-GHTTP-1.07) ------------------------------------------------------------------ Perl Version Summary of my perl5 (revision 5 version 22 subversion 0) configuration +: Platform: osname=aix, osvers=7.1.0.0, archname=aix-thread-multi-64all uname='aix SERVER 1 7 00f698224c00 ' config_args='-d -Dcc=cc_r -Duseshrplib -Dusethreads -Dusepthreads -Dus +e64bitall -Dprefix=/admin/perl5_64' hint=recommended, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define use64bitint=define, use64bitall=define, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc_r -q64', ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOUR +CE -qmaxmem=-1 -qnoansialias -qlanglvl=extc99 -DUSE_NATIVE_DLOPEN -DN +EED_PTHREAD_INIT -q64 -DUSE_64_BIT_ALL -q64', optimize='-O', cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1 - +qnoansialias -qlanglvl=extc99 -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT +' ccversion='11.1.0.10', gccversion='', gccosandvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=87654321, do +ublekind=4 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8, lo +ngdblkind=0 ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lse +eksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='ld', ldflags ='-brtl -bdynamic -b64' libpth=/lib /usr/lib /usr/ccs/lib libs=-lpthread -lbind -lnsl -ldbm -ldb -ldl -lld -lm -lcrypt -lpthread +s -lc perllibs=-lpthread -lbind -lnsl -ldl -lld -lm -lcrypt -lpthreads -lc libc=, so=a, useshrplib=true, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -bE:/admin/per +l5_64/lib/5.22.0/aix-thread-multi-64all/CORE/perl.exp' cccdlflags=' ', lddlflags='-b64 -bhalt:4 -G -bI:$(PERL_INC)/perl.exp - +bE:$(BASEEXT).exp -bnoentry -lpthreads -lc -lm' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS PERL_DONT_CREATE_GVSV PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_LOCALE_TIME USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API Built under aix Compiled at Aug 9 2015 13:44:35 @INC: /admin/perl5_64/lib/site_perl/5.22.0/aix-thread-multi-64all /admin/perl5_64/lib/site_perl/5.22.0 /admin/perl5_64/lib/5.22.0/aix-thread-multi-64all /admin/perl5_64/lib/5.22.0 . ---------------------------------------------------------------------- GHTTP LIBRARY: # ls -al /usr/local/lib total 744 drwxr-xr-x 2 root system 256 Aug 10 18:08 . drwxr-xr-x 12 root system 4096 Aug 10 18:08 .. -rw-r--r-- 1 root system 199 Aug 10 18:08 ghttpConf.sh -rw-r--r-- 1 root system 365647 Aug 10 18:08 libghttp.a -rwxr-xr-x 1 root system 605 Aug 10 18:08 libghttp.la # ls -al /usr/local/include total 32 drwxr-xr-x 2 root system 256 Aug 10 18:08 . drwxr-xr-x 12 root system 4096 Aug 10 18:08 .. -rw-r--r-- 1 root system 5578 Aug 10 18:08 ghttp.h -rw-r--r-- 1 root system 3492 Aug 10 18:08 ghttp_constants.h (installed from libghttp-1.0.9.tar.gz)
In reply to Help with HTTP::GHTTP by dmz8080
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |