Re: make test fails in building modperl2+apache2+perl5.8

2003-08-14 Thread Stas Bekman
gerard uolaquetalestem wrote:
Hi everyone (my first message).

The message is that there is a syntax error in line x of some conf file, the 
syntax error is that PerlSwitches is an unknown command.

I am trying to compile modperl2 with perl 5.8 compiles with mpm and 
ithreads and with apache2 compiled not as a DSO module but as static part 
of the executable.

But i get this error, what can it be?
I'm using suse linux 8.0
Another thing is that i compiled perl with i686-linux, but i used to think i 
was i386, as i686 was the default i leave as it.
Anyway i don't think it has any importance.

Any idea?
Static mod_perl build is not available at this moment. Patches to do the 
necessary work are welcome.

In any case when reporting problems, please make sure to follow the guidelines:
http://perl.apache.org/docs/2.0/user/help/help.html#Reporting_Problems
Extra info:
I want to compile as static module because with DSO option #perl directive 
doesn't work.
You are confusing mod_perl 1.0 and mod_perl 2.0, #perl doesn't work in the 
static build of mod_perl 1.0, not 2.0.

Geoff, what the status of the SSI's port to mp2?

__
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: make test fails when calling getaddrinfo() on 255.255.255.255

2003-07-14 Thread Stas Bekman
ColinB wrote:
--- Stas Bekman [EMAIL PROTECTED] wrote:

ColinB wrote:

I am compiling mod_perl 2.0 on Solaris 9.

When I run make test for mod_perl 2.0 it fails almost immediately
with
 file vhost.c, line 232, assertion rv == APR_SUCCESS failed

after it calls apr_sockaddr_info_get() with the hostname
255.255.255.255. I think this may have something to do with the
test's http.conf containing _default_ virtual hostnames.
apr_sockaddr_info_get() eventually calls getaddrinfo() with the
nodename 255.255.255.255 which returns EAI_NONAME (no address
associated with nodename).
But if I call getaddrinfo() for 255.255.255.255 from another
machine

(which is running Solaris 8 although this may be unrelated), it
returns

0.

Is there something wrong with the configuration of my Solaris 9
machine

- should getaddrinfo() always return 0 for 255.255.255.255 ?
What happens if you add a simple vhost to your httpd.conf without
even using 
mod_perl. I bet that this is an apache issue.


I think I found a partial answer to this. I was searching the Apache
bug database and I found a similar report (number 20063) by someone who
was using SSL (I'm not) but had exactly the same assertion.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20063

It seems that a _default_ virtual host in httpd.conf which resolvs to
255.255.255.255 causes getaddrinfo to fail in Solaris unless the
hosts: line in /etc/nsswitch.conf contained dns.
I found that my hosts line did not contain dns, so I added it and sure
enough, it solved the problem.
It seems that only the presence of dns allows getaddrinfo to work
correctly. The bug report was rejected as being an OS problem, so the
solution is really a just a workaround.


Do you think it's worth documenting here:
http://perl.apache.org/docs/2.0/user/troubleshooting/troubleshooting.html
?
If so, can you rewrite the above description and the workaround as a pod/text 
section that can be added as is to this document, if possible with a title 
that pinpoints the problem.

Also it seems to be an issue for Apache::Test, not really for mod_perl itself. 
So we should probably add a new top level group 'Testing'.

Thanks.

__
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: make test fails

2003-07-10 Thread Ken Y. Clark
On Thu, 10 Jul 2003, The Alliett's wrote:

 Date: Thu, 10 Jul 2003 11:23:11 -0400
 From: The Alliett's [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: make test fails

 Trying to compile mod_perl 1.28 with apache 1.3.27 on redhat 7.3 system

 Here is the output of the errors.  Any idea's on how to fix this.

 ../apache_1.3.27/src/httpd -f `pwd`/t/conf/httpd.conf -X -d `pwd`/t 
 httpd listening on port 8529
 will write error_log to: t/logs/error_log
 letting apache warm up...\c
 done
 /usr/bin/perl t/TEST 0
 still waiting for server to warm up...not ok
 server failed to start! (please examine t/logs/error_log) at t/TEST line 95.
 make: *** [run_tests] Error 9
 [EMAIL PROTECTED] mod_perl-1.27]# tail t/logs/error_log
 [notice] Destruction-DESTROY called for $global_object
 Prototype mismatch: sub Socket::INADDR_ANY vs () at 
 /usr/lib/perl5/5.6.1/i686-linux/Socket.pm line 329.
 Prototype mismatch: sub Socket::INADDR_BROADCAST vs () at 
 /usr/lib/perl5/5.6.1/i686-linux/Socket.pm line 330.
 Prototype mismatch: sub Socket::INADDR_LOOPBACK vs () at 
 /usr/lib/perl5/5.6.1/i686-linux/Socket.pm line 331.
 Prototype mismatch: sub Socket::INADDR_LOOPBACK vs () at 
 /usr/lib/perl5/5.6.1/i686-linux/Socket.pm line 332.
 [Thu Jul 10 10:56:16 2003] [warn] [notice] child_init for process 22132, report any 
 problems to [no address given]

