Help - Search - Members - Calendar
Full Version: Weather
OESF Forums > General Forums > General Support and Discussion > Software
PowerZ
I downloded the ipk from this URL: Weather for Zaurus 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?
nilch
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...
mike151
PowerZ,
The version of weather you are running requires perl, wget, nkf, iselect and zdbat.

Mike
lardman
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
PowerZ
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.
lardman
Oh, you need perl then I guess.

Si
PowerZ
Installed Perl and error message didn't change. Any ideas?
mike151
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
PowerZ
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?
mike151
Hi,

I used a Japanese to English web page translator 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
PowerZ
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?
dz
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'.
PowerZ
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.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2015 Invision Power Services, Inc.