Main Stories
Slash Boxes

Slash Open Source Project

Slashcode Log In

Log In

[ Create a new account ]

Article Poll

Poll I found this article to be
Very Helpful
Not Helpful
Not Very Helpful
[ Results | Polls ]
Comments:0 | Votes:0

Problems installing slash / DBIx::Password

posted by Krow on 02:49 PM January 9th, 2003   Printer-friendly   Email story
I'm trying to get Slash working on a Redhat 8.0 box. My problem seems to be centered around getting DBIx::Password to work. Running:

perl -MCPAN -e "install 'DBIx::Password'"

Eventually results in:
Bundle summary: The following items in bundle Bundle::Slash had installation problems:
Digest::MD5 MIME::Base64 Bundle::LWP
DBIx::Password Template and the following items had problems during recursive bundle calls: LWP

perl -MCPAN -e "install 'DBIx::Password'"

I get something like:
install_driver(mysql) failed: Can't locate DBD/ in @INC (@INC contains: blib/lib blib/arch /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-m ulti /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread -multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at (eval 1) line 3.

I've tried this on two Redhat 8.0 boxes. I haven't seen a lot of stuff like this on google. Any suggestions on what I'm doing wrong?

I have all the gory details at

This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login
Loading... please wait.
  • 1. I used the stock redhat mySQL.

    2. I used the stock perl.

    I shutdown the apache 2.0 server. I didn't uninstall.

    I then installed apache1 and mod_perl. then started up cpan and did the 'install Bundle::Slash'.

    That was about it. I ran install-slashsite, and then started slashd and the new apache. Worked like a champ.

    To note, I also followed these two great sites - plenty of info: []
    (Slashcode install on RedHat 8.0 )

    and []
    lottadot []
    • Thanks. Good references.

      My main problem was apparently that LWP would fail one of its tests. Specifically a form test. So it would not install properly. By forcing an install with:

      force install 'LWP'

      it worked ok. That and I started using RH 7.3 as my base. I still have a RH 8 system I can't get going. There are two CPAN packages I install successfully. Then I install anything that depends on them, and those error out saying the prev two packages had problems. Bah!

      I also had to specify perl to hook up with the root mysql user. The slash user would always get denied permission to hook up. I granted it full connect and execute privilages via webadmin, but I was still missing something. Since it worked with root I didn't bother looking harder at it.

      From a base RH 7.3 install, I did something like this:

      perl -MCPAN -e shell
      install 'MD5'
      install 'Digest::MD5'
      install 'Bundle::libnet'
      install 'Bundle::CPAN'
      install 'MIME::Base64'
      force install 'LWP'

      # Webmin
      cd /usr/src
      lwp-download /webmin-1.050-1.noarch.rpm
      rpm -i webmin-1.050-1.noarch.rpm

      cd /usr/src
      lwp-download MySQL-3.23/MySQL-3.23.54a-1.i386.rpm
      lwp-download MySQL-3.23/MySQL-client-3.23.54a-1.i386.rpm
      lwp-d ownload MySQL-3.23/MySQL-devel-3.23.54a-1.i386.rpm
      lwp-do wnload MySQL-3.23/MySQL-shared-3.23.54a-1.i386.rpm
      lwp-d ownload e/slash-2.2.6.tar.gz
      lwp-download olbox/Apachetoolbox-install-1.5.63.tar.gz

      # Uninstall any mysql packages on system.

      # install mysql 3.23.54a-Max
      groupadd mysql
      useradd -g mysql mysql
      cd /usr/src
      rpm -i MySQL-3.23.54a-1.i386.rpm
      rpm -i MySQL-client-3.23.54a-1.i386.rpm
      rpm -i MySQL-devel-3.23.54a-1.i386.rpm
      rpm -i MySQL-shared-3.23.54a-1.i386.rpm

      # Slash
      groupadd slash
      useradd -g slash -d /usr/local/slash slash
      chown slash:slash /usr/local/slash
      chmod a+rx /usr/local/slash
      mysql -u root -p

      CREATE DATABASE slash;
      GRANT ALL ON slash.localhost TO 'slash' IDENTIFIED BY 'slash';

      # If you want to have support for InnoDB tables, you should edit the /etc/my.cnf file and remove the # character before the parameter that starts with innodb_.... See section 4.1.2 `my.cnf' Option Files, and section 7.5.2 InnoDB Startup Options.

      cd /usr/src
      tar xzf Apachetoolbox-install-1.5.63.tar.gz
      cd Apachetoolbox-1.5.63 ./
      # Options 5 and 17
      # NOTE: Config for mod_perl and mod_ssl
      cd apache_1.3.27;make
      make certificate TYPE=test
      make install

      install 'DBD::mysql'
      install 'DBIx::Password'
      install DBI
      install 'Bundle::Slash'

      cd /usr/src
      tar xzf slash-2.2.6.tar.gz
      cd slash-2.2.6
      make install INIT=/etc
      cd /usr/local/slash ./bin/install-slashsite -u slash

      cd /usr/local/apache/conf
      vi httpd.conf
      # Append to file: Include "/usr/local/slash/httpd/slash.conf" /usr/local/apache/bin/httpd -S /usr/local/apache/bin/httpd start
  • Try to install all other packages first and leave DBIx password as the last one. I guess this might solve it.
  • Forcing the install worked for me.

    "How about you interface with my ass? By biting it!" --Bender