Forum Flightgear France

Une communauté prend son envol

Vous n'êtes pas identifié(e).

Annonce

Futur nouvel inscrit, tu dois au préalable lire l'intégralité des 10 articles des règles, s'il te plaît. Tout nouveau compte qui ne respecte pas les règles sera supprimé par l'administration.

#1 24/02/2021 13:40:54

bertrandperrier
Membre
Inscription : 6/12/2006
Messages : 160

[RESOLU] download_and_compile.sh

Bonjour,
je n'arrive plus a compiler FG
j'ai le script download_and_compile.sh
mais je n'arrive pas a avoir la dernière version s'il y en a une

wget -O download_and_compile.sh http://sourceforge.net/p/flightgear/gfmeta/ci/next/tree/download_and_compile.sh?format=raw

erreur 404

et quand je lance le script

****************************************
**************** SIMGEAR ***************
****************************************
SIMGEAR: the repository already exists
Déjà à jour.
La branche courante next est à jour.
Déjà sur 'next'
Votre branche est à jour avec 'origin/next'.
-- CMAKE Build type: RelWithDebInfo
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- 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
-- Detecting C compile features
-- Detecting C compile features - done
-- 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
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- version is 2020 dot 4 dot 0
-- Library installation directory: lib
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found version "1.71.0")  
-- SimGear mode: NORMAL
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so   
-- Found OpenAL: /usr/lib/x86_64-linux-gnu/libopenal.so  
-- Sound support: OpenAL
-- Found osgText: /usr/lib/x86_64-linux-gnu/libosgText.so  
-- Found osgSim: /usr/lib/x86_64-linux-gnu/libosgSim.so  
-- Found osgDB: /usr/lib/x86_64-linux-gnu/libosgDB.so  
-- Found osgParticle: /usr/lib/x86_64-linux-gnu/libosgParticle.so  
-- Found osgGA: /usr/lib/x86_64-linux-gnu/libosgGA.so  
-- Found osgViewer: /usr/lib/x86_64-linux-gnu/libosgViewer.so  
-- Found osgUtil: /usr/lib/x86_64-linux-gnu/libosgUtil.so  
-- Found osgTerrain: /usr/lib/x86_64-linux-gnu/libosgTerrain.so  
-- Found osg: /usr/lib/x86_64-linux-gnu/libosg.so  
-- Found OpenThreads: /usr/lib/x86_64-linux-gnu/libOpenThreads.so  
-- Found OpenSceneGraph: /usr/lib/x86_64-linux-gnu/libosgText.so;/usr/lib/x86_64-linux-gnu/libosgSim.so;/usr/lib/x86_64-linux-gnu/libosgDB.so;/usr/lib/x86_64-linux-gnu/libosgParticle.so;/usr/lib/x86_64-linux-gnu/libosgGA.so;/usr/lib/x86_64-linux-gnu/libosgViewer.so;/usr/lib/x86_64-linux-gnu/libosgUtil.so;/usr/lib/x86_64-linux-gnu/libosgTerrain.so;/usr/lib/x86_64-linux-gnu/libosg.so;/usr/lib/x86_64-linux-gnu/libOpenThreads.so (found suitable version "3.6.4", minimum required is "3.4.1") 
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found suitable version "1.2.11", minimum required is "1.2.4") 
CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
  Could NOT find LibLZMA (missing: LIBLZMA_LIBRARY LIBLZMA_INCLUDE_DIR
  LIBLZMA_HAS_AUTO_DECODER LIBLZMA_HAS_EASY_ENCODER LIBLZMA_HAS_LZMA_PRESET)
Call Stack (most recent call first):
  /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
  CMakeModules/FindLibLZMA.cmake:87 (find_package_handle_standard_args)
  CMakeLists.txt:185 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/bertrand/fgfs/build/simgear/CMakeFiles/CMakeOutput.log".
See also "/home/bertrand/fgfs/build/simgear/CMakeFiles/CMakeError.log".
MAKE simgear
make: *** Pas de cible spécifiée et aucun makefile n'a été trouvé. Arrêt.
INSTALL simgear
make: *** Aucune règle pour fabriquer la cible « install ». Arrêt.
****************************************
**************** DATA ******************
****************************************
Fetching DATA with 'git clone https://git.code.sf.net/p/flightgear/fgdata'
Clonage dans '.'...
remote: Enumerating objects: 76637, done.
remote: Counting objects: 100% (76637/76637), done.
remote: Compressing objects: 100% (33117/33117), done.
error: échec RPC ; curl 56 GnuTLS recv error (-110): The TLS connection was non-properly terminated.
fatal: L'hôte distant a fermé la connexion de manière inattendue
fatal: fin de fichier prématurée
fatal: échec de index-pack

