You are not logged in.

#1 2017-09-13 06:53:07

ragamatrix
Member
Registered: 2015-10-04
Posts: 427

Forecast package

Hello,

I'm on debian 9 Stretch an I'd like to use the forecast package but there's a dependency problem with libjson-c. If someone has an idea to install it in another safe way ? Help apreciated. THX

Offline

#2 2017-09-13 08:47:27

nobody
The Great
Registered: 2015-08-10
Posts: 3,655

Re: Forecast package

Building from source works:

apt-get install libjson-c-dev libconfig-dev libcurl4-openssl-dev libncursesw5-dev libssl1.0-dev liblz4-dev libtalloc-dev git build-essential autoconf automake
./autogen.sh
./configure --prefix=/usr/local
make -j4
make install
/usr/local/bin/forecast

Keep the build directory around. When a package is available, you can just do

make uninstall

from that directory.

Offline

#3 2017-09-13 13:11:35

ragamatrix
Member
Registered: 2015-10-04
Posts: 427

Re: Forecast package

Thank you, I compiled it and it works, the only disagreements (EU guy) I can't set the values in KM/H and of course Degrees C° wink

Offline

#4 2017-09-13 15:05:38

ragamatrix
Member
Registered: 2015-10-04
Posts: 427

Re: Forecast package

I'll try that thank you, I have another question: Dœs forecast make regular updates ?
may be that but my english is poor...

# When the last requested data set is >= $max_cache_age seconds old,
# request new data. This will significantly speed up subsequent
# invocations. Set to 0 in order to always bypass the cache.
max_cache_age = 1200;

Last edited by ragamatrix (2017-09-13 15:19:29)

Offline

#5 2017-09-13 15:10:48

ragamatrix
Member
Registered: 2015-10-04
Posts: 427

Re: Forecast package

ok now I have degrees  big_smile  Thank-you the wind speed meter per seconds it's ok
Precipitations hourly:
2017-09-13-172705_1920x1080_scrot.th.png
Love minimalist weather forecast, thx again wink

Last edited by ragamatrix (2017-09-13 15:32:21)

Offline

#6 2017-09-14 19:21:20

stevep
MX Linux Developer
Registered: 2016-08-08
Posts: 381

Re: Forecast package

Hmmm...do you have any idea why the Ubuntu builds on the OBS fail like libjson-c-dev isn't installed at all?  Could it be some bug in the Ubuntu build thingamajigies there?

Click on the "failed" to see the end of the build log:  https://build.opensuse.org/package/show … t/forecast

Offline

Board footer

Powered by FluxBB