by xProgrammer » Sat Jul 28, 2007 12:50 pm
Hi Antonio
I am redoing everything - partly because of misunderstanding about ubuntu install, but I was logged on as a user (I believe) although I had used su to be able to execute and root was the directory it put files into.
That may be all confused but I think the main point is that ./buildx.sh
tutor01.prg found the file and generated a .c file so I think that there is a script issue because ./buildx.sh tutor01 didn't find the file.
Did the above. chmod +x must work differently from chmod o=x because after chmod o=x I could only execute using su - which meant software installed in /root/ but after chmod +x could execute as me.
Needed to chmod +x buildx.sh but previously advised symptoms occurred.
Was now able to edit buildx.sh and changed the line that comiles to c code by inserting .prg after $1 and guerss what - up came a "Hello world".
Very good!
Thanks for all your input.
But I do believe that buildx.sh as supplied is gfaulty and humbly suggest that you check it out because I think my modification (or some other) is required to make it work.tutor01
One further question. I can run tutor01 from the terminal OK - but when it exits I get a sort of terminal screen but its now white on black rather than black on white and less functional. Plus I can't seem to get it to run from the Ubuntu file browser - which strikes me as odd - my little play with Fedora Core I seemed to be able to run apps happily from a file browser.
But I have compiled FiveWin under Linux!!!!!!
Thanks
Doug (xProgrammer)[/list]