LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ./configure doesn't do anything useful (https://www.linuxquestions.org/questions/linux-newbie-8/configure-doesnt-do-anything-useful-642225/)

Smittles 05-15-2008 10:38 AM

Quote:

Originally Posted by eggixyz (Post 3153571)
Hey There,

I've installed it and used it. Maybe I can help you out if you have issues.

Best wishes and keep on chuggin' - what seems alien to you now will be old hat sooner than later :)

, Mike

Thanks! My first question to you is, did you install the requisit softwares first or after your install of Big Sister, or does it matter?

By requisit softwares, I mean the perl libraries and gui tools (as follows: SpeedyCGI, URI, SNMP_Session, libnet, rrdtool, libwww-perl, and gd-rppng).

Thanks for your help.

eggixyz 05-15-2008 11:28 AM

Hey There,

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.

Best wishes :)

, Mike

Smittles 05-15-2008 12:45 PM

Thanks a lot, Mike.

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.

Any idea if I should be worried about this?

Thanks.

Smittles 05-15-2008 01:27 PM

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?

thanks,

/smittles

Smittles 05-15-2008 04:20 PM

Quote:

Originally Posted by eggixyz (Post 3154247)

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...

Smittles 05-15-2008 04:38 PM

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

eggixyz 05-15-2008 05:22 PM

Hey There,

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

Best wishes,

Mike

Smittles 05-15-2008 06:42 PM

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?

I can't believe this is so hard for me :(


All times are GMT -5. The time now is 09:06 AM.