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? Regards, Vivien
proposed_patch
Description: Binary data
_______________________________________________ gnome-db-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gnome-db-list
