Params::Validate

143 views
Skip to first unread message

Joanna Ciomborowska

unread,
Sep 1, 2010, 8:31:22 AM9/1/10
to Circos
Hi All,

I've just started my adventure with Circos.

I have Windows XP, cygwin, strawberry perl and I have a problem with
installing Params::Validate module.
I've tried with:

> perl -MCPAN -e shell
% install Params::Validate

and the results look like this:

Database was generated on Wed, 01 Sep 2010 08:05:36 GMT
Running install for module 'Params::Validate'
Running make for D/DR/DROLSKY/Params-Validate-0.95.tar.gz
Checksum for C:\strawberry\cpan\sources\authors\id\D\DR\DROLSKY\Params-
Validate-
0.95.tar.gz ok
Scanning cache C:\strawberry\cpan\build for sizes
............................................................................DONE


CPAN.pm: Going to build D/DR/DROLSKY/Params-Validate-0.95.tar.gz

Warning: ExtUtils::CBuilder not installed or no compiler detected
Proceeding with configuration, but compilation may fail during Build

Creating new 'MYMETA.yml' with configuration results
Creating new 'Build' script for 'Params-Validate' version '0.95'
Building Params-Validate
Error: no compiler detected to compile 'lib\Params\Validate.c'.
Aborting
DROLSKY/Params-Validate-0.95.tar.gz
C:\strawberry\perl\bin\perl.exe ./Build -- NOT OK
Running Build test
Can't test without successful make
Running Build install
Make had returned bad status, install seems impossible
Failed during this command:
DROLSKY/Params-Validate-0.95.tar.gz : make NO

what should I do?
thanks in advance for help :)
Joanna

Martin

unread,
Sep 2, 2010, 3:36:36 PM9/2/10
to Circos

From the error message, it looks like the installation step cannot
find the C compiler required to compile the Params::Validate module.

I don't have any experience with Strawberry perl, unfortunately. I
suggest you follow up on a forum dedicated to Strawberry perl.

From the CPAN documentation, it looks like Strawberry perl does
include a C compiler for installing modules.

http://search.cpan.org/~csjewell/Perl-Dist-Strawberry-2.11/lib/Perl/Dist/Strawberry.pm

It's possible that CPAN expects that the compiler location is in your
PATH, but the PATH has not been appropriately updated during
Strawberry installation. See this article

http://win32.perl.org/wiki/index.php?title=Strawberry_Perl#cpan_doesn.27t_set_compiler_path_in_portable_version

Good luck,

Martin

On Sep 1, 5:31 am, Joanna Ciomborowska <j.ciomborow...@gmail.com>
wrote:

JoannaC

unread,
Sep 3, 2010, 9:03:00 AM9/3/10
to Circos
Ok, thanks for help.
I reinstalled strawberry and with another version of this
Params::Validate module - it works :)
but...
another problem occured.
After command
bin/circos -conf tutorials/2/2/circos.conf

programm is running and at the end it shows:
created image at /cygdrive/c/circos-0.52/circos-0.52/output/circos-
tutorial.png

but I can't see this file in this folder...
At the begining I had default seetings with /tmp but .png wasn't also
visible.

what it means?

thanks in advance,
regards
Joanna

On 2 Wrz, 21:36, Martin <martin.krzywin...@gmail.com> wrote:
> From the error message, it looks like the installation step cannot
> find the C compiler required to compile the Params::Validate module.
>
> I don't have any experience with Strawberry perl, unfortunately. I
> suggest you follow up on a forum dedicated to Strawberry perl.
>
> From the CPAN documentation, it looks like Strawberry perl does
> include a C compiler for installing modules.
>
> http://search.cpan.org/~csjewell/Perl-Dist-Strawberry-2.11/lib/Perl/D...
>
> It's possible that CPAN expects that the compiler location is in your
> PATH, but the PATH has not been appropriately updated during
> Strawberry installation. See this article
>
> http://win32.perl.org/wiki/index.php?title=Strawberry_Perl#cpan_doesn...

Martin

unread,
Sep 3, 2010, 12:57:18 PM9/3/10
to Circos

Check that the directory exists before writing an image to it. Try
setting

dir = .

in the .conf file. This is the current directory.

M
Reply all
Reply to author
Forward
0 new messages