Unable to install / compile FG

22 Jun 2020 11:01 #47279 by Avionyx
Done some testing and custom scenery seems to work sometimes and not others so unsure if it's the appimage or not. Might be something else at play.

The spanish custom scenery seems to be part working, Timi's LOWI stuff is all absolutely fine. some of Legoboy's UK scenery packs work and some don't so it's hit and miss but again that may not be the appimages fault.

Please Log in or Create an account to join the conversation.

22 Jun 2020 11:35 #47282 by enrogue
In a conversation with James at the moment - he's investigating Flatpak as well as AppImage - building a cross-distro binary distribution for Linux is definitely on the horizon due to proposed changes in the way the D&C script works

I'm going to install a Centos 7 LXD container tonight & try building an AppImage on that - it may work better than Ubuntu 16.04 due to the newer libraries

Please Log in or Create an account to join the conversation.

24 Jun 2020 12:17 - 24 Jun 2020 12:18 #47303 by enrogue
New test AppImage, 2020.1.2 built on Centos 7 gcc 4.8.5 here:

www.dropbox.com/s/bewrllw4xn8dswt/Flight...entos7.AppImage?dl=0

It's only 50M in size (no FGData), and *should* use your local libGL (so should work better with graphics whether you have Nvidia or not)

1 bug: METAR isn't working when I test on Ubuntu due to something either in libssl or libcurl - may need self compiled versions of one of these

Can someone please check it out?

Please Log in or Create an account to join the conversation.

24 Jun 2020 15:15 #47305 by enrogue
AppImage just updated with fix for METAR (well part of it)

It was missing a couple of loadable modules needed by libssl & then there is still the issue of where it looks for the ssl certificates

Redhat/Centos has it hardcoded to /etc/pki/tls/certs/ca-bundle.crt

Ubuntu/Debian has it hardcoded to /etc/ssl/certs/ca-certificates.crt

I've no idea where Arch/Manjaro puts it

On Ubuntu the fix is to symlink the 2 together:

sudo mkdir -p /etc/pki/tls/certs
sudo ln -s /etc/ssl/certs/ca-certificates.crt /etc/pki/tls/certs/ca-bundle.crt

Please Log in or Create an account to join the conversation.

25 Jun 2020 09:14 #47309 by Avionyx
Thanks for that Enrogue, I'm not getting Terrasync working at all with that?

Please Log in or Create an account to join the conversation.

25 Jun 2020 11:50 - 25 Jun 2020 11:51 #47311 by enrogue
OK, thanks for the feedback - it's the same issue as with METAR I think - when it can't find the root certificate it can't use https for METAR or TerraSync

When I have the symlink in place both TerraSync & METAR work ok

I think Manjaro has the root certificate in the same place as Ubuntu (/etc/ssl/certs/ca-certificates.crt)

Do you have the symlink in place?

James is looking at putting fuctionality in place in Simgear so we can specify where to look for the root cert

There isn't a standard in Linux for where TLS/SSL certs are stored - some applications like the Go language have to look in a dozen different places to be able to be cross platform

Please Log in or Create an account to join the conversation.

25 Jun 2020 13:32 #47312 by Avionyx
Hi Enrogue,

I'd put the symlink in for the wrong place. Putting it as /etc/ssl/certs/ca-certificates.crt makes it work absolutely fine. Seems to manage reflections a lot better than the last one so huge improvement there. Great stuff!

Please Log in or Create an account to join the conversation.

25 Jun 2020 14:52 #47316 by enrogue
The fact that it uses your systems libGL etc means that it picks up your graphics drivers properly (including Nvidia)

Let me know if there's anything else you come across

Please Log in or Create an account to join the conversation.

