bugGNUstep - Bugs: bug #39957, [SQLClient] assumes bundle install...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #39957: [SQLClient] assumes bundle install into /usr/local

Submitted by:  adr <adr>
Submitted on:  Thu 05 Sep 2013 05:33:11 PM UTC  
 
Category: LibrariesSeverity: 3 - Normal
Item Group: InstallationStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Declined

Fri 06 Sep 2013 12:43:37 PM UTC, comment #3:

Works, thank you!

adr <adr>
Fri 06 Sep 2013 07:15:50 AM UTC, comment #2:

The location is NOT hard coded ... it's looking up the bundle in the local domain ... so if the bundle has been installed in /usr and the code is looking in /usr/local then either:

1. the bundle has been installed in the wrong place (/usr rather than /usr/local)
or
2. the GNUstep.conf file has been set up to point the local domain to the wrong place (/usr/local rather than /usr).

So your problem is one of system misconfiguration rather than a bug in the library.

That being said, I have changed the code so that it should try all domains from version 1.7.0
This may fix your problem (if any domain is configured to point to the directory the bundle is actually installed in).

Richard Frith-Macdonald <CaS>
Project Member
Thu 05 Sep 2013 05:37:02 PM UTC, comment #1:

sqlclient-1.6.0:

sed -i -e 's:NSLocalDomainMask:NSSystemDomainMask:' SQLClient.m

adr <adr>
Thu 05 Sep 2013 05:33:11 PM UTC, original submission:

Background: https://bugs.gentoo.org/show_bug.cgi?id=480620
SQLClient is used as a dependency for MPDCon.

SQLClient.m is hard coded to search bundles in /usr/local. Normally they are installed into /usr, at least with Gentoo Linux.

I applied the following sed script to make it work, but a configure option, or something else, would be nice. Cheers!

adr <adr>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by CaS (Posted a comment)
  • -unavailable- added by adr (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 06 Sep 2013 07:15:50 AM UTCCaSStatusNone=>Fixed
      Open/ClosedOpen=>Declined

    Back to the top


    Powered by Savane 3.1-cleanup1