|
From: shane <sh...@lo...> - 2001-04-24 10:26:19
|
At 01:54 PM 4/21/2001 -0400, you wrote:
> > Wait a sec - you *upgraded* from 6.2? So you didn't fdisk everything
> > and install fresh?
>
>Nope. This is just a home system and I didn't want to re-install all my
>software (Corel, Loki Games, etc). I figure the upgrade is supposed to go
>well, and it did except for this.
>
> > Were you running apache/mod_perl/mysql from RPM or source?
>
>Compiled it from source. Slash doesn't like the default config.
>
> > Are you trying to run apache/mod_perl/mysql from RPM or source now?
>
>Source again. First tried it without recompiling, was hoping that would
>work. It failed saying it couldn't find strict.pm in @INC (which included
>the Perl 5.005 tree). Not sure why that happened.
>
>Recompiled, using these notes I made for myself. This is what I did under
>6.2, and it successfully made an httpd with PHP4 and a Slash-happy mod_perl
>working together. So in case anyone is still having that problem, here's the
>solution:
>-----------
>In PHP directory:
>
> ./configure --with-pgsql=/usr/local/pgsql --with-mysql=/usr/local/mysql
>--with-apache=/home/micah/slashstuff/apache_1.3.19 --enable-track-vars
> make
> make install
>
> In mod_perl directory:
>
> perl Makefile.PL APACHE_SRC=/home/micah/slashstuff/apache_1.3.19
> DO_HTTPD=1
>USE_APACI=1 PERL_MARK_WHERE=1
> make
> make install
>
>in Apache directory:
>
>./configure --prefix=/usr/local/apache
>--activate-module=src/modules/php4/libphp4.a
>--activate-module=src/modules/perl/libperl.a
>--activate-module=src/modules/extra/mod_adbanners.o
>make
>make install
>-------------
>
> > I just wiped my server at home from 6.0 (running 2.4.2) to 7.1.
> > For the hell of it I'm trying to run with the RPM setup
> > first, just to see if it works.
>
>Good luck. Let me know if it does! I'd certainly prefer using RPM, but
>everything I've read indicates that Slash needs a custom mod_perl compile.
I gave up, and went the all-source-built route. Seems to be working like a
champ now.
> > BTW, incase anyone is reading this, things like zlib and expat
> > are already installed in RPM format with 7.1.
> > I'm installing perl libs now, then gonna go get some breakfest.
> > But if anyone is interested in my findings, let me know, I
> > can post them here or on slashcode.
>
>Please do post them!
Ok, so far I have slash working on two redhat7.1 boxes.
What I did was
1) did a custome install, installed all the devel stuff, did
NOT install web/ftp/sql servers.
2) immediately made sure the 'wget' and 'tree' commands were
installed, if not installed them.
3) wgetted all tarballs that I'd need: apache, mod_perl, open_ssl,
mod_ssl, php4, perl, cpan, openssh, mysql, etc.
4) removed perl from the system: perl --nodeps -e perl && rm -fR /usr/lib/perl5
5) installed perl from tarball.
6) installed cpan and started installing perl bundles/modules/scripts
7) installed mysql
8) installed apache/mod_perl etc.
I got apache compiling and working after I realized I forgot to
*remove* Redhat's RPM's of openssl, then installed open_ssl
and apache compiled OK.
This broke Redhat's rpm's of ssh (client, server, etc).
So I had to install openssh by hand:
rpm -e openssh-server && rpm -e openssh-clients && rpm -e openssh
then, to compile openssh I used the following:
./configure --with-pam --with-tcp-wrappers --sysconfdir=/etc/ssh
then updated bender from CVS, make install UNINST=1 INIT=/etc/rc.d
and now I'm setting up my first slashsite. All seems to ready to roll.
Shane
|