Re: [ANNOUNCE] rep-gtk-0.18.4

Hi. I have an installation problem.

I seem to have a peculiar 'libdir' value in Makefile on my Gentoo
Linux. As a result, my rep-gtk.pc is installed in
/usr/usr/lib64/... Note duplicate '/usr'. Other files are ok. (The
file rep-gtk.pc is the only one which depends on libdir.)

Configure run by Gentoo says:
  prefix:       /usr
  exec_prefix:  ${prefix}
  libdir:       /usr/lib64
  libexecdir:   ${exec_prefix}/libexec

Makefile has the following line:


So, because ${exec_prefix} = /usr, it happens.

I don't know autoconf, make, pkgconfig... at all, but I guessed the
cause; rep-gtk's has the definition of libdir:

libdir= prefix@/@libdir@

This libdir line is added 2 months ago, with the following argument:

On Mon, 5 Jan 2009 18:07:09 +0100, Jan Kasprzak wrote:
> I have found one problem in rep-gtk: it installs its pkgconfig file
> to /usr/lib/pkgconfig, instead of whatever is given to ./configure as
> --libdir option. This can be a problem on multilib systems (on Fedora,
> for example, 32-bit libraries sit in /usr/lib, while 64-bit ones
> are in /usr/lib64). I suggest the following patch to
> ...
> --- rep-gtk-0.18.3/	2008-08-14 19:05:46.000000000 +0200
> +++ rep-gtk-0.18.3/	2009-01-05 17:40:53.000000000 +0100
> @@ -50,6 +50,7 @@
>  installdir=$(repexecdir)
> +libdir= libdir@
> ... 

Maybe the above patch is correct, instead of current @prefix@/@libdir@ ?

Teika (Teika kazura)

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