Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am really having a hard time with a few installations. I'm trying to install cairo-png, libxml2 (I think this is installed), rddtool and ultimately Smokeping. Unfortunately, for me (in a way), I was put in a precarious position overseeing some Linux machines for work. I would love to learn, but I was abruptly put into the position. I'm not a ninja when it comes to Linux unfortunately.
Here it is: I have no idea what the pkg-config file is or how I would set the variable for some of these installs. Below are some of the errors I'm getting when I try to install. First I tried installing RDDtool from this page:
./configure --prefix=$RDD_INSTALL_DIR && make && make install
I used RDD_INSTALL_DIR instead of INSTALL_DIR from previous step. I'm not sure if that matters when setting the variable. When I execute it, I get WARNINGS about cairo-png, cairo-svg, cairo-pdf.pc, cairo-ps.pc, cairo-ps, pangocairo.pc, pangocairo, ibxml-2.0.pc and libxml-2.0. In each WARNING, it tells me to configure the PKG_CONFIG_PATH variable. Do I do that for every warning?
* I found a copy of pkgconfig, but there is no libxml-2.0.pc file around.
You may want to set the PKG_CONFIG_PATH variable to point to its
* I could not find a working copy of libxml-2.0. Check config.log for hints on why
this is the case. Maybe you need to set LDFLAGS and CPPFLAGS appropriately
so that compiler and the linker can find libxml2 and its header files. If
you have not installed libxml-2.0, you can get it either from its original home on
When I check the config.log, it's not much help. It's all in "Greek." I think I installed the libxml2 components correctly; I also created a symlink in /opt/libxml2/:
rddlib -> /opt/libxml2/libxml2-2.6.31/
I'm not sure how to use the CPPFLAGS option for the ./configure and if I need to create PKG_CONFIG_PATH variables for EVERY WARNING that was listed when trying to install RDDtool (viz, cairo-png, cairo-svg, cairo-pdf.pc, cairo-ps.pc, cairo-ps, pangocairo.pc, pangocairo, ibxml-2.0.pc and libxml-2.0). Sorry for the list.
"pkgconfig" provides some configuration information about software; it isn't supported by all software, but for the ones that do support it, if you use a pre-built package you usually only get the config information if you install the corresponding "dev" package for it. Installing the 'dev' package is required if you wish to link to that software anyway.