Wyn Snow said:
> I am stymied and stumped in attempting to get the DBI modules working and
> accessible on my Debian Linux system. If someone can help me, please email
>  me at [EMAIL PROTECTED]
>
> I have downloaded the following files from mysql.com:
>
> Data-Dumper-2.101.tar.gz
> DBI-1.18.tar.gz
> Msql-Mysql-modules-1.2216.tar.gz

you need not do this, simply:

apt-get install libdbi-perl libdbd-mysql-perl

from the looks of it, data-dumper is part of perl-base which is
installed by default.

> I put them in the [I think it was] /etc/lib/perl5/5.005/ directory.
>
> I gunzipped and tar -xvf'd the .tar.gz files and then cd'ed into the
> appropriate directories and did perl Makefile.PL, but then make refuses to
>  cooperate, saying that cc is not installed on my system.

take out all of those files, that is a very bad idea, if you want to
install 3rd party modules extract them somewhere neutral such
as /usr/src or /tmp or your home directory etc. Running perl Makefile.PL
will automatically configure them to be installed in the "normal" place
which is usually /usr/local/lib/perl(something). Debian comes with
a TON of perl modules(a crude apt-cache search reveals over 400 packages).
Of course most are not installed by default because many systems do not
need them. Of course to compile perl modules you will need a development
enviornment to compile them! Debian does not install this by default
either since most systems don't use it. It is very easy to install
though, I reccomend using tasksel to install it if you don't know the
names of the packages.


> Apache
> a web browser (I'd be glad to use Netscape, but the only browser I can get
>  to work is lynx)
> Perl
> DBI
> MySQL
>
> Right now, I have everything working except DBI. And it has been a
> challenge, every step of the way. I am not a happy camper.

it takes a bit to get used to, but debian is far easier to manage in
the long run then any other OS I have used in my experience(IMO of
course). I have used approx 15 different unix and linux variants as
well as OS/2 and win32 variants etc..

apt is your friend though, use apt-get, and apt-cache, also use
packages.debian.org. If you know a filename but don't know what
package it's in(or if its available) the website will tell you.
I get frustrated by redhat because it lacks so many packages making
me have to go to 3rd parties for them. For basic installs this
isn't a big deal, but for maintaining a system long term this is
a real hassle to have to deal with. some quick examples off the
top of my head are webmin, libnet-ssleay, Mail::sendmail, Network
UPS tools. Of course these may be in redhat 8.0, I am running 7.3
on my server, being on the redhat mailing list it seems 8.0 isn't
ready for me yet.

nate


nate






-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to