Board index FlightGear Support Compiling

Trying to get 2016.3.1 working on Ubuntu 16.04

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

Trying to get 2016.3.1 working on Ubuntu 16.04

Postby jtprophet » Wed Sep 21, 2016 2:14 pm

Good morning guys,

I'm having an issue with finalizing the binaries for compiling an install package for 2016.3.1, I downloaded the package which contains everything I need including the cmake files and came to a point of getting success with the cmake command.
All the dependencies check passed and it went through creating and linking the executables until the end which I noted was an executable named foo. so this is where I am stuck I cant figure out what my next command should be to make the install work. Unfortunately it got to be late last night and I had to call it quits; however I'd like to get this working on my system which by the way is running Ubuntu Xenial 16.04.

Just out of curiosity are there binaries available that have been created that I'm not aware of yet?

Thank-you

John.
jtprophet
 
Posts: 159
Joined: Mon Apr 04, 2016 2:21 pm
Callsign: DAL1464

Re: Trying to get 2016.3.1 working on Ubuntu 16.04

Postby wkitty42 » Wed Sep 21, 2016 2:26 pm

are you doing this in the raw or are you using something like the "download_and_compile.sh" script available in FGMeta? there is also something called the "super build" but i don't know anything more about it other than its name... personally, i've been using the dnc script (aka that long name above) on kubuntu 14.04... it should still work 16.04 with maybe some minor tweaks here and there but i don't have 16.04 here (yet)... not sure when it (16.04) will be installed and looked at, either...
"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: Trying to get 2016.3.1 working on Ubuntu 16.04

Postby tauchergreg » Wed Sep 21, 2016 2:48 pm

Hello John

do you know this WIKI side :

http://wiki.flightgear.org/Scripted_Com ... ian/Ubuntu

greg
C160 Transall , Twin Otter DHC6, both with small modification
EF2000
ETMN & EDXN under development
User avatar
tauchergreg
 
Posts: 58
Joined: Tue Jul 03, 2012 7:36 am
Location: near ETMN
Callsign: OFD001 ; BRT0192
Version: 20xx
OS: Linux & W7

Re: Trying to get 2016.3.1 working on Ubuntu 16.04

Postby jtprophet » Wed Sep 21, 2016 3:17 pm

No but I will certainly check this out tonight when I get home.
jtprophet
 
Posts: 159
Joined: Mon Apr 04, 2016 2:21 pm
Callsign: DAL1464

Re: Trying to get 2016.3.1 working on Ubuntu 16.04

Postby wkitty42 » Wed Sep 21, 2016 6:35 pm

that points to the dnc script i mentioned above ;)
"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: Trying to get 2016.3.1 working on Ubuntu 16.04

Postby jtprophet » Thu Sep 22, 2016 1:20 am

Ok so I ran the script and it took close to five or so minutes to finish however at the end of the script I received this error:

Cloning into '.'...
remote: Counting objects: 54360, done.
fatal: read error: Connection reset by peer354)
fatal: early EOF
fatal: index-pack failed

And here is where I stand with a directory structure list still in that build directory:

john@LINUXHOME:~/stable/flightgear$ ls
3rdparty COPYING man README.msvc scripts version
AUTHORS docs-mini NEWS README.OpenAL src
ChangeLog examples package README.OSG tests
CMakeLists.txt icons README README.plib Thanks
CMakeModules INSTALL README.cmake README.SimGear utils

So here is where I get lost because as of now I still do not have and run files to launch the program yet and I feel there is some other process that has to happen before I am successful.

Please help.
jtprophet
 
Posts: 159
Joined: Mon Apr 04, 2016 2:21 pm
Callsign: DAL1464

Re: Trying to get 2016.3.1 working on Ubuntu 16.04

Postby jtprophet » Thu Sep 22, 2016 3:04 am

Just a follow up.....I'm good what my problem was this:

All I had to do was to go to correct directory and just run the command ./fgfs and bingo I saw a beautiful thing the screen I was used to seeing. So the script does everything; thanks to all who contributed to my success tonight.

John.
jtprophet
 
Posts: 159
Joined: Mon Apr 04, 2016 2:21 pm
Callsign: DAL1464

Re: Trying to get 2016.3.1 working on Ubuntu 16.04

Postby wkitty42 » Thu Sep 22, 2016 3:14 am

jtprophet wrote in Thu Sep 22, 2016 1:20 am:Ok so I ran the script and it took close to five or so minutes to finish however at the end of the script I received this error:

Cloning into '.'...
remote: Counting objects: 54360, done.
fatal: read error: Connection reset by peer354)
fatal: early EOF
fatal: index-pack failed

this is from a failed git update... you should be able to run it again and it should pick up where it left off or at least it should fix itself...
"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: Trying to get 2016.3.1 working on Ubuntu 16.04

Postby wkitty42 » Thu Sep 22, 2016 3:18 am

jtprophet wrote in Thu Sep 22, 2016 3:04 am:All I had to do was to go to correct directory and just run the command ./fgfs and bingo I saw a beautiful thing the screen I was used to seeing.

actually, you should be using the path/to/stable/run_fgfs.sh or path/to/next/run_fgfs.sh script as it sets the necessary parameters... i only update next these days and ride close to the bleeding edge most of the time ;)

jtprophet wrote in Thu Sep 22, 2016 3:04 am:So the script does everything; thanks to all who contributed to my success tonight.

yep, the dnc script has been around since before i found FGFS... i've been using it since about a month after i first installed FGFS...
"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


Return to Compiling

Who is online

Users browsing this forum: No registered users and 1 guest