DragonFly BSD
DragonFly bugs List (threaded) for 2005-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: 'make upgrade' deletes /usr/bin/perl5


From: Jeremy Messenger <mezz7@xxxxxxx>
Date: Tue, 25 Jan 2005 21:52:16 -0600

Keep in mind, I don't use DragonFly but I have been keep up in the list.

On Tue, 25 Jan 2005 15:54:26 -0800, walt wrote:

> The glib port installs /usr/local/bin/glib-mkenums, which is a
> perl script that depends upon /usr/bin/perl5.

Here in FreeBSD 5.3-STABLE, by default the glib20 in port will install and
have this:

======================================
# grep perl5 /usr/local/bin/glib-mkenums
#!/usr/local/bin/perl5 -w
======================================

Here's correct Perl stuff in /usr/local/bin/.

======================================
# ls -l /usr/local/bin | grep perl
-rwxr-xr-x  1 root  wheel      23793 Dec 29 03:31 find2perl*
-rwxr-xr-x  2 root  wheel      10644 Dec 29 03:32 perl*
lrwxr-xr-x  1 root  wheel         24 Dec 29 03:32 perl5@ -> /usr/local/bin/perl5.8.5
-rwxr-xr-x  2 root  wheel      10644 Dec 29 03:32 perl5.8.5*
-rwxr-xr-x  1 root  wheel      37285 Dec 29 03:31 perlbug*
-rwxr-xr-x  1 root  wheel      17965 Dec 29 03:31 perlcc*
-rwxr-xr-x  1 root  wheel        236 Dec 29 03:31 perldoc*
-rwxr-xr-x  1 root  wheel      11679 Dec 29 03:31 perlivp*
-r-xr-xr-x  1 root  wheel       3489 Dec 29 03:32 use.perl*
======================================

As for in /usr/bin/ that doesn't has any perl5.

======================================
# ls -l /usr/bin | grep perl
lrwxr-xr-x   1 root  wheel        19 Jan 22 20:37 perl@ -> /usr/local/bin/perl
lrwxr-xr-x   1 root  wheel        19 Jan 22 20:37 perl5.8.5@ -> /usr/local/bin/perl
lrwxr-xr-x   1 root  wheel        23 Jan 22 20:37 suidperl@ -> /usr/local/bin/suidperl
======================================

> The problem is that 'make upgrade' deletes /usr/bin/perl5, so
> any perl script depending on /usr/bin/perl5 will fail.
> 
> Could 'make upgrade' include a warning about perl5 instead of
> deleting it, perhaps?

I personal would run 'make upgrade', 'use.perl port' and rebuild
everything that depend on Perl if old Perl was deleted from the base
system.

Cheers,
Mezz



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