Apache 1 install breaks.

Started by atari, March 31, 2005, 06:12:20 PM

Previous topic - Next topic

atari

After having it break the first time here...

Please tell me where I can find your apache src
[../apache_x.x/src]


I modified  /usr/local/lib/perl5/site_perl/5.8.6/Mail/Toaster/Apache.pm
~
my $apache   = "apache_1.3.31";
        my $mod_perl = "mod_perl-1.29";
        my $mod_ssl  = "mod_ssl-2.8.19-1.3.31";
        my $layout   = "FreeBSD.layout";

To have it changed to...

my $apache   = "apache_1.3.33";
        my $mod_perl = "mod_perl-1.29";
        my $mod_ssl  = "mod_ssl-2.8.22-1.3.33";
        my $layout   = "FreeBSD.layout";

But maybe that wasnt the right Apache.pm to change.. it is still looking for 1.3.31 stuff when I re-ran  -s apache below.

-----------------------------------------


dm1# toaster_setup.pl -s apache
ports_check_age: Ports file is current (enough).
port_install: mm                   installed as (mm-1.3.1).
ports_check_age: Ports file is current (enough).
port_install: gettext              installed as (gettext-0.14.1).
ports_check_age: Ports file is current (enough).
port_install: libtool              installed as (libtool-1.3.5_2
libtool-1.5.10_1).
ports_check_age: Ports file is current (enough).
port_install: apache               installed as (apache-1.3.33_1).
ports_check_age: Ports file is current (enough).
port_install: p5-libwww            installed as (p5-libwww-5.803).
ports_check_age: Ports file is current (enough).
port_install: cronolog             installed as (cronolog-1.6.2).
fetch: http://www.apache.org/dist/httpd/apache_1.3.31.tar.gz:" target="_blank">http://www.apache.org/dist/httpd/apache_1.3.31.tar.gz: Not Found
syscmd: /usr/bin/fetch http://www.apache.org/dist/httpd/apache_1.3.31.tar.gz" target="_blank">http://www.apache.org/dist/httpd/apache_1.3.31.tar.gz
syscmd: result: 256
file_get error executing /usr/bin/fetch http://www.apache.org/dist/httpd/apache_1.3.31.tar.gz" target="_blank">http://www.apache.org/dist/httpd/apache_1.3.31.tar.gz
file_get error result:  256
FAILURE: apache_1.3.31.tar.gz is not a gzip compressed file!

mod_perl-1.29 sources are already present, indicating that you've already
installed mod_perl-1.29. If you want to reinstall it, remove the existing
sources (rm -r /usr/local/src/mail/mod_perl-1.29) and re-run this script



       Would you like me to remove the sources for you? (y/n): y
Deleting mod_perl-1.29...done.

mod_ssl-2.8.19-1.3.31 sources are already present, indicating that you've already
installed mod_ssl-2.8.19-1.3.31. If you want to reinstall it, remove the existing
sources (rm -r /usr/local/src/mail/mod_ssl-2.8.19-1.3.31) and re-run this script



       Would you like me to remove the sources for you? (y/n): y
Deleting mod_ssl-2.8.19-1.3.31...done.
Configuring mod_ssl/2.8.19 for Apache/1.3.31
./configure:Error: Cannot find Apache 1.3 source tree under ../apache_1.3.31
./configure:Hint:  Please specify location via --with-apache=DIR
syscmd: ./configure --with-apache=../apache_1.3.31 --with-ssl=/usr --enable-shared=ssl --with-mm=/usr/local
syscmd: result: 256
Will configure via APACI
Enter `q' to stop search
Please tell me where I can find your apache src
[../apache_x.x/src]
Can't stat `../apache_x.x/src'
Please tell me where I can find your apache src
[../apache_x.x/src]
Can't stat `../apache_x.x/src'
Please tell me where I can find your apache src
[../apache_x.x/src]
Can't stat `../apache_x.x/src'
Please tell me where I can find your apache src
[../apache_x.x/src]
Can't stat `../apache_x.x/src'
Please tell me where I can find your apache src
[../apache_x.x/src] ^Csyscmd: perl Makefile.PL DO_HTTPD=1 USE_APACI=1 APACHE_PREFIX=/usr/local EVERYTHING=1 APACI_ARGS='--server-uid=www, --server-gid=www, --enable-module=so --enable-module=most, --enable-shared=max --disable-shared=perl, --enable-module=perl, --with-layout=../FreeBSD.layout:FreeBSD, --without-confadjust'
child died with signal 2, without coredump
syscmd: perl Makefile.PL DO_HTTPD=1 USE_APACI=1 APACHE_PREFIX=/usr/local EVERYTHING=1 APACI_ARGS='--server-uid=www, --server-gid=www, --enable-module=so --enable-module=most, --enable-shared=max --disable-shared=perl, --enable-module=perl, --with-layout=../FreeBSD.layout:FreeBSD, --without-confadjust'
syscmd: result: 2
make: no target to make.
syscmd: make
syscmd: result: 512

/usr/local/sbin/toaster_setup.pl script execution complete.

atari


Ah. Got it.

I didn't know which Apache.pm to make the changes to so I just did it everywhere I found it...

dm1# locate Apache.pm
/usr/libdata/perl/5.00503/CGI/Apache.pm
/usr/local/lib/perl5/5.8.6/CGI/Apache.pm
/usr/local/lib/perl5/site_perl/5.8.6/Mail/Toaster/Apache.pm
/usr/local/lib/perl5/site_perl/5.8.6/mach/DBI/ProfileDumper/ Apache.pm
/usr/local/src/Mail-Toaster-4.05/blib/lib/Mail/Toaster/Apach e.pm
/usr/local/src/Mail-Toaster-4.05/lib/Mail/Toaster/Apache.pm
/usr/local/src/Mail-Toaster-4.06/lib/Mail/Toaster/Apache.pm
/usr/local/src/www/mod_perl-1.29/Apache/Apache.pm
/usr/local/src/www/mod_perl-1.29/lib/Bundle/Apache.pm
/usr/src/contrib/perl5/lib/CGI/Apache.pm


Sloppy sloppy I know... but hey, it seems to have worked Smile

1.3.33 and matching mod_ssl installed.