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.

Time to create page: 0.388 seconds
Powered by Kunena Forum

Latest Forum Posts

PM Notifications

You are not logged in.

PM Mailbox

You are not logged in.