[kde-linux] KDE /usr/lib? for x86_64 machines

Rod Butcher rbutcher at hyenainternet.com
Sun Aug 6 11:17:07 UTC 2006


James Richard Tyrer wrote:
> Rod Butcher wrote:
>> I upgraded to a AMD 64bit dual processor and installed Mandriva 2006
>>  x86_64. No problems. I then took the opportunity to upgrade to KDE
>> 3.5.4 and started compiling from source like I normally do. I
>> discovered that even though I set libdir=/usr/lib64 for configure
>> (for some reason Mandriva chose this) the configure script ignores
>> this and hardcodes /usr/lib.
> 
> Setting --libdir=/usr/lib64 only controls wheres things are installed. 
> So, that isn't how you tell it to build 64 bit.
> 
> KDE won't work if it is sliced and diced -- it must all be installed 
> with the same $PREFIX, so you shouldn't use the "--libdir=" option 
> alone.  I suggest that you first "make uninstall" and then remove your: 
> "config.cache" file and try it again without the "--libdir=" option.
I actually am trying to build from and install into the same directories :-
/usr/lib64
/usr/share
/usr/bin
so I set --prefix to /usr and --libdir to /usr/lib64 e.g. ./configure 
--prefix=/usr --libdir=/usr/lib
The build process should use these values, but it ignores --libdir and 
sets it to $prefix/lib
This in my opinion is wrong.
I built Gnome this way and it happily slots into /usr/lib64...
Seems to me either I'm missing the point here or the KDE build scripts 
are buggy.
thanks
Rod
> 
> This may not fix the problem, but it isn't going to work with the KDE 
> libraries installed in one place and the rest installed with the default 
> $PREFIX (/usr/local/kde).
> 




More information about the kde-linux mailing list