You are not logged in.
Pages: 1
I'm creating a PKGBUILD for alpino. To build alpino, it needs, among other things, /usr/lib/swipl-5.10.1/library/dialect/sicstus/swipl-lfr.pl from the swi-prolog package. However, to use such prolog files as they do in the Makefile, e.g:
swipl /usr/lib/swipl-5.10.1/library/dialect/sicstus/swipl-lfr.pl <args>
the swipl-lfr.pl needs to be executable, which it isn't. Is there a way to achieve this in a PKGBUILD? i.e. how can I give executable rights to swipl-lfr.pl?
p.s. If the file is executable, alpino builds just fine.
Offline
My guess is that the easiest way is to file a bug report to get it made executable....
Offline
That has crossed my mind as well. To run a prolog file, by definition it has to be executable (makes sense so far). However, that means you can say the same for all the 1719 pl files included in swi-prolog? When taking a look at the rpm package provided by swi-prolog, none of these files are executable which leads me to think they're may be a better solution.
Offline
You could always chmod within the PKGBUILD. Hacky, and will fail if stuff gets moved around.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
You should not be able to chmod a file on your system from within a PKGBUILD.
Offline
Filed bug report: https://bugs.archlinux.org/task/20873
Offline
Pages: 1