DragonFly BSD
DragonFly kernel List (threaded) for 2004-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: perl and can't locate DBI module ?


From: "Sarunas V." <vsarunas@xxxxxxxxxx>
Date: Mon, 19 Jul 2004 11:27:11 +0100

On 12:47, Sun 18 Jul 04, Justin C. Sherrill wrote:
> rmkml wrote:
> 
> > rename i386-freebsd to i386-dragonfly on installed program ?
> 
> Did you install DBI via ports, via package, via CPAN, or some other way?
> 
> If it was installed via port/package, it could be assuming that
> 'i386-freebsd' is part of the path and hardcoding it so.  I'm not
> intimately familiar with Perl's module installation.  Do you get the same
> errors with any other Perl modules that aren't built in?  

I get similar problems for other perl programs installed via
freebsd ports, when I try to remove them with:

#pkg_delete package_name
or 
#cd /usr/ports/package-category/package-name; make deinstall.

The problem is, that ports db assumes the the modules are
located in
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd, where
in fact they were installed in
/usr/local/lib/perl5/site_perl/5.005/i386-dragonfly.

As rmkml said, a possible solution is just to symbolic link
i386-freebsd to i386-dragonfly. 

Is there a need for a shell script in a base system, which
automatically symbolic links freebsd dir to dragonfly with
every installworld? Or is there a better solution?

--
Sarunas Vancevicius



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]