ugh! mod_perl install problem
Hello, I am having a problem installing mod_perl. I have used this same install procedure on other boxes successfully but am having trouble with this one. The error is at the bottom of this message. System specs are as follows. I apologize in advance if this is not the correct forum for this, however, I am rather frustrated with this and appreciate any assistance. Sun Ultra-25 running Solaris 5.8 patch level Generic_108528-17 I am running these installs as root from Bourne shell (I got the same error in C shell and Bash) ## ##Install GCC ## Installed gcc 3.1 from www.sunfreeware.com using 'pkgadd -d' ## ##Install Perl ## # rm -f config.sh Policy.sh # ./Configure -des -Dusethreads -Dcc='gcc -B/usr/ccs/bin/' ## According to the mod_perl doc in /opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/docs/user/install/install.pod ## we need to use -Dusethreads. According to the perl doc /opt/d00/install.d/perl.d/perl-5.8.0/README.solaris we need to use -Dcc='gcc -B/usr/ccs/bin/' ## the -des are -d : use defaults for all answers. -e : go on without questioning past the production of config.sh. -s : silent mode, only echoes questions and essential information. # make # make test # make install # ##Build Apache 2.0.45 # configure Apache using ./configure --prefix=/opt/d00/apache/internal --with-mpm=prefork \ --enable-so \ --enable-proxy \ --disable-ipv6 ## removed for clarity # make ## removed for clarity # make install ## removed for clarity ### This installed successfully install mod_perl 1.9_07# # cd mod_perl-1.99_07 # perl Makefile.PL MP_AP_PREFIX=/opt/d00/apache/internal Reading Makefile.PL args from @ARGV MP_AP_PREFIX = /opt/d00/apache/internal Configuring Apache/2.0.45 mod_perl/1.99_07 Perl/v5.8.0 Checking if your kit is complete... Looks good generating script t/TEST Checking if your kit is complete... Looks good Writing Makefile for Apache::Test generating script t/TEST Checking if your kit is complete... Looks good ## removed for clarity Note (probably harmless): No library found for -lapr Note (probably harmless): No library found for -laprutil ## removed for clarity *** mod_perl dso library will be built as mod_perl.so *** mod_perl static library will be built as mod_perl.a *** You'll need to add the following to httpd.conf: *** LoadModule perl_module modules/mod_perl.so # make cd src/modules/perl make -f Makefile.modperl mksh: Warning: newline is not last character in file Makefile.modperl Current working directory /opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/src/modules/perl gcc -B/usr/ccs/bin/ -I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/src/modules/perl -I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/xs -I/opt/d00/apache/internal/include -D_REENTRANT -fno-strict-aliasing -I/usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi/CORE -DMOD_PERL -O -fPIC \ -c mod_perl.c mv mod_perl.o mod_perl.lo gcc -B/usr/ccs/bin/ -I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/src/modules/perl -I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/xs -I/opt/d00/apache/internal/include -D_REENTRANT -fno-strict-aliasing -I/usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi/CORE -DMOD_PERL -O -fPIC \ -c modperl_interp.c mv modperl_interp.o modperl_interp.lo gcc -B/usr/ccs/bin/ -I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/src/modules/perl -I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/xs -I/opt/d00/apache/internal/include -D_REENTRANT -fno-strict-aliasing -I/usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi/CORE -DMOD_PERL -O -fPIC \ -c modperl_tipool.c mv modperl_tipool.o modperl_tipool.lo gcc -B/usr/ccs/bin/ -I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/src/modules/perl -I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/xs -I/opt/d00/apache/internal/include -D_REENTRANT -fno-strict-aliasing -I/usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi/CORE -DMOD_PERL -O -fPIC \ -c modperl_log.c mv modperl_log.o modperl_log.lo gcc -B/usr/ccs/bin/ -I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/src/modules/perl -I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/xs -I/opt/d00/apache/internal/include -D_REENTRANT -fno-strict-aliasing -I/usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi/CORE -DMOD_PERL -O -fPIC \ -c modperl_config.c mv modperl_config.o modperl_config.lo gcc -B/usr/ccs/bin/ -I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/src/modules/perl -I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/xs -I/opt/d00/apache/internal/include -D_REENTRANT -fno-strict-aliasing -I/usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi/CORE -DMOD_PERL -O -fPIC \ -c modperl_cmd.c mv modperl_cmd.o modperl_cmd.lo gcc -B/usr/ccs/bin/
Re: ugh! mod_perl install problem
Reed, Jonathan S. wrote: Hello, I am having a problem installing mod_perl. I have used this same install procedure on other boxes successfully but am having trouble with this one. The error is at the bottom of this message. System specs are as follows. I apologize in advance if this is not the correct forum for this, however, I am rather frustrated with this and appreciate any assistance. Please use the latest release: 1.99_09. http://perl.apache.org/download/index.html __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
RE: ugh! mod_perl install problem
That did it. Thank you very much. Jon Reed -Original Message- From: Stas Bekman [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 8:08 PM To: Reed, Jonathan S. Cc: [EMAIL PROTECTED] Subject: Re: ugh! mod_perl install problem Reed, Jonathan S. wrote: Hello, I am having a problem installing mod_perl. I have used this same install procedure on other boxes successfully but am having trouble with this one. The error is at the bottom of this message. System specs are as follows. I apologize in advance if this is not the correct forum for this, however, I am rather frustrated with this and appreciate any assistance. Please use the latest release: 1.99_09. http://perl.apache.org/download/index.html __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
RE: Install Problem: make test: modules/src.t
Hi there, On Sun, 22 Dec 2002, Mark Hawkes wrote: Thanks Beau, but that didn't solve anything :-( 'make test' needs to run as root or it can't write to the Apache directory. [snip] -Original Message- From: Mark Hawkes [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 21, 2002 12:00 PM To: [EMAIL PROTECTED] Subject: Install Problem: make test: modules/src.t When I 'make test' I'm getting failures relating to modules/src.t Can anyone help? -- PLATFORM -- OS: Slackware Linux 2.2.16 Perl: 5.6.0 mod_perl: 1.27 Apache: Apache/1.3.12 (Unix) PHP/4.2.3 Apache root:/var/lib/apache mod_perl build dir: /var/lib/apache/mod_perl-1.27 Firstly I think you should upgrade your Apache to the latest. You'll probably then need to sort out (in your head:) the changes in the default installation directory structure, as Apache uses /usr/local nowadays instead of /var/lib. Sigh. If I were you I'd upgrade that kernel too, but I'm not sure it would be very helpful at this stage unless you're very familiar with kernels as you'd need to upgrade a bunch of tools as well for the upgrade to work. You say that 'make test' won't run unless you're root. That's bad. You should really be building Apache and mod_perl (and just about everything else) as a normal user in a directory to which you have write access, for example I tend to use /home/ged/src/apache_1.3.xx /home/ged/src/mod_perl-1.xx and if I'm going to need SSL, a database, whatever... /home/ged/src/openssl-0.9.6g /home/ged/src/mod_ssl-2.8.11-1.3.27 /home/ged/src/mysql-3.23.46 and so on. The only time you need to be root is when you make install. The instructions are usually fairly clear in the INSTALL doc's but I'll grant you it can be a tad confusing at first because there's such a lot of it. I think you need to clean out those source directories (with care:) and start again. It's all in the Guide. 73, Ged.
Re: Install Problem: make test: modules/src.t
Mark Hawkes wrote: When I 'make test' I'm getting failures relating to modules/src.t [...] $ make test TEST_VERBOSE=1 --snip-- dir=../src ok 2 main= not ok 3 module_magic_number = 0 not ok 4 httpd_version = not ok 5 -I../src -I../src/modules/perl ok 6 FAILED tests 3-5 Failed 3/6 tests, 50.00% okay --snip-- Failed Test Status Wstat Total Fail Failed List of failed --- modules/src.t 63 50.00% 3-5 6 tests skipped. httpd terminated Failed 1/34 test scripts, 97.06% okay. 3/398 subtests failed, 99.25% okay. make: *** [run_tests] Error 29 what t/logs/error_log has to say about that? BTW, you can run just one test: % make start_httpd % t/TEST -v modules/src.t % make stop_httpd Please remember to follow the guidelines at: http://perl.apache.org/docs/1.0/guide/help.html#How_to_Report_Problems to get the issues resolved much faster. -- __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
Install Problem: make test: modules/src.t
When I 'make test' I'm getting failures relating to modules/src.t Can anyone help? -- PLATFORM -- OS: Slackware Linux 2.2.16 Perl: 5.6.0 mod_perl: 1.27 Apache: Apache/1.3.12 (Unix) PHP/4.2.3 Apache root:/var/lib/apache mod_perl build dir: /var/lib/apache/mod_perl-1.27 -- PROBLEM OCCURRENCE -- $ perl Makefile.PL \ EVERYTHING=1 APACHE_PREFIX=/var/lib/apache USE_APACI=1 Configure mod_perl with ../src ? [y] y Shall I build httpd in ../src for you? [y] y $ make Everything is good until I run the tests :-/ $ make test TEST_VERBOSE=1 --snip-- dir=../src ok 2 main= not ok 3 module_magic_number = 0 not ok 4 httpd_version = not ok 5 -I../src -I../src/modules/perl ok 6 FAILED tests 3-5 Failed 3/6 tests, 50.00% okay --snip-- Failed Test Status Wstat Total Fail Failed List of failed --- modules/src.t 63 50.00% 3-5 6 tests skipped. httpd terminated Failed 1/34 test scripts, 97.06% okay. 3/398 subtests failed, 99.25% okay. make: *** [run_tests] Error 29
RE: Install Problem: make test: modules/src.t
Hi - I had testing problems a few weeks ago... be sure you test as a 'normal' user, not 'root'. If you did the make under root, be sure to change user:group ownership of the entire mod_perl tree before logging in and testing. I'm _not_ an expert, but that's what happened to me :) Aloha = Beau. -Original Message- From: Mark Hawkes [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 21, 2002 12:00 PM To: [EMAIL PROTECTED] Subject: Install Problem: make test: modules/src.t When I 'make test' I'm getting failures relating to modules/src.t Can anyone help? -- PLATFORM -- OS: Slackware Linux 2.2.16 Perl: 5.6.0 mod_perl: 1.27 Apache: Apache/1.3.12 (Unix) PHP/4.2.3 Apache root:/var/lib/apache mod_perl build dir: /var/lib/apache/mod_perl-1.27 -- PROBLEM OCCURRENCE -- $ perl Makefile.PL \ EVERYTHING=1 APACHE_PREFIX=/var/lib/apache USE_APACI=1 Configure mod_perl with ../src ? [y] y Shall I build httpd in ../src for you? [y] y $ make Everything is good until I run the tests :-/ $ make test TEST_VERBOSE=1 --snip-- dir=../src ok 2 main= not ok 3 module_magic_number = 0 not ok 4 httpd_version = not ok 5 -I../src -I../src/modules/perl ok 6 FAILED tests 3-5 Failed 3/6 tests, 50.00% okay --snip-- Failed Test Status Wstat Total Fail Failed List of failed --- modules/src.t 63 50.00% 3-5 6 tests skipped. httpd terminated Failed 1/34 test scripts, 97.06% okay. 3/398 subtests failed, 99.25% okay. make: *** [run_tests] Error 29
RE: Install Problem: make test: modules/src.t
Thanks Beau, but that didn't solve anything :-( 'make test' needs to run as root or it can't write to the Apache directory. At 12:10 2002-12-21 -1000, you wrote: Hi - I had testing problems a few weeks ago... be sure you test as a 'normal' user, not 'root'. If you did the make under root, be sure to change user:group ownership of the entire mod_perl tree before logging in and testing. I'm _not_ an expert, but that's what happened to me :) Aloha = Beau. -Original Message- From: Mark Hawkes [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 21, 2002 12:00 PM To: [EMAIL PROTECTED] Subject: Install Problem: make test: modules/src.t When I 'make test' I'm getting failures relating to modules/src.t Can anyone help? -- PLATFORM -- OS: Slackware Linux 2.2.16 Perl: 5.6.0 mod_perl: 1.27 Apache: Apache/1.3.12 (Unix) PHP/4.2.3 Apache root:/var/lib/apache mod_perl build dir: /var/lib/apache/mod_perl-1.27 -- PROBLEM OCCURRENCE -- $ perl Makefile.PL \ EVERYTHING=1 APACHE_PREFIX=/var/lib/apache USE_APACI=1 Configure mod_perl with ../src ? [y] y Shall I build httpd in ../src for you? [y] y $ make Everything is good until I run the tests :-/ $ make test TEST_VERBOSE=1 --snip-- dir=../src ok 2 main= not ok 3 module_magic_number = 0 not ok 4 httpd_version = not ok 5 -I../src -I../src/modules/perl ok 6 FAILED tests 3-5 Failed 3/6 tests, 50.00% okay --snip-- Failed Test Status Wstat Total Fail Failed List of failed --- modules/src.t 63 50.00% 3-5 6 tests skipped. httpd terminated Failed 1/34 test scripts, 97.06% okay. 3/398 subtests failed, 99.25% okay. make: *** [run_tests] Error 29
RE: Install Problem: make test: modules/src.t
Hi Mark - Gee, Stas told me I _had_ to be a normal user for 'make test' - and it worked...??? Wait ... I'm talking mod_perl 2 - are you installing 1? Yea, I see that in your orig. msg. Sorry - I haven't played with mod_perl 1. But - is there a testing error_log? Can you run the failed tests alone in -v mode? For mod_perl 2 you can say: t/TEST -v testname. Sorry I'm not much help... Aloha = Beau. -Original Message- From: Mark Hawkes [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 21, 2002 2:19 PM To: [EMAIL PROTECTED] Subject: RE: Install Problem: make test: modules/src.t Thanks Beau, but that didn't solve anything :-( 'make test' needs to run as root or it can't write to the Apache directory. At 12:10 2002-12-21 -1000, you wrote: Hi - I had testing problems a few weeks ago... be sure you test as a 'normal' user, not 'root'. If you did the make under root, be sure to change user:group ownership of the entire mod_perl tree before logging in and testing. I'm _not_ an expert, but that's what happened to me :) Aloha = Beau. -Original Message- From: Mark Hawkes [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 21, 2002 12:00 PM To: [EMAIL PROTECTED] Subject: Install Problem: make test: modules/src.t When I 'make test' I'm getting failures relating to modules/src.t Can anyone help? -- PLATFORM -- OS: Slackware Linux 2.2.16 Perl: 5.6.0 mod_perl: 1.27 Apache: Apache/1.3.12 (Unix) PHP/4.2.3 Apache root:/var/lib/apache mod_perl build dir: /var/lib/apache/mod_perl-1.27 -- PROBLEM OCCURRENCE -- $ perl Makefile.PL \ EVERYTHING=1 APACHE_PREFIX=/var/lib/apache USE_APACI=1 Configure mod_perl with ../src ? [y] y Shall I build httpd in ../src for you? [y] y $ make Everything is good until I run the tests :-/ $ make test TEST_VERBOSE=1 --snip-- dir=../src ok 2 main= not ok 3 module_magic_number = 0 not ok 4 httpd_version = not ok 5 -I../src -I../src/modules/perl ok 6 FAILED tests 3-5 Failed 3/6 tests, 50.00% okay --snip-- Failed Test Status Wstat Total Fail Failed List of failed --- - --- modules/src.t 63 50.00% 3-5 6 tests skipped. httpd terminated Failed 1/34 test scripts, 97.06% okay. 3/398 subtests failed, 99.25% okay. make: *** [run_tests] Error 29
Install problem...
Hi - I am trying to upgrade my test server (SuSE 8.1) to Apache/ mod_perl 2. I installed and tested Apache 2 - all OK. I have perl 5.8.0 (pre-build by SuSE); It passed the tests in the mpd_perl 2 prequsites section. I get this problem on make test (both with Apache mpm configured as prefork AND worker): apache/subprocess1..4 # testing : passing ARGV # expected: [ # 'foo', # 'bar' # ] # received: [] not ok 1 # testing : passing env via subprocess_env # expected: 'my cool proc' # received: '' not ok 2 # testing : testing subproc's stdin - stdout + list context # expected: 'my cool proc # ' # received: '' not ok 3 # testing : testing subproc's stdin - stderr + list context # expected: 'my stderr # ' # received: '' not ok 4 FAILED tests 1-4 Failed 4/4 tests, 0.00% okay Failed Test Stat Wstat Total Fail Failed List of Failed --- apache/subprocess.t44 100.00% 1-4 I haven't got a clue. This is my sixth reRTFM/reinstall/retest. Could someone give me a push as to what to try next? Aloha = Beau.
Re: Install problem...
Beau E. Cox wrote: Hi - I am trying to upgrade my test server (SuSE 8.1) to Apache/ mod_perl 2. I installed and tested Apache 2 - all OK. Beau, when reporting problems, please follow the guidelines linked from the perl.apache.org's shortcuts menu: http://perl.apache.org/docs/2.0/user/help/help.html#Reporting_Problems I have perl 5.8.0 (pre-build by SuSE); It passed the tests in the mpd_perl 2 prequsites section. I get this problem on make test (both with Apache mpm configured as prefork AND worker): apache/subprocess1..4 # testing : passing ARGV # expected: [ # 'foo', # 'bar' # ] # received: [] not ok 1 # testing : passing env via subprocess_env # expected: 'my cool proc' # received: '' not ok 2 # testing : testing subproc's stdin - stdout + list context # expected: 'my cool proc # ' # received: '' not ok 3 # testing : testing subproc's stdin - stderr + list context # expected: 'my stderr # ' # received: '' not ok 4 FAILED tests 1-4 Failed 4/4 tests, 0.00% okay Failed Test Stat Wstat Total Fail Failed List of Failed --- apache/subprocess.t44 100.00% 1-4 I haven't got a clue. This is my sixth reRTFM/reinstall/retest. Could someone give me a push as to what to try next? I forgot to add to the guidelines to check t/logs/error_log, will add it now. So what does your error_log say? Most likely some perms problems with t/htdocs/util, right? __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
RE: Install problem...
Thanks Stas - Please give me about an hour...I am in the middle of putting everthing back together again :) Will report back to you (following the standards) then. Aloha = Beau. PS: This is sort of fun! -Original Message- From: Stas Bekman [mailto:[EMAIL PROTECTED]] Sent: Monday, December 02, 2002 3:10 AM To: Beau E. Cox Cc: Modperl Subject: Re: Install problem... Beau E. Cox wrote: Hi - I am trying to upgrade my test server (SuSE 8.1) to Apache/ mod_perl 2. I installed and tested Apache 2 - all OK. Beau, when reporting problems, please follow the guidelines linked from the perl.apache.org's shortcuts menu: http://perl.apache.org/docs/2.0/user/help/help.html#Reporting_Problems I have perl 5.8.0 (pre-build by SuSE); It passed the tests in the mpd_perl 2 prequsites section. I get this problem on make test (both with Apache mpm configured as prefork AND worker): apache/subprocess1..4 # testing : passing ARGV # expected: [ # 'foo', # 'bar' # ] # received: [] not ok 1 # testing : passing env via subprocess_env # expected: 'my cool proc' # received: '' not ok 2 # testing : testing subproc's stdin - stdout + list context # expected: 'my cool proc # ' # received: '' not ok 3 # testing : testing subproc's stdin - stderr + list context # expected: 'my stderr # ' # received: '' not ok 4 FAILED tests 1-4 Failed 4/4 tests, 0.00% okay Failed Test Stat Wstat Total Fail Failed List of Failed -- -- --- apache/subprocess.t44 100.00% 1-4 I haven't got a clue. This is my sixth reRTFM/reinstall/retest. Could someone give me a push as to what to try next? I forgot to add to the guidelines to check t/logs/error_log, will add it now. So what does your error_log say? Most likely some perms problems with t/htdocs/util, right? __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
mod_perl install problem
Hi, I've CVS'ed mod_perl-2.0, this morning Aug. 16th at about 11:00am Eastern time, and when I attempt to build with: AKIVA $ perl Makefile.PL MP_AP_PREFIX=/a3/APACHE/Apache2 MP_INST_APACHE2=1 I get: !!! You are running Perl version 5.6.0 We strongly suggest you upgrade to at least 5.6.1 Reading Makefile.PL args from ARGV MP_AP_PREFIX = /a3/APACHE/Apache2 MP_INST_APACHE2 = 1 * ERROR * Your current configuration will most likely trigger core dumps, suggestions: *) Do not configure mod_perl as a DSO *) Rebuild Perl without malloc pollution (Configure -Ubincompat5005) * ERROR * so I build with: perl Makefile.PL MP_AP_PREFIX=/a3/APACHE/Apache2 MP_INST_APACHE2=1 MP_USE_STATIC=1 everything makes ok, but when I try to install, it fails with: AKIVA $ make install cd src/modules/perl make -f Makefile.modperl cd src/modules/perl make -f Makefile.modperl install test -f mod_perl.so \ cp mod_perl.so /a3/APACHE/Apache2/modules *** Error code 1 make: Fatal error: Command failed for target `install' Current working directory /a4/WWW/APACHE2/modperl-2.0-CVS-20020816/src/modules/perl *** Error code 1 make: Fatal error: Command failed for target `modperl_lib_install' Other then the need to upgrade perl, why is the install not recognizing that mod_per..a is built and not mod_perl.so. OBTW, HTTPD-2.0 along with apr and apr-util were CVS'ed 8/15 at about 10:45am Eastern time. and compiled and installed fine. Thanks Jim Ballantine
Re: mod_perl install problem
J. W. Ballantine wrote: [...] perl Makefile.PL MP_AP_PREFIX=/a3/APACHE/Apache2 MP_INST_APACHE2=1 MP_USE_STATIC=1 everything makes ok, but when I try to install, it fails with: AKIVA $ make install cd src/modules/perl make -f Makefile.modperl cd src/modules/perl make -f Makefile.modperl install test -f mod_perl.so \ cp mod_perl.so /a3/APACHE/Apache2/modules *** Error code 1 make: Fatal error: Command failed for target `install' Current working directory /a4/WWW/APACHE2/modperl-2.0-CVS-20020816/src/modules/perl *** Error code 1 make: Fatal error: Command failed for target `modperl_lib_install' Other then the need to upgrade perl, why is the install not recognizing that mod_per..a is built and not mod_perl.so. MP_USE_STATIC=1 is not really working yet. It builds the .a target but the build is not yet polished for this install. __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
mod_perl install problem
Hi, As per description given in http://perl.apache.org/distributions.html page, I tried installing mod_perl from http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer. I was able to install mod_perl using PPM but as mentioned in above page about copying mod_perl.so in apache/module directory, I am not able to see it in my apache/module directory. I am using Win2k, Apache 1.3.24. I am not running apache as service. I guess post-installation script is looking for any variable or something alike which I am not having in my system variables. Could any one please tell me what should I do in order to get it installed. I tried copying mod_perl.so from ftp://theoryx5.uwinnipeg.ca/pub/other/perl-win32-bin-0.7.exe but when I load the library in httpd file I get error specified procedure could not be found. Any help would be greatly appreciated. Thanks Avnish
Re: mod_perl install problem
On Tue, 26 Mar 2002, Avnish Pundir wrote: Hi, As per description given in http://perl.apache.org/distributions.html page, I tried installing mod_perl from http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer. I was able to install mod_perl using PPM but as mentioned in above page about copying mod_perl.so in apache/module directory, I am not able to see it in my apache/module directory. I am using Win2k, Apache 1.3.24. I am not running apache as service. I guess post-installation script is looking for any variable or something alike which I am not having in my system variables. Could any one please tell me what should I do in order to get it installed. I've heard some beta ppm clients don't have the ability yet to run post-installation scripts. I tried copying mod_perl.so from ftp://theoryx5.uwinnipeg.ca/pub/other/perl-win32-bin-0.7.exe but when I load the library in httpd file I get error specified procedure could not be found. Any help would be greatly appreciated. The mod_perl.so in that distribution most probably isn't compatible with your apache version. What you could do is get the file mod_perl-1.26_1.3.23.tar.gz from http://theoryx5.uwinnipeg.ca/ppmpackages/x86/ which, when unpacked, will contain a mod_perl.so file (plus a blib/ subdirectory). Copy this mod_perl.so to your Apache modules, and see if that works (this one is built against apache_1.3.23, which I think will work against 1.3.24 - if not, I'm going to update it shortly). best regards, randy kobes
Re: mod_perl install problem
Yes it's working. Thanks Randy. -Avnish - Original Message - From: Randy Kobes [EMAIL PROTECTED] To: Avnish Pundir [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, March 26, 2002 11:20 PM Subject: Re: mod_perl install problem On Tue, 26 Mar 2002, Avnish Pundir wrote: Hi, As per description given in http://perl.apache.org/distributions.html page, I tried installing mod_perl from http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer. I was able to install mod_perl using PPM but as mentioned in above page about copying mod_perl.so in apache/module directory, I am not able to see it in my apache/module directory. I am using Win2k, Apache 1.3.24. I am not running apache as service. I guess post-installation script is looking for any variable or something alike which I am not having in my system variables. Could any one please tell me what should I do in order to get it installed. I've heard some beta ppm clients don't have the ability yet to run post-installation scripts. I tried copying mod_perl.so from ftp://theoryx5.uwinnipeg.ca/pub/other/perl-win32-bin-0.7.exe but when I load the library in httpd file I get error specified procedure could not be found. Any help would be greatly appreciated. The mod_perl.so in that distribution most probably isn't compatible with your apache version. What you could do is get the file mod_perl-1.26_1.3.23.tar.gz from http://theoryx5.uwinnipeg.ca/ppmpackages/x86/ which, when unpacked, will contain a mod_perl.so file (plus a blib/ subdirectory). Copy this mod_perl.so to your Apache modules, and see if that works (this one is built against apache_1.3.23, which I think will work against 1.3.24 - if not, I'm going to update it shortly). best regards, randy kobes
Newbe - APXS install problem
Apache with mod_perl (built with APXS) fails to start with this error: Cannot load /opt/WWW/libexec/libperl.so into server: dynamic linker: /opt/WWW/bin/httpd: relocation error: symbol not found: Perl_sv_free Apache rev = 1.3.14 mod_perl rev = 1.24_01 perl rev = 5.00503 OS = dynix/ptx rev 4.4.6 on an IBM NUMA (A UNIX system SYS-V Rev 4 with some Berkely Apache has the "mod_so.c" compiled in module and is statically built The missing function "Perl_sv_free" can be found in the main Perl library /usr/local/lib/perl5/5.005.3/i386-dynixptx/CORE/libperl.so. (Found by "nm") Setting LD_RUN_PATH, LD_LIBRARY_PATH and even LD_LIBRARY_PRELOAD to the mod_perl and the perl library paths, does not help, nor change the error message. Josh Goldberg Tel: 646-497-4214 Fax 646-497-4200 E-mail [EMAIL PROTECTED] This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free. The sender therefore does not accept liability for any errors or omissions in the contents of this message that arise as a result of e-mail transmission. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. All e-mails at Neuberger Berman are, in accordance with Firm policy, to be used for Neuberger Berman business purposes only. E-mails sent from or to the Firm are subject to being reviewed by the Firm in accordance with the Firm's procedure for the review of correspondence. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Apache::Filter Install Problem
[EMAIL PROTECTED] (G.W. Haywood) wrote: Hi there, On Thu, 2 Nov 2000, Adam Prime wrote: i built mod_perl with this: perl Makefile.PL DO_HTTPD=1 USE_APACI=1 APACHE_PREFIX=/usr/local/apache PERL_STACKED_HANDLERS=1 Any insight would be appreciated. I'm installing it on a redhat 6.2 box with apache 1.3.14 and mod_perl 1.24_01 installed from source, and the perl 5.005 updated rpm from redhat. Pretty good description. I'd try rebuilding Perl 5.005_03 from source. Use the same compiler you used to build mod_perl. Don't use RPMs. Off-list, Adam figured out that mod_perl needed to be built with EVERYTHING=1 (actually just needed a couple more things than he had, particularly Perl sections). Worked fine then. ------ Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED]The Math Forum
Re: Apache::Filter Install Problem
Hi there, On Thu, 2 Nov 2000, Adam Prime wrote: i built mod_perl with this: perl Makefile.PL DO_HTTPD=1 USE_APACI=1 APACHE_PREFIX=/usr/local/apache PERL_STACKED_HANDLERS=1 Any insight would be appreciated. I'm installing it on a redhat 6.2 box with apache 1.3.14 and mod_perl 1.24_01 installed from source, and the perl 5.005 updated rpm from redhat. Pretty good description. I'd try rebuilding Perl 5.005_03 from source. Use the same compiler you used to build mod_perl. Don't use RPMs. I'm not promising anything mind... 73, Ged.
Apache::Filter Install Problem
I'm trying to install apache filter and i'm getting errors. anyhelp would be appreciated. i built mod_perl with this: perl Makefile.PL DO_HTTPD=1 USE_APACI=1 APACHE_PREFIX=/usr/local/apache PERL_STACKED_HANDLERS=1 when i get to make test i get this: Running make test PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.00503/i386-linux -I/usr/lib/perl5/5.00503 -e 'use Test::Harness qw(runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t t/filehandleok t/real..Starting http server... ready. See t/error_log for failure details FAILED tests 3, 6, 9-12 Failed 6/12 tests, 50.00% okay Failed Test Status Wstat Total Fail Failed List of failed --- t/real.t 126 50.00% 3, 6, 9-12 Failed 1/2 test scripts, 50.00% okay. 6/20 subtests failed, 70.00% okay. make: *** [test_dynamic] Error 29 each time i run make test i get a different number of failed tests, varying from 6 to 8. and it t/error_log is this: [Thu Nov 2 15:09:29 2000] [notice] Apache/1.3.14 (Unix) mod_perl/1.24_01 configured -- resuming normal operations [Thu Nov 2 15:09:29 2000] [error] Undefined subroutine Apache::RegistryFilter::handler called. [Thu Nov 2 15:09:29 2000] [error] Undefined subroutine Apache::RegistryFilter::handler called. [Thu Nov 2 15:09:29 2000] [error] Undefined subroutine Apache::RegistryFilter::handler called. [Thu Nov 2 15:09:29 2000] [error] Undefined subroutine Apache::RegistryFilter::handler called. [Thu Nov 2 15:09:29 2000] [error] Undefined subroutine Apache::RegistryFilter::handler called. [Thu Nov 2 15:09:29 2000] [notice] caught SIGTERM, shutting down Any insight would be appreciated. I'm installing it on a redhat 6.2 box with apache 1.3.14 and mod_perl 1.24_01 installed from source, and the perl 5.005 updated rpm from redhat.
APACHE::ASP install problem
Hi, [sorry for posting this again but i wasnt subscribed when i 1st posted it and couldnt c any reponses, couldnt find an archive either :/] i have an installation problem, im using apache 1.3.12 and linux kernl 2.2.16-3 and have the mod_perl installed. The 'httpd -l' lists the mod_perl as being installed. Bu when i do 'perl Makefile.PL' in the Apache-ASP source tree i get the following errors : [root@dilitium Apache-ASP-2.03]# perl Makefile.PL Checking for the prerequisite modules... ... found Apache ! ... found Carp ! ... found Data::Dumper ! ... found Fcntl ! !!! you need the module: HTTP::Date WHY: Provides mapping between Perl time() and HTTP dates ... found MD5 ! !!! you need the module: MLDBM WHY: This is used for reading and writing multi-level hashes on disk ... found SDBM_File !
Re: APACHE::ASP install problem
Use CPAN to install HTTP::Date and MLDBM, or better yet, install Bundle::Apache::ASP. There is a note in the install error output on how to use CPAN that you didn't include below. I would follow its instructions. --Joshua Pamela O'Shea wrote: Hi, [sorry for posting this again but i wasnt subscribed when i 1st posted it and couldnt c any reponses, couldnt find an archive either :/] i have an installation problem, im using apache 1.3.12 and linux kernl 2.2.16-3 and have the mod_perl installed. The 'httpd -l' lists the mod_perl as being installed. Bu when i do 'perl Makefile.PL' in the Apache-ASP source tree i get the following errors : [root@dilitium Apache-ASP-2.03]# perl Makefile.PL Checking for the prerequisite modules... ... found Apache ! ... found Carp ! ... found Data::Dumper ! ... found Fcntl ! !!! you need the module: HTTP::Date WHY: Provides mapping between Perl time() and HTTP dates ... found MD5 ! !!! you need the module: MLDBM WHY: This is used for reading and writing multi-level hashes on disk ... found SDBM_File !
APACHE::ASP install problem ?
Hi, i have an installation problem, im using apache 1.3.12 and have the mod_perl installed. The 'httpd -l' lists the mod_perl as being installed. Bu when i do 'perl Makefile.PL' in the Apache-ASP source tree i get the following errors : [root@dilitium Apache-ASP-2.03]# perl Makefile.PL Checking for the prerequisite modules... ... found Apache ! ... found Carp ! ... found Data::Dumper ! ... found Fcntl ! !!! you need the module: HTTP::Date WHY: Provides mapping between Perl time() and HTTP dates ... found MD5 ! !!! you need the module: MLDBM WHY: This is used for reading and writing multi-level hashes on disk ... found SDBM_File ! , where can i find the HTTP::Date and the MLDBM modules ??, or is this a sympton of a mod_perl problem ? thanks in advance, Regards, Pamela