سؤال

I am trying to make a PhoneGap package for Symbian. I've installed Cygwin with the "make" package. and when I'm typing "make on the symbian folder it gives me this error:

cp lib/phonegap.js framework/www/phonegap.js
cd framework/ && zip -r app.zip www/* -x www/wrt_preview_frame.html www/wrt_prev                                                   iew_main.html www/preview/ www/*.wgz
cygwin warning:
  MS-DOS style path detected: /usr/local/bin/C:\Program
  Preferred POSIX equivalent is: /usr/local/bin/C:/Program
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
Can't find C:\Program on PATH.
Makefile:28: recipe for target `package' failed
make: *** [package] Error 29

My PhoneGap folder is directly on the C: drive and without any spaces. Any ideas?

هل كانت مفيدة؟

المحلول

I think you have in your PATH the Symbians tools which contains the make tool, so you are not executing cygwin's make.

First check what make you are executing

type make

If you get something like this:

/cygdrive/c/Program Files (x86)/Common Files/Symbian/tools/make

Then it means your PATH is wrong and you aren't executing the correct make.

Be sure to have installed the Cygwin's make package and modify your PATH so it takes the correct "make".

نصائح أخرى

I've solved this problem by adding Java Runtime Environment path to Windows environment Variables after installing latest copy of cygwin. (eg. C:\Program Files\Java\jre6\bin)

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top