OESF Portables Forum

Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Software => Topic started by: PowerZ on June 28, 2004, 09:02:56 am

Title: Weather
Post by: PowerZ on June 28, 2004, 09:02:56 am
I downloded the ipk from this URL: Weather for Zaurus (http://digit.que.ne.jp/visit/index.cgi?Linux%a5%b6%a5%a6%a5%eb%a5%b9%2f%c5%b7%b5%a4%cd%bd%ca%f3) and installed it.  It did not install an icon.  When I try to run it from the command line, I get the following error message:  bash: ./weather: bad interpreter: No such file or directory

Can some one that understands Japanese help me undertsand the page or anyone else that might have an idea?
Title: Weather
Post by: nilch on June 28, 2004, 11:06:09 am
You may want to check out this Weather for Z (http://www.handango.com/PlatformProductDetail.jsp?siteId=1&jid=XC2EDFFD7XB832C26A84B3547BC89C28&platformId=9&productType=2&productId=80972)

Though this one needs Python packages to be installed as well.

Sorry, couldn't help you there with the Japanese...
Title: Weather
Post by: mike151 on June 28, 2004, 11:28:58 am
PowerZ,
The version of weather you are running requires perl, wget, nkf, iselect and zdbat.

Mike
Title: Weather
Post by: lardman on June 28, 2004, 12:02:03 pm
It's a script (I assume from the error message), did you extract it under Windows? - ie. line feeds have been added.

Try: vi script_name

See whether there are funny chars on the end of each line.


Si
Title: Weather
Post by: PowerZ on June 28, 2004, 10:22:57 pm
Thanks for the responses!!!

Nilch said:
Quote
You may want to check out this Weather for Z

Though this one needs Python packages to be installed as well.

Sorry, couldn't help you there with the Japanese...

Nilch -- I emailed the developer to ask if it will run in landscape mode on the Cxxx series and he response was:

Quote
But sadly, it is still not optimed to run on the clamshell zaurus.
If there is demand I might consider making it optimised for the landscape versions and higher resolutions.

Till then, its meant for the 5500 and 5600 versions only.
So that won't work for me at this time.

Mike151 said:
Quote
PowerZ,
The version of weather you are running requires perl, wget, nkf, iselect and zdbat.

Mike
I will try to find those packes and install them.

Lardman said:
Quote
it's a script (I assume from the error message), did you extract it under Windows? - ie. line feeds have been added.

Try: vi script_name

See whether there are funny chars on the end of each line.


Si
Lardman - I installed this on the Z and did not extract it under Windows.  It is a perl script, though.
Title: Weather
Post by: lardman on June 29, 2004, 06:29:35 am
Oh, you need perl then I guess.

Si
Title: Weather
Post by: PowerZ on June 29, 2004, 08:48:12 pm
Installed Perl and error message didn't change.  Any ideas?
Title: Weather
Post by: mike151 on June 30, 2004, 11:16:47 am
Hi,

the first line of the perl script says where the perl interpreter is: #!/usr/bin/perl
You may want to double check that perl is really loacated in /usr/bin/perl.
Another thing you can try is running this from the command line: perl weather
In case the script runs, you can display the path where perl is by running: which perl

One mere thing, double check you have these programs: wget, nkf, iselect and zdbat since they are used by the script. There are links to these programs in the same japanese page you have posted at the beggining of this thread.

Good luck!

Mike
Title: Weather
Post by: PowerZ on July 03, 2004, 08:51:57 pm
I pathed perl and installed the remaining packages.  Upon further investiogation, this looks like it is built only for Japan.  Anyone know if this is true?
Title: Weather
Post by: mike151 on July 03, 2004, 11:21:04 pm
Hi,

I used  a Japanese to English web page translator (http://www.excite.co.jp/world/english/web/) and the Japanese URL you have posted, and could read some English out of it.

You may get the command line options of weather from that page.

I hope this helps

Mike
Title: Weather
Post by: PowerZ on July 04, 2004, 02:44:46 am
I did that as well and that is where I got the idea that it may be regionalized for Japan only.  When you follow the links to the Excite page, it only lists locations in Japan.  Mike, I appreciate your help so far.  Is there anyone that might be familiar with this software and would be able to assist?
Title: Weather
Post by: dz on July 04, 2004, 05:14:50 am
Judging by your error, I think all of you are missing the problem.

No such file or directory.

If you do an 'ls', do you see the weather program listed there?  You are typing './weather', which tells it to run the weather program in the current directory.

Try typing just 'weather'.
Title: Weather
Post by: PowerZ on July 04, 2004, 12:42:44 pm
Not misssing the problem dz, but thanks for trying.  Mike had the initial issue right and I have the program running and I am at the iselect portion of the program.  My latest issue is that the screen doesn't give me much information as it is in Japanese.  When I translate the web page it seems this is a Japan only localized progrm.  Looking for confirmation or rejection of my thoughts.  If rejection, which I actualy hope, I need some direction on hw to make this work for the United States.