Re: [gnome-db] datarootdir

Alexey Zakhlestin <[email protected]>
Newsgroups gmane.comp.gnome.db
Message-ID <[email protected]>
On 27.05.2010, at 16:39, Vivien Malerba wrote:

> On 27 May 2010 09:50, Alexey Zakhlestin <[email protected]> wrote:
>> 
>> On 27.05.2010, at 9:52, Vivien Malerba wrote:
>> 
>>> On 27 May 2010 01:48, Alexey Zakhlestin <[email protected]> wrote:
>>>> Hi.
>>>> 
>>>> I am trying to package libgda-4.0.x (4.0.8 currently) for macos's "homebrew" package manager.
>>>> All packages in homebrew are installed into custom prefixes (so, that they do not interfer with system files in any way)
>>>> 
>>>> the problem is, that even if I use something like "./configure --prefix=/whatever/prefix", libgda still looks for dtd files in /usr/share/libgda-4.0/dtd directory.
>>>> 
>>> 
>>> Normally Libgda takes into account the --prefix or --datadir options
>>> and installs and lookup files based on this location.
>> 
>> Installation works just fine. Files are installed in proper location. Problem is only with lookup
>> 
>>> Could you send me Libgda's complete compilation logs so I can try to
>>> figure out what th eproblem is?
>> 
>> sure. see attachments.
> 
> Thanks for the attachments. I guess the problem is related to the
> binary relocation feature incorporated in Libgda (which allows one to
> compile and install with a prefix and the move the whole installation
> to another directory as is often done on Windows and MacOSX's
> bundles). Specifically I did not have much opportunity to test the
> MasOSX's building and here is a patch which, I hope, corrects the
> problem.
> 
> Can you test it and tell me if it's OK?

It didn't help, unfortunately. Exactly the same symptoms.
As I build against tar.bz2 version, I used the following patch: http://gist.github.com/415756 (adds "configure" file patching)

_______________________________________________
gnome-db-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-db-list
smime.p7s (application/pkcs7-signature, 2.6 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.