bug-textutils
[Top][All Lists]
Advanced

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

Re: Cygwin specific textutils questions/patch


From: Matthew Smith
Subject: Re: Cygwin specific textutils questions/patch
Date: Thu, 13 Sep 2001 17:39:59 -0500

> > 1) I had to change src/Makefile (generated using
./configure --prefix=usr),
> > so that the INSTALL line used /usr/bin/install -c (like it did in 2.0).
>
> Why?

When a "make install" is done under cygwin, there are errors when temp file
names are changed to the actual names of the binaries.  I'm not sure if this
is a cygwin bug, or if it's an underlying problem with the windows mechanism
that cannot be worked around.  At any rate, using "/usr/bin/install -c" does
work.  Below is an idea of what I'm talking of:

-rwxr-xr-x    1 matts    Domain U   462089 Sep 13 17:36 #inst.1576#.exe
-rwxr-xr-x    1 matts    Domain U   560858 Sep 13 17:36 #inst.1596#.exe
-rwxr-xr-x    1 matts    Domain U   451550 Sep 13 17:36 #inst.1672#.exe

> > 2) Why is locale stuff put in prefix/lib now, instead of prefix/share?
Is
> > there some easy way to change this during the build process?  This
problem
> > is currently keeping me from releasing a new version of textutils on
cygwin.
>
> I don't know.  I suggest you ask on one of the autoconf or
> gettext-related mailing lists.

Ok, will do.

> Why do you need to include this file?
>
>   #include <sys/fcntl.h>

You are correct, this was an extraneous header file, my apologies.  It
appears that depending on a define, either fcntl.h or sys/file.h are
included in system.h.  O_TEXT will be properly defined if either is
included.

cheers,
-Matt Smith
cygwin textutils maintainer




reply via email to

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