compilation de la 6.2.3 sur ubuntu 14.04, erreurs

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
zytux
Posts: 35
Joined: 10 Feb 2012 12:47

compilation de la 6.2.3 sur ubuntu 14.04, erreurs

Post by zytux » 30 Apr 2014 09:43

Bonjour,
sur Ubuntu 14.04LTS, avec zygrib 6.2.1 installé, j'essaye de compiler la version 6.2.3.

1/ essai 1 : sort avec des erreurs :

2: essai 2 : regard vers le qmake : dans /usr/bin j'ai :
qmake
qmake-qt4
je modifie le makefile pour "orienter" vers qmake-qt4 :

Code: Select all

QTBIN=/usr/bin
#QTBIN=/opt/qt/qt/bin
#QTBIN=/usr/local/Trolltech/Qt-4.7.0/bin

INSTALLDIR=$(HOME)/zyGrib

MACQTBIN=/opt/local/bin

all: zyGrib

SRC= src/*.h src/*.cpp src/*/*.h src/*/*.cpp \
      src/qwt*/src/*.cpp src/qwt*/src/*.h

mac: $(SRC)
	rm -f  ./zyGrib
	rm -fr ./zyGrib.app
	rm -f  src/Makefile
	cd src/qwt-6.0.1/src; $(MACQTBIN)/qmake; make -j5
	cd src; $(MACQTBIN)/qmake; make -j5

macclean:
	rm -f  zyGrib
	rm -fr zyGrib.app
	rm -f  src/zyGrib
	rm -f  src/release/zyGrib.exe
	cd src/qwt-6.0.1/src; $(MACQTBIN)/qmake; make clean
	cd src;	$(MACQTBIN)/qmake; make clean

clean:
	rm -f  zyGrib
	rm -fr zyGrib.app
	rm -f  src/zyGrib
	rm -f  src/release/zyGrib.exe
	cd src/qwt-6.0.1/src; $(QTBIN)/qmake-qt4; make clean
	cd src;	$(QTBIN)/qmake-qt4; make clean

zyGrib: $(SRC)
	@ echo
	rm -f ./zyGrib
	cd src/qwt-6.0.1/src; $(QTBIN)/qmake-qt4; make -j5
	cd src; $(QTBIN)/qmake-qt4; make -j5
	@ echo "-----------------------------------"
	@ echo "#!/bin/bash" >> ./zyGrib
	@ echo "cd `pwd`" >> ./zyGrib
	@ echo 'src/zyGrib $$*' >> ./zyGrib
	@ chmod 755 ./zyGrib

install: zyGrib
	mkdir -p $(INSTALLDIR)
	mkdir -p $(INSTALLDIR)/bin
	cp -a data $(INSTALLDIR)
	cp -a grib $(INSTALLDIR)
	rm -f ./zyGrib
	rm -f $(INSTALLDIR)/bin/zyGrib
	cp  -a src/zyGrib $(INSTALLDIR)/bin
	echo "#!/bin/bash" >> ./zyGrib
	echo "cd $(INSTALLDIR)" >> ./zyGrib
	echo 'bin/zyGrib $$*' >> ./zyGrib
	chmod 755 ./zyGrib
	cp -af zyGrib $(INSTALLDIR)
je relance le make mais cela sort avec des erreurs, les mêmes que dans l'essai 1 plus d'autres.

par ailleurs je ne vois pas où est placé l'exécutable zygrib 6.2.3, le 6.2.1 étant dans /opt

une idée ?
merci d'avance.
cordialement.
zytux

Code: Select all

~$ cd /home/jlg/zyGrib-6.2.3
jlg@jlg-NC10:~/zyGrib-6.2.3$ make

rm -f ./zyGrib
cd src/qwt-6.0.1/src; /usr/bin/qmake-qt4; make -j5
make[1]: entrant dans le répertoire « /home/jlg/zyGrib-6.2.3/src/qwt-6.0.1/src »
make[1]: Rien à faire pour « first ».
make[1]: quittant le répertoire « /home/jlg/zyGrib-6.2.3/src/qwt-6.0.1/src »
cd src; /usr/bin/qmake-qt4; make -j5
make[1]: entrant dans le répertoire « /home/jlg/zyGrib-6.2.3/src »
g++ -c -pipe -O3 -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I. -Iutil -Imap -IGUI -Icurvedrawer -Iqwt-6.0.1/src -Iobjs -IGUI -o objs/BoatSpeed.o curvedrawer/BoatSpeed.cpp
g++ -c -pipe -O3 -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I. -Iutil -Imap -IGUI -Icurvedrawer -Iqwt-6.0.1/src -Iobjs -IGUI -o objs/CurveDrawer.o curvedrawer/CurveDrawer.cpp
g++ -c -pipe -O3 -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I. -Iutil -Imap -IGUI -Icurvedrawer -Iqwt-6.0.1/src -Iobjs -IGUI -o objs/Astro.o Astro.cpp
g++ -c -pipe -O3 -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I. -Iutil -Imap -IGUI -Icurvedrawer -Iqwt-6.0.1/src -Iobjs -IGUI -o objs/MbzFile.o MbzFile.cpp
g++ -c -pipe -O3 -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I. -Iutil -Imap -IGUI -Icurvedrawer -Iqwt-6.0.1/src -Iobjs -IGUI -o objs/MblueRecord.o MblueRecord.cpp
In file included from curvedrawer/BoatSpeed.cpp:9:0:
util/zuFile.h:35:19: fatal error: bzlib.h: Aucun fichier ou dossier de ce type
 #include <bzlib.h>
                   ^
compilation terminated.
In file included from Astro.cpp:19:0:
Astro.h:24:32: fatal error: libnova/julian_day.h: Aucun fichier ou dossier de ce type
 #include <libnova/julian_day.h>
                                ^
compilation terminated.
In file included from ./GriddedReader.h:30:0,
                 from ./GriddedPlotter.h:35,
                 from curvedrawer/CurveDrawer.h:20,
                 from curvedrawer/CurveDrawer.cpp:13:
util/zuFile.h:35:19: fatal error: bzlib.h: Aucun fichier ou dossier de ce type
 #include <bzlib.h>
                   ^
compilation terminated.
In file included from IrregularGridded.h:30:0,
                 from MblueRecord.h:26,
                 from MblueRecord.cpp:30:
util/zuFile.h:35:19: fatal error: bzlib.h: Aucun fichier ou dossier de ce type
 #include <bzlib.h>
                   ^
compilation terminated.
In file included from MbzFile.h:23:0,
                 from MbzFile.cpp:21:
util/zuFile.h:35:19: fatal error: bzlib.h: Aucun fichier ou dossier de ce type
 #include <bzlib.h>
                   ^
compilation terminated.
make[1]: *** [objs/BoatSpeed.o] Erreur 1
make[1]: *** Attente des tâches non terminées....
make[1]: *** [objs/Astro.o] Erreur 1
make[1]: *** [objs/MblueRecord.o] Erreur 1
make[1]: *** [objs/MbzFile.o] Erreur 1
make[1]: *** [objs/CurveDrawer.o] Erreur 1
make[1]: quittant le répertoire « /home/jlg/zyGrib-6.2.3/src »
make: *** [zyGrib] Erreur 2
jlg@jlg-NC10:~/zyGrib-6.2.3$ make install

rm -f ./zyGrib
cd src/qwt-6.0.1/src; /usr/bin/qmake-qt4; make -j5
make[1]: entrant dans le répertoire « /home/jlg/zyGrib-6.2.3/src/qwt-6.0.1/src »
make[1]: Rien à faire pour « first ».
make[1]: quittant le répertoire « /home/jlg/zyGrib-6.2.3/src/qwt-6.0.1/src »
cd src; /usr/bin/qmake-qt4; make -j5
make[1]: entrant dans le répertoire « /home/jlg/zyGrib-6.2.3/src »
g++ -c -pipe -O3 -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I. -Iutil -Imap -IGUI -Icurvedrawer -Iqwt-6.0.1/src -Iobjs -IGUI -o objs/BoatSpeed.o curvedrawer/BoatSpeed.cpp
g++ -c -pipe -O3 -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I. -Iutil -Imap -IGUI -Icurvedrawer -Iqwt-6.0.1/src -Iobjs -IGUI -o objs/CurveDrawer.o curvedrawer/CurveDrawer.cpp
g++ -c -pipe -O3 -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I. -Iutil -Imap -IGUI -Icurvedrawer -Iqwt-6.0.1/src -Iobjs -IGUI -o objs/Astro.o Astro.cpp
g++ -c -pipe -O3 -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I. -Iutil -Imap -IGUI -Icurvedrawer -Iqwt-6.0.1/src -Iobjs -IGUI -o objs/MbzFile.o MbzFile.cpp
g++ -c -pipe -O3 -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I. -Iutil -Imap -IGUI -Icurvedrawer -Iqwt-6.0.1/src -Iobjs -IGUI -o objs/MblueRecord.o MblueRecord.cpp
In file included from curvedrawer/BoatSpeed.cpp:9:0:
util/zuFile.h:35:19: fatal error: bzlib.h: Aucun fichier ou dossier de ce type
 #include <bzlib.h>
                   ^
compilation terminated.
make[1]: *** [objs/BoatSpeed.o] Erreur 1
make[1]: *** Attente des tâches non terminées....
In file included from ./GriddedReader.h:30:0,
                 from ./GriddedPlotter.h:35,
                 from curvedrawer/CurveDrawer.h:20,
                 from curvedrawer/CurveDrawer.cpp:13:
util/zuFile.h:35:19: fatal error: bzlib.h: Aucun fichier ou dossier de ce type
 #include <bzlib.h>
                   ^
compilation terminated.
In file included from Astro.cpp:19:0:
Astro.h:24:32: fatal error: libnova/julian_day.h: Aucun fichier ou dossier de ce type
 #include <libnova/julian_day.h>
                                ^
compilation terminated.
In file included from IrregularGridded.h:30:0,
                 from MblueRecord.h:26,
                 from MblueRecord.cpp:30:
util/zuFile.h:35:19: fatal error: bzlib.h: Aucun fichier ou dossier de ce type
 #include <bzlib.h>
                   ^
compilation terminated.
In file included from MbzFile.h:23:0,
                 from MbzFile.cpp:21:
util/zuFile.h:35:19: fatal error: bzlib.h: Aucun fichier ou dossier de ce type
 #include <bzlib.h>
                   ^
compilation terminated.
make[1]: *** [objs/Astro.o] Erreur 1
make[1]: *** [objs/MblueRecord.o] Erreur 1
make[1]: *** [objs/MbzFile.o] Erreur 1
make[1]: *** [objs/CurveDrawer.o] Erreur 1
make[1]: quittant le répertoire « /home/jlg/zyGrib-6.2.3/src »
make: *** [zyGrib] Erreur 2

DomH
Site Admin
Posts: 303
Joined: 23 Jan 2009 09:03

Re: compilation de la 6.2.3 sur ubuntu 14.04, erreurs

Post by DomH » 30 Apr 2014 10:54

zytux wrote:Bonjour,
sur Ubuntu 14.04LTS, avec zygrib 6.2.1 installé, j'essaye de compiler la version 6.2.3.
Bonjour,

J'ai plein de retard dans la préparation des paquets Ubuntu/Debian.

Je m'y mets à nouveau dès la mi-mai 2014 (je précise) pour faire les paquets 6.2.3 pour les versions ubuntu encore supportées, y compris la version 14.04 LTS. Ce qui me permettra de regarder les problèmes que vous soulevez et également de tenter la compilation avec qt5 (qui devrait être la version par défaut dans 14.04

Je vous remercie par avance de votre patience
Bonne journée ou bonne soirée (vous pouvez choisir)
Have a nice day or good night (you can choose)
Guten Morgen oder gute Nacht (Sie können wählen)

DomH

zytux
Posts: 35
Joined: 10 Feb 2012 12:47

Re: compilation de la 6.2.3 sur ubuntu 14.04, erreurs

Post by zytux » 02 May 2014 08:31

merci d'avance :-)

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests