Re: Can't install to custom --prefix location



>> http://bugzilla.gnome.org/show_bug.cgi?id=587993
>>
>> I'd like to install librep, rep-gtk and sawfish to a custom location
>> so --prefix=/to/some/path is given to all 3 configure scripts.
>> Configure, make, make install passes for librep and rep-gtk but 'make'
>> fails for sawfish:
>>
>> SAWFISHLISPDIR=. SAWFISHEXECDIR=../src/.libexec SAWFISHDOCFILE=../DOC
>> ../src/sawfish --batch --no-rc compiler -f compile-batch sawfish/wm.jl
>> ../src/sawfish: error while loading shared libraries: librep.so.9:
>> cannot open shared object file: No such file or directory
>> make[1]: *** [sawfish/wm.jlc] Error 127
>
> This might be related to a problem I have with building the rpm with
> tweaked architectures. I need to patch the sawfish.spec file replacing
> the automagic detection with a hard coded define:
>
> <%define librepdir %(\
> <   repl=$(rpm -ql librep.%{_arch}| grep -m 1 /rep/); \
> <   [ "$repl" ] || repl=$(rpm -ql librep-devel.%{_arch} | grep -m 1 /rep/);
> \
> <   echo ${repl%%/rep/*})
>
>  >%define librepdir /usr/lib
>
>
> Look in the Makefiles for a similar librepdir define.
>

Thanks, I'll give it a try.

Cheers,
Daniel


-- 
Psss, psss, put it down! - http://www.cafepress.com/putitdown


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