Re: [ANNOUNCE] rep-gtk-0.18.4



On Sat, 14 Mar 2009 16:12:54 +0900 (JST)
wrote Teika Kazura <teika lavabit com>:

>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:
>
>libdir=/usr/${exec_prefix}/lib
>
>So, because ${exec_prefix} = /usr, it happens.
>
>I don't know autoconf, make, pkgconfig... at all, but I guessed the
>cause; rep-gtk's Makefile.in 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 Makefile.in.
>> ...
>> --- rep-gtk-0.18.3/Makefile.in.libdir	2008-08-14 19:05:46.000000000 +0200
>> +++ rep-gtk-0.18.3/Makefile.in	2009-01-05 17:40:53.000000000 +0100
>> @@ -50,6 +50,7 @@
> 
>>  DESTDIR=
>>  installdir=$(repexecdir)
>> +libdir= libdir@
>> ... 
>
>Maybe the above patch is correct, instead of current @prefix@/@libdir@ ?
>
>Teika (Teika kazura)
>

Hi,

Take a look in the ebuild. If by "src_compile()"
something like --prefix=..... replace it with "--prefix=/usr".
If --prefix= not present add it. Maybe it helps.


-- 
Regards,
Fuchur


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