The "problem" was introduced in November 2010 in commit 
http://gitorious.org/fg/flightgear/commit/a6458c2ed64757b1f416b0035df142d29359239e

The change of line 17 triggers the change of string 'FlightGear' to 
'flightgear' in the Makefile. However, the change of AM_INIT_AUTOMAKE is 
preferred since the previous usage of the macro in flightgear is 
deprecated. The pre-Npv2010 usage of AM_INIT_AUTOMAKE does not match the 
default automake naming scheme. Remember autotools is created by 
unix-people and they are generally not CamelCase friendly.

The AC_INIT line sets many strings (such as PACKAGE_NAME to FlightGear) 
but not string PACKAGE that is actually set by AM_INIT_AUTOMAKE to 
flightgear. The PACKAGE string is used to derive the tar-ball name.

There is probably ways around it but I suggest that FlightGear data 
directories are renamed to flightgear. Or follow Curt's --fg-root advice

Cheers,

Jari



On 2011-01-08 17.38, Curtis Olson wrote:
> I'm not seeing where PACKAGE is explicitly set anywhere in configure.ac or
> Makefile.am
>
> This might not be a change we made, but perhaps a change in the underlying
> autotools software defaults?
>
> In configure.ac we have:
>
> AC_INIT(FlightGear, m4_esyscmd([cat ./version | tr -d '\n']), [
> http://www.flightgear.org])
>
> I *think* that this is where @PACKAGE@ get's defined for the autoconf
> system, and as you can see, it's still properly capitalized in our
> configuration.  Perhaps the autotools are forcing everything to lower case?
>
> If you add --fg-root= into your ~/.fgfsrc then it shouldn't matter ...
>
> Regards,
>
> Curt.
>
>
> On Tue, Jan 4, 2011 at 5:42 PM, Ron Jensen wrote:
>
>> I haven't pulled from git for a while.  I built last night and discovered
>> the
>> name of the data paths has changed from FlightGear to flightgear.  I assume
>> this is unintentional?  Would someone give me a hint on how to change this
>> back?
>>
>> Thanks
>> Ron
>>
>> (old source Makefile)
>> pkgdatadir = $(datadir)/FlightGear
>> pkglibdir = $(libdir)/FlightGear
>> pkgincludedir = $(includedir)/FlightGear
>>
>> (new source Makefile)
>> pkgdatadir = $(datadir)/flightgear
>> pkglibdir = $(libdir)/flightgear
>> pkgincludedir = $(includedir)/flightgear
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
>> to consolidate database storage, standardize their database environment,
>> and,
>> should the need arise, upgrade to a full multi-node Oracle RAC database
>> without downtime or disruption
>> http://p.sf.net/sfu/oracle-sfdevnl
>> _______________________________________________
>> Flightgear-devel mailing list
>> Flightgear-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/flightgear-devel
>>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Gaining the trust of online customers is vital for the success of any company
> that requires sensitive data to be transmitted over the Web.   Learn how to
> best implement a security strategy that keeps consumers' information secure
> and instills the confidence they need to proceed with transactions.
> http://p.sf.net/sfu/oracle-sfdevnl
>
>
>
> _______________________________________________
> Flightgear-devel mailing list
> Flightgear-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flightgear-devel

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to