Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no Build.PL file in zip file #1

Closed
xiucz opened this issue May 2, 2018 · 3 comments
Closed

no Build.PL file in zip file #1

xiucz opened this issue May 2, 2018 · 3 comments

Comments

@xiucz
Copy link

xiucz commented May 2, 2018

When I tried to install this module using perl5.26.1,

perl Build.PL

but I found no Build.PL file in downloaded zip files. Can you show me a way to install it ?
Thanks a lot!

@shlomif
Copy link
Owner

shlomif commented May 2, 2018

Hi!

It seems to be ok here:

+ wget -c https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/Statistics-Descriptive-3.0612.tar.gz
--2018-05-02 10:45:02--  https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/Statistics-Descriptive-3.0612.tar.gz
Resolving cpan.metacpan.org (cpan.metacpan.org)... 151.101.2.217, 151.101.66.217, 151.101.130.217, ...
Connecting to cpan.metacpan.org (cpan.metacpan.org)|151.101.2.217|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 45929 (45K) [application/x-gzip]
Saving to: ‘Statistics-Descriptive-3.0612.tar.gz’

     0K .......... .......... .......... .......... ....      100%  355K=0.1s

2018-05-02 10:45:02 (355 KB/s) - ‘Statistics-Descriptive-3.0612.tar.gz’ saved [45929/45929]

+ tar -xvf Statistics-Descriptive-3.0612.tar.gz
Statistics-Descriptive-3.0612
Statistics-Descriptive-3.0612/Changes
Statistics-Descriptive-3.0612/LICENSE
Statistics-Descriptive-3.0612/MANIFEST
Statistics-Descriptive-3.0612/Build.PL
Statistics-Descriptive-3.0612/Makefile.PL
Statistics-Descriptive-3.0612/UserSurvey.txt
Statistics-Descriptive-3.0612/META.yml
Statistics-Descriptive-3.0612/META.json
Statistics-Descriptive-3.0612/README
Statistics-Descriptive-3.0612/lib
Statistics-Descriptive-3.0612/lib/Statistics
Statistics-Descriptive-3.0612/lib/Statistics/Descriptive.pm
Statistics-Descriptive-3.0612/lib/Statistics/Descriptive
Statistics-Descriptive-3.0612/lib/Statistics/Descriptive/Smoother.pm
Statistics-Descriptive-3.0612/lib/Statistics/Descriptive/Smoother
Statistics-Descriptive-3.0612/lib/Statistics/Descriptive/Smoother/Weightedexponential.pm
Statistics-Descriptive-3.0612/lib/Statistics/Descriptive/Smoother/Exponential.pm
Statistics-Descriptive-3.0612/examples
Statistics-Descriptive-3.0612/examples/statistical-analysis.pl
Statistics-Descriptive-3.0612/inc
Statistics-Descriptive-3.0612/inc/Test
Statistics-Descriptive-3.0612/inc/Test/Run
Statistics-Descriptive-3.0612/inc/Test/Run/Builder.pm
Statistics-Descriptive-3.0612/t
Statistics-Descriptive-3.0612/t/descr.t
Statistics-Descriptive-3.0612/t/00-load.t
Statistics-Descriptive-3.0612/t/style-trailing-space.t
Statistics-Descriptive-3.0612/t/median_absolute_deviation.t
Statistics-Descriptive-3.0612/t/pod-coverage.t
Statistics-Descriptive-3.0612/t/cpan-changes.t
Statistics-Descriptive-3.0612/t/outliers.t
Statistics-Descriptive-3.0612/t/pod.t
Statistics-Descriptive-3.0612/t/smoother.t
Statistics-Descriptive-3.0612/t/quantile.t
Statistics-Descriptive-3.0612/t/mode.t
Statistics-Descriptive-3.0612/t/smoother_weightedexponential.t
Statistics-Descriptive-3.0612/t/descr_smooth_methods.t
Statistics-Descriptive-3.0612/t/freq_distribution-1-rt-34999.t
Statistics-Descriptive-3.0612/t/smoother_exponential.t
Statistics-Descriptive-3.0612/t/lib
Statistics-Descriptive-3.0612/t/lib/Utils.pm
Statistics-Descriptive-3.0612/scripts
Statistics-Descriptive-3.0612/scripts/bump-version-number.pl
Statistics-Descriptive-3.0612/scripts/tag-release.pl
Statistics-Descriptive-3.0612/rejects
Statistics-Descriptive-3.0612/rejects/descr.t
+ cd Statistics-Descriptive-3.0612/
+ ls
Build.PL
Changes
examples
inc
lib
LICENSE
Makefile.PL
MANIFEST
META.json
META.yml
README
rejects
scripts
t
UserSurvey.txt
+ perl Build.PL
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Statistics-Descriptive' version '3.0612'
+ ./Build
Building Statistics-Descriptive
+ ./Build test
# Testing Statistics::Descriptive 3.0612, Perl 5.026002, /usr/bin/perl5.26.2
t/00-load.t ....................... ok
t/cpan-changes.t .................. ok
t/descr.t ......................... ok
t/descr_smooth_methods.t .......... ok
t/freq_distribution-1-rt-34999.t .. ok
t/median_absolute_deviation.t ..... ok
t/mode.t .......................... ok
t/outliers.t ...................... ok
t/pod-coverage.t .................. ok
t/pod.t ........................... ok
t/quantile.t ...................... ok
t/smoother.t ...................... ok
t/smoother_exponential.t .......... ok
t/smoother_weightedexponential.t .. ok
t/style-trailing-space.t .......... ok
All tests successful.
Files=15, Tests=130,  2 wallclock secs ( 0.06 usr  0.02 sys +  1.14 cusr  0.13 csys =  1.35 CPU)
Result: PASS

also https://metacpan.org/release/Statistics-Descriptive lists Build.PL. Note that it is a tar.gz file. See http://perl-begin.org/topics/cpan/ .

@xiucz
Copy link
Author

xiucz commented May 4, 2018

Sorry for my late reply, I followed your advice, it is a cool way to install other perl modules. but I cannot handle my linux perl environment such as , "Can't locate GD/Graph/histogram.pm in @inc...".

At last, I solved this problem with anaconda:

conda install perl-statistics-descriptive

And again, thank you for your kind reply! ^_^

@shlomif
Copy link
Owner

shlomif commented May 4, 2018

@xiucz : not sure I follow, but seems like I can close this bug.

@shlomif shlomif closed this as completed May 4, 2018
shlomif added a commit that referenced this issue Nov 25, 2021
App-Cmd needs perl5.20.x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants