On Tue, Jun 22, 2004, F. Even wrote:

Re Frank.

> Thomas Lotterer wrote:
> >On Tue, Jun 22, 2004, F. Even wrote:
> >
> >If the error persists the first actions digging down are a "man
> >strtoll" and a look in libc having that function defined [...]
> 
> That looks to be the problem:
> 
> [EMAIL PROTECTED]:/usr/lib] nm /usr/lib/libc.a | egrep 'T strtoll'
> [EMAIL PROTECTED]:/usr/lib]
> 
> ...and on a 4.7 box:
> bash-2.05b# nm /usr/lib/libc.a | egrep 'T strtoll'
> 00000000 T strtoll
> 
> Is there any way I can fix this short of bringing the box down and
> recompiling everything? Any particular packages I can install? Could I
> attempt to copy the library over from a newer box?
> 
Recompiling won't help because the missing function will be missing
again. Unless you participate in a "longest uptime contest" [1]
upgrading is the way to go, which is especially easy in the FreeBSD
world. Well, risk increases when you previously skipped upgrades for
years ;-) I leave this option for your consideration.

The affected "package" is the OS's libc which is such a integral piece
of the OS that I would never replace that file with a copy taken from
somewhere else.

Unless you're under heavy time pressure I would prefer to fix OpenPKG,
in this particular case "curl". That application is also available
as a separate package which we need to fix and finally import that
fix into the bootstrap. Please try to build the latest CURRENT curl
7.12 [2] package using the latest 1.3 RELEASE bootstrap [3]. Redirect
stdout/stderr to a file and search it for "checking for strtoll". I
have to know whether the detection of strtoll(3) availability fails
or the action in case of a missing strtoll is broken. So far, all of
our systems but hpux11.11 come with that function but both curl and
the bootstrap also work on HP/UX. So I assume the problem is with the
detection. Please send me (not neccessarily the list) the output log
you created.

[1] i.e. http://uptime.netcraft.com/up/today/top.avg.html
[2] ftp://ftp.openpkg.org/current/SRC/curl-7.12.0-20040609.src.rpm
[3] ftp://ftp.openpkg.org/release/1.3/UPD/openpkg-1.3.1-1.3.1.src.rpm

--
[EMAIL PROTECTED], Cable & Wireless
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to