Board index FlightGear Support Compiling

Should I be using an 11 year old version of automake?  Topic is solved

Building FlightGear from source, and in the need for help?

Should I be using an 11 year old version of automake?

Postby fdhenard » Wed Dec 09, 2015 7:47 pm

I'm trying to compile on Ubuntu 15.10.

I started by trying the scripted compilation, but make was not installed, so I went back to these instructions to make sure I had the correct dependencies. It says that I need automake1.9 which is over 11 years old. Is it correct that I need that version? Are those instructions up-to-date?

Thanks for your help!
fdhenard
 
Posts: 7
Joined: Thu Apr 29, 2010 8:10 pm

Re: Should I be using an 11 year old version of automake?

Postby sanhozay » Wed Dec 09, 2015 8:06 pm

You need cmake and make, not the GNU autotools.

This looks more like it: http://wiki.flightgear.org/Ubuntu
sanhozay
 
Posts: 1207
Joined: Thu Dec 26, 2013 11:57 am
Location: EGNM
Callsign: G-SHOZ
Version: Git
OS: Ubuntu 16.04

Re: Should I be using an 11 year old version of automake?  

Postby wkitty42 » Wed Dec 09, 2015 8:09 pm

as long as you have the requisites, you should be fine... that download_and_compile script will automatically install the necessary packages if you tell/let it... you can see, in the following code block, what the minimum packages are that it will install... if you don't want to let it do it automatically, you can do it manually...

Code: Select all
#######################################################
# Minimum
PKG="build-essential cmake git"
# TG
PKG="$PKG libcgal-dev libgdal-dev libtiff5-dev"
# TGGUI/OpenRTI
PKG="$PKG libqt4-dev"
# SG/FG
PKG="$PKG zlib1g-dev freeglut3-dev libboost-dev libopenscenegraph-dev"
# FG
PKG="$PKG libopenal-dev libudev-dev qt5-default libdbus-1-dev libpng12-dev libplib-dev"
# FGPanel
PKG="$PKG fluid libbz2-dev libfltk1.3-dev libxi-dev libxmu-dev"
# FGAdmin
PKG="$PKG libxinerama-dev libjpeg-dev libxft-dev"
# ATC-Pie
PKG="$PKG python3-pyqt5 python3-pyqt5.qtmultimedia libqt5multimedia5-plugins"
# FGo
PKG="$PKG python-tk"
# FGx (FGx is not compatible with Qt5, however we have installed Qt5 by default)
#PKG="$PKG libqt5xmlpatterns5-dev libqt5webkit5-dev"

if [ "$DOWNLOAD_PACKAGES" = "y" ]; then
  echo "Asking password for apt-get operations..."
  if [ "$APT_GET_UPDATE" = "y" ]; then
    sudo apt-get update
  fi
  sudo apt-get install $PKG
fi

#######################################################
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 6966
Joined: Fri Feb 20, 2015 3:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: Should I be using an 11 year old version of automake?

Postby fdhenard » Wed Dec 09, 2015 8:12 pm

Thanks for your help. I take it that these instructions are out of date then?
fdhenard
 
Posts: 7
Joined: Thu Apr 29, 2010 8:10 pm

Re: Should I be using an 11 year old version of automake?

Postby wkitty42 » Wed Dec 09, 2015 8:20 pm

maybe some minor details are out of date... i don't know which i started with but it was with the download_and_compile script which i still use... i'll try to take a look at it and see if anything can be done to clean it up...

TBH: i got the dnc (short for download_and_compile) script off a (wiki?) page and then updated it to the latest from FGMETA when i found out about that repo after the "great split" and move of the repos to sourceforge... most all the links have been changed to point to SF... other than that, the script pretty much works like it always did...

[time passes]

my automake is 1.14.1... i don't know why that page specifies that one... that's also not the place i started from... i think your other link with the dnc script is where i started...

plus there's a note at the bottom of that page to not to use autogen.sh as that has been removed from the repo files...
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 6966
Joined: Fri Feb 20, 2015 3:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: Should I be using an 11 year old version of automake?

Postby fdhenard » Wed Dec 09, 2015 9:01 pm

I figured out what I did wrong with the scripted compilation. In the steps below, I skipped the stable compile which downloads the packages, and went straight to the next compile which skips downloading the packages. Thanks for your quick responses!

Code: Select all
cd  <your working directory for building flightgear>
wget -O download_and_compile.sh  http://sourceforge.net/p/flightgear/fgmeta/ci/next/tree/download_and_compile.sh?format=raw
chmod +x download_and_compile.sh
mkdir -p stable
mkdir -p next
cd stable
../download_and_compile.sh -s
cd ../next
../download_and_compile.sh -p n
fdhenard
 
Posts: 7
Joined: Thu Apr 29, 2010 8:10 pm


Return to Compiling

Who is online

Users browsing this forum: No registered users and 1 guest