Quite a regular
Joined: 2006/12/2 0:35 Last Login
: 1/19 10:37
From Sydney
Group:
Registered Users
|
I have a problem executing Loonix scripts under some conditions.
I am trying to configure GMP in its own drawer. I can configure Kaffe in its drawer, so the problem is not universal.
What happens is that when the script tries to run another instance of 'sh' to run a sub-script, the sub-script can not be found. If I try to run that sub-script from the command line, it also says it can not be found.
eg:
/Java/GMP/gmp-4.2.1> ./configure --build=ppc-amigaos configure: creating cache /dev/null configure: error: cannot run /bin/sh ./config.sub
/Java/GMP/gmp-4.2.1> ./config.sub "config.sub" not found
The permission bits for the files are:
/Java/GMP/gmp-4.2.1> ls -l config*.* -rwxrwxr-x 1 root wheel 23065 2006-05-05 02:36 config.guess -rw-rw-r-- 1 root wheel 15353 2006-05-05 02:50 config.in -rw------- 1 root wheel 4437 2007-01-14 20:44 config.log -rwxrwxr-x 1 root wheel 4127 2006-05-05 02:37 config.sub -rw------- 1 root wheel 1966 2007-01-07 15:41 config.sub.info -rwxrwxr-x 1 root wheel 43636 2006-03-15 01:57 configfsf.guess -rwxrwxr-x 1 root wheel 31164 2006-03-15 01:57 configfsf.sub -rw-rw-r-- 1 root wheel 111778 2006-04-30 09:31 configure.in -rwxrwxr-x 1 root wheel 1073487 2007-01-14 19:20 configure.old
Since this process runs quite well in another directory using other scripts, I suspect it is something to do with the permission bits or sh's treatment of them.
Stack is 5 MB.
Any ideas?
|