[gnome-db] datarootdir



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.

for example, if I try to start midgard-app (which uses libgda) I get the following errors immediately:

** Message: Could not parse '/usr/share/libgda-4.0/dtd/libgda-array.dtd': XML data import validation will not be performed (some weird errors may occur)
** Message: Could not parse '/usr/share/libgda-4.0/dtd/libgda-paramlist.dtd': XML data import validation will not be performed (some weird errors may occur)
** Message: Could not parse '/usr/share/libgda-4.0/dtd/libgda-server-operation.dtd': Validation for XML files for server operations will not be performed (some weird errors may occur)

I tried to explicitly add --datarootdir= and --datadir= configure-parameters, but still no luck.
Looks like libgda just ignores prefixes and uses some kind of fallback.


-- 
Alexey Zakhlestin
http://www.milkfarmsoft.com/




Attachment: smime.p7s
Description: S/MIME cryptographic signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]