AFP548 Changing the world one server at a time.

rient

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: DBD installation issues #368556
    rient
    Participant

    Problem Solved!

    Give stuff like ActivePerl and Fink a go but not at no avail…
    I ended up making them modules myself.

    Steps taken:

    Download the mysql source code and compiled a mysql (without server) to make libraries only available for DBD.

    cd /usr/local/src/mysql-4.1.22
    
    ./configure --without-server --prefix=/usr/local/src/mysql-4.1.22
    
    make 
    
    make install

    Note: make install generates quite a few errors which can be ignored. We only need them libraries…

    Downloaded and created DBI

    cd  /usr/local/src/DBI-1.51
    
    perl Makefile.PL
    
    make && make test
    
    make install

    Downloaded and created DBD using the previously compiled mysql libraries

    cd /usr/local/src/DBD-mysql-3.0008
    
    perl Makefile.PL --libs="-L/usr/local/src/mysql-4.1.22/lib/mysql 
    -lmysqlclient -lz -lm" –cflags="-I/usr/local/src/mysql-4.1.22/include/mysql"
    
    make && make test
    
    make install

    Okay, all systems are go!

Viewing 1 post (of 1 total)