[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error in libfetish.a
From: |
Bob Proulx |
Subject: |
Re: Error in libfetish.a |
Date: |
Fri, 30 Jan 2004 11:20:08 -0700 |
User-agent: |
Mutt/1.3.28i |
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