Mail Archives: djgpp-workers/2000/04/07/14:01:32
I don't know if anybody else have noticed
that it has become IMPOSSIBLE to run the
install target of gnu makefiles.
To make this point clear:
Suppose the path that should be created by the install target is:
/dev/env/DJDIR/foo
The install target usualy invokes the file mkinstalldirs which
invokes mkdir form fileutils. mkinstalldirs splits the above path
into:
dev env DJDIR foo
and now mkdir REALLY tries to create everyone of the above
directories step by step. In the root dir a /dev dir is created
and then mkinstalldirs or mkdir breaks when it tries to create
the subdir /env.
Once again, neither mkdir nor ginstall understand the prefix:
/dev/env/DJDIR
and they do not replace the prefix by its appropiate value. This
implies that no user can run an install target from a makefile
that uses the above prefix if he does not recompile fileutils
BEFORE using mkdir.
This shows that at least fileutils should be recompiled with libc 2.03
and uploaded to simtelnet.
For mkinstalldirs i have used a brute force solution
and inserted a sed command that will substitute:
/dev/env/DJDIR -> ${DJDIR}
/dev/x -> x:
This is needed even if fileutils are recompiled
with libc 2.03 because mkinstalldirs creates the
path directory by directory.
Regards,
Guerrero, Juan M.
- Raw text -