I need to use a package X. X depends on Y so I need the dev package of Y (Y-dev). I also have Y's source. How may I compile Y-dev from Y's source?
If this question is incoherent please point me in the right direction on how to avail a package Y that X depends on.
Specifics:
X is R-2.15.3
Y is readline-6.2
I downloaded readline-6.2 and installed it to $HOME/software
. I also set
$C_INCLUDE_PATH=$HOME/software/include:$HOME/software/include/readline
and
$LD_LIBRARY_PATH=$HOME/software/lib:$HOME/software/lib64
I have the following readline files in $LD_LIBRARY_PATH
:
/home/paulk/software/lib/libreadline.a
/home/paulk/software/lib/libreadline.old
/home/paulk/software/lib/libreadline.so
/home/paulk/software/lib/libreadline.so.6
/home/paulk/software/lib/libreadline.so.6.2
/home/paulk/software/lib/libreadline.so.6.2.old
When I run ./configure --prefix=$HOME/software
for R-2.15.3 I get
configure: error: --with-readline=yes (default) and headers/libs are not available
.
My distro is Scientific Linux, which is RPM-based.
readline-dev
from the package manager? – tripleee Jun 30 '13 at 18:58