![]() |
trouble running amaya slackbuild
I got an error running the amaya slackbuild script from slackbuilds.org.
Here are the last few lines before the error: Code:
Amaya11.3.1/freetype/src/autofit/afhints.hCode:
mkdir -p Amaya/build |
chmod +x amaya.SlackBuild
|
The configure script inside the source tarball probably lacks the executable permission.
Try prepending it with sh to force the shell to read it: Code:
sh ../configure [...] |
Quote:
Quote:
Code:
Amaya11.3.1/freetype/src/autofit/afglobal.hCode:
configure:2400: gcc -v >&5I wonder if this is being caused by my recent change to how /tmp is mounted? That's where the SBo directory is located. I added this line to fstab and rebooted right before running this SlackBuild. Code:
tmpfs /tmp tmpfs defaults,noexec,nosuid,mode=1777 0 0In the meantime, I changed the TMP and OUTPUT directories in the SlackBuild script to point to another directory instead of to /tmp, and that worked. So it does seem that either the noexec or nosuid or the fact that I added /tmp to fstab (it wasn't there before) caused the problem. Thank you all for your help. |
You don`t have glibc installed.
|
glibc is installed. See my previous post. The problem must be related to my addition of /tmp to fstab. I got it to work by changing the TMP and OUTPUT directories in the SlackBuild to point them outside of /tmp.
Code:
i@am:/var/log/packages$ ls -al glibc* |
Quote:
|
That must be it. The configure file was copied to a directory under /tmp, then the SlackBuild attempted to execute it there.
I've come across a number of recommendations for giving /tmp the noexec attribute, but I think it will cause me more problems than it solves, so I'm going to take it back off. I could avoid using /tmp for SlackBuilds, but there may be other things that use it for executables. |
| All times are GMT -5. The time now is 02:36 AM. |