$ ./configure
javac… ok
jar… ok
Vérifications terminées.
$ make
rm -rf bin
rm -rf rep-preparation~
rm -rf
rm -f histoiremondiale.jar
rm -f Histoire-2.0-src.tar.gz
rm -f Histoire-2.0-src.zip
rm -f Histoire-2.0.tar.gz
rm -f Histoire-2.0.zip
mkdir bin
javac src/fr/histoiremondiale/HistoireMondiale.java -d bin -sourcepath src -encoding utf-8 -cp bib/commons-lang-2.4.jar:bib/h2-1.3.172.jar
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Génération du jar exécutable…
jar cfm histoiremondiale.jar distribution/MANIFEST.MF -C bin/ .
(rajouter un v pour avoir plus d'infos sur la génération, par exemple en cas de problème)
J'ai cru que cela s'était bien passé, mais :
$ su -
Mot de passe :
make install
make: *** No rule to make target 'install'. Arrêt.
(j'ai enlevé les "#" pour que les lignes ne s'affichent pas en gras)
1 [02-04-2015 12:40] joel@localhost: /documents/download/tomate_cpp-master/tomate_cpp $ tomate
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.
terminate called after throwing an instance of 'std::invalid_argument'
what(): Plot already exists in plot list
Abandon
2 [02-04-2015 19:10] joel@localhost: /documents/download/tomate_cpp-master/tomate_cpp $ tomate
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.
terminate called after throwing an instance of 'std::invalid_argument'
what(): Plot already exists in plot list
Abandon
3 [02-04-2015 19:11] joel@localhost: /documents/download/tomate_cpp-master/tomate_cpp $ tomate
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.
terminate called after throwing an instance of 'std::invalid_argument'
what(): Plot already exists in plot list
Abandon
4 [02-04-2015 19:17] joel@localhost: /documents/download/tomate_cpp-master/tomate_cpp $ tomate
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.
terminate called after throwing an instance of 'std::invalid_argument'
what(): Plot already exists in plot list
Abandon
5 [02-04-2015 19:21] joel@localhost: /documents/download/tomate_cpp-master/tomate_cpp $
Parfois suite à l'ajout de la deuxième planche de culture, parfois je peux aller un peu plus loin, jusqu'à l'ajout d'une sixième planche…
Bien vu, chla : urpmi gcc-c++ m'as permis d'avancer, mais ça ne suffit pas :
$ cmake -G 'Unix Makefiles'
—The CXX compiler identification is GNU 4.9.2
—Check for working CXX compiler: /usr/bin/c++
—Check for working CXX compiler: /usr/bin/c++—works
—Detecting CXX compiler ABI info
—Detecting CXX compiler ABI info - done
CMake Error at /usr/share/cmake/Modules/FindBoost.cmake:1179 (message):
Unable to find the requested Boost libraries.
Unable to find the Boost header files. Please set BOOST_ROOT to the root
directory containing Boost or BOOST_INCLUDEDIR to the directory containing
Boost's headers.
Call Stack (most recent call first):
CMakeLists.txt:17 (find_package)
-- Found unsuitable Qt version "" from NOTFOUND
Qt QTGUI library not found.
Qt QTCORE library not found.
CMake Error at CMakeLists.txt:29 (QT4_WRAP_UI):
Unknown CMake command "QT4_WRAP_UI".
-- Configuring incomplete, errors occurred!
See also "/documents/download/tomate_cpp-master/tomate_cpp/CMakeFiles/CMakeOutput.log".
See also "/documents/download/tomate_cpp-master/tomate_cpp/CMakeFiles/CMakeError.log".
J'ai donc tenté l'installation, mais cmake échoue :
```
$ cmake -G 'Unix Makefiles'
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is unknown
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc—works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
CMake Error at CMakeLists.txt:4 (project):
No CMAKE_CXX_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
-- Configuring incomplete, errors occurred!
See also "/documents/download/tomate_cpp-master/tomate_cpp/CMakeFiles/CMakeOutput.log".
See also "/documents/download/tomate_cpp-master/tomate_cpp/CMakeFiles/CMakeError.log".
Ce serait une bonne idée, parce que je n'ai pas les librairies demandées sous Mageia :
# urpmi libqt4-dev libboost-date-time-dev libboost-filesystem libboost-test-dev
Pas de paquetage nommé libqt4-dev
Pas de paquetage nommé libboost-date-time-dev
Pas de paquetage nommé libboost-filesystem
Pas de paquetage nommé libboost-test-dev
[^] # Re: Super, mais tu pourrais aussi ajouter :
Posté par joel . En réponse au journal Mes ressources francophones autour du Libre. Évalué à 0. Dernière modification le 11 mai 2016 à 22:40.
Et le forum qui vas avec :
http://www.mageialinux-online.org/forum/index.php
[^] # Re: make: *** No rule to make target 'install'. Arrêt.
Posté par joel . En réponse à la dépêche Histoire Mondiale 2.0. Évalué à 2.
OK, merci beaucoup, ylsul.
Dans un premier temps, je vais donc juste lancer le logiciel…
# make: *** No rule to make target 'install'. Arrêt.
Posté par joel . En réponse à la dépêche Histoire Mondiale 2.0. Évalué à 2.
Bonsoir,
J'essaie de l'installer sous Mageia :
$ ./configure
javac… ok
jar… ok
Vérifications terminées.
$ make
rm -rf bin
rm -rf rep-preparation~
rm -rf
rm -f histoiremondiale.jar
rm -f Histoire-2.0-src.tar.gz
rm -f Histoire-2.0-src.zip
rm -f Histoire-2.0.tar.gz
rm -f Histoire-2.0.zip
mkdir bin
javac src/fr/histoiremondiale/HistoireMondiale.java -d bin -sourcepath src -encoding utf-8 -cp bib/commons-lang-2.4.jar:bib/h2-1.3.172.jar
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Génération du jar exécutable…
jar cfm histoiremondiale.jar distribution/MANIFEST.MF -C bin/ .
(rajouter un v pour avoir plus d'infos sur la génération, par exemple en cas de problème)
J'ai cru que cela s'était bien passé, mais :
$ su -
Mot de passe :
make install
make: *** No rule to make target 'install'. Arrêt.
(j'ai enlevé les "#" pour que les lignes ne s'affichent pas en gras)
Pourquoi ?
[^] # Re: HTML 5
Posté par joel . En réponse au journal Votre potager a (encore) besoin de Tomate. Évalué à 0.
Bon, c'est plutôt instable :
1 [02-04-2015 12:40] joel@localhost: /documents/download/tomate_cpp-master/tomate_cpp $ tomate
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.
terminate called after throwing an instance of 'std::invalid_argument'
what(): Plot already exists in plot list
Abandon
2 [02-04-2015 19:10] joel@localhost: /documents/download/tomate_cpp-master/tomate_cpp $ tomate
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.
terminate called after throwing an instance of 'std::invalid_argument'
what(): Plot already exists in plot list
Abandon
3 [02-04-2015 19:11] joel@localhost: /documents/download/tomate_cpp-master/tomate_cpp $ tomate
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.
terminate called after throwing an instance of 'std::invalid_argument'
what(): Plot already exists in plot list
Abandon
4 [02-04-2015 19:17] joel@localhost: /documents/download/tomate_cpp-master/tomate_cpp $ tomate
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.
terminate called after throwing an instance of 'std::invalid_argument'
what(): Plot already exists in plot list
Abandon
5 [02-04-2015 19:21] joel@localhost: /documents/download/tomate_cpp-master/tomate_cpp $
Parfois suite à l'ajout de la deuxième planche de culture, parfois je peux aller un peu plus loin, jusqu'à l'ajout d'une sixième planche…
[^] # Re: HTML 5
Posté par joel . En réponse au journal Votre potager a (encore) besoin de Tomate. Évalué à 1.
Merci beaucoup, chla, c'était bien ça.
Après quoi, j'ai pu aller jusqu'au bout de l'installation.
Et j'ai fait cet alias :
alias tomate="/documents/download/tomate_cpp-master/tomate_cpp/tomate_gui"
[^] # Re: HTML 5
Posté par joel . En réponse au journal Votre potager a (encore) besoin de Tomate. Évalué à 0.
Bien vu, chla : urpmi gcc-c++ m'as permis d'avancer, mais ça ne suffit pas :
$ cmake -G 'Unix Makefiles'
—The CXX compiler identification is GNU 4.9.2
—Check for working CXX compiler: /usr/bin/c++
—Check for working CXX compiler: /usr/bin/c++—works
—Detecting CXX compiler ABI info
—Detecting CXX compiler ABI info - done
CMake Error at /usr/share/cmake/Modules/FindBoost.cmake:1179 (message):
Unable to find the requested Boost libraries.
J'ai tenté :
# urpmi boost
Afin de satisfaire les dépendances de « lib64boost_serialization1.55.0|lib64boost_date_time1.55.0|lib64boost_locale1.55.0|lib64boost_signals1.55.0|lib64boost_chrono1.55.0|lib64boost_context1.55.0|lib64boost_log1.55.0|lib64boost_wserialization1.55.0|lib64boost_mpi1.55.0|lib64boost_unit_test_framework1.55.0|lib64boost_iostreams1.55.0|lib64boost_coroutine1.55.0|lib64boost_random1.55.0|lib64boost_program_options1.55.0|lib64boost_thread1.55.0|lib64boost_system1.55.0|lib64boost_timer1.55.0|lib64boost_graph1.55.0|lib64boost_atomic1.55.0|lib64boost_regex1.55.0|lib64boost_filesystem1.55.0|lib64boost_wave1.55.0|lib64boost_python1.55.0|lib64boost_math1.55.0|lib64boost_prg_exec_monitor1.55.0 », un des paquetages suivants est nécessaire :
1- lib64boost_atomic1.55.0-1.55.0-8.mga5.x86_64 : Boost atomic shared library (à installer)
2- lib64boost_chrono1.55.0-1.55.0-8.mga5.x86_64 : Boost chrono shared library (à installer)
3- lib64boost_context1.55.0-1.55.0-8.mga5.x86_64 : Boost context shared library (à installer)
4- lib64boost_coroutine1.55.0-1.55.0-8.mga5.x86_64 : Boost coroutine shared library (à installer)
5- lib64boost_graph1.55.0-1.55.0-8.mga5.x86_64 : Boost graph shared library (à installer)
6- lib64boost_locale1.55.0-1.55.0-8.mga5.x86_64 : Boost locale shared library (à installer)
7- lib64boost_log1.55.0-1.55.0-8.mga5.x86_64 : Boost log shared library (à installer)
8- lib64boost_math1.55.0-1.55.0-8.mga5.x86_64 : Boost math shared library (à installer)
9- lib64boost_mpi1.55.0-1.55.0-8.mga5.x86_64 : Boost mpi shared library (à installer)
10- lib64boost_prg_exec_monitor1.55.0-1.55.0-8.mga5.x86_64 : Boost prg_exec_monitor shared library (à installer)
11- lib64boost_python1.55.0-1.55.0-8.mga5.x86_64 : Boost python shared library (à installer)
12- lib64boost_random1.55.0-1.55.0-8.mga5.x86_64 : Boost random shared library (à installer)
13- lib64boost_serialization1.55.0-1.55.0-8.mga5.x86_64 : Boost serialization shared library (à installer)
14- lib64boost_timer1.55.0-1.55.0-8.mga5.x86_64 : Boost timer shared library (à installer)
15- lib64boost_unit_test_framework1.55.0-1.55.0-8.mga5.x86_64 : Boost unit_test_framework shared library (à installer)
16- lib64boost_wave1.55.0-1.55.0-8.mga5.x86_64 : Boost wave shared library (à installer)
17- lib64boost_wserialization1.55.0-1.55.0-8.mga5.x86_64 : Boost wserialization shared library (à installer)
Que choisissez-vous ? (1-17) 11
mais ça n'as rien changé.
Peut-être aurai-je dû en choisir un autre ?
[^] # Re: HTML 5
Posté par joel . En réponse au journal Votre potager a (encore) besoin de Tomate. Évalué à 0.
Merci djibb.
J'ai donc tenté l'installation, mais cmake échoue :
```
$ cmake -G 'Unix Makefiles'
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is unknown
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc—works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
CMake Error at CMakeLists.txt:4 (project):
No CMAKE_CXX_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
-- Configuring incomplete, errors occurred!
See also "/documents/download/tomate_cpp-master/tomate_cpp/CMakeFiles/CMakeOutput.log".
See also "/documents/download/tomate_cpp-master/tomate_cpp/CMakeFiles/CMakeError.log".
[^] # Re: HTML 5
Posté par joel . En réponse au journal Votre potager a (encore) besoin de Tomate. Évalué à 1.
Ce serait une bonne idée, parce que je n'ai pas les librairies demandées sous Mageia :
# urpmi libqt4-dev libboost-date-time-dev libboost-filesystem libboost-test-dev
Pas de paquetage nommé libqt4-dev
Pas de paquetage nommé libboost-date-time-dev
Pas de paquetage nommé libboost-filesystem
Pas de paquetage nommé libboost-test-dev