Cannot build perl on FreeBSD 8.0

Denis piloyder at gmail.com
Sun Feb 7 20:51:26 UTC 2010


On Sun, Feb 7, 2010 at 10:36 PM, Warren Block <wblock at wonkity.com> wrote:
>>>  You may be running into the situation where something Perl needs can't
>>>  run because of mixed libraries.
>>>
>>>  For the 7-8 major version upgrade, it's usually easier and faster to
>>>  save your pkg_info output, backup /usr/local/etc, and pkg_delete
>>>  everything.  Then update the ports tree and start installing ports from
>>>  scratch.
>>>
>>>  There may be a way to automate that, like feeding the saved pkg_info
>>>  output to portupgrade.  I haven't done it often enough to investigate.
>>
>>        pkg_sort, which is part of portupgrade, is a useful tool.
>
> That's pretty cool:
>
> pkg_info | cut -f 1 -d' ' | pkg_sort
>
> You could just start installing ports at the bottom and work upwards.
>
> The only thing that makes me wonder is that list shows wine above
> xorg-server on my system.

Thank you for your help and useful tips!

The problem was easy - long time ago I made a link in /bin/basename to
/usr/compat/linux/bin/basename .
There for during perl config wrong basename was chosen and lead to the error.

Best regards,
Denis


More information about the freebsd-questions mailing list