Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Nov 2003 19:28:45 -0800
From:      Pat Lashley <patl+freebsd@volant.org>
To:        Adam Weinberger <adamw@FreeBSD.org>, Oliver Eikemeier <eikemeier@fillmore-labs.com>
Cc:        Vivek Khera <khera@kcilink.com>
Subject:   Re: ports containing perl modules go into /lib instead of	/usr/local/lib
Message-ID:  <1571008112.1068521325@mccaffrey.phoenix.volant.org>
In-Reply-To: <20031110011854.GD43349@toxic.magnesium.net>
References:  <16294.34255.356451.725973@yertle.int.kciLink.com> <20031110003359.GB43349@toxic.magnesium.net> <3FAEE4E3.7000702@fillmore-labs.com> <20031110011854.GD43349@toxic.magnesium.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--On Sunday, November 09, 2003 20:18:54 -0500 Adam Weinberger 
<adamw@FreeBSD.org> wrote:

>>> (11.09.2003 @ 2007 PST): Oliver Eikemeier said, in 0.7K: <<
>> Adam Weinberger wrote:
>> >
>> > Does anybody have any thoughts on this issue? I'd really like to have a
>> > solution in the archives about this.
>> >
>> >> For a while now, it seems that ports containing perl modules (such as
>> >> ImageMagick, rrdtool, and net-snmp to name a few) install the perl
>> >> components into /lib/perl5 instead of /usr/local/lib/perl5 like they
>> >> should (and as the pkg-plist expects).
>>
>> Do we know how to reproduce this (i.e. 4.9-STABLE with lang/perl5 port)?
>>> end of "Re: ports containing perl modules go into /lib instead of
>>> /usr/local/lib" from Oliver Eikemeier <<
>
> I honestly don't know what the trigger is. It works fine on all of my
> boxes, but this symptom appears on a friend's box. He and I both run
> 4-STABLE with perl5.8 installed. I'm looking into it some more, but I'm


Could the problem lie in the contents of his Config.pm file?  Note
that there may be multiple copies of Config.pm.  For the ports-installed
versions, it should be in /usr/local/lib/perl5/<version>/mach/  For
the bundled version check /usr/libdata/perl5/5.00503/(mach/)

If he has both bundled and port-installed versions of perl installed,
it is possible that the wrong one is being used for the installs that
are going into the wrong place.


> curious if others have come across -- and fixed -- this problem.

I haven't seen this exact problem, or similar problems on FreeBSD; but
on Solaris I often run into Config.pm related problems when perl was
installed from a binary package downloaded from one of the standard sites
for open source packages to run on Sun systems.  The usual problem is
that the compiler and linker options are set for the Sun compilers but
the installed system uses gcc.



-Pat



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1571008112.1068521325>