Are you using the default Perl binary that came preinstalled by RedHat
on the system?  If so, I'd recommend doing and rpm -e --nodeps perl
and then rebuilding Perl from source.  Then try rebuilding
Apache/mod_perl.

ky


Re: make test fails

2003-07-10 Thread Stas Bekman
The Alliett's wrote:
Trying to compile mod_perl 1.28 with apache 1.3.27 on redhat 7.3 system
 
Here is the output of the errors.  Any idea's on how to fix this.
 
../apache_1.3.27/src/httpd -f `pwd`/t/conf/httpd.conf -X -d `pwd`/t 
httpd listening on port 8529
will write error_log to: t/logs/error_log
letting apache warm up...\c
done
/usr/bin/perl t/TEST 0
still waiting for server to warm up...not ok
server failed to start! (please examine t/logs/error_log) at t/TEST line 95.
make: *** [run_tests] Error 9
[EMAIL PROTECTED] mod_perl-1.27]# tail t/logs/error_log
[notice] Destruction-DESTROY called for $global_object
Prototype mismatch: sub Socket::INADDR_ANY vs () at 
/usr/lib/perl5/5.6.1/i686-linux/Socket.pm line 329.
Prototype mismatch: sub Socket::INADDR_BROADCAST vs () at 
/usr/lib/perl5/5.6.1/i686-linux/Socket.pm line 330.
Prototype mismatch: sub Socket::INADDR_LOOPBACK vs () at 
/usr/lib/perl5/5.6.1/i686-linux/Socket.pm line 331.
Prototype mismatch: sub Socket::INADDR_LOOPBACK vs () at 
/usr/lib/perl5/5.6.1/i686-linux/Socket.pm line 332.
[Thu Jul 10 10:56:16 2003] [warn] [notice] child_init for process 22132, 
report any problems to [no address given]
a possible reason for this issue: you have 5.6.1 installed but using a 
different perl version  to build/test mod_perl, but for some reason 5.6.1 gets 
into the way. Dumping @INC may show some light (hint: perl -V)

If you search the archives you will find more than one report and follow-ups 
on this issue.

__
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: make test fails - Solaris8, Perl5.8.0, mod_perl 1.99_08

2003-03-27 Thread Stas Bekman
Adrian Klingel wrote:
[...]
waiting for server to start: .[Thu Mar 27 16:50:41 2003] [crit] [Thu Mar 27
16:50:41 2003] file vhost.c, line 232, assertion rv == APR_SUCCESS failed
[...]
If anyone can help, please do.  Any help is deeply appreciated!
This is the relevant code in vhost.c (httpd-side):

else if (strcasecmp(host, _default_) == 0
|| strcmp(host, 255.255.255.255) == 0) {
rv = apr_sockaddr_info_get(my_addr, 255.255.255.255, APR_INET, 
port, 0, p);
ap_assert(rv == APR_SUCCESS); /* must be bug or out of storage */
}

so apr_sockaddr_info_get() fails, is your system ipv6 by chance?

it probably fails on the first VirtualHost _default_ entry.

could you interactively start with gdb and see where it fails in 
apr_sockaddr_info_get? The following script may get it easier for you:

/tmp/debug:
file ~/httpd/prefork/bin/httpd
tbreak main
run -d `pwd`/t -f `pwd`/t/conf/httpd.conf -DONE_PROCESS -DNO_DETATCH -DAPACHE2
# run through all the way to after mod_perl is loaded
b load_module
continue
b apr_sockaddr_info_get
now:

% cd modperl-2.0
% gdb -command=/tmp/debug
p.s. I prefer using ddd which runs gdb underneath, if you use ddd, the syntax 
is the same:
% ddd -command=/tmp/debug

