osx - ./xsum: Permission denied make: *** [xsum.out] Error 126 -


i trying insall f2c/f77 compiler on mac osx using instructions given http://www.webmo.net/support/fortran_osx.html , following error :

./xsum: permission denied   make: *** [xsum.out] error 126 

please , in installation misses create : /usr/local/bin/f2c

i followed folowing :

chmod +x install_f2c_osx.csh sudo ./install_f2c_osx.csh 

ps : install_f2c_osx.csh contains following code :

`#! /bin/csh setenv install /usr/local curl "http://netlib.sandia.gov/cgi-bin/netlib/netlibfiles.tar?filename=netlib/f2c" -o       "f2c.tar" tar -xvf f2c.tar gunzip -rf f2c/* cd f2c mkdir libf2c mv libf2c.zip libf2c cd libf2c unzip libf2c.zip cp makefile.u makefile make cp f2c.h $install/include cp libf2c.a $install/lib cd ../src cp makefile.u makefile make cp f2c $install/bin cd .. mkdir -p $install/share/man/man1 cp f2c.1t $install/share/man/man1 cp fc $install/bin/f77 chmod +x $install/bin/f77 cd .. rm -rf f2c echo "==================summary==================" echo $0 " has built , installed:" find $install -name '*f2c*' -mmin -5 find $install -name '*f77*' -mmin -5 

i had same issue (on centos 6.5) , managed solve inserting 'chmod' 'xsum' after unpacking steps in installation script.

my full answer , fixed centos 6.5/macosx installation scripts (for identical question) on @ superuser.com:

https://superuser.com/questions/772891/xsum-permission-denied-make-xsum-out-error-126/853115#853115

it should require identical 'chmod' having same issue.

just cross-posting avoid people thinking there's no solution permissions issue.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -