We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
Build Problems (Read 5515 times)
Build Problems
Oct 2nd, 2006, 7:38pm
 
I've just tried following the build instructions on dev.processing.org, but get the following errors when running make.sh on windows:

$ ./make.sh
: command not found
: command not found
: command not found
./make.sh: line 211: syntax error near unexpected token `else'
'/make.sh: line 211: `  else

Any advice is much appreciated.
Re: Build Problems
Reply #1 - Oct 2nd, 2006, 8:08pm
 
Still don't know why it doesn't work, but realized I only need to update my core.jar, so I'm just doing that manually.
Re: Build Problems
Reply #2 - Oct 6th, 2006, 12:32am
 
have you installed quicktime? if so, which version?
Re: Build Problems
Reply #3 - Aug 26th, 2008, 11:49am
 
hi,
i got this errors on windows too when i execute the make.sh on cygwin;

./make.sh: line 2: $'\r': command not found
./make.sh: line 3: $'\r': command not found
./make.sh: line 5: $'\r': command not found
./make.sh: line 214: sysntax error near unexpected token 'else'
'/make.sh: line 214: 'else

quicktime 7 intstalled on my laptop and i just want to try marius watz framerate() hack.

thank you, good day
Re: Build Problems
Reply #4 - Oct 20th, 2008, 8:22pm
 
I'm having this problem too, is there a solution?

Thanks,
Justin
Re: Build Problems
Reply #5 - Oct 20th, 2008, 8:24pm
 
Incase anyone else has the problem, I needed to change the line endings from windows to UNIX mode.
Re: Build Problems
Reply #6 - Oct 20th, 2008, 8:32pm
 
jmatejka wrote on Oct 20th, 2008, 8:24pm:
Incase anyone else has the problem, I needed to change the line endings from windows to UNIX mode.


Which is stated in the build instructions:

** and be sure to leave the option selected for 'unix line endings'

Did you do that when you installed Cygwin Or did Subversion just ignore this setting and check out a CRLF version
Re: Build Problems
Reply #7 - Dec 8th, 2009, 12:45am
 
Hay i gpt over my previous error however now i got a new whole punch of error so would you guys please help me i got quicktime 7, on windows vista 64-bit, and in the Cygwin the Unix line ending was selected how i got these errors when running the ./make.sh
$ ./make.sh
Building processing.core...
./make.sh: line 91: zip: command not found
./make.sh: line 144: cd: app: No such file or directory
javac: file not found: src\processing\app\*.java
Usage: javac <options> <source files>
use -help for a list of possible options
./make.sh: line 169: zip: command not found
Building serial library...
src\processing\serial\Serial.java:26: package processing.core does not exist
import processing.core.*;
^
src\processing\serial\Serial.java:37: cannot find symbol
symbol  : class PApplet
location: class processing.serial.Serial
 PApplet parent;
 ^
src\processing\serial\Serial.java:93: cannot find symbol
symbol  : class PApplet
location: class processing.serial.Serial
 public Serial(PApplet parent) {
               ^
src\processing\serial\Serial.java:97: cannot find symbol
symbol  : class PApplet
location: class processing.serial.Serial
 public Serial(PApplet parent, int irate) {
               ^
src\processing\serial\Serial.java:101: cannot find symbol
symbol  : class PApplet
location: class processing.serial.Serial
 public Serial(PApplet parent, String iname, int irate) {
               ^
src\processing\serial\Serial.java:105: cannot find symbol
symbol  : class PApplet
location: class processing.serial.Serial
 public Serial(PApplet parent, String iname) {
               ^
src\processing\serial\Serial.java:109: cannot find symbol
symbol  : class PApplet
location: class processing.serial.Serial
 public Serial(PApplet parent, String iname, int irate,
               ^
7 errors
./make.sh: line 198: zip: command not found
cp: cannot stat `library/serial.jar': No such file or directory
Building net library...
./make.sh: line 204: cd: ../net: No such file or directory
./make.sh: line 207: ../build/windows/work/java/bin/java: No such file or direct
ory
./make.sh: line 211: zip: command not found
cp: cannot stat `library/net.jar': No such file or directory
Building video library...
Found Quicktime 7 installation
./make.sh: line 232: cd: ../video: No such file or directory
./make.sh: line 235: ../build/windows/work/java/bin/java: No such file or direct
ory
./make.sh: line 239: zip: command not found
cp: cannot stat `library/video.jar': No such file or directory
Building OpenGL library...
./make.sh: line 246: cd: ../opengl: No such file or directory
./make.sh: line 249: ../build/windows/work/java/bin/java: No such file or direct
ory
./make.sh: line 253: zip: command not found
cp: cannot stat `library/opengl.jar': No such file or directory
Building PDF library...
./make.sh: line 260: cd: ../pdf: No such file or directory
./make.sh: line 263: ../build/windows/work/java/bin/java: No such file or direct
ory
./make.sh: line 267: zip: command not found
cp: cannot stat `library/pdf.jar': No such file or directory
Building DXF library...
./make.sh: line 274: cd: ../dxf: No such file or directory
./make.sh: line 277: ../build/windows/work/java/bin/java: No such file or direct
ory
./make.sh: line 281: zip: command not found
cp: cannot stat `library/dxf.jar': No such file or directory

Done.
thanx alot for helping
Re: Build Problems
Reply #8 - Dec 8th, 2009, 2:32am
 
at the risk of stating the bleeding obvious, you don't have zip installed. or it's not using the correct name for it. or it's not in the path.
Re: Build Problems
Reply #9 - Dec 8th, 2009, 4:13pm
 
thanx for your reply i solved the error and reinstall the zip in the cygwin however now i have a new error i'm really sorry for being demanding and i'm really thankfull for your help and this is my new error Sad
~/processing/build/window
$ ./make.sh
Building processing.core...
javac: file not found: src\antlr\java\*.java
Usage: javac <options> <source files>
use -help for a list of possible options

zip error: Nothing to do! (try: zip -rq ../lib/pde.jar . -i .)
Building serial library...
Building net library...
Building video library...
Found Quicktime 7 installation
Building OpenGL library...
Building PDF library...
Building DXF library...

Done.
Page Index Toggle Pages: 1