Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Scripts in Padre do not run. Need step-by-step help in setting up, as all current procedures I have found have failed for me.

929 views
Skip to first unread message

Michael Goldsbie

unread,
May 24, 2013, 4:25:05 PM5/24/13
to begi...@perl.org
NOTE: To skip directly to the problem itself, skip to the bolded text below. However, I thought I would give some background context first.


Hi,

My name is Michael, and I am trying to get into Perl.  While I have Ubuntu Linux installed on my computer, my default environment is Windows 7, and ideally I would like to do everything on this OS.  I would also ideally prefer to use a single IDE than a text editor + compiler.  Apparently, Padre is typically the IDE that everyone uses.

So I started here:

http://learn.perl.org/installing/windows.html

However, instead of JUST installing Padre, I installed DWIM Perl, which includes Padre, Strawberry Perl, and many other goodies.

http://padre.perlide.org/download.html

So after downloading and installing it, what's the next step?  Is a reboot of my computer necessary (especially since it doesn't explicitly tell me to do so)?  Do I use the command "cpan App::cpanminus" as per the first link above?  Do I go to the following page and run the following script in the DOS window?

http://padre.perlide.org/howto.html

C:\Dwimperl\perl\bin\perl.exe -MCPAN -e "CPAN->upgrade('/^Padre/')"


The problem is that when I run that script, many of those tests fail.  The "cpan App::cpanminus" command does not work either, as I receive the following error:

Can't locate App/Cpan.pm in @INC (@INC contains: /usr/lib/perl5/5.8.8/msys /usr/
lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/msys /usr/lib/perl5/site_perl/5.8
.8 /usr/lib/perl5/site_perl .) at /c/Dwimperl/perl/bin/cpan line 5.
BEGIN failed--compilation aborted at /c/Dwimperl/perl/bin/cpan line 5.


*****************************
However, I'm not sure if these extra commands in the DOS window are necessary, so let's just go right to Padre.


In Padre, I have typed the simple script 

print "Hello world\n";

and yet when I choose Run > Run Script, nothing happens.  No new window, no indication that it's compiled or failed...nothing.  In addition, when I choose Tools > Module Tools > Open CPAN Config File, I get the error "Failed to find your CPAN configuration".

I'm at my wit's end trying to figure out how to make this work.  Any help would be much appreciated.


Thank you very much,

Michael

Robert Wohlfarth

unread,
May 24, 2013, 4:50:39 PM5/24/13
to begginers perl.org
On Fri, May 24, 2013 at 3:25 PM, Michael Goldsbie <michael....@alum.utoronto.ca> wrote:
In Padre, I have typed the simple script 

print "Hello world\n";

and yet when I choose Run > Run Script, nothing happens.  No new window, no indication that it's compiled or failed...nothing.  In addition, when I choose Tools > Module Tools > Open CPAN Config File, I get the error "Failed to find your CPAN configuration".

Isn't there an "Output" window or something at the bottom of Padre? It's been a while since I've used it. I seem to recall that standard output gets sent there.

--
Robert Wohlfarth

Michael Goldsbie

unread,
May 24, 2013, 4:58:46 PM5/24/13
to Robert Wohlfarth, begginers perl.org
There is, yes, and thank you for telling me about it.  However, still, nothing happens when I choose Run Script.  I am guessing some components are not correctly installed or something.

Michael Goldsbie

unread,
May 25, 2013, 1:45:49 AM5/25/13
to Michael Goldsbie, ke...@dawson10.plus.com, Robert Wohlfarth, begginers perl.org
Ah yes, I finally found the problems:

http://padre.perlide.org/trac/ticket/1438
http://padre.perlide.org/trac/ticket/1474
http://padre.perlide.org/trac/ticket/1457


So all this time, the source of my frustration has been the result of bugs.  Well, I do feel better knowing this rather than it being a problem on my end (i.e. me doing something wrong), which is what I had assumed up until now.

Is there a way I can create an account on that site so I can help track and verify bugs?  I used to work in software quality assurance, so I know quite a bit about using a bugtracker.

Dr.Ruud

unread,
May 25, 2013, 10:19:27 AM5/25/13
to begi...@perl.org
On 24/05/2013 22:25, Michael Goldsbie wrote:

> [...] I installed DWIM Perl [...]
> So after downloading and installing it, what's the next step?

On http://dwimperl.com/ there is a link to 'Perl Tutorial',
which has a link to 'Introduction 1. Install'.

It mentions:

"Go ahead, download the exe file and install it on your system. Before
doing so, please make sure you don't have any other Perl installed."

Try 'which perl' on the command prompt. What does it report?

--
Ruud

Michael Rasmussen

unread,
May 26, 2013, 8:28:56 AM5/26/13
to Dr.Ruud, begi...@perl.org
The OP states he's working in a Win7 environment, `which perl` is
not available there.

--
Michael Rasmussen, Portland Oregon
Be Appropriate && Follow Your Curiosity
Other Adventures: http://www.jamhome.us/ or http://gplus.to/MichaelRpdx
A special random fortune cookie fortune:
If you hear a voice within you say you cannot paint,
then by all means paint, and that voice will be silenced.
~ Van Gogh

Ruud H.G. van Tol

unread,
May 27, 2013, 1:04:01 PM5/27/13
to Michael Rasmussen, Dr.Ruud, begi...@perl.org
On 26/05/2013 14:28, Michael Rasmussen wrote:
> On Sat, May 25, 2013 at 04:19:27PM +0200, Dr.Ruud wrote:
>> On 24/05/2013 22:25, Michael Goldsbie wrote:

>>> [...] I installed DWIM Perl [...]
>>> So after downloading and installing it, what's the next step?
>>
>> On http://dwimperl.com/ there is a link to 'Perl Tutorial',
>> which has a link to 'Introduction 1. Install'.
>>
>> It mentions:
>>
>> "Go ahead, download the exe file and install it on your system. Before
>> doing so, please make sure you don't have any other Perl installed."
>>
>> Try 'which perl' on the command prompt. What does it report?
>
> The OP states he's working in a Win7 environment, `which perl` is
> not available there.

Ah indeed, I must have meant 'where', try "where perl".

--
Ruud

kevin dawson

unread,
May 25, 2013, 8:52:19 AM5/25/13
to Michael Goldsbie, Robert Wohlfarth, begginers perl.org
On 25/05/13 06:45, Michael Goldsbie wrote:
> Ah yes, I finally found the problems:
>
> http://padre.perlide.org/trac/ticket/1438
> http://padre.perlide.org/trac/ticket/1474
> http://padre.perlide.org/trac/ticket/1457
>
mikebg hi

you will need to ask Gabor to assist you with a track account

then you will be able to update the tickets re Padre 0.98

for Padre 0.98 you will have to ask Gabor re lead time for DWIMPerl


regards
bowtie


0 new messages