zyGrib 6.1.0

Image Ici on parle français ou anglais, comme on veut, comme on peut.
Image Here we speak french or english, as we want, as we can.

Moderator: jza

Forum rules
Image Ici on parle français ou anglais, comme on veut, comme on peut, mais on n'oublie jamais que l'on discute entre humains.
Il ne faut surtout pas oublier les mots magiques: bonjour, salut, merci, etc.
Les messages impolis sont rejetés et restent sans réponse.
Il faut souvent être patient, car il y a plein d'autres activités encore plus passionantes dans notre vie.

Image Here we speak french or english, as we want, as we can, but we never forget that we discuss between humans.
Do not forget the magic words: hello, hi, thank you, etc.
Rude messages are rejected and remain unanswered.
It is often necessary to be patient because there are many other activities even more exciting in our life.
Post Reply
coogor
Posts: 43
Joined: 29 Mar 2010 10:04

zyGrib 6.1.0

Post by coogor » 10 Dec 2012 17:39

Hi,

can you pls explain a little the changes you have made to the build process? I tried to compile for openSUSE on the buildservice, which now fails with a error:

[ 45s] + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
[ 45s] + echo 'Patch #1 (zyGrib-qwt.patch):'
[ 45s] Patch #1 (zyGrib-qwt.patch):
[ 45s] + /usr/bin/cat /home/abuild/rpmbuild/SOURCES/zyGrib-qwt.patch
[ 45s] + /usr/bin/patch -s -p1 --fuzz=0
[ 45s] 1 out of 1 hunk FAILED -- saving rejects to file src/zyGrib.pro.rej
[ 45s] error: Bad exit status from /var/tmp/rpm-tmp.I6YGE7 (%prep)

we used that patch to apply qwt6 settings:

Index: zyGrib-6.1.0/src/zyGrib.pro
===================================================================
--- zyGrib-6.1.0.orig/src/zyGrib.pro
+++ zyGrib-6.1.0/src/zyGrib.pro
@@ -31,7 +31,7 @@ macx {
ICON = ../data/img/zyGrib.icns
}
else {
- INCLUDEPATH += /usr/include/qwt
+ INCLUDEPATH += /usr/include/qwt6
LIBS += -lbz2 -lz -lproj -lqwt
DESTDIR = .
}

Without the patch it does compile neither.
Any idea?

Thx!

coogor
Posts: 43
Joined: 29 Mar 2010 10:04

Re: zyGrib 6.1.0

Post by coogor » 03 Jan 2013 14:48

...did not fix the diff problem, but changed the line directly in the pro file.
Compilation fails anyway, is there a newer qwt6-Version required?

/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include -I. -Iutil -Imap -IGUI -Icurvedrawer -I/usr/include/qwt -I/usr/local/qwt6/include/ -Iobjs -IGUI -o objs/CustomQwtClasses.o curvedrawer/CustomQwtClasses.cpp
[ 266s] In file included from curvedrawer/CustomQwtClasses.cpp:8:0:
[ 266s] curvedrawer/CustomQwtClasses.h:13:28: fatal error: qwt_scale_draw.h: No such file or directory
[ 266s] compilation terminated.

jza
Site Admin
Posts: 601
Joined: 19 Jan 2009 00:22

Re: zyGrib 6.1.0

Post by jza » 04 Jan 2013 01:16

Hi,

You have to install a local version of qwt (at least 6.0), and probably adjust the paths in the .pro file.

Last version of zyGrib need also libnova library.
A+
Jacques

coogor
Posts: 43
Joined: 29 Mar 2010 10:04

Re: zyGrib 6.1.0

Post by coogor » 12 Jan 2013 12:02

Hi,

the hint with libnova was helpful. I would appreciate if you inform the package maintainers about such changes beforehand....

After creating a new patch file it now works again. Packages for various openSUSE-versions are as usually in the Geo-repository:

http://download.opensuse.org/repositori ... nSUSE_12.2

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests