A forum for Spin users
You are not logged in.
Hello all,
Great topic and thanks all.
I installed ispin and coped it to /usr/local/bin, I get this :
-bash: /usr/local/bin/ispin: Permission denied
Can any one help ?
Offline
looks like it is not executable, or you don't have the permission bits set right.
try:
chmod 777 /usr/local/bin/ispin
(you will probably have to prefix this with 'sudo' and will need root privilege on your machine to do it).
Offline
Thank you very much, it's working now.
Offline
I was looking for the same thing, thanks for posting guys, I was pretty much stuck:)
Offline
Hi, I am new to Spin and I installed it recently quite easily on my MacBook. However when I execute the C program generated from pan.c I get the error "spin: error, the version of spin that generated this pan.c assumed a different wordsize (4 iso 8)". Could you help me repair this mismatch? I don't know where to start from.
Thanks,
Maria
Offline
I realised I used different compilers in the makefile (cpp) and for compiling the pan.c (cc). I recompiled the sources with gcc and I don't get the error anymore.
Offline
Another newbie trying to install on a Mac...
When executing the the make file I'm getting the following warnings:
yacc -v -d spin.y
/usr/bin/gcc -c y?tab.c
rm -f y?tab.c
mv y?tab.o spin.o
/usr/bin/gcc -O2 -ansi -DNXT -D_POSIX_SOURCE -Wno-format-security -c -o spinlex.o spinlex.c
/usr/bin/gcc -O2 -ansi -DNXT -D_POSIX_SOURCE -Wno-format-security -c -o sym.o sym.c
/usr/bin/gcc -O2 -ansi -DNXT -D_POSIX_SOURCE -Wno-format-security -c -o vars.o vars.c
/usr/bin/gcc -O2 -ansi -DNXT -D_POSIX_SOURCE -Wno-format-security -c -o main.o main.c
main.c: In function ‘non_fatal’:
main.c:547: warning: format not a string literal and no format arguments
main.c:547: warning: format not a string literal and no format arguments
/usr/bin/gcc -O2 -ansi -DNXT -D_POSIX_SOURCE -Wno-format-security -c -o ps_msc.o ps_msc.c
/usr/bin/gcc -O2 -ansi -DNXT -D_POSIX_SOURCE -Wno-format-security -c -o mesg.o mesg.c
mesg.c: In function ‘sr_mesg’:
mesg.c:574: warning: format not a string literal and no format arguments
mesg.c:574: warning: format not a string literal and no format arguments
/usr/bin/gcc -O2 -ansi -DNXT -D_POSIX_SOURCE -Wno-format-security -c -o flow.o flow.c
.....
any clue of what I'm doing wrong?
Offline
nothing wrong -- those warnings are expected -- note that compilers get better about checking code all the time. in this case the warning is innocent. the compiler should have suppressed the warning, given the explicit flag -Wno-format-security, but not all compilers recognize this option.
your compilation created a good executable though
Offline
My first time come here,Thank you extremely substantially for the help out with this particular regard. i am not extremely substantially familier while using Terminal but just utilize it for some amount to manage the mac properly.
Last edited by luseryobama (2012-03-28 08:39:00)
Offline