pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/30235: IRIX: libtool on IRIX calls non-existent 'ranlib'
>Number: 30235
>Category: pkg
>Synopsis: IRIX: libtool on IRIX calls non-existent 'ranlib'
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun May 15 16:48:00 +0000 2005
>Originator: Jared D. McNeill
>Release: IRIX 6.5.26m IP32
>Organization:
>Environment:
IRIX iris 6.5 10060437 IP32
>Description:
libtool attempts to call 'ranlib' on IRIX, which doesn't exist. This will cause
many packages (archivers/bzip2 in my case) to fail to build.
>How-To-Repeat:
Try to build libtool on IRIX.
>Fix:
Not sure if this is the proper fix, but it worked for me. In
/usr/pkg/bin/libtool, change:
RANLIB="ranlib"
to:
RANLIB="ar -crs"
Note that IRIX 'ar' doesn't allow the '-s' flag to ar unless paired with
another operation. From the man page:
-s Makes an archive-symbol-table file in the archive. The -s option
is automatically added when any of the options -d, -m, or -r is
requested.
If you specify -s, the archiver creates the archive-symbol-table
file as its last action before finishing execution. You must
specify at least one other archive option (m, p, d, r, or t) when
you use the -s option.
We might be able to get away with setting RANLIB=/usr/bin/true on IRIX also.
Home |
Main Index |
Thread Index |
Old Index