Quel OS utilisez-vous ? (Windows Xp/Vista, Mac, etc...) LinuxMint. Kernel: 5.4.0-66-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 4.8.6. wm: muffin dm: LightDM Distro: Linux Mint 20.1 Ulyssa base: Ubuntu 20.04 focal
- Quelle version de FlightGear utilisez-vous ? la dernière qu'utilise le script
- Quelle carte graphique utilisez-vous ? 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cedar [Radeon HD 5000/6000/7350/8350 Series]
- Le problème que vous rencontrez survient-il pour tous les appareils ? je n'ai qu'un ordinateur
en vous remerciant

Dernière modification par bertrandperrier (26/02/2021 22:08:19)


Pseudo fgfs : fantasy7        GNU/Linux Mint 17.3  Proc : Pentium(R) Dual-Core  CPU      E5700  @ 3.00GHz
ram : 3884 Mo swp : 3990 Mo  gpu : [AMD/ATI] Cedar [Radeon HD 5000/6000/7350/8350 Series]
fgfs : FlightGear version: 2016.4.4  Revision: 6f36cd89b76d357cbd4eedebe42cef62fcc473ac  Build-Id: none
SimGear version: 2016.4.4 OSG version: 3.2.0

Hors ligne

#2 24/02/2021 16:00:49

ctesc356
Membre
Inscription : 18/05/2010
Messages : 3 483

Re : [RESOLU] download_and_compile.sh

Bonjour,
pour récupérer d&c:

wget -O download_and_compile.sh https://sourceforge.net/p/flightgear/fgmeta/ci/next/tree/download_and_compile.sh?format=raw

Attention aux fautes de frappe.. wink (fgmeta vs gfmeta)

Pour sg il manque "LibLZMA", le nouveau d&c devrait installer ce qu'il faut...

Dernière modification par ctesc356 (24/02/2021 17:18:06)


Intel i5-9400F, 16Go Ram, Nvidia GTX1660Ti, Linux Mint

Hors ligne

#3 24/02/2021 20:01:48

bertrandperrier
Membre
Inscription : 6/12/2006
Messages : 160

Re : [RESOLU] download_and_compile.sh

effectivement, ctesc356 merci beacoup


Pseudo fgfs : fantasy7        GNU/Linux Mint 17.3  Proc : Pentium(R) Dual-Core  CPU      E5700  @ 3.00GHz
ram : 3884 Mo swp : 3990 Mo  gpu : [AMD/ATI] Cedar [Radeon HD 5000/6000/7350/8350 Series]
fgfs : FlightGear version: 2016.4.4  Revision: 6f36cd89b76d357cbd4eedebe42cef62fcc473ac  Build-Id: none
SimGear version: 2016.4.4 OSG version: 3.2.0

Hors ligne

#4 24/02/2021 21:17:07

bertrandperrier
Membre
Inscription : 6/12/2006
Messages : 160

Re : [RESOLU] download_and_compile.sh

donc toujours la même erreur

From experience, cloning FGData from SourceForge using https does not work
(probably a problem at SourceForge), but updates do work. Thus, we propose to
clone FGData from GitLab and change the repository setup so that subsequent
updates are fetched from SourceForge. This should be quite safe, because
<https://gitlab.com/flightgear/fgdata> is an official mirror of FGData (it is
maintained by FlightGear developers). Answer 'y' to proceed this way. If you
answer 'n', we'll *try* to clone FGData from SourceForge using https. Answer 'q'
if you want to quit. What is your choice? [Y/n/q] Y
Starting special initialization routine for the DATA component...
Fetching FGData with 'git clone https://gitlab.com/flightgear/fgdata.git'
Clonage dans '.'...
remote: Enumerating objects: 32, done.
remote: Counting objects: 100% (32/32), done.
remote: Compressing objects: 100% (24/24), done.
error: échec RPC ; curl 56 GnuTLS recv error (-54): Error in the pull function.
fatal: L'hôte distant a fermé la connexion de manière inattendue
fatal: fin de fichier prématurée
fatal: échec de index-pack

Pseudo fgfs : fantasy7        GNU/Linux Mint 17.3  Proc : Pentium(R) Dual-Core  CPU      E5700  @ 3.00GHz
ram : 3884 Mo swp : 3990 Mo  gpu : [AMD/ATI] Cedar [Radeon HD 5000/6000/7350/8350 Series]
fgfs : FlightGear version: 2016.4.4  Revision: 6f36cd89b76d357cbd4eedebe42cef62fcc473ac  Build-Id: none
SimGear version: 2016.4.4 OSG version: 3.2.0

