Re: EPEL 6 cmake RPATH deafults?!?

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

 



Rex Dieter wrote:

> Richard Shaw wrote:
> 
>> I was having trouble building one of my packages for EL6 and I noticed
>> it was failing during man file generation using help2man.
>> 
>> It turns out that the cmake macros in EL6 use
>> "-DCMAKE_SKIP_RPATH:BOOL=ON" where Fedora doesn't set this (so
>> effectively OFF).
>> 
>> This meant that there was no RPATH to the library required by the
>> executable in the build tree and help2man was failing.
>> 
>> Is there a good reason why this is the default in EL?
>> 
>> On a side note. I wish EL would update to cmake 2.8. I had to do a log
>> of patching of the cmake configuration to get it to build with 2.6.
> 
> file a bug (about both issues), we can at least fix the rpath one I think

Arg, forgot cmake is part of rhel now, not epel, so bug away, but that's the 
redhat cmake maintainers' call to make.

in the meantime, you can definitely workaround your particular problem by 
either including:
%define %_cmake_skip_rpath %{nil}

or 
cmake ... -D-DCMAKE_SKIP_RPATH:BOOL=OFF

-- rex

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux