I pulled the following code from Makefile.PL:

#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");

Now the make file is generated, and I can run make without issues

# /admin/perl5_64/bin/perl Makefile.PL LIBS='-L/usr/local/lib -lghttp' + INC='-I/usr/local/include' running gnome-config... ok Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for HTTP::GHTTP Writing MYMETA.yml and MYMETA.json # make cp GHTTP.pm blib/lib/HTTP/GHTTP.pm "/admin/perl5_64/bin/perl" -e 'use ExtUtils::Mksymlists; Mksy +mlists("NAME" => "HTTP::GHTTP", "DL_FUNCS" => { }, "FUNCLIST" => [], + "DL_VARS" => []);' Running Mkbootstrap for HTTP::GHTTP () chmod 644 "GHTTP.bs" "/admin/perl5_64/bin/perl" "/admin/perl5_64/lib/5.22.0/ExtUtil +s/xsubpp" -typemap "/admin/perl5_64/lib/5.22.0/ExtUtils/typemap" -ty +pemap "typemap" GHTTP.xs > GHTTP.xsc && mv GHTTP.xsc GHTTP.c Please specify prototyping behavior for GHTTP.xs (see perlxs manual) cc_r -q64 -c -I/usr/local/include -D_ALL_SOURCE -D_ANSI_C_SO +URCE -D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias -qlanglvl=extc99 -DUSE +_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q64 -DUSE_64_BIT_ALL -q64 -O - +DVERSION=\"1.07\" -DXS_VERSION=\"1.07\" "-I/admin/perl5_64/lib/5.22 +.0/aix-thread-multi-64all/CORE" GHTTP.c rm -f blib/arch/auto/HTTP/GHTTP/GHTTP.so ld -b64 -bhalt:4 -G -bI:/admin/perl5_64/lib/5.22.0/aix-thread +-multi-64all/CORE/perl.exp -bE:GHTTP.exp -bnoentry -lpthreads -lc -lm + GHTTP.o -o blib/arch/auto/HTTP/GHTTP/GHTTP.so -L/usr/local/l +ib -lghttp chmod 755 blib/arch/auto/HTTP/GHTTP/GHTTP.so "/admin/perl5_64/bin/perl" -MExtUtils::Command::MM -e 'cp_non +empty' -- GHTTP.bs blib/arch/auto/HTTP/GHTTP/GHTTP.bs 644 cp scripts/g-request blib/script/g-request "/admin/perl5_64/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift) +' -- blib/script/g-request Manifying 1 pod document

However 'make test' does not run so well. A memory error is thrown, but that does not seem to be resource related. I have over 1gb available on this test server and my ulimits are unlimited:

# make test Running Mkbootstrap for HTTP::GHTTP () chmod 644 "GHTTP.bs" PERL_DL_NONLAZY=1 "/admin/perl5_64/bin/perl" "-MExtUtils::Comm +and::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test +_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/simple.t .. Can't load '/some/temp/directory/perlmods/HTTP-GHTTP-1.0 +7/blib/arch/auto/HTTP/GHTTP/GHTTP.so' for module HTTP::GHTTP: There i +s not enough memory for the process. rtld: 0712-001 Symbol ghttp_set_chunksize was referenced # ulimit -a time(seconds) unlimited file(blocks) unlimited data(kbytes) unlimited stack(kbytes) unlimited memory(kbytes) unlimited coredump(blocks) unlimited nofiles(descriptors) unlimited threads(per process) unlimited processes(per user) unlimited

Thoughts?


In reply to Re^4: Help with HTTP::GHTTP by dmz8080
in thread Help with HTTP::GHTTP by dmz8080

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.