LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-29-2009, 02:17 PM   #1
I_AM
Member
 
Registered: Mar 2005
Posts: 103

Rep: Reputation: 15
Apache::VMonitor / problems with dependcies


I'm trying to install perl module Apache::VMonitor on my Cpanel / Centos 4.7 box (i386) but having a few issues here.

Instructions:
http://www.perl.com/pub/a/2003/04/02/mod_perl.html

First, cpanel support tells me this:
Quote:

I downloaded the sournce and added a print command to see what is missing.

# get the apr header files, depending on where they are
my $apr_config = `which apr-config 2>/dev/null` || `which apr-1-config
2>/dev/null`;
chomp $apr_config;
print $apr_config;
my $apr_inc = `$apr_config --includedir`;

This gives now output
print $apr_config;
because there is no apr-config on your server.
which apr-config


It need glib-devel and gnome-devel library to be installed to be able to use
GTop for this.
I've installed glib and libgtop, then re-tried the perl modules via whm.


End of gtop install...

GTop.c:1845: error: called object is not a function
GTop.c: In function `XS_GTop__ProcState_gid':
GTop.c:1869: error: syntax error before "state"
GTop.c:1875: error: `state' undeclared (first use in this function)
GTop.c:1875: error: called object is not a function
make: *** [GTop.o] Error 1
MJH/GTop-0.16.tar.gz
/usr/bin/make -- NOT OK

Running make install
Make had returned bad status, install seems impossible
perlmod--Install done



End of apache::scoreboard install...


Apache-Scoreboard-2.09/typemap
Apache-Scoreboard-2.09/README
CPAN: File::Temp loaded ok (v0.21)

CPAN.pm: Going to build M/MJ/MJH/Apache-Scoreboard-2.09.2.tar.gz

[ info] generating script t/TEST

Can't exec "--includedir": No such file or directory at Makefile.PL
line 36.
Use of uninitialized value in join or string at Makefile.PL line 46.
No 'Makefile' created MJH/Apache-Scoreboard-2.09.2.tar.gz
/usr/bin/perl-bin Makefile.PL -- NOT OK
Running make install
Make had some problems, won't install
perlmod--Install done


On a side note, mod status is already enabled. I successfully installed
apache::vmonitor as well.

I tried this:

yum -y groupinstall gnome

ends up with:

--> Processing Dependency: perl-libxml-perl >= 0.07 for package: foomatic
--> Finished Dependency Resolution
Error: Missing Dependency: perl-XML-Dumper >= 0.4 is needed by package foomatic
Error: Missing Dependency: perl-libxml-enno >= 1.02 is needed by package foomatic
Error: Missing Dependency: perl-libxml-perl >= 0.07 is needed by package foomatic
Error: Missing Dependency: perl-Parse-Yapp >= 1.04 is needed by package foomatic
Error: Missing Dependency: perl-XML-Parser >= 2.29 is needed by package foomatic
Error: Missing Dependency: perl-XML-Encoding >= 1.01 is needed by package foomatic
Error: Missing Dependency: perl-XML-Parser is needed by package intltool


I get "nothing to do" on the following as well

yum install gnome
yum install gcc
yum install gnome-devel
yum install glib-devel
yum install glib2-devel


root@devel [~]# cat /etc/redhat-release
CentOS release 4.7 (Final)
root@devel [~]# rpm -qa glib
glib-1.2.10-15
root@devel [~]# rpm -qa glib2
glib2-2.4.7-1
root@devel [~]# rpm -qa glib-devel
glib-devel-1.2.10-15
root@devel [~]# rpm -qa glib2-devel
glib2-devel-2.4.7-1
root@devel [~]# rpm -qa gcc
gcc-3.4.6-10

Please help out
 
Old 01-30-2009, 11:31 PM   #2
I_AM
Member
 
Registered: Mar 2005
Posts: 103

Original Poster
Rep: Reputation: 15
I need help please. Still getting errors here:


Apache::Scoreboard

Code:
 Apache-Scoreboard-2.09/README
CPAN: File::Temp loaded ok (v0.21)

  CPAN.pm: Going to build M/MJ/MJH/Apache-Scoreboard-2.09.2.tar.gz

[   info] generating script t/TEST

Can't exec "--includedir": No such file or directory at Makefile.PL line 36.
Use of uninitialized value in join or string at Makefile.PL line 46.
No 'Makefile' created  MJH/Apache-Scoreboard-2.09.2.tar.gz
  /usr/bin/perl-bin Makefile.PL -- NOT OK
Running make install
  Make had some problems, won't install
perlmod--Install done

GTop

Code:
 GTop.c:1875: error: called object is not a function
make: *** [GTop.o] Error 1
  MJH/GTop-0.16.tar.gz
  /usr/bin/make -- NOT OK

Running make install
  Make had returned bad status, install seems impossible
perlmod--Install done
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
openSuSE 10.2 - problems with circular dependcies Jourdin Linux - Newbie 2 03-26-2007 11:30 AM
Booting up hanging on "Finding Module dependcies" Red Hat 9 no_names_left Linux - Newbie 4 02-16-2005 01:39 AM
easytag says i don't have dependcies but i do! zippo85 Linux - Software 2 12-07-2004 11:14 PM
Dependcies problem davholla Linux - Software 5 08-16-2003 06:52 PM
Apache virtualhost problems, apache install problems nyroc Linux - Software 2 06-10-2003 12:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration