Collectl is a light-weight performance monitoring tool capable of reporting interactively as well as logging to disk. Reproducible: Always
Created attachment 127982 [details] sys-apps/collectl-2.3.1.ebuild Initial collectl ebuild.
Created attachment 127983 [details] files/collectl.init Start script.
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
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?
(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