Hello again,

On Tue, 13 Sep 2005 12:22:48 +0200 wwp <[EMAIL PROTECTED]> wrote:

> I'm a Flight Gear newbie, and installed the 0.9.8 version from the sources
> on my FC3 GNU/Linux box, following the online documentation at
> http://www.flightgear.org/Docs/InstallGuide/getstart.html#QQ2-6-10.
> 
> Obviously, my installation must not be perfect since I am not able to 
> start fgfs :-).

And it's always when I send such help request that I finally found what was
wrong.. the permissions of /usr/local/FlightGear/share/FlightGear/Aircraft/dhc2/
directory were not correct, I had to chmod -R a+rX it.
This has to be done after unpacking the base tarball, unless the base tarball
is fixed.

Also, the attached patch helps the user in such situation: it shows *which*
directory cannot be opened. I've checked at the other occurrences of the
string "Unable to open aircraft directory." and they don't seem to need such
change since they refer to the Aircraft/ directory itself, so if I'm not
wrong the error message it self-explicit.

Maybe some other error message should be checked and include more detail
about the error itself? I also noticed that wrong permissions to files inside
the aircraft directories are silently ignored, as well as (for instance)
any subdir in Scenery/).


Regards,

--
wwp
--- fg_init.cxx-orig	2005-09-13 12:35:50.000000000 +0200
+++ fg_init.cxx	2005-09-13 12:53:50.000000000 +0200
@@ -534,7 +534,7 @@
     ulDirEnt* dire;
     ulDir *dirp = ulOpenDir(path.str().c_str());
     if (dirp == NULL) {
-        cerr << "Unable to open aircraft directory: " << endl;
+        cerr << "Unable to open directory: " << path.str().c_str() << endl;
         exit(-1);
     }
 
_______________________________________________
Flightgear-users mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-users
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to