Hello there, On Mon, 2 Feb 2004, Mark Round wrote:
> I have a problem with building mod_perl on Solaris 8. > ... > OS: Solaris 8 2/02 > GCC - tried various 3.x versions and 2.95.3 > Perl : 5.6.1 from SunFreeware I think you should build that yourself. I notice that 'useperlio' is 'undef' in your perl -V output and I think I saw something a little worrying about that just a day or so ago here on the list. > I can't change the Perl version, as this has been standardised No need to change it, just compile it. :) > tried various combinations of Apache 1.3.28 and mod_perl 1.28 as well. Unlikely to be associated with a small change in version number, but always possible of course. > E250 builds mod_perl fine - however, the E220R fails during "make test" > - the Apache process just hangs during "modules/status" Anything in the logs? Core dumps, anything like that? > And after this, all tests fail. If I try telnetting to the test server > port (8529), I get no response either after this - the process has just > "hung". Sounds more like it's died. :( > # perl Makefile.PL APACHE_SRC=../apache_1.3.29/src EVERYTHING=1 && gmake Is that a root prompt? I would always recommend building as an ordinary users and only doing make install as root. I've seen quite a few people have problems related to permissions when building as root, becasue you run the server, it drops permissions, your tree was created by root... > I have tried different versions of GCC I don't think the compiler is the problem. > Just for reference, here is the output from perl -V and gcc -v > > bash-2.03$ perl -V > Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration: > Platform: > osname=solaris, osvers=2.8, archname=sun4-solaris > uname='sunos solaris 5.8 generic sun4u sparc sunw,ultra-5_10 ' > config_args='-Dcc=gcc -de' > hint=recommended, useposix=true, d_sigaction=define > usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef OK > useperlio=undef Not sure about that. > ... > Compiled at Apr 26 2001 04:07:49 Hmmmm.... :) > @INC: > /usr/local/lib/perl5/5.6.1/sun4-solaris > /usr/local/lib/perl5/5.6.1 > /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris > /usr/local/lib/perl5/site_perl/5.6.1 > /usr/local/lib/perl5/site_perl > . > > bash-2.03$ gcc -v > Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/specs > gcc version 2.95.3 20010315 (release) OK. Personally I'm tending to go for gcc 3.2.3 at minimum thesedays. Slower by quite a bit but I feel it's a better compiler. Finds more things wrong. :) 73, Ged. -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html