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!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I had all the stuff installed before I attempted to install Big Sister. I'm sure you could make it work if you tried hard enough, but it will either complain during the installation or just not work afterward if you don't have it. I personally prefer to install the needed software first, rather than trying to trick an installation program. Another good reason to install the requisite software first is that the program itself may be depending on libraries and includes from those different software packages in order to compile itself
I had:
SpeedyCGI
RRDTool
Perl GD, Net::SMTP, LWP::UserAgent (with URI) and SNMP
My initial suggestions (given the list you showed me) would be:
1. If your missing any of the requisite Perl Modules, install them using the CPAN module - you can do :
perl -MCPAN -e shell
>install LWP::UserAgent
for instance, and the CPAN downloader will grab all the pre-requisites required for any module dependencies (save you a lot of headaches)
2. For SpeedyCGI and RRDTool, install those in standard directories or (if you decide you want to install them somewhere else for whatever reason) make sure that their binaries are in your PATH before you begin the install
e.g.
PATH=/wherever/you/put/speedycgi/bin:/wherever/you/put/rrdtool/bin:$PATH
export PATH
I also add the lib subdirectories to my LD_LIBRARY_PATH, but I don't think it's absolutely necessary.
I ran the Perl CPAN, and installed the LWP::UserAgent. It ran through a ton of material, where I answered yes or no to a bunch of stuff, and in the end, I got this message:
make: *** [pure_site_install] Error 13
/usr/bin/make install -- NOT OK
which makes me nervous, since I know make is a crucial program to have.
I attempted to start Big Sister, and the services panel reports:
bbd: already running
bsmon: already running
bsmon: already running
Starting Big Sister ...
Monitor bsmon Thu May 15 11:24:16 2008: bb_start: starting Big Sister while some components are already running
WARNING: some components are already running
OK
Server bbd OK
Messages:
Monitor bsmon: Thu May 15 11:24:17 2008: bsmon: RRDTool's perl module is not present - not using perl bindings
What does this mean? RRDTool is confusing me - is this part of the PERL downloads I just downloaded, or do I have to install this separately? Did I need to configure RRDTool to a path. Have I even installed this service?
2. For SpeedyCGI and RRDTool, install those in standard directories or (if you decide you want to install them somewhere else for whatever reason) make sure that their binaries are in your PATH before you begin the install
e.g.
PATH=/wherever/you/put/speedycgi/bin:/wherever/you/put/rrdtool/bin:$PATH
export PATH
I also add the lib subdirectories to my LD_LIBRARY_PATH, but I don't think it's absolutely necessary.
Best wishes
, Mike
Where can I install RDDTool from? I am at a loss...
Also, when attempting to install SpeedyCGI, I get this output:
Compile mod_speedycgi (default no)? y
ERROR: Command 'apxs -q CC' failed.
Running make test
Make had some problems, maybe interrupted? Won't test
Running make install
Make had some problems, maybe interrupted? Won't install
It looks, on it's face like the CC variable is pointing to cc and maybe needs to point to gcc instead. SpeedyCGI is supposed to use the CC your Perl was compiled with since it installs as a perl module.
You can always set the variable on the command line, but the first time you use the cpan module, it should ask you what your compiler is. For instance, if you do
which gcc
and
which cc
and then look at your PATH variable, is the directory that gcc is in before or after cc?
also
perl -V
should show you what compiler it was built with, in a line like
cc='gcc' <--- hopefully - then all it is, is that you need to rearrange your PATH variable so your system finds gcc before the regular cc
you can set
CC=gcc on the command line as well.
If you never actually use cc, you can always back that up by copying it off somewhere and make it a symlink to your gcc.
The most important thing is that, when you run the perl Makefile.PL command, your system finds the "cc" that you saw in the output of perl -V
Well, I'm sure I've done this wrong. Is it advisable to uninstall everything try again? How would I go about uninstalling RRDTools and SpeedyCGI in order to install them in the right directory? How about uninstalling Big Sister, so it is installed with all of the other programs configured correctly?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.