From: "Juan Manuel Guerrero" Organization: Darmstadt University of Technology To: djgpp-workers AT delorie DOT com Date: Fri, 7 Apr 2000 19:47:58 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: trouble with prefix X-mailer: Pegasus Mail for Windows (v2.54DE) Message-ID: <49829B6A7F@HRZ1.hrz.tu-darmstadt.de> Reply-To: djgpp-workers AT delorie DOT com 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.