Click here to register.
      
IRC banner


     Install/Upgrade Help > perl module installation fails

perl module installation fails

User jonie_e2000
Date 8/17/2008 4:25 am
Views 1109
Rating 0    Rate [
|
]
Previous · Next
User Message
jonie_e2000

greetings!

i hope some good hearted wizard can give time for this...

i'm using ubuntu-desktop 7.10, setting up the WebGUI v 7.5.19 and i was able to comply all instructions at the "source-install", only thing that gives hard time is the perl module installation, i do execute the "testEnvironment.pl" at WebGUI/sbin - most of the modules are succesfully compiled but some are not, here are the list of failed modules:

checkModule("Archive::Zip",                 1.16         );
checkModule("Compress::Zlib",               1.34         );
checkModule("SOAP::Lite",                   0.60         );
checkModule("DateTime",                     0.2901       );
checkModule("DateTime::Format::Strptime",   1.0601       );
checkModule("DateTime::Format::Mail",       0.2901       );
checkModule("Config::JSON",                 "1.1.2"      );
checkModule("Text::CSV_XS",                 "0.52"       );
checkModule("POE::Component::Client::HTTP", 0.77         );
checkModule("Data::Structure::Util",        0.11         );
checkModule("Apache2::Request",             2.06         );
checkModule("Archive::Any",                 "0.093"      );
checkModule("List::MoreUtils",              "0.22"       );

i think this archives are still located at my /root/.cpan/ for whatsoever reason it never had a successful compile compare to other modules that is not on the list above.

i got this on the server log:

[Sun Aug 17 08:11:35 2008] [error] [client 192.168.1.78] failed to resolve handler `WebGUI': Can't locate WebGUI.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . /etc/apache2) at (eval 2) line 3.\n

 

the list of failed modules has something in common like:

WARNING: LICENSE is not a known parameter.
Checking if your kit is complete...
Looks good
Warning: prerequisite Compress::Zlib 1.14 not found.
'LICENSE' is not a known MakeMaker parameter name.
Writing Makefile for Archive::Zip
---- Unsatisfied dependencies detected during [A/AD/ADAMK/Archive-Zip-1.23.tar.gz] -----
    Compress::Zlib

 

i really appreciate if someone can give answer to thi


thanks a lot plain black corp!

--- (Edited on 8/17/2008 4:27 am [GMT-0500] by jonie_e2000) ---



Back to Top
Rate [
|
]
 
 
knowmad

Hi Jonie,

Welcome to the community. My company has been deploying WebGUI on Ubuntu since 6.06. By, "source-install", I presume that you mean you're using the native Apache, MySQL and Perl as opposed to installing the WRE. I cannot over-stress how much easier it is to use the WRE. If you insist on continuing, here's my suggestions.

First, you need to make sure you get those Perl modules installed. It sounds like you need to run `sudo apt-get install build-essential` so that Perl can build XS modules. Re-run the testEnvironment.pl script after doing that. (You'll need that for WRE also if it needs to build Perl modules with XS extensions).

i got this on the server log:

That error indicates that you have not correctly configured your Apache server as it doesn't know where to find the WebGUI libraries. You're probably missing a statement to load the preload.perl script (e.g., PerlRequire /data/WebGUI/sbin/preload.perl). Also, be sure to double-check your paths.

Good luck and let us know how it works out.

 

Cheers,
William

----
Knowmad Technologies
http://www.knowmad.com

--- (Edited on 8/18/2008 8:45 am [GMT-0400] by knowmad) ---



Back to Top
Rate [
|
]
 
 
jonie_e2000

Thanks a lot!

I’m reading some of your replies on other threads; nice inputs. By the way, I am also trying the wre way but I got stuck on some part so I think I should go with source-install for the mean time.

Ok here we go, the reason why I got that server log error is because I put a # on PerlRequire ~/preload.perl at the httpd.conf, right now I have already turn it back on the way it should be.

I did apt-get install build-essential and re-run testEnvironment.pl – everything was installed successfully but at least two modules are still on failed:

POE::Component::Client::HTTP & Apache2::Request

and I think I have problem loading preload perl – please let me have some knowledge on this. I just follow the path /data/WebGUI

Thanks again William!

Cool

 

Jonie Evangelista

ComputersPlus/Palau

--- (Edited on 8/20/2008 6:22 am [GMT-0500] by jonie_e2000) ---



Back to Top
Rate [
|
]
 
 
knowmad

Hi Jonie,

You are welcome. Glad I could help.

I did apt-get install build-essential and re-run testEnvironment.pl – everything was installed successfully but at least two modules are still on failed:

POE::Component::Client::HTTP & Apache2::Request

What errors are you getting when you try to build these modules? If you don't see any, try installing these modules via CPAN. I'll need to see what errors are being reported to be able to help.

 

and I think I have problem loading preload perl – please let me have some knowledge on this. I just follow the path /data/WebGUI

I'm not certain but would suspect that the missing libraries are the likely cause of that script failing. Any errors from your modperl error.log would help us to debug.

 

William

----
Knowmad Technologies
http://www.knowmad.com

--- (Edited on 8/20/2008 8:44 am [GMT-0400] by knowmad) ---



Back to Top
Rate [
|
]
 
 
todor_k

Hi Jonie,

why don' t you try to use:

apt-get install libapache2-mod-apreq2
apt-get install libpoe-component-client-http-perl

 

Todor

Todor  Kouyoumdjiev
ECoCoMS Ltd.
www.ecocoms.com

--- (Edited on 8/20/2008 10:24 pm [GMT+0300] by todor_k) ---



Back to Top
Rate [
|
]
 
 
jonie_e2000

Hello!

this is the Apache2::Request, it's a way long script but i'll just take the last part...i issue the "force install and make command

. . .

libapreq2 Version: 2.6.0
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating library/Makefile
config.status: creating library/t/Makefile
config.status: creating module/Makefile
config.status: creating module/apache2/Makefile
config.status: creating glue/Makefile
config.status: creating build/doxygen.conf
config.status: creating include/groups.dox
config.status: creating apreq2-config
config.status: creating include/apreq_config.h
config.status: include/apreq_config.h is unchanged
config.status: executing depfiles commands
Making all in .
make[1]: Entering directory `/root/.cpan/build/libapreq2-2.08-T7FwpN'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/root/.cpan/build/libapreq2-2.08-T7FwpN'
Making all in include
make[1]: Entering directory `/root/.cpan/build/libapreq2-2.08-T7FwpN/include'
/usr/bin/make  all-am
make[2]: Entering directory `/root/.cpan/build/libapreq2-2.08-T7FwpN/include'
make[2]: Leaving directory `/root/.cpan/build/libapreq2-2.08-T7FwpN/include'
make[1]: Leaving directory `/root/.cpan/build/libapreq2-2.08-T7FwpN/include'
Making all in library
make[1]: Entering directory `/root/.cpan/build/libapreq2-2.08-T7FwpN/library'
/usr/bin/make  all-am
make[2]: Entering directory `/root/.cpan/build/libapreq2-2.08-T7FwpN/library'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/root/.cpan/build/libapreq2-2.08-T7FwpN/library'
make[1]: Leaving directory `/root/.cpan/build/libapreq2-2.08-T7FwpN/library'
Making all in module
make[1]: Entering directory `/root/.cpan/build/libapreq2-2.08-T7FwpN/module'
Making all in apache2
make[2]: Entering directory `/root/.cpan/build/libapreq2-2.08-T7FwpN/module/apache2'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/.cpan/build/libapreq2-2.08-T7FwpN/module/apache2'
make[2]: Entering directory `/root/.cpan/build/libapreq2-2.08-T7FwpN/module'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/root/.cpan/build/libapreq2-2.08-T7FwpN/module'
make[1]: Leaving directory `/root/.cpan/build/libapreq2-2.08-T7FwpN/module'
Making all in glue
make[1]: Entering directory `/root/.cpan/build/libapreq2-2.08-T7FwpN/glue'
cd perl; /usr/bin/make
make[2]: Entering directory `/root/.cpan/build/libapreq2-2.08-T7FwpN/glue/perl'
make[3]: Entering directory `/root/.cpan/build/libapreq2-2.08-T7FwpN/glue/perl/xs'
make[4]: Entering directory `/root/.cpan/build/libapreq2-2.08-T7FwpN/glue/perl/xs/APR'
make[5]: Entering directory `/root/.cpan/build/libapreq2-2.08-T7FwpN/glue/perl/xs/APR/Request'
make[6]: Entering directory `/root/.cpan/build/libapreq2-2.08-T7FwpN/glue/perl/xs/APR/Request/Apache2'
cc -c  -I/root/.cpan/build/libapreq2-2.08-T7FwpN/glue/perl/xs -I/root/.cpan/build/libapreq2-2.08-T7FwpN/include -I/root/.cpan/build/libapreq2-2.08-T7FwpN/glue/perl/xsbuilder -I/usr/include/apache2  -I/usr/include/apr-1.0  -I/usr/include/postgresql -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/lib/perl/5.8/CORE -DMOD_PERL -DMP_USE_GTOP -DMP_COMPAT_1X -g -Wall -O2   -DVERSION=\"2.08\" -DXS_VERSION=\"2.08\" -fPIC "-I/usr/lib/perl/5.8/CORE"   Apache2.c
In file included from Apache2.xs:39:
/root/.cpan/build/libapreq2-2.08-T7FwpN/glue/perl/xsbuilder/apreq_xs_postperl.h:21:34: error: modperl_perl_unembed.h: No such file or directory
/root/.cpan/build/libapreq2-2.08-T7FwpN/glue/perl/xsbuilder/apreq_xs_postperl.h:24:33: error: modperl_common_util.h: No such file or directory
In file included from Apache2.xs:45:
/root/.cpan/build/libapreq2-2.08-T7FwpN/glue/perl/xsbuilder/APR/Request/Apache2/APR__Request__Apache2.h:1:22: error: mod_perl.h: No such file or directory
Apache2.c: In function ‘XS_APR__Request__Apache2_handle’:
Apache2.c:66: warning: implicit declaration of function ‘modperl_xs_sv2request_rec’
Apache2.c:66: warning: initialization makes pointer from integer without a cast
make[6]: *** [Apache2.o] Error 1
make[6]: Leaving directory `/root/.cpan/build/libapreq2-2.08-T7FwpN/glue/perl/xs/APR/Request/Apache2'
make[5]: *** [subdirs] Error 2
make[5]: Leaving directory `/root/.cpan/build/libapreq2-2.08-T7FwpN/glue/perl/xs/APR/Request'
make[4]: *** [subdirs] Error 2
make[4]: Leaving directory `/root/.cpan/build/libapreq2-2.08-T7FwpN/glue/perl/xs/APR'
make[3]: *** [subdirs] Error 2
make[3]: Leaving directory `/root/.cpan/build/libapreq2-2.08-T7FwpN/glue/perl/xs'
make[2]: *** [subdirs] Error 2
make[2]: Leaving directory `/root/.cpan/build/libapreq2-2.08-T7FwpN/glue/perl'
make[1]: *** [perl_glue] Error 2
make[1]: Leaving directory `/root/.cpan/build/libapreq2-2.08-T7FwpN/glue'
make: *** [all-recursive] Error 1
  JOESUF/libapreq2-2.08.tar.gz
  /usr/bin/make -- NOT OK
Failed during this command:
 JOESUF/libapreq2-2.08.tar.gz                 : make NO

cpan[3]>

and then it just stops....

here's the one for the POE::Component::Client::HTTP

. . .

Test Summary Report
-------------------
t/59_andy_one_keepalive (Wstat: 256 Tests: 2 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
Files=24, Tests=138, 161 wallclock secs ( 0.37 usr  0.08 sys + 21.93 cusr  3.55 csys = 25.93 CPU)
Result: FAIL
Failed 1/24 test programs. 1/138 subtests failed.
make: *** [test_dynamic] Error 1
  RCAPUTO/POE-Component-Client-HTTP-0.85.tar.gz
  /usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports RCAPUTO/POE-Component-Client-HTTP-0.85.tar.gz
Running make install
Installing /usr/local/share/perl/5.8.8/POE/Component/Client/HTTP.pm
Installing /usr/local/share/perl/5.8.8/POE/Component/Client/HTTP/Request.pm
Installing /usr/local/share/perl/5.8.8/POE/Component/Client/HTTP/RequestFactory.pm
Installing /usr/local/share/perl/5.8.8/POE/Filter/HTTPChunk.pm
Installing /usr/local/share/perl/5.8.8/POE/Filter/HTTPHead.pm
Installing /usr/local/man/man3/POE::Component::Client::HTTP.3pm
Installing /usr/local/man/man3/POE::Filter::HTTPChunk.3pm
Installing /usr/local/man/man3/POE::Component::Client::HTTP::RequestFactory.3pm
Installing /usr/local/man/man3/POE::Component::Client::HTTP::Request.3pm
Installing /usr/local/man/man3/POE::Filter::HTTPHead.3pm
Writing /usr/local/lib/perl/5.8.8/auto/POE/Component/Client/HTTP/.packlist
Appending installation info to /usr/lib/perl/5.8/perllocal.pod
  RCAPUTO/POE-Component-Client-HTTP-0.85.tar.gz
  /usr/bin/make install  -- OK
Failed during this command:
 RCAPUTO/POE-Component-Client-Keepalive-0.21.tar.gz: make_test FAILED but failure ignored because 'force' in effect
 RCAPUTO/POE-Component-Client-HTTP-0.85.tar.gz: make_test FAILED but failure ignored because 'force' in effect

                                                                                                                            cpan[4]>


i also did Todor's suggestion to obtain it via apt-get, yes i got it succesfully but not in testEnvironment.pl

hhmm..it seems i need to wait a little more to make this thing work, i appreciate it so much thanks a lot Todor!Cool

however, do i need to configure something out of the box,

something that is not on the source-install wiki?


thanks a lot William!Cool

 

Jonie Evangelista

Computersplus/Palau

 

--- (Edited on 8/21/2008 7:17 am [GMT-0500] by jonie_e2000) ---



Back to Top
Rate [
|
]
 
 
knowmad

Do you have mod_perl installed on that system? The package would be libapache2-mod-perl2.

It looks like Apache2::Request is having troubles finding the header files. You'd need to install libapache2-mod-perl2-dev to get the headers.

 

William

----
Knowmad Technologies
http://www.knowmad.com

--- (Edited on 8/21/2008 9:18 am [GMT-0400] by knowmad) ---



Back to Top
Rate [
|
]
 
 
jonie_e2000

libapache2-mod-perl2, libapreq2 and other stuffs are already loaded in my system…

I’m about to quit this thing, though it’s a really tough and challenging one, after 2 weeks of hurdles… I had finally made it run, LOL! Considering what you’ve mention about wre installation I tried it once more using “wre 0.8.3” and “WebGUI 7.5.21”, doing it dozen of times brought me no luck, because no matter what seating position I do in my room mod_perl doesn’t really starts and when I start the feel of throwing the towel - I notice the advisory of “0.8.4 errata” …hmmm…I see! So I did use wre 0.8.4 and did what the link says http://www.plainblack.com/getwebgui/advisories/wre-0.8.4-errata and BOOM! It’s nice to see WebGUI home page streaming from the server down to my computers browser. It’s time to read Ruling WebGUI! Oh another thing that I have encountered on starting mysql… is to set it using port 3307 instead of 3306 – It somehow conflicts with my system although I had already shut mysql off and even renaming my.cnf to my.cnf.old in /etc/mysql, to change it to another port makes mysql start successfully. I don’t know about other flat forms but as for me... I’m using Ubuntu 7.10 and it works fine for me, Thanks again Todor and William! a good hearted wizardsCoolLaughingSealed

 

Jonie Evangelista

Computersplus/Palau

--- (Edited on 8/28/2008 11:21 pm [GMT-0500] by jonie_e2000) ---



Back to Top
Rate [
|
]
 
 

Recent Discussions Color Key

Design:

Development:

Et Cetera:

Install/Upgrade:  

Smoketest:

Template Group:


MIME::Parser::use_inner_files() by lrobinson - Fri @ 12:04pm

Re: Site paid for by advertizing by pwrightson - Fri @ 10:51am

Re: Site paid for by advertizing by Klaus - Fri @ 02:27am

Smoke Test for WebGUI (Stable) (2008-11-21) by botaction - Fri @ 12:37am

Re: Site paid for by advertizing by pwrightson - Thu @ 10:59am

Re: Site paid for by advertizing by JT - Thu @ 08:58am

Re: Regelmäßiger Termin für Usertreffen in der Rhein-Neckar-Region by Klaus - Thu @ 06:11am

Smoke Test for WebGUI (Stable) (2008-11-20) by botaction - Thu @ 12:00am

Smoke Test for SVN (2008-11-20) by botaction - Thu @ 12:00am

Re: Improving page layouts by fdillon - Wed @ 08:38pm

Re: Improving page layouts by knowmad - Wed @ 08:25pm

Re: Site paid for by advertizing by knowmad - Wed @ 08:07pm

Re: SSL Configuration? by knowmad - Wed @ 07:51pm

Re: The Death of the Collaboration System by preaction - Wed @ 07:39pm