first I 'm trying to install rrdtool using:
yum install rrdtool
but failed: no source?
so I try to install it from source when I'm doing:
./configure
It says:
configure: error: Please fix the library issues listed above and try again.
some library issues it list to me:
configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of glib-2.0.
configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of pangocairo.
configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of cairo-ps.
and cairo-png cairo-pdf etc...
But I have install thease libs before using :
anybody give a tutorial about install rrdtool on centOS 4?
thanks
It's not enough to install the libraries themselves, you must also install their development packages, suffixed by -devel.
Alternatively, you can install it from EPEL.
Related
I'm working on kinetic(Ubuntu 1604) and trying to compile vision_opencv, it's Cmakelists.txt contains find_package(Boost REQUIRED python3).
And I use sudo apt install libboost-all-dev to install boost, but it still raises Could not find a package configuration file provided by "Boost.
What can I do?
Thanks,
After download the oprofile source code on my host ( Ubuntu 15.04 ),
for some reasons, I need to build the binary my own.
I enter the following command to build the binary
./configure && make && make install
And got the error message
configure: error: liberty library not found
By searching around the fix to this error, I found a package needs to be installed.
sudo apt-get install binutils-dev
However, the same error still appears even thought the package has been installed successfully.
Is there anything I can check with?
Thanks
Just found the answer.
Please follow the link:
Configuration error: Iberty library not found
This answers my question.
Right now I am running Ubuntu 14.04 in VMware trying to make a Live CD with a tool called UCK. I am in the process where I can customize and add my own packages and tools to my live CD. I want to install and setup Autopsy so I began with the process of downloading both Sleuthkit and Autopsy. While trying to install those I have been told I have first have to use ./configure according to this guide: https://shankaraman.wordpress.com/2012/11/16/how-to-install-autopsy-and-sleuthkit-in-ubuntu/
and I got the following error: 'Configure: error: missing libstdc++'
Does anyone know how to fix this? I haven't found a solution on the internet yet.
Fixed it by running: sudo apt-get install build-essential -_-.
I am trying to install a R package in Ubuntu using the following commands:
R CMD INSTALL rpart_4.1-5.tar.gz
install.packages("/home/rpart_4.1-5.tar.gz", repos = NULL, type="source")
* installing to library '/R/library'
* installing *source* package 'rpart' ...
** package 'rpart' successfully unpacked and MD5 sums checked
** libs
sh: make: command not found
ERROR: compilation failed for package 'rpart'
* removing '/R/library/rpart'
I have GCC 4.8.2 installed and the command gcc -v provides the following output:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/tools/stow/gcc-4_8_2-2.x86-64.linux.centos.5/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.8.2/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-4.8.2/configure --prefix=/mnt/gcc/buildir/gcc-4.8.2
Thread model: posix
gcc version 4.8.2 (GCC)
Last time I face the same issue, installing GCC (same version) solved it (posted a similar query on Stackoverflow on this topic). However, this time it is not working. Could someone please let me know what is causing this issue.
UPDATE: We are trying to manually install the dependencies to see if it works. We have installed Make and GCC 4.8.2:
However, I still get the following error:
* installing to library '/opt/vertica/R/library'
* installing *source* package 'rpart' ...
** package 'rpart' successfully unpacked and MD5 sums checked
** libs
cc -std=gnu99 -I/opt/vertica/R/include -DNDEBUG -I/usr/local/include -fpic -c anova.c -o anova.o
make: cc: Command not found
make: *** [anova.o] Error 127
ERROR: compilation failed for package 'rpart'
* removing '/opt/vertica/R/library/rpart'
Are there any other dependencies that we need to install apart from Make and GCC?
Your system doesn't have make utility for compilation.
Please execute following command to install make in your system.
sudo apt-get install build-essential
If you just do
sudo apt-get install r-base-dev
you all the key dependencies relevant for R package building which is what you want here. This includes the compiler, make etc as part of built-essential as well as specific libraries needed by R. There is a reason we created this package :)
If your machine does not have permanent internet access, look for previously-asked questions about "apt-get without internet access" etc.
I have R 3.4.1.1 on my computer (Linux).
I want to install R version 2.14.1 since the package Rmosek does not work in newer version.
I have downloaded the R-2.14.2.tar.gz from Cran.
My problem is that I do not understand the INSTALL instructions,
It says to unpack the R sources and go to the top directory and issue the following commands:
./configure
make
I wrote the following in a terminal:
tar -zxvf R-2.14.2.tar.gz
cd Downloads
cd R-2.14.2
./configure
It is run but finally gives the error:
configure: error: --with-x=yes (default) and X11 headers/libs are not available
make
and it gives the error:
make: *** No targets specified and no makefile found. Stop.
The file explains that If my make is not called `make', set the environment variable MAKE to
its name, and use that name throughout these instructions. I really do not know how I should do it since I am new in Linux.
Is there any other instruction with more explanation? I would be very thankful in advance for your help or guidances.
Regards,
Shima.
This is answered in detail in the R installation and administration guide,
http://cran.r-project.org/doc/manuals/R-admin.html#Essential-programs-and-libraries
Unless you do not want to view graphs on-screen (or use a Mac) you
need ‘X11’ installed, including its headers and client libraries. For
recent Fedora distributions it means (at least) RPMs ‘libX11’,
‘libX11-devel’, ‘libXt’ and ‘libXt-devel’. On Debian we recommend the
meta-package ‘xorg-dev’. If you really do not want these you will need
to explicitly configure R without X11, using --with-x=no.
More specifically, for Ubuntu, this means:
sudo apt-get install xorg-dev
and then proceed with compiling and installing R.
If you have to compile R in your system and install you should have libx11-dev package installed in Ubunut.Can you check whether this package is installed or not.
Otherwise you can configure the source with this option as a work around solution only in the case if you are not going to use any GUI functionality in R.
./configure --with-x=no
You need to install these libraries:
sudo apt-get install -y libx11-dev \
xorg-dev \
libcurl4-openssl-dev
Then run:
./configure
make
And then it should work.
Good luck!