bug-coreutils
[Top][All Lists]
Advanced

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

RE: Error in libfetish.a


From: John D. Ballentine III
Subject: RE: Error in libfetish.a
Date: Fri, 30 Jan 2004 11:02:55 -0800

OK, I misunderstood the install instructions.  From the INSTALL file:
"1. `cd' to the directory containing the package's source code and type
     `./configure' to configure the package for your system. "

I thought it meant I should go to ...coreutils-5.0/src and configure and
then make from there, and I was puzzled as to why I had to use
"../configure"...  

OK, now I am getting the following error when I do the make from the
"coreutils-5.0" directory:

# make
No suffix list.
        make  all-recursive
No suffix list.
Making all in lib
        make  all-am
        source='human.c' object='human.o' libtool=no \
        depfile='.deps/human.Po' tmpdepfile='.deps/human.TPo' \
        depmode=gcc /bin/sh ../config/depcomp \
        gcc -DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H -I. -I. -I.. -I..
-I.
  -g -O2 -c `test -f 'human.c' || echo './'`human.c
human.c: In function `adjust_value':
human.c:111: parse error before `l'
human.c:114: `u' undeclared (first use this function)
human.c:114: (Each undeclared identifier is reported only once
human.c:114: for each function it appears in.)
human.c: At top level:
human.c:117: parse error before `return'
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.

Thanks!
John D. Ballentine III


-----Original Message-----
From: address@hidden [mailto:address@hidden
Sent: Friday, January 30, 2004 10:20 AM
To: John D. Ballentine III
Cc: address@hidden
Subject: Re: Error in libfetish.a


John D. Ballentine III wrote:
> I have downloaded the coreutils 5.0 package, and I am trying to compile it
> on a HP-UX 10.20 system.

It should work fine there.

> Specifically, I am trying to get the "tail" utility, but it doesn't
> make any difference if I just try and compile it or the whole
> package.

Hopefully you are starting with the whole package first.  Or at least
the libraries.

>  Here is the output I am getting:
> 
>  make tail
>         source='tail.c' object='tail.o' libtool=no \
>         depfile='.deps/tail.Po' tmpdepfile='.deps/tail.TPo' \
>         depmode=gcc /bin/sh ../config/depcomp \
>         gcc -DLOCALEDIR=\"/usr/local/share/locale\"
> -DSHAREDIR=\"/usr/local/share\" -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -I..
> -I../lib -I../lib     -g -O2 -c `test -f 'tail.c' || echo '../'`tail.c
> Make: Don't know how to make ../lib/libfetish.a.  Stop.

The lib should be made before making tail.  This will happen if doing
a make at the top level directory.  At the very least you would need
to run make in the lib directory first.

A typical build will go like this:

  tar xzvf coreutils-X.Y.tar.gz
  cd coreutils-X.Y
  ./configure
  make
  make check

It looks to me like you are not doing a top level make but instead
moving into the ./src directory and doing the make there, skipping the
lib building step.  I would go ahead and build everything even if you
don't install everything.  The build can take a little while on slower
machines and some patience may be required.  But that is the simplest
course of action.  That is the path which is the most well tested.

Bob


reply via email to

[Prev in Thread] Current Thread [Next in Thread]