You are not logged in.
Pages: 1
Edit: the reason was I had it compiling in /tmp which was set as a ram drive and had the noexec mount flag set.
Ok this is really starting to piss me off, a few weeks ago I did something that rendered me unable to compile programs because I keep getting ./configure:permission denied no matter what I change. I'm at a loss of what to do now.
[root@ra ~/heimdall]# makepkg -si --asroot
==> Starting build()...
/root/heimdall/PKGBUILD: line 24: ./configure: Permission denied
==> ERROR: A failure occurred in build().
Aborting...#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
tmpfs /tmp tmpfs nodev,nosuid,size=4G,noexec 0 0
UUID=e7bf512f-aaa6-49e0-9cc5-bbb9b272f213 / ext4 rw,noatime,discard,exec,sync,nouser 0 2
UUID=8e4095f2-a443-4d29-9e06-8a71ea0aadc4 /home xfs suid,dev,discard,sync,exec 0 2
UUID=8e4e2cff-b92b-413e-88b8-b962653064c8 /var/lib/mysql ext3 defaults,noatime,discard,data=ordered 0 2
UUID=27df0f80-1b79-4bf1-ac89-1dc0eb68a149 /mnt/movies xfs user,defaults,noatime,exec 0 2
UUID=450fec66-be30-4245-b81e-857e6169a113 /mnt/stuff ext4 user,defaults,noatime,exec 0 2
UUID=30cd911b-fb5d-4f41-9067-39444c4726d6 /mnt/media xfs user,defaults,noatime,exec 0 2
UUID=61552c0b-5044-41ad-af91-19bd18e5d7fa /mnt/moremedia xfs user,defaults,noatime,exec 0 2How can I fix this?
Last edited by brando56894 (2013-05-25 03:26:08)
Offline
I'm not sure, but could suid interfere with makepkg's permissions?
EDIT: ah, missed this is all done as root not in your /home/
Last edited by Trilby (2013-05-25 02:01:28)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I don't think that's the problem because it happens with root and normal accounts. It's more of a noexec problem I think.
Offline
Is there a reason you're running that as root?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
my home and / partitions are different filesystems, I thought it was an XFS problem but it doesn't work on ext4 either.
Offline
Is it possible ./configure is not executable? If it is, you can add an appropriate line to the PKGBUILD before it is run.
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
I just found out that the problem was/is that these files can be run in /tmp because the noexec mount flag was set, I haven't had a chance to reboot but I did change the directory in /etc/makepkg.conf to /home/bran/makepkg and it compiled just fine.
Offline
Sidenote: never build as root, ever. Both the kenrel and bumblebee, (and probably other proojects), have had bugs in their makefiles that have caused rm -rf / and similar.
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Pages: 1