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!
zyGrib 6.1.0
Moderator: jza
Forum rules
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.
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.
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.
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.
-
- Posts: 43
- Joined: 29 Mar 2010 10:04
Re: zyGrib 6.1.0
...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.
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.
-
- Site Admin
- Posts: 601
- Joined: 19 Jan 2009 00:22
Re: zyGrib 6.1.0
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.
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
Jacques
-
- Posts: 43
- Joined: 29 Mar 2010 10:04
Re: zyGrib 6.1.0
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
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
Who is online
Users browsing this forum: No registered users and 105 guests