Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Dumbbench CPAN distribution.

Report information
The Basics
Id: 96089
Status: open
Priority: 0/
Queue: Dumbbench

People
Owner: Nobody in particular
Requestors: jkeenan [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.09
Fixed in: (no value)



Subject: Missing dependency: SOOT
Today I installed Dumbbench via 'cpanm': ##### $ cpanm Dumbbench --> Working on Dumbbench Fetching http://www.cpan.org/authors/id/S/SM/SMUELLER/Dumbbench-0.09.tar.gz ... OK Configuring Dumbbench-0.09 ... OK ==> Found dependencies: Class::XSAccessor, Statistics::CaseResampling --> Working on Class::XSAccessor Fetching http://www.cpan.org/authors/id/S/SM/SMUELLER/Class-XSAccessor-1.19.tar.gz ... OK Configuring Class-XSAccessor-1.19 ... OK Building and testing Class-XSAccessor-1.19 ... OK Successfully installed Class-XSAccessor-1.19 --> Working on Statistics::CaseResampling Fetching http://www.cpan.org/authors/id/S/SM/SMUELLER/Statistics-CaseResampling-0.15.tar.gz ... OK Configuring Statistics-CaseResampling-0.15 ... OK Building and testing Statistics-CaseResampling-0.15 ... OK Successfully installed Statistics-CaseResampling-0.15 Building and testing Dumbbench-0.09 ... OK Successfully installed Dumbbench-0.09 3 distributions installed ##### I then began working on a program for which the following is a reduced case: ##### use 5.14.2; use warnings; use Dumbbench; use Dumbbench::CPUFrequencyPinner; use Dumbbench::BoxPlot; require Dumbbench::BoxPlot; say "Hello world"; ##### Results: ##### $ perl -c dumbbench.pl Can't locate SOOT.pm in @INC (you may need to install the SOOT module) ##### SOOT is not found in your Makefile.PL. Thank you very much. Jim Keenan
On Fri May 30 18:15:10 2014, JKEENAN wrote: Show quoted text
> Today I installed Dumbbench via 'cpanm': > > ##### > $ cpanm Dumbbench > --> Working on Dumbbench > Fetching http://www.cpan.org/authors/id/S/SM/SMUELLER/Dumbbench- > 0.09.tar.gz ... OK > Configuring Dumbbench-0.09 ... OK > ==> Found dependencies: Class::XSAccessor, Statistics::CaseResampling > --> Working on Class::XSAccessor > Fetching http://www.cpan.org/authors/id/S/SM/SMUELLER/Class- > XSAccessor-1.19.tar.gz ... OK > Configuring Class-XSAccessor-1.19 ... OK > Building and testing Class-XSAccessor-1.19 ... OK > Successfully installed Class-XSAccessor-1.19 > --> Working on Statistics::CaseResampling > Fetching http://www.cpan.org/authors/id/S/SM/SMUELLER/Statistics- > CaseResampling-0.15.tar.gz ... OK > Configuring Statistics-CaseResampling-0.15 ... OK > Building and testing Statistics-CaseResampling-0.15 ... OK > Successfully installed Statistics-CaseResampling-0.15 > Building and testing Dumbbench-0.09 ... OK > Successfully installed Dumbbench-0.09 > 3 distributions installed > ##### > > I then began working on a program for which the following is a reduced > case: > > ##### > use 5.14.2; > use warnings; > use Dumbbench; > use Dumbbench::CPUFrequencyPinner; > use Dumbbench::BoxPlot; > require Dumbbench::BoxPlot; > > say "Hello world"; > ##### > > Results: > > ##### > $ perl -c dumbbench.pl > Can't locate SOOT.pm in @INC (you may need to install the SOOT module) > ##### > > SOOT is not found in your Makefile.PL. > > Thank you very much. > Jim Keenan
And, just to complicate matters further, SOOT depends on Alien::ROOT, whose installation failed due to external dependencies. Extract from .cpanm/build.log ##### Building and testing Alien-ROOT-v5.34.3.1 Building Alien-ROOT Fetching ROOT... fetching from: ftp://root.cern.ch/root/root_v5.34.03.source.tar.gz Extracting ROOT... Checking for source directory ... /home/jkeenan/.cpanm/work/1401487751.25972/Alien-ROOT-v5.34.3.1/root Configuring for linuxx8664gcc configure: dpkg-architecture MUST be installed See http://root.cern.ch/drupal/content/build-prerequisites Build failed while running 'sh configure --prefix=/home/jkeenan/perl5/lib/perl5/x86_64-linux/auto/Alien/ROOT/root --etcdir=/home/jkeenan/perl5/lib/perl5/x86_64-linux/auto/Alien/ROOT/root/etc --enable-explicitlink': 256 at inc/Alien/ROOT/Builder.pm line 155. #####
On Fri May 30 18:18:32 2014, JKEENAN wrote: Show quoted text
> On Fri May 30 18:15:10 2014, JKEENAN wrote:
> > Today I installed Dumbbench via 'cpanm': > > > > ##### > > $ cpanm Dumbbench > > --> Working on Dumbbench > > Fetching http://www.cpan.org/authors/id/S/SM/SMUELLER/Dumbbench- > > 0.09.tar.gz ... OK > > Configuring Dumbbench-0.09 ... OK > > ==> Found dependencies: Class::XSAccessor, Statistics::CaseResampling > > --> Working on Class::XSAccessor > > Fetching http://www.cpan.org/authors/id/S/SM/SMUELLER/Class- > > XSAccessor-1.19.tar.gz ... OK > > Configuring Class-XSAccessor-1.19 ... OK > > Building and testing Class-XSAccessor-1.19 ... OK > > Successfully installed Class-XSAccessor-1.19 > > --> Working on Statistics::CaseResampling > > Fetching http://www.cpan.org/authors/id/S/SM/SMUELLER/Statistics- > > CaseResampling-0.15.tar.gz ... OK > > Configuring Statistics-CaseResampling-0.15 ... OK > > Building and testing Statistics-CaseResampling-0.15 ... OK > > Successfully installed Statistics-CaseResampling-0.15 > > Building and testing Dumbbench-0.09 ... OK > > Successfully installed Dumbbench-0.09 > > 3 distributions installed > > ##### > > > > I then began working on a program for which the following is a > > reduced > > case: > > > > ##### > > use 5.14.2; > > use warnings; > > use Dumbbench; > > use Dumbbench::CPUFrequencyPinner; > > use Dumbbench::BoxPlot; > > require Dumbbench::BoxPlot; > > > > say "Hello world"; > > ##### > > > > Results: > > > > ##### > > $ perl -c dumbbench.pl > > Can't locate SOOT.pm in @INC (you may need to install the SOOT > > module) > > ##### > > > > SOOT is not found in your Makefile.PL. > > > > Thank you very much. > > Jim Keenan
> > And, just to complicate matters further, SOOT depends on Alien::ROOT, > whose installation failed due to external dependencies. > > Extract from .cpanm/build.log > ##### > Building and testing Alien-ROOT-v5.34.3.1 > Building Alien-ROOT > Fetching ROOT... > fetching from: ftp://root.cern.ch/root/root_v5.34.03.source.tar.gz > Extracting ROOT... > Checking for source directory ... > /home/jkeenan/.cpanm/work/1401487751.25972/Alien-ROOT-v5.34.3.1/root > Configuring for linuxx8664gcc > configure: dpkg-architecture MUST be installed > See http://root.cern.ch/drupal/content/build-prerequisites > Build failed while running 'sh configure > --prefix=/home/jkeenan/perl5/lib/perl5/x86_64- > linux/auto/Alien/ROOT/root > --etcdir=/home/jkeenan/perl5/lib/perl5/x86_64- > linux/auto/Alien/ROOT/root/etc --enable-explicitlink': 256 at > inc/Alien/ROOT/Builder.pm line 155. > #####
Following instructions from http://root.cern.ch/drupal/content/build-prerequisites, I conducted several rounds of 'sudo apt-get install'. However, installation of ROOT ultimately failed as follows: ##### gcc -m64 -O3 -DNO_DEBUG_OUTPUT -fPIC -I/usr/include/freetype2 -c asfont.c -o asfont.o asfont.c:67:33: fatal error: freetype/freetype.h: No such file or directory # include <freetype/freetype.h> ^ compilation terminated. make[1]: *** [asfont.o] Error 1 make[1]: Leaving directory `/home/jkeenan/.cpanm/work/1401489372.2868/Alien-ROOT-v5.34.3.1/root/graf2d/asimage/src/libAfterImage' make: *** [graf2d/asimage/src/libAfterImage/libAfterImage.a] Error 2 Build failed while running 'make': 512 at inc/Alien/ROOT/Builder.pm line 165. -> FAIL Installing Alien::ROOT failed. See /home/jkeenan/.cpanm/work/1401489372.2868/build.log for details. Retry with --force to force install it. -> FAIL Installing the dependencies failed: Module 'Alien::ROOT' is not installed -> FAIL Bailing out the installation for SOOT-0.17. ##### However, what apt-get installs with Ubuntu 14.04 LTS is /usr/include/freetype2/. ##### [freetype2] 133 $ pwd /usr/include/freetype2 [freetype2] 134 $ ls -l |head total 1088 drwxr-xr-x 2 root root 4096 May 30 18:35 config -rw-r--r-- 1 root root 252300 May 1 17:24 freetype.h -rw-r--r-- 1 root root 2383 May 1 17:24 ft2build.h -rw-r--r-- 1 root root 10576 May 1 17:24 ftadvanc.h -rw-r--r-- 1 root root 12901 May 1 17:24 ftautoh.h -rw-r--r-- 1 root root 5245 May 1 17:24 ftbbox.h -rw-r--r-- 1 root root 6749 May 1 17:24 ftbdf.h -rw-r--r-- 1 root root 13998 May 1 17:24 ftbitmap.h -rw-r--r-- 1 root root 4307 May 1 17:24 ftbzip2.h ##### Hence, Alien::ROOT and SOOT failed to install and Dumbbench::BoxPlot's pre-requisites cannot be met. Thank you very much. Jim Keenan
Subject: Re: [rt.cpan.org #96089] Missing dependency: SOOT
Date: Sat, 31 May 2014 09:12:11 +0200
To: bug-Dumbbench [...] rt.cpan.org, undisclosed-recipients:;
From: Steffen Mueller <smueller [...] cpan.org>
On 05/31/2014 01:16 AM, James E Keenan via RT wrote: Show quoted text
> Hence, Alien::ROOT and SOOT failed to install and Dumbbench::BoxPlot's pre-requisites cannot be met.
Which is why, I believe that module is entirely undocumented. There's a box_plot method on a benchmark that is documented as requiring SOOT. The reason why SOOT is not a declared dependency otherwise is precisely because it's that hard to install. I deemed that not work asking of people who want a neat benchmarking tool. BEst regards, Steffen