I've been trying, off and on, for a week to get various utilities to compile from source. I've gotten a pretty consistent error that I've worked around, but I've still been unable to get any configure script to complete without error. I went back to a script I know worked and even it failed.
The error I worked around was this: bad interpreter: Permission denied
The she-bang line just failed. If I ran "sh configure" it would work only to have configure fail later in the run.
I wrote a little test:
#!/bin/sh
echo "This worked"
exit
It failed with the same error.
THEN I remembered. When I rebuilt the hard drive partitions on this machine a few months ago, I made a separate file system for the development stuff. I ran mount.
Yep. There was my development file system mounted "noexec." I have no idea why that was so. I changed the fstab entry to explicitly allow exec and rw. Now all is fine.
Well all is back to normal. I'm still compiling other people's code that spits a mile of warnings at me about signedness and ptr type problems. Doesn't anyone try to write clean code?
Anyway, I feel like an idiot.
The error I worked around was this: bad interpreter: Permission denied
The she-bang line just failed. If I ran "sh configure" it would work only to have configure fail later in the run.
I wrote a little test:
#!/bin/sh
echo "This worked"
exit
It failed with the same error.
THEN I remembered. When I rebuilt the hard drive partitions on this machine a few months ago, I made a separate file system for the development stuff. I ran mount.
Yep. There was my development file system mounted "noexec." I have no idea why that was so. I changed the fstab entry to explicitly allow exec and rw. Now all is fine.
Well all is back to normal. I'm still compiling other people's code that spits a mile of warnings at me about signedness and ptr type problems. Doesn't anyone try to write clean code?
Anyway, I feel like an idiot.
no subject
I so hear your pain.
I've been poking through other people's code all summer --- and I bemoan their lack of self-documentation.