Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jun 2011 14:19:46 -0400 (EDT)
From:      doug <doug@fledge.watson.org>
To:        Michael Powell <nightrecon@hotmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Installing X11 gives perl version conflict
Message-ID:  <alpine.BSF.2.00.1106241419110.93756@fledge.watson.org>
In-Reply-To: <iu29tm$mp1$1@dough.gmane.org>
References:  <20110624051018.320540@gmx.com> <86k4cbnv2u.fsf@red.stonehenge.com> <alpine.BSF.2.00.1106241050560.93347@fledge.watson.org> <iu29tm$mp1$1@dough.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help


On Fri, 24 Jun 2011, Michael Powell wrote:

> doug@safeport.com wrote:
>
>> On Fri, 24 Jun 2011, Randal L. Schwartz wrote:
>>
>>>>>>>> "Dieter" == Dieter BSD <dieterbsd@engineer.com> writes:
>>>
>>> Dieter> Attempt to install package xf86-video-fbdev-0.4.2.tbz
>>> Dieter> gives conflict between perl-5.10.1_3 and perl-5.12.3
>>> Dieter> even when installing into clean directory tree.
>>>
>>> Packages seem like a great idea when you get started, but they're all
>>> built with the default configs, and those don't necessarily line up.
>>>
>>> Always build from source.  Always build from source.
>>>
>>> When you installed 5.12 Perl, it put a marker in /etc/make.conf such
>>> that had you built the xf86-video-fbdev from source, it would have
>>> depended on 5.12 Perl, not the 5.10 Perl baked in to the default
>>> package.  Do that, and all will be well.
>>>
>>> Yes, I had to learn this the hard way a year ago, so now I pass along
>>> that knowledge. :)
>>>
>> I had the same error. Can the Make files either have this as a warning or
>> change the dependency to be any Perl5, or whatever the 'real' dependency
>> is? This was not an issue before Perl was removed from the base system and
>> Xorg was split into its 200 (or so) component parts.
>>
>
> Read /usr/ports/Mk/bsd.perl.mk. I think mostly many of the variables
> contained within may be set in /etc/make.conf and can be picked up at build
> time by make. Particularly interesting were PERL_VERSION, PERL_PORT, and
> USE_PERL, for example. Reading down into the contents will point to how the
> variables get used.
>
C o  o   l    -  thanks Mike



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