__
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: make test fails

2002-11-10 Thread Stas Bekman
Kelton Joyner wrote:

I am trying to upgrade to Apache 1.3.27 with mod_perl 1.27.  I am 
currently running Apache 1.3.20 and mod_perl 1.26 on an HP-UX machine 
with hpux 10.20 with perl v5.6.1 built for PA-RISC1.1
.  I ran configure on Apache to generate a config file with the 
additional modules I wanted, then did configure for mod_perl with the 
following

perl Makefile.PL APACHE_SRC=../apache_1.3.xx/src \
   DO_HTTPD=1 USE_APACI=1 EVERYTHING=1
Then make  make test  make install
The make worked with no errors.  make test resulted in the following 
error output

[...]


Syntax error on line 3 of 
/usr/src/mod_perl-1.27/t/conf
/httpd.conf:
Invalid command '=pod', perhaps mis-spelled or defined by a module not 
included in the server 
configuration 
done

Looks like you have messed up the installation steps when configuring 
apache separately. Please refer to:
http://perl.apache.org/docs/1.0/guide/install.html#The_Flexible_Way


__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:stas;stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com



Re: make test fails on redhat

2002-04-03 Thread Ged Haywood

Hi there,

On Wed, 3 Apr 2002, Jie Gao wrote:

 All tests successful, 6 tests skipped.

Are you sure about your subject line?

 Files=34, Tests=382,  9 wallclock secs ( 4.47 cusr +  0.44 csys =  4.91 CPU)
 kill `cat t/logs/httpd.pid`
 cat: t/logs/httpd.pid: No such file or directory

There may be permissions problems in the directory tree, did you
'make' and 'make test' as root?  I find it's best not to do that.

73,
Ged.




Re: Make test fails for Apache::Session

2000-08-08 Thread Ajit Deshpande

On Wed, Aug 09, 2000 at 08:51:08AM +1000, Stuckey, Roger wrote:
 
 I can't seem to get Apache::Session installed on our SGI-Irix box. The MySQL
 test fails when trying to create a new database, as shown by the build
 output below. Does anyone know what I am doing (or not doing) wrong? I have
 the distinct feeling that it's something very simple :)
 
 Running:
  Apache 1.3.6
  mod_perl-1.21
  MySQL 3.22.20a

From "perldoc Apache::Session::DBI :

   To use this module, you will need these columns in a table
   called 'sessions':

id char(16)
length int(11)
a_session text

   Where the a_session column needs to be able to handle
   arbitrarily long binary data.

Your error message suggests that you do have not created the sessions
table.

Ajit



Re: make test fails, httpd fails to start

2000-05-12 Thread Doug MacEachern

On Mon, 8 May 2000, Stas Bekman wrote:

  httpd fails to start because of the following.
will write error_log to: t/logs/error_log
Syntax error on line 3 of /tmp/mod_perl-1.23/t/conf/httpd.conf:
Invalid command '=pod', perhaps mis-spelled or defined by a module not
included in the server configuration

   Yeah, how about:
server failed to start! (please examine t/logs/error_log) at t/TEST line

but he already gave all the info we need above.  steve, the httpd being
used to run the tests does not have mod_perl configured.  which means
there's a flaw in the steps you took to configure/build.  try
INSTALL.simple or the appropriate section of the guide.




Re: make test fails, httpd fails to start

2000-05-08 Thread Stas Bekman

