compile errors

2002-05-21 Thread m31

Hi,  I'm trying to upgrade to and compile mod_perl1.26 and seem to be 
getting errors. I am working on OSX 10.1.4 (Darwin 5.4), Perl/5.6.0, 
mod_perl/1.25, apache/1.3.23.

I run `perl Makefile.pl NO_HTTPD=1` and get the following errors:
/usr/bin/perl t/TEST 0
Can't locate object method new via package URI::URL at 
../blib/lib/Apache/test.pm line 252.
make: *** [run_tests] Error 255

Is mod_perl1.26 able to compile under osx 10.1.4? Can someone help?




mod_perl compile errors in perl_util.c

2001-08-24 Thread Alex Gottschalk

Hi,

I'm trying to compile mod_perl, and am getting the following error.
System details follow the error message:

/usr/gnu/bin/gcc -I. -I../../include -I../../include/regex
-I../../include/.././os/unix -DSOLARIS2=260 -DUSE_EXPAT
-I../lib/expat-lite -DNO_DL_NEEDED -DMOD_PERL  -I`/usr/gnu/bin/perl
-MConfig -e 'print $Config{archlibexp}'`/CORE `/usr/gnu/bin/perl
'-MApache::ExtUtils=%Config' -e 'print $Config{ccflags}'`
-DNO_PERL_DISPATCH   -DNO_PERL_POST_READ_REQUEST -DNO_PERL_TRANS
-DNO_PERL_HEADER_PARSER -DNO_PERL_ACCESS -DNO_PERL_AUTHEN -DNO_PERL_AUTHZ
-DNO_PERL_TYPE  -DNO_PERL_FIXUP  -DNO_PERL_LOG  -DNO_PERL_INIT
-DNO_PERL_CLEANUP -DNO_PERL_RESTART -DNO_PERL_STACKED_HANDLERS
-DNO_PERL_SECTIONS -DNO_PERL_METHOD_HANDLERS -DNO_PERL_SSI
-DNO_PERL_DIRECTIVE_HANDLERS  -DMOD_PERL_VERSION=\1.26\  -I./os/unix
-I../../include -c -o perl_util.o perl_util.c
perl_util.c: In function `hvrv2table':
perl_util.c:99: warning: cast to pointer from integer of different size
perl_util.c:101: warning: cast to pointer from integer of different size
perl_util.c: In function `sv2request_rec':
perl_util.c:145: warning: cast to pointer from integer of different size
perl_util.c: In function `perl_get_startup_pool':
perl_util.c:178: warning: cast to pointer from integer of different size
perl_util.c: In function `perl_get_startup_server':
perl_util.c:188: warning: cast to pointer from integer of different size
perl_util.c: In function `perl_sv_is_http_code':
perl_util.c:758: invalid type argument of `-'
perl_util.c:761: invalid type argument of `-'
make[3]: *** [perl_util.o] Error 1
make[2]: *** [all] Error 1
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/alexgo/src/apache_1.3.20/src'
make: *** [apache_httpd] Error 2

This is on the following system:

Solaris 2.6 Generic_105181-25 sun4u sparc SUNW,Ultra-80
perl 5.005_62 built for sun4-solaris
gcc 2.95.2
mod_perl 1.26
apache 1.3.20

We'd really love to start using mod_perl for our Virtual Host redirects,
so any help would be seriously appreciated.

Thanks!
--Alex

Alex Gottschalk
[EMAIL PROTECTED]
(650) 724-7668