'make upgrade' deletes /usr/bin/perl5
Jeremy Messenger
mezz7 at cox.net
Tue Jan 25 19:52:16 PST 2005
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
More information about the Bugs
mailing list