bug-fileutils
[Top][All Lists]
Advanced

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

Re: fileutils 4.0


From: Bob Proulx
Subject: Re: fileutils 4.0
Date: Tue, 16 Jan 2001 12:58:24 -0700

David

> I am having two problems with fileutils 4.0 from
> ftp.gnu.org/pub/gnu/fileutils/fileutils-4.0.tar.gz
[...]
> dircolors.c:40: macro `strndup' used without args

Without digging too deeply into the details it looks like configure
failed to set things up for your system correctly.

Since you are compiling from source I suggest you pull the latest test
release of fileutils and test it on your system.  It has a later
version of the configure utilities and will likely solve your problem.
And if not then that latest version is the one to be debugging.

  ftp://alpha.gnu.org/gnu/fetish/fileutils-4.0.36.tar.gz
  ftp://freefriends.org/gnu/fetish/fileutils-4.0.36.tar.gz

> The second error I have is if I change things to compile with
> -static.
> In fileutils/configure I changed CFLAGS to add -static
> ---- start change ----
>   elif test $ac_cv_prog_cc_g = yes; then
>     CFLAGS="-g -O2 -static"
>   else
>     CFLAGS="-O2 -static"
> ---- end change ----

Hmm...  Instead of changing the configure script directly you should
set CFLAGS as an environment variable outside and then run configure.
My personal preference is to do this all one one command line.

  CFLAGS='-static' ./configure

This sets CFLAGS, exports it for just that one command so that it
won't cause trouble later, and then runs the command, configure.  I am
not sure that will solve your problems completely.  But it is a start.
I tested this on a Linux system with egcs-2.91.66 and glibc-2.1.3 and
everything seemed to work fine.

Bob



reply via email to

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