I have ActivePerl already installed but when now I am trying to install DWIM package, it is not openeing. Its installed but whenever I try to open the Padre IDE it gives the below error.
.
I read that we can have two Perl versions - ActivePerl and Strawberry Perl on the same system due to separate paths for them. This popup also came while installing while a command prompt window got open and then this popped up.
This looks like a Padre problem rather than anything specific to your Perl install(s). Try uninstalling/reinstalling Padre... or try uninstalling Padre and installing Komodo: http://www.activestate.com/komodo-ide :-)
Related
We are running a CentOS Linux server, on which Perl 5.8.8 is installed. We cannot update Perl on this system.
I am installing Eclipse with EPIC to do some Perl coding onto my Windows 7 workstation. This requires that I install Perl on the workstation as well. I've installed a few different versions of Perl and they all have issues for us... Our code makes use of the Switch and Expect commands.
Strawberry Perl 5.8.8.4 has Switch.pm, but not Expect.pm.
DWIM Perl 5.14.2.1 does has Switch.pm, but can't locate it. It also doesn't have Expect.pm.
ActivePerl 5.16.3.1604 has Switch.pm, but can't locate it. It also doesn't have Expect.pm.
Can someone recommend a Perl that I can install on my workstation that will provide these modules? Alternately, is there a way to install these modules?
Try this with strawberry perl:
perl -MCPAN -e 'install Expect'
This is somewhat answered by Expect - Can I use this module with ActivePerl on Windows?
Up to now, the answer was 'No', but this has changed.
You still cannot use ActivePerl, but if you use the Cygwin environment (http://sources.redhat.com), which brings its own perl, and have the latest IO::Tty (v0.05 or later) installed, it should work (feedback appreciated).
I was attempting a switch from ActivePerl 5.12.2 (64 bit) to Strawberry Perl 5.18.2.2 (64 bit). All this on a Windows 7 Home Premium SP1 64 bit. The sequence I went through is as follows:
1) Installed Strawberry Perl side by side with the old ActivePerl. (I did a similar thing on another box, only it was ActivePerl 5.14.2 without any problem.) Rearranged the %path% to have Strawberry Perl first. Perl crashed consistently and frequently. I was only able to run "Perl -v" without it crashing.
2) Following web search results, I uninstalled ActivePerl, uninstalled Strawberry Perl and deleted all related directories.
3) I then reinstalled afresh Strawberry Perl. Now I got an error: "The program can't start because perl512.dll is missing from your computer." Again consistently, except when running "Perl -v".
4) I searched the registry and found only a few pointers to some ActivePerl (now deleted) directories. No reference to perl512.dll was found. I deleted the ActivePerl directory pointers. This didn't help.
Searching this site and the web in general only yields the advice to uninstall every old Perl installation before installing the new.
Please help...
Just so this question doesn't appear unanswered - check the environment variables, such as PERL5LIB. They can still point to old libraries even after an uninstall.
I have installed ActivePerl, and I would like to debug a Perl program using Eclipse and EPIC.
I have installed Eclipse and EPIC, they look OK. (It's doing basic syntax checking on an example Perl program).
I then used PPM to install PadWalker (since that's what they say is needed to use the step debugger).
Now, in Eclipse, when I try to step through the program, I get the error: "Error: install PadWalker module to see local variables".
In PPM, I notice that it had installed PadWalker in area: "site", while all other Perl modules are installed in area: "perl".
For area: "site", #INC shows: ... .../Environments/Active Perl/site/lib
and for area: "perl", #INC shows: ... .../Environments/Active Perl/lib
What should I do?
My system: Windows 7 x64.
I found the answer in another forum. One has to install the "testing" EPIC version. Then the debugger works. (only after a certain bug in Cwd.pm is fixed). (On Windows).
I have to create an exe from a Perl script. I installed
ActivePerl-5.14.2.1402-MSWin32-x86-295342.msi
How do I install pp?
I know this is a relatively old question, but for the sake of others, here is a solution that worked for me using pp (Par Packager):
Install Strawberry Perl for windows (I installed strawberry-perl-5.16.3.1-64bit.msi)
I used 5.16.3.1 because I wanted to try out perl2exe as well, while I'm at it (perl2exe at the time supported only up to 5.16.3 version of perl)
Once installed, open Strawberry Perl Tools (e.g. through start menu -> All programs -> Strawberry Perl -> Tools), and invoke CPAN Client
In the client console that opens, type:
get pp
install pp
Once installation is complete, you can simply run:
c:\strawberry\perl\site\bin\pp.bat -o myScript.exe myScript.pl
Which will produce a myScript.exe which is a standalone executable (no external perl interpreter is needed)
Note: You can use the -d command line switch in order to reduce the size of the executable. This will not include perl interpreter code inside the executable, reducing the size of the executable, however you will need to provide perl5x.dll in the same directory as your executable, or include it on the PATH environment variable.
Until the issue with 1.010 is fixed, do the following:
Go to http://search.cpan.org/dist/PAR-Packer/
From the "Other releases" drop down list, select PAR-Packer-1.009 and download it
Decompress the archive, preserving directory structure
Run perl Makefile.PL
Install all the missing prerequisites by hand using ppm. E.g., ppm install Module::ScanDeps etc
Install MingW: ppm install MingW
dmake, then dmake test, then dmake install
Later, you can remove PAR::Packer from the site area using the ppm GUI and install the fixed version.
This is a Perl module called PAR::Packer, so it can be installed as any Perl module with CPAN. Unfortunately, you're using ActivePerl which isn't quite compatible with CPAN. Instead, you can see if use ActiveState's Perl Package Manager to install this module.
If the module isn't available via the Perl Package Manger, you can try installing with the CPAN command line utility. Open up a Console Window (Start->Accessories->Command Prompt) and type in cpan and press <ENTER>. Newer versions of ActiveState should automatically install the required compilers, etc. when you first start to use CPAN.
I prefer Strawberry Perl for Windows because it's more compatible with CPAN. However, ActivePerl has a lot of the Win32 modules already installed. Plus, it comes with the Perl Package Manager which is nice.
WARNING: ActiveState installs a lot of these Perl scripts not in C:\Perl\bin, but in C:\Perl\Site\bin which means you have to make sure that directory is in your path too.
As of v1.010, the software cannot be automatically packaged, see the report at Trouchelle's repo.
Install CPAN using PPM, then continue as per the Stack Overflow Perl FAQ: What's the easiest way to install a missing Perl module?
ppm install MinGW
cpanp i Win32::Exe PAR::Packer
In addition to the above answers,
You can use cpan to install the PAR::Packer.
From your windows command prompt use the command: cpan install PAR::Packer.
Note: I have Strawberry perl installed.
cpan installs the modules and the dependencies as well.
So... I have been trying to get this working for several weeks now. I can install MinGW through the .exe, but no-matter what I do I can't seem to get make support or ppm install MinGW to work in such a way that my compilation of Tk-804.029 will correctly use the 'make' command.
(Installing a Perl Module:
perl MakeFile.PL - Works fine
make or dmake - I can't get MinGW to properly associate Make or DMake (Can't find the correct .exe in the MinGW/bin directory either... I've tried using the -32bit mingw32-make.exe but that brings up errors to do with the compiled header files.
)
ppm install MinGW also doesn't work, seems to think it can't find the package. So I am at a loss. System is running Windows 7 on a x64 setup.
What perl are you using? You could try
perl Makefile.PL MAKE=dmake
or
ppm install http://www.bribes.org/perl/ppm/Tk.ppd
ppm install dmake MinGW
ppm upgrade dmake MinGW
or download from
http://ppm4.activestate.com/author/MINGW.html
Or try http://strawberryperl.com/
I'd suggest using Strawberry Perl if possible (and for Perl on Windows in general), as it will give you a working dmake out of the box. I don't have Windows 7, but Tk installs fine from CPAN using Strawberry 5.10 on Windows XP.