[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-sourceinstall] Problem on Interix 3.5
From: |
Claudio Fontana |
Subject: |
Re: [bug-sourceinstall] Problem on Interix 3.5 |
Date: |
Sat, 28 Apr 2007 22:05:00 +0200 |
On 4/26/07, Kaz Sasayama <address@hidden> wrote:
I just happened to know this program this week and tried it on Interix (a POSI
X subsystem in Windows Services for UNIX 3.5). Compilation went smooth but it
did not work as it could not know the current working directory.
By tracing its execution, it just failed in getcwd function. Interix's getcwd
function cannot be used as 'getcwd (NULL, 0)' and libsrcinst's configure scri
pt builds a replacement version, but it also fails because 'opendir ("..")' fa
ils mysteriously on Interix.
I do not know what is the right fix for this problem, but if I managed sourcei
nstall to use the system's version, it worked fine for me.
If opendir("..") fails on your system, and it is not a permissions problem,
then your would-be POSIX system is broken in that aspect too.
Sourceinstall uses gnulib replacement modules, so if you care enough to
contribute a workaround for your system, you should contact
address@hidden
You can fetch gnulib CVS following these instructions:
http://savannah.gnu.org/cvs/?group=gnulib
Create a test directory using "./gnulib-tool --create-testdir --with-tests"
execute it on Interix, and report the failed compilations and unit tests.
Claudio