Active Topics

 


Reply
Thread Tools
Posts: 38 | Thanked: 2 times | Joined on Mar 2009
#1
Hi,

I was wondering if there is a kind sole out there who could compile zyGrib for easy debian or maemo? I know it works on debian, but I don't know what is involved in getting it working on the n800.

FYI zyGrib is a tool used for extracting/viewing world wide weather used mostly by sailors iin remote places. Here is the link to the source
http://www.zygrib.org/index.php?page...section_ubuntu

TIA,
Eric
 
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#2
zyGrib needs qt4, so it won't build out of the box on maemo at least - although IIRC there are qt libs out there for Maemo somewhere. For easy Debian it'll probably be straight forward (I'm trying this on my desktop Debian right now), but I'm not set up for easy Debian unfortunately.
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.
 
Posts: 38 | Thanked: 2 times | Joined on Mar 2009
#3
Easy debian would be great. I've been trying to build it on my n800 in easy debian, without much luck so far. I think I need the qt4 lib for easy deb (which I can't find), but I'm sure there is more. Could you give me a guess at what I need for building it and how? The make file generates pages of missing files.

Thanks

Last edited by Eric!; 2009-05-25 at 23:56.
 
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#4
When I built it on my Debian desktop I did the following to the Makefile:
Code:
--- a/Makefile
+++ b/Makefile
@@ -1,19 +1,19 @@
-QTBIN=/usr/lib/qt4/bin
+QTMAKE=qmake-qt4
 
 all:
        rm -f ./zyGrib
-       cd src/bzip2; $(QTBIN)/qmake; make
-       cd src/zlib-1.2.3; $(QTBIN)/qmake; make
-       cd src/proj-4.6.0/src/; $(QTBIN)/qmake; make
-       cd src; $(QTBIN)/qmake; make
+#      cd src/bzip2; $(QTBIN)/qmake; make
+#      cd src/zlib-1.2.3; $(QTBIN)/qmake; make
+#      cd src/proj-4.6.0/src/; $(QTBIN)/qmake; make
+       cd src; $(QTMAKE); make
        echo "-----------------------------------"
 
 clean:
        rm -f zyGrib
        rm -f src/zyGrib
-       cd src/bzip2; $(QTBIN)/qmake; make clean
-       cd src/zlib-1.2.3; $(QTBIN)/qmake; make clean
-       cd src/proj-4.6.0/src/; $(QTBIN)/qmake; make clean
-       cd src; $(QTBIN)/qmake; make clean
+#      cd src/bzip2; $(QTBIN)/qmake; make clean
+#      cd src/zlib-1.2.3; $(QTBIN)/qmake; make clean
+#      cd src/proj-4.6.0/src/; $(QTBIN)/qmake; make clean
+       cd src; $(QTMAKE); make clean
because
- zlib (zlib1g-dev), proj (libproj-dev), bzip2 are already available as system packages in Debian, so no need to build copies insize zyGrib
- the qmake/qt4 assumptions of the original Makefile doesn't fit Debian
Then it built without a hitch. Presumably that setup could work on easy Debian too. But qole (I guess) is the right one to answer that.
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.
 

The Following User Says Thank You to TA-t3 For This Useful Post:
Posts: 1,208 | Thanked: 1,028 times | Joined on Oct 2007
#5
it builds fine on maemo too
 
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#6
mikkov: I assume you had to install some qt4 tools/libs too, first?
BTW I guess you could provide Eric with a .deb then..
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.
 
Posts: 1,208 | Thanked: 1,028 times | Joined on Oct 2007
#7
as usual libraries have to be installed first. And qt4.5 has been available for quite a while now.

unfortunately zygrib is poorly made for proper packaging. I'd hope that somebody who really cares about this program would step up and make the dirty work

However I attached the zygrib binary file. You have to place it into zygrib source directory run it from there.

Depencies are listed below:

Depends: libbz2-1.0, libc6 (>= 2.5.0-1), libgcc1 (>= 1:3.4.4), libqt4-network (
>= 4.5.0), libqt4-xml (>= 4.5.0), libqtcore4 (>= 4.5.0), libqtgui4 (>= 4.5.0), l
ibstdc++6 (>= 3.4.4), zlib1g (>= 1:1.2.1)

PS: I didn't test this with tablet, so it might not even work
Attached Files
File Type: zip zyGrib.zip (437.2 KB, 119 views)
 

The Following 2 Users Say Thank You to mikkov For This Useful Post:
Posts: 38 | Thanked: 2 times | Joined on Mar 2009
#8
It runs on my n800! There is an error that comes up in french about a missing chart, but that is proobably just a configuration issue. Switching it to English doesn't seem to do anything though.

I couldn't figure out how to get the qt4 library until you guys spelled out the dependancies for me. apt-get install qt4 just didn't cut it.

Thanks for making the bin too.
 
Reply


 
Forum Jump


All times are GMT. The time now is 20:12.