LoginRegisterCommercial SupportContact Us


ExSite Webware Forum > Comment "Devel::Size error"

Devel::Size error
by R. Lennix, posted on 8:56 PM, July 3, 2009
Hello-
I am receiving the following error when trying to run the exsite-test.cgi file from my site. I have confirmed that the Devel:Size module is NOT installed by default on my shared hosting (1&1 Home Linux) server configuration. (the Net::SMTP and Image:Info modules are also absent, but are listed as Optional in the Adv. Install Guide).

I have downloaded the required module (Devel-Size-0.72) separately from CPAN.org and saved the file "Size.pm" in my "cgi-bin" folder. I have changed permissions to 755 as required to run "custom" CGI scripts on my host. Are there any other references to coding which uses this file that I need to make in order to get past the error messages below? Thank you in advance for your help on this issue.
RL

(from browser) - Software error:
Can't locate Devel/Size.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 .) at ExSite/Store.pm line 35.
BEGIN failed--compilation aborted at ExSite/Store.pm line 35.
Compilation failed in require at ExSite/Config.pm line 30.
BEGIN failed--compilation aborted at ExSite/Config.pm line 30.
Compilation failed in require at /kunden/homepages/24/d224131556/htdocs/exSitebuilder/cgi/exsite-test.cgi line 20.
BEGIN failed--compilation aborted at /kunden/homepages/24/d224131556/htdocs/exSitebuilder/cgi/exsite-test.cgi line 20.
For help, please send mail to the webmaster (webmaster@myExSitedomain.com), giving this error message and the time and date of the error.




    Re: Devel::Size error
    by Morgan Burke, posted on 1:57 PM, July 13, 2009
    I believe that Devel::Size requires installation in the system Perl libraries, because it is actually coded in C with a Perl interface. Perl modules that fit this description usually don't work if you attempt to install them locally in the cgi-bin.

    The usual CPAN installation method should work, ie.
    perl Makefile.PL
    make
    make test
    make install

    The last step should install the module correctly in the system libraries, assuming you have the necessary permissions to do so.

    If you want to try local installation anyway, the system will probably expect to find the Size.pm file in a Devel subdirirectory, ie. cgi-bin/Devel/Size.pm. But again, I'm not sure that will work in this case.
      Re: Devel::Size error
      by R. Lennix, posted on 5:45 PM, July 19, 2009
      Firstly, thanking the developers for what appears to be a fine project for a CMS and web management. My apologies for not including this comment in my first post.

      After further research, it appears my inability to create a working installation is due to a lack of SSH access on my webhosting plan. Being a "newbie", I cannot execute most of the installations steps due to my limited plan. While I have installed several pHp/MySQL projects with great success, my limited programming knowledge limits me in overcoming the obstacles presented by the unique code in ExSite.

      I will continue to monitor the forum and future documentation which might assist users like myself with "plain vanilla" hosting plans such as mine at 1&1.com - Hopefully some scripts might be devised which could assist in getting ExSite installed under configurations such as these.

      Thank you for your assistance in responding to the previous help request.
    back back