Re: [gnome-db] Help with install paths



On Wed, 2006-08-30 at 17:34 -0500, Daniel Espinosa wrote:
> 
> 
> 2006/8/30, Rodrigo Moya <rodrigo gnome-db org>:
>         On Wed, 2006-08-30 at 12:59 -0500, Daniel Espinosa wrote:
>         > I'm modifing the Makefile and configure.in files in order to
>         allow
>         > Gda# and GnomeDb# compile and be usable, but I have a
>         problem: 
>         >
>         > in gda-sharp.pc set the path for libs to {libdir}/libgda-
>         1.9 (I
>         > copied the paths from the libgda.pc file) but the install
>         script use
>         > {libdir}/libgda, how can I change that install dir and allow
>         GnomeDb# 
>         > find the correct libs. Of course this need consider the
>         future when
>         > 2.0 will be released in order to sustitud that path to
>         > {libdir}/libgda
>         >
>         I don't know if I've understood what you want, but if it is
>         the version 
>         number, you can create a gda-sharp.pc.in and use %VERSION% in
>         there,
>         which will be replaced by the correct version number in the
>         generated .pc file
>         --
>         Rodrigo Moya < rodrigo gnome-db org>
> 
> The problem is that when I "make install" Gda, it copy the files for
> Gda# in a location, in my configuration, /usr/lib/libgda, while the
> rest of the LibGda is in /usr/lib/libgda- 1.9, I think this is wrong;
> when I try to compile Gnome-Db with GnomeDb# it try to find the
> libraries for Gda# in /usr/lib/libgda, thats correct for the actual
> configuration but I think that Gda# must be installed
> in /usr/lib/libgda- 1.9, but I don't know how to change the install
> script to make Gda# install his files in that location.
> 
you just need to change Makefile.am, is that what you are looking for?

Just use $(libdir)/libgda-$(VERSION) as install path in Makefile.am
-- 
Rodrigo Moya <rodrigo gnome-db org>




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