zsh-workers
 help / color / mirror / code / Atom feed
* configure on linux
@ 1996-07-08 16:11 John Guthrie
  1996-07-08 16:32 ` Zoltan Hidvegi
  0 siblings, 1 reply; 3+ messages in thread
From: John Guthrie @ 1996-07-08 16:11 UTC (permalink / raw)
  To: zsh-workers

zsh-3.0-pre2 compiles fine on linux, with a few warnings.  However, for the
past several releases, configure has always failed to successfully determine
that lstat is in fact on my system.  Here are the relevant lines from
config.log:

configure:2608: gcc -o conftest  -Wall -Wno-implicit -Wmissing-prototypes -O2 -D
DEBUG   conftest.c  -ltermcap 1>&5
configure:2594: warning: no previous prototype for `t'
/tmp/cca074981.o(.text+0x14): undefined reference to `lstat'

For the time being, I can always just change my config.h file after running
configure, but where would I look for a more permanent solution.  (I.e., should
I be looking in configure, or do I wnat to go to autoconf?)

John Guthrie
guthrie@math.upenn.edu



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: configure on linux
  1996-07-08 16:11 configure on linux John Guthrie
@ 1996-07-08 16:32 ` Zoltan Hidvegi
  0 siblings, 0 replies; 3+ messages in thread
From: Zoltan Hidvegi @ 1996-07-08 16:32 UTC (permalink / raw)
  To: John Guthrie; +Cc: zsh-workers

> zsh-3.0-pre2 compiles fine on linux, with a few warnings.  However, for the
> past several releases, configure has always failed to successfully determine
> that lstat is in fact on my system.  Here are the relevant lines from

It seems that you did not read Etc/MACHINES despite the note at the very
beginning of the README.  I quote the relevant part:

Linux:  If you are using an early minor version of libc 5, then a bug
        in the auto-configuration process may cause zsh to think that
        your system doesn't support the lstat function.  If the
        configure process reports that there is no lstat, edit
        config.h and change HAVE_LSTAT to 1.
        libc-5.2.18 or later does not have this problem.

Perhaps you use libc-5.0.9.  It is really time to upgrade now, especially
if you want to use Linux-2.0.  I think it is very unlikely that autoconf
will be fixed so if you do not want to upgrade your libc, manually editing
config.h seems to be the only solution.  As an alternative you may edit
config.cache and change ac_cv_func_lstat='no' to ac_cv_func_lstat='yes'.
Next time when configure finds this cache in the current directory it will
use the information provided there.

Zoltan



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: configure on linux
@ 1996-07-08 19:01 guthrie
  0 siblings, 0 replies; 3+ messages in thread
From: guthrie @ 1996-07-08 19:01 UTC (permalink / raw)
  To: zsh-workers

Zoltan Hidvegi <hzoli@cs.elte.hu> wrote:

> > zsh-3.0-pre2 compiles fine on linux, with a few warnings.  However, for the
> > past several releases, configure has always failed to successfully determine
> > that lstat is in fact on my system.  Here are the relevant lines from
>
> It seems that you did not read Etc/MACHINES despite the note at the very
> beginning of the README.  I quote the relevant part:

A case of RTFM.  I guess after having used zsh for so long on several different
machines, that you forget to look at those files every now and then.  Editing
the config.h worked.

Thanks.

John Guthrie
guthrie@math.upenn.edu



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1996-07-08 19:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-07-08 16:11 configure on linux John Guthrie
1996-07-08 16:32 ` Zoltan Hidvegi
1996-07-08 19:01 guthrie

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).