> I need to move a current installation of several webservers using
> embedded perl from an old redhat/apache1.3.29 installation to AIX52
> and IBM HTTPServer 2.0.47.1.
>
> I use the AIX xlC compiler, the perl version is 5.8.0, thread-enabled.
>
> I installed modperl 2.0.2 with minimal trouble as a DSO.
>
> I installed embperl-2.1.0 with a couple of tweaks:
> - it wanted mod_cgi.so, which doesn't exist, so I symlinked
> mod_cgi.so to mod_cgid.so
> - had to update the LDDLFLAGS in top level Makefile per an email I
> found in the embperl archives to specify where the .exp files
> were to be found
>
> I could not start the webserver. Its httpd.conf embperl config is:
>
> <IfModule mod_perl.c>
>
> PerlModule Embperl;
> PerlModule Apache::DBI;
> PerlPassEnv ORACLE_HOME
> PerlPassEnv HTTP_PI_REALM_NAME
> PerlPassEnv HTTP_PI_USER_NAME
> PerlPassEnv HTTP_PI_USER_ID
> PerlRequire /usr/local/dia_modules/startup.pl
>
> The startup.pl has only:
> use lib '/usr/local/dia_modules';
> 1;
>
>
> Attempting to start the webserver gets error:
> [Mon Apr 17 12:03:28 2006] [error] Can't locate loadable object for
> module Embperl in @INC (@INC contains: /usr/local/dia_modules
> /usr/opt/perl5/lib/5.8.0/aix-thread-multi /usr/opt/perl5/lib/5.8.0
> /usr/opt/perl5/lib/site_perl/5.8.0/aix-thread-multi
> /usr/opt/perl5/lib/site_perl/5.8.0 /usr/opt/perl5/lib/site_perl .
> /usr/HTTPServer) at (eval 3) line 1\nCompilation failed in require at
> (eval 3) line 1.\n
> [Mon Apr 17 12:03:28 2006] [error] Can't load Perl module Embperl; for
> server admin.dia.sbcglobal.net:0, exiting...
>
>
>
> The PerlModule statement in the origiinal webserver httpd.conf is:
> PerlModule HTML::Embperl;
>
> but I changed it because the embperl files were not installed under an
> HTML directory.
>
>
> ------
>
> The embperl files installed under
> /usr/opt/perl5/lib/site_perl/5.8.0/aix-thread-multi and what I have
> there is:
> drwx--x--x 5 root system 512 Mar 28 12:35 Embperl
> -r--r--r-- 1 root system 12863 Mar 29 16:57 Embperl.pm
> -r--r--r-- 1 root system 57252 Nov 14 13:27 Embperl.pod
>
> And the Embperl directory has:
>
> -r--r--r-- 1 root system 9656 Oct 25 18:16 App.pm
> -r--r--r-- 1 root system 67945 Nov 14 01:08 Config.pod
> -r--r--r-- 1 root system 5455 Oct 25 18:16 Constant.pm
> -r--r--r-- 1 root system 42715 Oct 25 18:17 Faq.pod
> -r-xr-xr-x 1 root system 3131 Nov 14 02:09 Features.pod
> -r--r--r-- 1 root system 3363 Oct 25 18:17 FeaturesD.pod
> drwx--x--x 3 root system 512 Mar 28 12:35 Form
> -r-xr-xr-x 1 root system 2269 Nov 09 00:11 Inline.pm
> -r--r--r-- 1 root system 22236 Oct 25 18:17 Intro.pod
> -r--r--r-- 1 root system 24119 Oct 25 18:17
> IntroEmbperlObject.pod
> -r--r--r-- 1 root system 985 Oct 25 18:16 Log.pm
> -r--r--r-- 1 root system 8133 Nov 15 00:22 Mail.pm
> -r--r--r-- 1 root system 21471 Nov 15 00:22 Object.pm
> -r--r--r-- 1 root system 991 Oct 25 18:16 Out.pm
> drwx--x--x 2 root system 512 Mar 28 12:35 Recipe
> -r--r--r-- 1 root system 5883 Oct 25 18:16 Recipe.pm
> -r--r--r-- 1 root system 1593 Oct 25 18:16 Run.pm
> -r-xr-xr-x 1 root system 2949 Oct 27 01:09 SVN.pod
> -r--r--r-- 1 root system 12055 Oct 25 18:16 Session.pm
> drwx--x--x 2 root system 512 Mar 28 12:35 Syntax
> -r--r--r-- 1 root system 23019 Oct 25 18:16 Syntax.pm
> -r--r--r-- 1 root system 15099 Oct 25 18:17
> TipsAndTricks.pod
> -r--r--r-- 1 root system 4717 Oct 25 18:16 Util.pm
>
> ---
>
> Someone suggested that in fact I need to get the HTML::Embperl package
> from cpan and install that. I tried with HTML-Embperl-1.3.6 but the
> perl Makefile.PL gets error:
>
> Can't locate Apache/src.pm in @INC (@INC contains:
> /usr/opt/perl5/lib/5.8.0/aix-thread-multi /usr/opt/perl5/lib/
> 5.8.0 /usr/opt/perl5/lib/site_perl/5.8.0/aix-thread-multi
> /usr/opt/perl5/lib/site_perl/5.8.0 /usr/opt/perl5/lib/
> site_perl .) at Makefile.PL line 861, <STDIN> line 5.
>
> So someone suggested that I need to install Apache::src from cpan, but
> in fact that is part of an older version of modperl so I am at a loss.
>
> I apologize at being not very literate with all this. Is it the
> HTML::Embperl package I need, and are there other prereqs I need
> before I can install Embperl? The perl install itself is what comes
> off the AIX CD so there are very few perl modules on the server.
>
> Thanks, Susan
>
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
> embedded perl from an old redhat/apache1.3.29 installation to AIX52
> and IBM HTTPServer 2.0.47.1.
>
> I use the AIX xlC compiler, the perl version is 5.8.0, thread-enabled.
>
> I installed modperl 2.0.2 with minimal trouble as a DSO.
>
> I installed embperl-2.1.0 with a couple of tweaks:
> - it wanted mod_cgi.so, which doesn't exist, so I symlinked
> mod_cgi.so to mod_cgid.so
> - had to update the LDDLFLAGS in top level Makefile per an email I
> found in the embperl archives to specify where the .exp files
> were to be found
>
> I could not start the webserver. Its httpd.conf embperl config is:
>
> <IfModule mod_perl.c>
>
> PerlModule Embperl;
> PerlModule Apache::DBI;
> PerlPassEnv ORACLE_HOME
> PerlPassEnv HTTP_PI_REALM_NAME
> PerlPassEnv HTTP_PI_USER_NAME
> PerlPassEnv HTTP_PI_USER_ID
> PerlRequire /usr/local/dia_modules/startup.pl
>
> The startup.pl has only:
> use lib '/usr/local/dia_modules';
> 1;
>
>
> Attempting to start the webserver gets error:
> [Mon Apr 17 12:03:28 2006] [error] Can't locate loadable object for
> module Embperl in @INC (@INC contains: /usr/local/dia_modules
> /usr/opt/perl5/lib/5.8.0/aix-thread-multi /usr/opt/perl5/lib/5.8.0
> /usr/opt/perl5/lib/site_perl/5.8.0/aix-thread-multi
> /usr/opt/perl5/lib/site_perl/5.8.0 /usr/opt/perl5/lib/site_perl .
> /usr/HTTPServer) at (eval 3) line 1\nCompilation failed in require at
> (eval 3) line 1.\n
> [Mon Apr 17 12:03:28 2006] [error] Can't load Perl module Embperl; for
> server admin.dia.sbcglobal.net:0, exiting...
>
>
>
> The PerlModule statement in the origiinal webserver httpd.conf is:
> PerlModule HTML::Embperl;
>
> but I changed it because the embperl files were not installed under an
> HTML directory.
>
>
> ------
>
> The embperl files installed under
> /usr/opt/perl5/lib/site_perl/5.8.0/aix-thread-multi and what I have
> there is:
> drwx--x--x 5 root system 512 Mar 28 12:35 Embperl
> -r--r--r-- 1 root system 12863 Mar 29 16:57 Embperl.pm
> -r--r--r-- 1 root system 57252 Nov 14 13:27 Embperl.pod
>
> And the Embperl directory has:
>
> -r--r--r-- 1 root system 9656 Oct 25 18:16 App.pm
> -r--r--r-- 1 root system 67945 Nov 14 01:08 Config.pod
> -r--r--r-- 1 root system 5455 Oct 25 18:16 Constant.pm
> -r--r--r-- 1 root system 42715 Oct 25 18:17 Faq.pod
> -r-xr-xr-x 1 root system 3131 Nov 14 02:09 Features.pod
> -r--r--r-- 1 root system 3363 Oct 25 18:17 FeaturesD.pod
> drwx--x--x 3 root system 512 Mar 28 12:35 Form
> -r-xr-xr-x 1 root system 2269 Nov 09 00:11 Inline.pm
> -r--r--r-- 1 root system 22236 Oct 25 18:17 Intro.pod
> -r--r--r-- 1 root system 24119 Oct 25 18:17
> IntroEmbperlObject.pod
> -r--r--r-- 1 root system 985 Oct 25 18:16 Log.pm
> -r--r--r-- 1 root system 8133 Nov 15 00:22 Mail.pm
> -r--r--r-- 1 root system 21471 Nov 15 00:22 Object.pm
> -r--r--r-- 1 root system 991 Oct 25 18:16 Out.pm
> drwx--x--x 2 root system 512 Mar 28 12:35 Recipe
> -r--r--r-- 1 root system 5883 Oct 25 18:16 Recipe.pm
> -r--r--r-- 1 root system 1593 Oct 25 18:16 Run.pm
> -r-xr-xr-x 1 root system 2949 Oct 27 01:09 SVN.pod
> -r--r--r-- 1 root system 12055 Oct 25 18:16 Session.pm
> drwx--x--x 2 root system 512 Mar 28 12:35 Syntax
> -r--r--r-- 1 root system 23019 Oct 25 18:16 Syntax.pm
> -r--r--r-- 1 root system 15099 Oct 25 18:17
> TipsAndTricks.pod
> -r--r--r-- 1 root system 4717 Oct 25 18:16 Util.pm
>
> ---
>
> Someone suggested that in fact I need to get the HTML::Embperl package
> from cpan and install that. I tried with HTML-Embperl-1.3.6 but the
> perl Makefile.PL gets error:
>
> Can't locate Apache/src.pm in @INC (@INC contains:
> /usr/opt/perl5/lib/5.8.0/aix-thread-multi /usr/opt/perl5/lib/
> 5.8.0 /usr/opt/perl5/lib/site_perl/5.8.0/aix-thread-multi
> /usr/opt/perl5/lib/site_perl/5.8.0 /usr/opt/perl5/lib/
> site_perl .) at Makefile.PL line 861, <STDIN> line 5.
>
> So someone suggested that I need to install Apache::src from cpan, but
> in fact that is part of an older version of modperl so I am at a loss.
>
> I apologize at being not very literate with all this. Is it the
> HTML::Embperl package I need, and are there other prereqs I need
> before I can install Embperl? The perl install itself is what comes
> off the AIX CD so there are very few perl modules on the server.
>
> Thanks, Susan
>
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org