26 Jun 2020 12:13 #47329 by Avionyx
The only errors I'm getting now are terrasync related and I don't know if it's related to the build or they are genuine errors but I seem to be missing some scenery that Stuart sees fine:
  177.81 [INFO]:terrain   /home/ubuntu/work/FG/flightgear/src/Scenery/tilemgr.cxx:534: FGTileMgr: at lon = -0.489234deg, lat = 39.5deg, elev = 70.555m, scheduling needed for:-1:2, 39:4, visibility=24255
  177.81 [INFO]:terrain   /home/ubuntu/work/FG/flightgear/src/Scenery/tilemgr.cxx:320: scheduling needed tiles for -1:2, 39:4, tile-width-m:21435.5, tile-height-m:13914.9
  177.82 [INFO]:terrasync /home/ubuntu/work/FG/simgear/simgear/scene/tsync/terrasync.cxx:613: sync of https://ukmirror.flightgear.org/fgscenery/Buildings/e000n30/e000n39 started, queue size is 5
  178.01 [WARN]:terrasync /home/ubuntu/work/FG/simgear/simgear/io/HTTPRepository.cxx:1176: Failed to get root of repo:https://ukmirror.flightgear.org/fgscenery/Buildings/e000n30/e000n39 7
  178.01 [INFO]:terrasync /home/ubuntu/work/FG/simgear/simgear/scene/tsync/terrasync.cxx:723: Failed to sync'Buildings/e000n30/e000n39'
  178.01 [INFO]:terrasync /home/ubuntu/work/FG/simgear/simgear/scene/tsync/terrasync.cxx:613: sync of https://ukmirror.flightgear.org/fgscenery/Roads/e000n30/e000n39 started, queue size is 4
  178.04 [WARN]:terrasync /home/ubuntu/work/FG/simgear/simgear/io/HTTPRepository.cxx:1176: Failed to get root of repo:https://ukmirror.flightgear.org/fgscenery/Roads/e000n30/e000n39 7
  178.04 [INFO]:terrasync /home/ubuntu/work/FG/simgear/simgear/scene/tsync/terrasync.cxx:723: Failed to sync'Roads/e000n30/e000n39'
  178.04 [INFO]:terrasync /home/ubuntu/work/FG/simgear/simgear/scene/tsync/terrasync.cxx:613: sync of https://ukmirror.flightgear.org/fgscenery/Pylons/e000n30/e000n39 started, queue size is 3
  178.07 [WARN]:terrasync /home/ubuntu/work/FG/simgear/simgear/io/HTTPRepository.cxx:1176: Failed to get root of repo:https://ukmirror.flightgear.org/fgscenery/Pylons/e000n30/e000n39 7
  178.07 [INFO]:terrasync /home/ubuntu/work/FG/simgear/simgear/scene/tsync/terrasync.cxx:723: Failed to sync'Pylons/e000n30/e000n39'
  178.07 [INFO]:terrasync /home/ubuntu/work/FG/simgear/simgear/scene/tsync/terrasync.cxx:613: sync of https://ukmirror.flightgear.org/fgscenery/Buildings/w010n30/w001n39 started, queue size is 2
  178.09 [WARN]:terrasync /home/ubuntu/work/FG/simgear/simgear/io/HTTPRepository.cxx:1176: Failed to get root of repo:https://ukmirror.flightgear.org/fgscenery/Buildings/w010n30/w001n39 7
  178.09 [INFO]:terrasync /home/ubuntu/work/FG/simgear/simgear/scene/tsync/terrasync.cxx:723: Failed to sync'Buildings/w010n30/w001n39'
  178.09 [INFO]:terrasync /home/ubuntu/work/FG/simgear/simgear/scene/tsync/terrasync.cxx:613: sync of https://ukmirror.flightgear.org/fgscenery/Roads/w010n30/w001n39 started, queue size is 1
  178.12 [WARN]:terrasync /home/ubuntu/work/FG/simgear/simgear/io/HTTPRepository.cxx:1176: Failed to get root of repo:https://ukmirror.flightgear.org/fgscenery/Roads/w010n30/w001n39 7
  178.12 [INFO]:terrasync /home/ubuntu/work/FG/simgear/simgear/scene/tsync/terrasync.cxx:723: Failed to sync'Roads/w010n30/w001n39'
  178.12 [INFO]:terrasync /home/ubuntu/work/FG/simgear/simgear/scene/tsync/terrasync.cxx:613: sync of https://ukmirror.flightgear.org/fgscenery/Pylons/w010n30/w001n39 started, queue size is 0
  178.15 [WARN]:terrasync /home/ubuntu/work/FG/simgear/simgear/io/HTTPRepository.cxx:1176: Failed to get root of repo:https://ukmirror.flightgear.org/fgscenery/Pylons/w010n30/w001n39 7
  178.15 [INFO]:terrasync /home/ubuntu/work/FG/simgear/simgear/scene/tsync/terrasync.cxx:723: Failed to sync'Pylons/w010n30/w001n39'

Also that still references a ubuntu folder, I thought it was built on CentOS? (not that it matters, just want ot check I'm using the right one)

Please Log in or Create an account to join the conversation.

26 Jun 2020 12:32 #47330 by enrogue
The home/ubuntu/work/FG is just the directory it's built in on the Centos container (I just created an ubuntu user out of habit on centos - yes confusing I know, sorry!)

I'm getting various errors on Terrasync these days as well (not just in the appimage) - I think I saw something on the mailing list that some of the mirrors are out of sync badly - this might be the cause

I have a local Terrasync mirror on my nas - I'll check & see if the appimage is having issues with this as well

Please Log in or Create an account to join the conversation.

26 Jun 2020 20:17 #47337 by enrogue
2020.1.3 AppImage here

www.dropbox.com/s/ygawm3rip1tnext/Flight...x86_64.AppImage?dl=0

It has the certificate included & James put in an environment variable equivalent to the curl ability, so no need for the symlink hack (tested working on Ubuntu 20.04 with the symlink removed)

I see the same errors on my local terrasync mirror which has no https (so no ssl), and on self built FG on Ubuntu so it's an issue with the terrasync servers at the moment (I hope)

Please Log in or Create an account to join the conversation.

30 Jun 2020 12:08 #47388 by enrogue
My script to build an FG appimage has gone into FGMETA

FG is going to need a small update to how it checks the nav databases on startup to allow it to include FGDATA, but we're close to having officially released Linux binaries now

Please Log in or Create an account to join the conversation.

30 Jun 2020 13:18 #47390 by Avionyx
Now there's progress! awesome stuff.

Alex

Please Log in or Create an account to join the conversation.

11 Aug 2020 07:54 #47843 by ScottBouch
Hi dudes,

Thank you for finding this solution, I'm only just squeezing an opportunity to have a look at it, life's been manic since covid19.

I have downloaded the appimage file, made it executable and ran it, all good so far.

First question is on a typical Manjaro install, which folder do we use for the base data download?

Please Log in or Create an account to join the conversation.

11 Aug 2020 08:31 #47844 by enrogue
with the appimage you can put fgdata anywhere you want - you just have to tell it where fgdata is on first run

Please Log in or Create an account to join the conversation.

12 Aug 2020 13:59 #47852 by ScottBouch
Thanks..

I have ran into two issues;

Within FlightGear-2020.1.2-x86_64.AppImage (having set it to be executable), the download button's url does not download the 2020.1.2, maybe someone re-arranged the folders in sourceforge? However, I manually found and downloaded flightgear-2020.1.2.tar.bz2 from the website.

I extracted it to a folder: /home/scott/fg/flightgear-2020.1.2/

I then used FlightGear-2020.1.2-x86_64.AppImage to browse to the above folder, and it returns:


(Linux Manjaro 64 bit XFCE. OS installed to a USB stick, plugged into my work laptop.)

Any ideas what I'm doing wrong?

I just fancied contributing a little Lightning development to GitLab.
Attachments:

Please Log in or Create an account to join the conversation.

12 Aug 2020 15:46 #47853 by enrogue
for that AppImage you want FlightGear-2020.1.2-data.tar.bz2

you can get it from sourceforge.net/projects/flightgear/files/release-2020.1/

It's 2GB in size, contains an fgdata directory - you want to point the launcher at the fgdata directory
The following user(s) said Thank You: ScottBouch

Please Log in or Create an account to join the conversation.

13 Aug 2020 09:42 #47857 by enrogue
I've just built an AppImage for 2020.1.3 here:

www.dropbox.com/s/ygawm3rip1tnext/Flight...x86_64.AppImage?dl=0

I've tested on a Manjaro VM - all seems ok

there are small differences between 2020.1.2 & 2020.1.3 in fgdata - it's a shame to have to download a whole 2GB again

I usually get around this by doing a git clone of fgdata as while it takes up much more space than a tarball download, the incremental updates are much less - up to you

FlightGear-2020.1.2-data.tar.bz2 is in the same place as for 2020.1.2

Please Log in or Create an account to join the conversation.

13 Aug 2020 13:08 #47861 by oly2b
Question about using/learning how to use Linux with the aim to have a pc capable of running conversion scripts to convert XPlane stuff for FG - anyway I installed Manjaro Linux on my 3rd best spare PC (unused XP machine) got it working, can now connect to the internet but so far unable to set up and run any linux applications.
The pacman fails to download all the files but using internet I have downloaded a couple of apps (firefox brower/imagemajic/fg) expanded them in the downloads directory but they don't do anything including a stand alone version of imgemagic.Still can't view images on this pc (only using the standard browers).
The help tutorials on youtube go to deep and straight into script and this and that addons are needed.
Is there a very basic simple guide to getting started with linux? Used Sun workstations and Unix 20+ years ago and did not think it would be so hard to get a simple application running.

Please Log in or Create an account to join the conversation.

13 Aug 2020 17:49 - 13 Aug 2020 17:50 #47863 by enrogue
what errors are you getting? can you get/post a screenshot?

It doesn't sound good of manjaro is failing on downloads

Please Log in or Create an account to join the conversation.

Time to create page: 0.208 seconds
Powered by Kunena Forum

Latest Forum Posts

PM Notifications

You are not logged in.

PM Mailbox

You are not logged in.