On Mon, 8 May 2000, Steve Bauer wrote:

 I have apache 1.3.12, and mod_perl 1.23.  both apache and mod_perl build
 successfully, but make test fails. the output from "make test" is:
 
 cp t/conf/mod_perl_srm.conf t/conf/srm.conf
 ../apache_1.3.12/src/httpd -f `pwd`/t/conf/httpd.conf -X -d `pwd`/t 
 httpd listening on port 8529
 will write error_log to: t/logs/error_log
 Syntax error on line 3 of /tmp/mod_perl-1.23/t/conf/httpd.conf:
 Invalid command '=pod', perhaps mis-spelled or defined by a module not
 included in the server configuration
 letting apache warm up...done
 /usr/local/bin/perl t/TEST 0
 still waiting for server to warm up...not ok
 server failed to start! (please examine t/logs/error_log) at t/TEST line
 95.
 *** Error code 146
 make: Fatal error: Command failed for target `run_tests'

Yeah, how about:
 server failed to start! (please examine t/logs/error_log) at t/TEST line
   ^^^
 95.




 
 
 The file /t/httpd.conf contain several pod commands.
 
 Anybody have any ideas of where to look or how to fix this??
 
 Steve Bauer
 Cyber Database Solutions.
 



__
Stas Bekman | JAm_pH--Just Another mod_perl Hacker
http://stason.org/  | mod_perl Guide  http://perl.apache.org/guide 
mailto:[EMAIL PROTECTED]  | http://perl.orghttp://stason.org/TULARC/
http://singlesheaven.com| http://perlmonth.com http://sourcegarden.org
--




Re: make test fails, httpd fails to start

2000-05-08 Thread Steve Bauer

The file t/logs/error_log is never created.  httpd fails because 
/t/conf/httpd.conf looks more like a pod file than a httpd.conf.

How is the correct httpd.conf file supposed to be created?

What can I do to determine why the creation is not happening??

Steve Bauer

Stas Bekman wrote:
 
 On Mon, 8 May 2000, Steve Bauer wrote:
 
  I have apache 1.3.12, and mod_perl 1.23.  both apache and mod_perl build
  successfully, but make test fails. the output from "make test" is:
 
  cp t/conf/mod_perl_srm.conf t/conf/srm.conf

httpd fails to start because of the following.
  will write error_log to: t/logs/error_log
  Syntax error on line 3 of /tmp/mod_perl-1.23/t/conf/httpd.conf:
  Invalid command '=pod', perhaps mis-spelled or defined by a module not
  included in the server configuration
  letting apache warm up...done
  /usr/local/bin/perl t/TEST 0
  still waiting for server to warm up...not ok
  server failed to start! (please examine t/logs/error_log) at t/TEST line
  95.
  *** Error code 146
  make: Fatal error: Command failed for target `run_tests'
 
 Yeah, how about:
  server failed to start! (please examine t/logs/error_log) at t/TEST line
^^^
  95.
 
 
 
  The file /t/httpd.conf contain several pod commands.
 
  Anybody have any ideas of where to look or how to fix this??
 
  Steve Bauer
  Cyber Database Solutions.
 
 
 __
 Stas Bekman | JAm_pH--Just Another mod_perl Hacker
 http://stason.org/  | mod_perl Guide  http://perl.apache.org/guide
 mailto:[EMAIL PROTECTED]  | http://perl.orghttp://stason.org/TULARC/
 http://singlesheaven.com| http://perlmonth.com http://sourcegarden.org
 --



Re: make test fails, httpd fails to start

2000-05-08 Thread Stas Bekman

On Mon, 8 May 2000, Steve Bauer wrote:

 The file t/logs/error_log is never created.  httpd fails because 
 /t/conf/httpd.conf looks more like a pod file than a httpd.conf.

That's fine.

 How is the correct httpd.conf file supposed to be created?
 
 What can I do to determine why the creation is not happening??

May be file permissions? Or the user/group selection for the child to run
under.
 
 Steve Bauer
 
 Stas Bekman wrote:
  
  On Mon, 8 May 2000, Steve Bauer wrote:
  
   I have apache 1.3.12, and mod_perl 1.23.  both apache and mod_perl build
   successfully, but make test fails. the output from "make test" is:
  
   cp t/conf/mod_perl_srm.conf t/conf/srm.conf
 
 httpd fails to start because of the following.
   will write error_log to: t/logs/error_log
   Syntax error on line 3 of /tmp/mod_perl-1.23/t/conf/httpd.conf:
   Invalid command '=pod', perhaps mis-spelled or defined by a module not
   included in the server configuration
   letting apache warm up...done
   /usr/local/bin/perl t/TEST 0
   still waiting for server to warm up...not ok
   server failed to start! (please examine t/logs/error_log) at t/TEST line
   95.
   *** Error code 146
   make: Fatal error: Command failed for target `run_tests'
  
  Yeah, how about:
   server failed to start! (please examine t/logs/error_log) at t/TEST line
 ^^^
   95.
  
  
  
   The file /t/httpd.conf contain several pod commands.
  
   Anybody have any ideas of where to look or how to fix this??
  
   Steve Bauer
   Cyber Database Solutions.
  
  
  __
  Stas Bekman | JAm_pH--Just Another mod_perl Hacker
  http://stason.org/  | mod_perl Guide  http://perl.apache.org/guide
  mailto:[EMAIL PROTECTED]  | http://perl.orghttp://stason.org/TULARC/
  http://singlesheaven.com| http://perlmonth.com http://sourcegarden.org
  --
 



__
Stas Bekman | JAm_pH--Just Another mod_perl Hacker
http://stason.org/  | mod_perl Guide  http://perl.apache.org/guide 
mailto:[EMAIL PROTECTED]  | http://perl.orghttp://stason.org/TULARC/
http://singlesheaven.com| http://perlmonth.com http://sourcegarden.org
--




Re: make test fails on Embperl on AIX ...

2000-02-08 Thread Jens-Uwe Mager

On Mon, Feb 07, 2000 at 09:29:16PM +0100, Gerald Richter wrote:
 
  I've been trying to build HTML::Embperl on aix
  (4.3.1),
  but the make test fails
 
 
 I don't have any experienes with AIX, the only thing I know is what Jens Uwe
 wrote to me in the FAQ
 
 http://perl.apache.org/embperl/Faq.pod.1.html#Embperl_and_mod_perl_on_AIX
 
 he also sends the patches to build Embperl on AIX, maybe he (or anybody else
 on the list) has more ideas what's going wrong

I appear to have missed the initial post, what is going wrong?

-- 
Jens-Uwe Mager

HELIOS Software GmbH
Steinriede 3
30827 Garbsen
Germany

Phone:  +49 5131 709320
FAX:+49 5131 709325
Internet:   [EMAIL PROTECTED]



Re: make test fails

2000-01-28 Thread vinecent hong

Read http://perl.apache.org/guide/troubleshooting.html

there explain the error you mentioned though its explanation for
"Can't load '.../auto/DBI/DBI.so' for module DBI "

- Original Message -
From: Jeff Beard [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, January 28, 2000 4:57 AM
Subject: make test fails


 Hi there,

 running make test fails and produces the errors listed at the end of this
 message. I searched the list archives and found a posting that suggested
 rebuilding Perl with the same compiler and tools that I use for apache and
 mod_perl. So I did but it didn't fix the problem. I did in fact build Perl
 the first time with gcc 2.8.1, then built gcc 2.95.2 from source. But I
 rebuilt Perl with the new compiler and get the same results. Any ideas,
 pointers, etc. in troubleshooting are appreciated.

 The environment, etc. is:

 Solaris 2.6 on an Ultra 1
 gcc 2.95.2
 Sun's build tools (ld, nm, ar, etc.)
 Perl 5.005_03
 apache 1.3.11
 mod_perl 1.21

 Other "3rd party" mods I'm including:
 php 4.0b3
 mod_ssl 2.5.0-1.3.11

 Appended are perl -V output and the errors from make test

 Thanks for your help.

 --Jeff

 Perl Version:

 Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
Platform:
  osname=solaris, osvers=2.6, archname=sun4-solaris
  uname='sunos wiggy 5.6 generic sun4u sparc sunw,ultra-1 '
  hint=recommended, useposix=true, d_sigaction=define
  usethreads=undef useperlio=undef d_sfio=undef
Compiler:
  cc='gcc -B/usr/ccs/bin/ -B/usr/ccs/bin/', optimize='-O',
 gccversion=2.95.2 19991024 (release)
  cppflags='-I/usr/local/include'
  ccflags ='-I/usr/local/include'
  stdchar='unsigned char', d_stdstdio=define, usevfork=false
  intsize=4, longsize=4, ptrsize=4, doublesize=8
  d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
  alignbytes=8, usemymalloc=y, prototype=define
Linker and Libraries:
  ld='gcc -B/usr/ccs/bin/ -B/usr/ccs/bin/', ldflags ='
-L/usr/local/lib'
  libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
  libs=-lsocket -lnsl -ldl -lm -lc -lcrypt
  libc=, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
  dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
  cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'


 Characteristics of this binary (from libperl):
Built under solaris
Compiled at Jan 23 2000 14:15:33
@INC:
  /usr/local/lib/perl5/5.00503/sun4-solaris
  /usr/local/lib/perl5/5.00503
  /usr/local/lib/perl5/site_perl/5.005/sun4-solaris
  /usr/local/lib/perl5/site_perl/5.005


 make test errors:

 [Thu Jan 27 13:51:41 2000] [error] Can't load
 '/usr/local/lib/perl5/5.00503/sun4-solaris/auto/IO/IO.so' for module IO:
 ld.so.1: ../apache_1.3.11/src/httpd: fatal: relocation error: file
 /usr/local/lib/perl5/5.00503/sun4-solaris/auto/IO/IO.so: symbol main:
 referenced symbol not found at
 /usr/local/lib/perl5/5.00503/sun4-solaris/DynaLoader.pm line 169.



 Jeff Beard
 ___
 Web: www.cyberxape.com
 Phone: 303.443.9339
 Location: Boulder, CO, USA





__
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com?sr=mc.mk.mcm.tag001



Re: make test fails

2000-01-28 Thread G.W. Haywood

Hi there,

On Thu, 27 Jan 2000, Jeff Beard wrote:

 running make test fails and produces the errors listed at the end of
 this message.  I searched the list archives and found a posting that
 suggested rebuilding Perl with the same compiler and tools that I
 use for apache and mod_perl. So I did but it didn't fix the
 problem. I did in fact build Perl the first time with gcc 2.8.1,
 then built gcc 2.95.2 from source. But I rebuilt Perl with the new
 compiler and get the same results.

I think the bit about using the same compiler means don't use gcc and
ztcpp, you ought to get away with 2.8 and 2.95, but it's good advice.

You're obviously comfortable with compiling your tools, so you could
try a few more recompilations.  My first try would be a static build.
It seems dynamic linking is responsible for all kinds of problems.  I
built mySQL for a customer yesterday and the Perl interface wouldn't
run with dynamic linking of Msql-Mysql-modules, no matter what I did.
No problems at all with --static.

If that fails I'd try with a minimum set of modules (just mod_perl to
start with, leave out php/mod_ssl) and work up from there to see what
(if anything) triggers it.  There have been questions about Apache
1.3.11 with mod_perl.  Try Apache 1.3.9?

There are several other possibilities.  Where is apache_1.3.11?  I
found I had to put both the mod_perl and Apache directories in
/usr/local, i.e. /usr/local/apache_1.3.9 and /usr/local/mod_perl-1.21.
Did you delete everything before recompiling?  You should.  Have you
tried `make distclean'?

