Installing PAR::Packer on Windows, dmake error 255 - windows

I am trying to create a binary of a perl script for Windows, and I cannot afford commercial applications such as perl2exe and Active Perl Dev Kit (I am aware there are trial versions).
Because of this I have installed strawberry perl on a Windows XP SP3 32bit Virtual Machine to try and compile my source file; something that I was easily able to do on Linux.
Strawberry perl installs fine however when I try to install the PAR::Packer module from cpan, I get the following errors:
dmake: Error code 129, while makeing 'ppresources.coff'
dmake.EXE: Error code 255, while making 'subdirs'
RSCHUPP/PAR-Packer-1.013.tar.gz
C:\strawberry\c\bin\dmake.EXE -- NOT OK
I have googled extensively, but as of yet haven't been able to find a solution, any help is greatly appreciated, thanks a lot!

Adding answer to aggregate comments above for future searchers:
Here's what works for me building on Windows systems.
1) Use ActiveState Perl 5.x (I've used 5.10 through 5.14).
2) Use PPM to install all packages you can from ActiveState PPM repository.
3) Fall back to CPAN to actually install PAR::Packer and any other requirements not in the ActiveState PPM repository.

Related

How do I download PyPy?

I run Windows 10 64 bit.
I haven't tried downloading PyPy because I didn't find any tutorials on YouTube.
I have also went to the official PyPy website but it is for Python 3.6
Do I need to have python 3.6 downloaded too?
Also tell the steps to download PyPy
Edit: I am having problems in installing modules too. It gives a GINORMOUS error saying I need wheel, and some compilers like G77, GNU, Visual C++, etc.
If I understand you correctly, I dont think you need python 3.6 installed,
If you have already downloaded pypy from the website, extract the file by right-clicking on it and run the .exe file. Then run pypy and you shouldn't have any problems from there on.
Hope my advice is useful.

Webmin Windows Installer Reports no ActiveState Perl

I use Webmin on Ubuntu and like it but can’t get it to install on Windows using the Webmininstall.exe. It reports that Perl is not installed but I did install the 32bit ActiveState Perl in advance as required and it is in the system path. It is NOT installed in C:\Perl as I never let anything install directly in c:. Any ideas?

Installing OpenAL (or a similar package) on W7

I want to install OpenAL Haskell bindings for Windows. When I try cabal install alut I get:
Resolving dependencies...
Configuring OpenAL-1.4.0.2...
cabal: The package has a './configure' script. This requires a Unix
compatibility toolchain such as MinGW+MSYS or Cygwin.
Installing MSYS or Cygwin is absolutely not an option. runghc setup configure on the source yields the same thing. This leads me to the following:
How can I install OpenAL with just an installation of the Haskell Platform? I know mingw comes with the Haskell Platform on Windows. Can I use just that to execute this script?
Is there a package that can play audio that installs with cabal on Windows 7 AND Unix based systems?
The source contains hundreds of directives designed for the configure script, which doesn't work on Windows. Is there a version of the source which is platform specific, ie, the script has already been run in a windows environment?
Edit: Context for the problem:
I have a Haskell program, which among other things, plays sound. It is going to be used for demonstration/interactive presentation to students. The computers in the lab run Windows 7. They have the Haskell Platform installed, but not MSYS or Cygwin. I have about 45 minutes to complete this, which doesn't leave time for the installation of needlessly complex and essentially pointless software. If I could get Windows-compatible source code, I could just distribute it with the program I wrote. All the packages I need besides this one will cabal install just fine; this is also a good introduction to package management.
Edit2: cabal install fails with Cygwin installed, as does runghc setup configure

How do I install the Perl DateTime module on Mac OSX 10.6

Ok, I know how to install Perl modules with cpan and have been doing it for years. But when I try to install the DateTime module on this particular mac, it fails, claiming that it cannot find a compiler.
Here is some of the output from attempting to install one of the prerequisites, Params::Validate: ( I get the same kinds of errors from attempting to install the module in question.)
Configuring Params-Validate-1.00
Running Build.PL
/usr/libexec/gcc/powerpc-apple-darwin10/4.2.1/as: assembler (/usr/bin/../libexec/gcc/darwin/ppc/as or /usr/bin/../local/libexec/gcc/darwin/ppc/as) for architecture ppc not installed
Installed assemblers are:
/usr/bin/../libexec/gcc/darwin/x86_64/as for architecture x86_64
/usr/bin/../libexec/gcc/darwin/i386/as for architecture i386
lipo: can't open input file: /var/tmp//cc3Aefez.out (No such file or directory)
Warning: ExtUtils::CBuilder not installed or no compiler detected
Proceeding with configuration, but compilation may fail during Build
Why is Build.PL looking for a ppc compiler? If that is the problem where do I tell it (or cpan, or cpanm) that this machine is not a ppc box?
I'm running 10.6.8. The version of perl is v5.10.0 built for darwin-thread-multi-2level
I most definitely have the Developer tools installed.
I'm running cpan and cpanm via sudo.
I'd be grateful for any assistance anyone can offer.
known problem with Xcode on Lion, Apple couldn't help messing around with nm, breaking Perl again (previously) and who knows what else
p5p discussion
perlbrew's info
You are on an unsupported Perl. Upgrade to stable.
I've got 10.7 installed which comes with Perl 5.12.3 installed. I did a CPAN install:
$ sudo cpan
password:
cpan> install DateTime
And, the whole thing works. Is this something you need for a third party file, or do you want to use this because you're familiar with this particular package?
There are several built in Time packages with Perl 5.10. Would one of these work for you? Otherwise, you might need to install ExtUtils::CBuilder and see if that helps.
Or, install a more modern version of Perl such as ActiveState which is pretty simple to install, its cpan utility works pretty good on a Mac, and it's version 5.14 which is even newer than the version that comes with Lion.
I think what's happening is that the installer is trying to compile something (possibly an XS module) and to do that it needs to use the same compiler that was used to compile whichever version of Perl is on your system, and it can't find it.
Your best bet would be to install your own version of Perl 5.10 using perlbrew as this gaurantees the compiler is available (make sure you edit your .profile so Terminal uses your new Perl), then re-open Terminal, switch to the perlbrew version of Perl 5.10 and you should be fine from then on.
If you have problems installing the perlbrew Perl then as daxim noted above refer to the Lion fix

How can I manually Installing DBD-Oracle 1.17 in ActivePerl on Windows?

After installing Active Perl 5.8.8 Build 822 on WindowsXP, I do not see DBD-Oracle in "View All Packages" of Perl Package Manager.
The CPAN location of the same is http://search.cpan.org/dist/DBD-Oracle-1.17/,
but I don't know the process to manually install this tar(DBD-Oracle-1.17.tar.gz) in ActivePerl.
Install Oracle Instant Client for Windows.
Do you really need to use ActivePerl 5.8.8 as the process is easier in 5.8.9.827 and above. Usually you just do:
cpan P/PY/PYTHIAN/DBD-Oracle-1.17.tar.gz
and if you don't have Microsoft Visual C on your path it downloads MinGW and installs it. I think if you are before 5.8.9 of ActivePerl you might have to install MinGW yourself with:
ppm install MinGW
but I think in 5.8.8 you will have to download, install and configure MinGW and dmake manually though, so you may not want to bother...
BTW, Do you really need to use DBD::Oracle 1.17? That is really old now. 1.26 is the latest.

Resources