Problems compiling modperl

2003-03-27 Thread Johnson, Fred








I havent been successful building mod_perl with apache, and
apacheSSL on a Solaris 2.8 with the latest recommended patches.

I am working on a Solaris 2.8 machine, with gcc 2.95.3, perl v5.6.1, mod_perl-1.26,
apache_1.3.22, and finally,

apache_1.3.22+ssl_1.45. 

I have been able to build this on a Solaris 2.6 machine.

Here are the errors I grabbed from the error log:



[notice] Destruction-DESTROY
called for $global_object

/tmp: Permission denied

apache_ssl.c:1617: failed assertion `0'

[notice] Destruction-DESTROY
called for $global_object

/tmp: Permission denied

apache_ssl.c:1617: failed assertion `0'

[Thu Mar 27 15:33:06 2003] [warn] [notice] child_init for
process 13816, report

any problems to
[no address given]

[Thu Mar 27 15:33:12 2003] [warn] [client 127.0.0.1] log
__ANON__ OK

Use of uninitialized value in subroutine entry at
/opt/software/mod_perl-1.26/t/

net/perl/api.pl line 222, fh1b line 1.



Any suggestions or help would be appreciated.



Fred Johnson

Systems Engineer

Storagenetworks

225 Wyman Street

Waltham, MA

(781)622-6425(o)

(781)983-1170(m)

[EMAIL PROTECTED]












Re: Problems compiling modperl

2003-03-27 Thread Ged Haywood
On Thu, 27 Mar 2003, Johnson, Fred wrote:

 I haven't been successful building mod_perl with apache, and apacheSSL
 on a Solaris 2.8 with the latest recommended patches.
 I am working on a Solaris 2.8 machine, with gcc 2.95.3, perl  v5.6.1,
 mod_perl-1.26,  apache_1.3.22, and finally,
 apache_1.3.22+ssl_1.45. 

Is there a reason for using those old versions?  I think you should be
using Apache 1.3.27 and mod_perl 1.27, and probably Perl 5.8.0.

 [notice] Destruction-DESTROY called for $global_object
 /tmp: Permission denied

It's not just a permissions problem?

Building on Solaris hasn't always been the most straightforward of
exercises.  SSL might add a little excitement.  If you trawl around in
the archives you should find people who've done it on 2.8.  I'm afraid
I don't know anything about that particular ssl version.  If that's
the problem you might try a different way of getting ssl in the mix.

73,
Ged.




Re: problems compiling modperl under macos x pb

2000-11-12 Thread Gustav Kristoffer Ek

On Thu, 9 Nov 2000, Ken Williams wrote:

 [EMAIL PROTECTED] (Gustav Kristoffer Ek) wrote:
 When I try compiling apache with modperl under macos x pb I got the
 folowing error. Both the source for apache and modperl is the latest
 cvs version.
 
 I couldn't get it to work either, but I don't have much experience
 troubleshooting this stuff:

Finally it worked. I found out, that the problem was about expanding
maccros (dTHR and others) and appearantly the compiler on
apples developer cd do preprocessing in an other way.

Adding -traditional-cpp in the Makefile worked for me.

- gustav

-- 
Gustav Kristoffer Ek,  Netcetera, Brolæggerstræde 4, 1211 København K
+45 33147000, +45 2045, fax +45 33146200 http://www.netcetera.dk/




problems compiling modperl under macos x pb

2000-11-08 Thread Gustav Kristoffer Ek

When I try compiling apache with modperl under macos x pb I got the
folowing error. Both the source for apache and modperl is the latest cvs
version. I do it "the flexible way"

perl Makefile.PL \
APACHE_SRC=../apache-1.3/src \
DO_HTTPD=1 \
USE_APACI=1 \
PREP_HTTPD=1 \
EVERYTHING=1 \
PERL_TRACE=1

make
make install

whitch goes fine, but when it comes to apache

./configure \
  --prefix=/Library/WebServer \
  --enable-module=status \
  --enable-module=info \
  --enable-module=rewrite \
  --enable-module=digest \
  --enable-module=proxy \
  --enable-module=unique_id \
  --activate-module=src/modules/perl/libperl.a

make

I got the folowin error:

=== src/modules/perl
cc -O3 -I/System/Library/Perl/darwin/CORE -g -pipe -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing
-DMOD_PERL_VERSION=\"1.24_02-dev\" -DMOD_PERL_STRING_VERSION=\"mod_perl/1.24_02-dev\" 
-DPERL_TRACE=1
-I../.. -I/System/Library/Perl/darwin/CORE -I../../os/unix -I../../include
-DDARWIN -DMOD_PERL -DUSE_PERL_SSI -g -pipe -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -DUSE_HSREGEX -DUSE_EXPAT
-I../../lib/expat-lite -DNO_DL_NEEDED `../../apaci` -c mod_perl.c
mod_perl.c:387: syntax error, missing `;' after `)'
mod_perl.c:762: syntax error, missing `;' after `)'
mod_perl.c:855: syntax error, missing `;' after `)'
mod_perl.c:1165: syntax error, missing `;' after `)'
mod_perl.c:1479: syntax error, missing `;' after `)'
mod_perl.c:1479: illegal expression, found `register'
mod_perl.c:1484: illegal expression, found `char'
mod_perl.c:1485: illegal expression, found `int'
mod_perl.c:1486: illegal expression, found `char'
make[4]: *** [mod_perl.o] Error 1
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[1]: *** [build-std] Error 2
make: *** [build] Error 2

perl is v5.6.0
cc is 2.7.2.1 from the developer cd.

Any hints?


- gustav

-- 
Gustav Kristoffer Ek,  Netcetera, Brolæggerstræde 4, 1211 København K
+45 33147000, +45 2045, fax +45 33146200 http://www.netcetera.dk/




Re: problems compiling modperl under macos x pb

2000-11-08 Thread Ken Williams

[EMAIL PROTECTED] (Gustav Kristoffer Ek) wrote:
When I try compiling apache with modperl under macos x pb I got the
folowing error. Both the source for apache and modperl is the latest
cvs version.

I couldn't get it to work either, but I don't have much experience
troubleshooting this stuff:

  http://forum.swarthmore.edu/epigone/modperl/beeginjar

Looks like you got farther than I did.  My compilation got hung up in
the Apache part - since OS X comes with Apache, there should be some way
to get this to work, though.  I think I wasn't working with Apache CVS,
but with 1.3.14 or something.

I got no responses from my post, so I'm not sure whether others have
succeeded or found anything out.


  ------
  Ken Williams Last Bastion of Euclidity
  [EMAIL PROTECTED]The Math Forum