Let me know how you get on.

73,
Ged.


 The environment, etc. is:
 
 Solaris 2.6 on an Ultra 1
 gcc 2.95.2
 Sun's build tools (ld, nm, ar, etc.)
 Perl 5.005_03
 apache 1.3.11
 mod_perl 1.21
 
 Other "3rd party" mods I'm including:
 php 4.0b3
 mod_ssl 2.5.0-1.3.11
 
 Appended are perl -V output and the errors from make test
 
 Thanks for your help.
 
 --Jeff
 
 Perl Version:
 
 Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
Platform:
  osname=solaris, osvers=2.6, archname=sun4-solaris
  uname='sunos wiggy 5.6 generic sun4u sparc sunw,ultra-1 '
  hint=recommended, useposix=true, d_sigaction=define
  usethreads=undef useperlio=undef d_sfio=undef
Compiler:
  cc='gcc -B/usr/ccs/bin/ -B/usr/ccs/bin/', optimize='-O', 
 gccversion=2.95.2 19991024 (release)
  cppflags='-I/usr/local/include'
  ccflags ='-I/usr/local/include'
  stdchar='unsigned char', d_stdstdio=define, usevfork=false
  intsize=4, longsize=4, ptrsize=4, doublesize=8
  d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
  alignbytes=8, usemymalloc=y, prototype=define
Linker and Libraries:
  ld='gcc -B/usr/ccs/bin/ -B/usr/ccs/bin/', ldflags =' -L/usr/local/lib'
  libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
  libs=-lsocket -lnsl -ldl -lm -lc -lcrypt
  libc=, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
  dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
  cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'
 
 
 Characteristics of this binary (from libperl):
Built under solaris
Compiled at Jan 23 2000 14:15:33
@INC:
  /usr/local/lib/perl5/5.00503/sun4-solaris
  /usr/local/lib/perl5/5.00503
  /usr/local/lib/perl5/site_perl/5.005/sun4-solaris
  /usr/local/lib/perl5/site_perl/5.005
 
 
 make test errors:
 
 [Thu Jan 27 13:51:41 2000] [error] Can't load 
 '/usr/local/lib/perl5/5.00503/sun4-solaris/auto/IO/IO.so' for module IO: 
 ld.so.1: ../apache_1.3.11/src/httpd: fatal: relocation error: file 
 /usr/local/lib/perl5/5.00503/sun4-solaris/auto/IO/IO.so: symbol main: 
 referenced symbol not found at 
 /usr/local/lib/perl5/5.00503/sun4-solaris/DynaLoader.pm line 169.
 
 
 
 Jeff Beard
 ___
 Web:  www.cyberxape.com
 Phone:303.443.9339
 Location: Boulder, CO, USA
 



Re: make test fails

1999-10-02 Thread Anthony Gardner

It has been suggested to increase the sleep in that script to let the server 
warm up a bit more.

The only time I experienced that problem was when something else was wrong 
with the install.

Change the sleep first from 1 to 5 secs and see what happens. Apart from 
that I don't know. The port number is standard procdure but it may try to 
change that, I'm not sure on that issue though.

Good luck.


From: Pepi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: make test fails
Date: Sat, 2 Oct 1999 11:04:28 -0400 (EDT)

Hi everybody,

I am installing apache 1.3.9 and modperl 1.21:

I untar them in two subdirectories of the same home directory,
then I go to the modperl directory and type:

perl Makefile.PL APACHE_SRC=../apache_1.3.9/src \
 DO_HTTPD=1 USE_APACI=1 PERL_MARK_WHERE=1 EVERYTHING=1

then:

make

(it compiles everything fine)

and then when I run:

make test

I always get:

.
.
.
cp t/conf/mod_perl_srm.conf t/conf/srm.conf
../apache_1.3.9/src/httpd -f `pwd`/t/conf/httpd.conf -X -d `pwd`/t 
httpd listening on port 8529
will write error_log to: t/logs/error_log
letting apache warm up...\c
done
/usr/bin/perl t/TEST 0
still waiting for server to warm upnot ok
server failed to start! at t/TEST line 95.
make: *** [run_tests] Error 9

Can someone please help me?

Thank you
Petar


__
Petar Maymounkov  Cell: (617) 283-2401
166 Quincy Mail CenterHome: (617) 493-3106
Cambridge, MA 02138Page: [EMAIL PROTECTED]



__
Get Your Private, Free Email at http://www.hotmail.com



Re: make test fails

1999-10-02 Thread Stas Bekman


 Hi everybody,
 
 I am installing apache 1.3.9 and modperl 1.21:
 
 I untar them in two subdirectories of the same home directory,
 then I go to the modperl directory and type:
 
 perl Makefile.PL APACHE_SRC=../apache_1.3.9/src \
 DO_HTTPD=1 USE_APACI=1 PERL_MARK_WHERE=1 EVERYTHING=1
 
 then:
 
 make
 
 (it compiles everything fine)
 
 and then when I run:
 
 make test
 
 I always get:
 
 .
 .
 .
 cp t/conf/mod_perl_srm.conf t/conf/srm.conf
 ../apache_1.3.9/src/httpd -f `pwd`/t/conf/httpd.conf -X -d `pwd`/t 
 httpd listening on port 8529
 will write error_log to: t/logs/error_log
 letting apache warm up...\c
 done
 /usr/bin/perl t/TEST 0
 still waiting for server to warm upnot ok
 server failed to start! at t/TEST line 95.
 make: *** [run_tests] Error 9
 
 Can someone please help me?

Take a look at t/logs/error_log for possible problems.
If it's empty someone reported that allowing a few more secs for a server
to wake up might help, to accomplish that edit t/TEST file:

else {
print "still waiting for server to warm up...";
}
for (1..3) {
sleep $_;

=

else {
print "still waiting for server to warm up...";
}
for (1..10) {
sleep $_;

Tell us whether it worked, since if it did, it's a time to modify the
t/TEST in CVS


 
 Thank you
 Petar
 
 
 __
 Petar Maymounkov  Cell: (617) 283-2401
 166 Quincy Mail CenterHome: (617) 493-3106
 Cambridge, MA 02138Page: [EMAIL PROTECTED]
 
 
 



___
Stas Bekman  mailto:[EMAIL PROTECTED]www.singlesheaven.com/stas  
Perl,CGI,Apache,Linux,Web,Java,PC at  www.singlesheaven.com/stas/TULARC
www.apache.org   www.perl.com  == www.modperl.com  ||  perl.apache.org
single o- + single o-+ = singlesheavenhttp://www.singlesheaven.com