Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 188743 - sys-apps/collectl-2.3.1 (new ebuild)
Summary: sys-apps/collectl-2.3.1 (new ebuild)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement
Assignee: Default Assignee for New Packages
URL: http://collectl.sourceforge.net
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2007-08-13 20:48 UTC by Rene Zbinden
Modified: 2008-01-07 20:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
sys-apps/collectl-2.3.1.ebuild (collectl-2.3.1.ebuild,940 bytes, text/plain)
2007-08-13 20:49 UTC, Rene Zbinden
Details
files/collectl.init (collectl.init,404 bytes, text/plain)
2007-08-13 20:50 UTC, Rene Zbinden
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rene Zbinden 2007-08-13 20:48:29 UTC
Collectl is a light-weight performance monitoring tool capable of reporting interactively as well as logging to disk.

Reproducible: Always
Comment 1 Rene Zbinden 2007-08-13 20:49:42 UTC
Created attachment 127982 [details]
sys-apps/collectl-2.3.1.ebuild

Initial collectl ebuild.
Comment 2 Rene Zbinden 2007-08-13 20:50:29 UTC
Created attachment 127983 [details]
files/collectl.init

Start script.
Comment 3 SpanKY gentoo-dev 2008-01-05 22:29:22 UTC
ive cleaned things up and added 2.4.1 to the tree, cheers

http://sources.gentoo.org/sys-apps/collectl/collectl-2.4.1.ebuild?rev=1.1
Comment 4 a 2008-01-07 18:12:25 UTC
I've emerged collectl and the emerge finished fine, but when launching 'collectcl', I get the following error.

---

Use of uninitialized value in concatenation (.) or string at /usr/bin/collectl line 135.
Can't locate /usr/share//Syslog.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/vendor_perl/5.8.8/i686-linux /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/local/lib/site_perl .) at /usr/bin/collectl line 135.

---

Obivously, it can't find Syslog.pm under /usr/share, and the source code says '/usr/share/${PM}/Syslog.pm' but PM is rather an empty string at that moment.

By truncating that require statement to 'Sys/Syslog.pm', then it loads, but the next 'formatit.h' fails to load again, once again by the lack of $PM being a useful string.

How did get people have this working?
Comment 5 Rene Zbinden 2008-01-07 20:08:56 UTC
(In reply to comment #4)
> I've emerged collectl and the emerge finished fine, but when launching
> 'collectcl', I get the following error.
> 
> ---
> 
> Use of uninitialized value in concatenation (.) or string at /usr/bin/collectl
> line 135.
> Can't locate /usr/share//Syslog.pm in @INC (@INC contains: /etc/perl
> /usr/lib/perl5/vendor_perl/5.8.8/i686-linux /usr/lib/perl5/vendor_perl/5.8.8
> /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl/5.8.8/i686-linux
> /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl
> /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/local/lib/site_perl
> .) at /usr/bin/collectl line 135.
> 
> ---
> 
> Obivously, it can't find Syslog.pm under /usr/share, and the source code says
> '/usr/share/${PM}/Syslog.pm' but PM is rather an empty string at that moment.
> 
> By truncating that require statement to 'Sys/Syslog.pm', then it loads, but the
> next 'formatit.h' fails to load again, once again by the lack of $PM being a
> useful string.
> 
> How did get people have this working?
> 

Please Open a new bug. This bug was only used for the ebuild creation.

Cheers Rene