Hors ligne

#5 24/02/2021 22:23:41

fdz
Membre
Lieu : Newbie
Inscription : 12/02/2021
Messages : 118
Site Web

Re : [RESOLU] download_and_compile.sh

bonjour,
de mémoire, je m'y suis repris à 2 fois avant que le clonage Git fonctionne correctement avec la commande  suivante:
./download_and_compile.sh -s -j2 DATA

La compilation de SIMGEAR a-t-elle réussi ?
./download_and_compile.sh -s -j2 SIMGEAR

La compilation de FGFS a-t-elle réussi ?
./download_and_compile.sh -s -j2 FGFS

PS: j'ai mis l'option -j2 pour adapter la ligne de commande à ton Dual-Core

The -s option passed to download_and_compile.sh instructs it to build the latest stable release of FlightGear. Use option --lts instead if you want the latest Long Term Stable release (it may be older but possibly more stable), or --old-lts for the previous LTS release. If you pass none of -s, --lts and --old-lts, download_and_compile.sh will build the next suite, which contains the development version of FlightGear.

Dernière modification par fdz (24/02/2021 22:32:58)


Flightgear version 2020.4.0 compilé et Flightgear version 2020.3.6 appImage
Linux Mint Debian Edition 4
HP ProBook 4530s - Intel Core i5-2430M - 8Go Ram - Carte graphique Intel HD 3000 et Radeon HD 7400M Series
- Non pilote - Avion préféré: l'Aerostar-700 alias "Aerostar 76 Clématisé"

Hors ligne

#6 24/02/2021 23:43:57

ctesc356
Membre
Inscription : 18/05/2010
Messages : 3 483

Re : [RESOLU] download_and_compile.sh

fatal: L'hôte distant a fermé la connexion de manière inattendue

Tu peux récupérer "fgdata" de gitlab, sans l'historique git et beaucoup plus rapidement que par sf

git clone --depth 1 --branch next https://gitlab.com/flightgear/fgdata.git

Remplacer "next" par "release/<version>" si tu veux autre chose ( "s-" ou "--lts")  https://sourceforge.net/p/flightgear/fg … /branches/

A toi de le placer dans le bon répertoire (.../install/flightgear/)
Puis d&c SIMGEAR FGFS

Ps: tu peux aussi cloner par gitlab avec d&c.

What is your choice? [Y/n/q] Y

En répondant "Y", mais ça comprend l'historique git, ~2G inutiles pour le commun des mortels.
"n" clone par sourceforge, finit en général en échec.

Dernière modification par ctesc356 (27/02/2021 10:43:12)


Intel i5-9400F, 16Go Ram, Nvidia GTX1660Ti, Linux Mint

Hors ligne

#7 26/02/2021 22:07:56

bertrandperrier
Membre
Inscription : 6/12/2006
Messages : 160

Re : [RESOLU] download_and_compile.sh

merci de vos réponse
en 3 étapes, ça a marché

./download_and_compile.sh -s -j2 DATA
./download_and_compile.sh -s -j2 SIMGEAR
./download_and_compile.sh -s -j2 FGFS

bizarre


Pseudo fgfs : fantasy7        GNU/Linux Mint 17.3  Proc : Pentium(R) Dual-Core  CPU      E5700  @ 3.00GHz
ram : 3884 Mo swp : 3990 Mo  gpu : [AMD/ATI] Cedar [Radeon HD 5000/6000/7350/8350 Series]
fgfs : FlightGear version: 2016.4.4  Revision: 6f36cd89b76d357cbd4eedebe42cef62fcc473ac  Build-Id: none
SimGear version: 2016.4.4 OSG version: 3.2.0

Hors ligne

#8 27/02/2021 12:06:52

fdz
Membre
Lieu : Newbie
Inscription : 12/02/2021
Messages : 118
Site Web

Re : [RESOLU] download_and_compile.sh

bonjour,
nickel, il ne reste plus qu'à mettre à jour ta signature alors smile


Flightgear version 2020.4.0 compilé et Flightgear version 2020.3.6 appImage
Linux Mint Debian Edition 4
HP ProBook 4530s - Intel Core i5-2430M - 8Go Ram - Carte graphique Intel HD 3000 et Radeon HD 7400M Series
- Non pilote - Avion préféré: l'Aerostar-700 alias "Aerostar 76 Clématisé"

Hors ligne

Pied de page des forums