Re: Should I add ExtUtils::MakeMaker as prerequisite to Makefile?

2015-02-27 Thread David Precious
On Fri, 27 Feb 2015 23:41:22 +0100 Alex Becker wrote: > So my idea was to specify EUMM v6.46 as minimum in PREREQ_PM. This > way, I would not have to do all this 'if the EUMM version is greater > than X then add Y to Makefile.PL' stuff. > > So, would it work? Does it make sense? I don't think so;

Should I add ExtUtils::MakeMaker as prerequisite to Makefile?

2015-02-27 Thread Alex Becker
Hi! When writing a Makefile.PL for a module (no, I don't want to read about other ways to do it now), does it make sense to add ExtUtils::MakeMaker (EUMM) to the PREREQ_PM module prerequisites list? I'm asking because I saw some Makefile.PL where the installed version of EUMM was c

Re: Teach script to look for modules in the same prefix when using MakeMaker

2014-06-16 Thread David Precious
On Sun, 15 Jun 2014 20:37:55 +0200 drupsspen wrote: > I'm building an application in Perl and is looking into using a build > system for it. So far I've looked at ExtUtils::MakeMaker. I have > divided my application like this: > > bin/foo > lib/Foo/Bar.pm > lib/Fo

Teach script to look for modules in the same prefix when using MakeMaker

2014-06-15 Thread drupsspen
Hello. I'm building an application in Perl and is looking into using a build system for it. So far I've looked at ExtUtils::MakeMaker. I have divided my application like this: bin/foo lib/Foo/Bar.pm lib/Foo/Baz.pm The user runs the program by invoking foo, which is an executable

Fw: perl Gtk2 install and makemaker install

2013-10-30 Thread Shlomi Fish
Begin forwarded message: Date: Wed, 30 Oct 2013 11:18:58 -0700 From: "D.Edmons" To: Shlomi Fish Subject: Re: perl Gtk2 install and makemaker install I tend to hand-crank mine. My preferred distro was SourceMage for that reason (I was a developer there for a short time), but t

Re: perl Gtk2 install and makemaker install

2013-10-29 Thread Shlomi Fish
Hi El'ad/Dale, On Tue, 29 Oct 2013 17:29:24 -0700 "D.Edmons" wrote: > Hi, > > I'm trying to get Gtk2 installed. I'm upgrading my local directory to > the current stable perl and now need Gtk2 so that I may learn perlgtk2. > > I get the following error when I run `perl Makefile.PL': > ---

perl Gtk2 install and makemaker install

2013-10-29 Thread D.Edmons
mpilation aborted at (eval 4) line 1. Checking if your kit is complete... Looks good MakeMaker FATAL: prerequisites not found. ExtUtils::Depends not installed ExtUtils::PkgConfig not installed Glib not installed Pango not installed Please install these modules first and rer

Re: Need help to resove..... ExtUtils-Makemaker comilationS

2010-04-30 Thread Shlomi Fish
Hi Raheel, On Friday 30 Apr 2010 14:17:03 Raheel Hassan wrote: > Hi Shlomi, > > I am very thankful to you for helping me, yes i resolved the problem > actually perl-devel was missing. So when i executed 'urpmi perl-devel' i > got EXTERN.h. Now i am able to install all the required packages from >

Re: Need help to resove..... ExtUtils-Makemaker comilationS

2010-04-24 Thread Shlomi Fish
> >need the Mandriva version - please do: > >[shell] > >shlomi:~$ cat /etc/mandriva-release > >Mandriva Linux release 2010.1 (Cooker) for i586 > >shlomi:~$ > >[/shell] > > Here is the version number > [r...@localhost ExtUtils-MakeMaker-6.56]# cat /etc/man

Re: Need help to resove..... ExtUtils-Makemaker comilationS

2010-04-23 Thread Dermot
t;>shlomi:~$ cat /etc/mandriva-release >>Mandriva Linux release 2010.1 (Cooker) for i586 >>shlomi:~$ >>[/shell] > > Here is the version number > [r...@localhost ExtUtils-MakeMaker-6.56]# cat /etc/mandriva-release > Mandriva Linux release 2009.0 (Official) for i586 >

Re: Need help to resove..... ExtUtils-Makemaker comilationS

2010-04-23 Thread Raheel Hassan
er) for i586 >shlomi:~$ >[/shell] Here is the version number [r...@localhost ExtUtils-MakeMaker-6.56]# cat /etc/mandriva-release Mandriva Linux release 2009.0 (Official) for i586 >You can install most of them using urpmi. Not that there are several modules >that start with ExtUtils. Se

Re: Need help to resove..... ExtUtils-Makemaker comilationS

2010-04-22 Thread Shlomi Fish
Hi Raheel, On Thursday 22 Apr 2010 17:19:58 Raheel Hassan wrote: > Thanks for your reply, I am using 2.6.27.24-2xossmp version of Mandriva. 2.6.27.24-2 is the kernel version (which is kinda old - I'm using 2.6.33.2). I need the Mandriva version - please do: [shell] shlomi:~$ cat /etc/mandriva-

Re: Need help to resove..... ExtUtils-Makemaker comilation

2010-04-22 Thread Raheel Hassan
55 PM > > Subject: ExtUtils-Makemaker comilation problems. > > To: beginners@perl.org > > > > > > Hi, > > > > When i am trying to install ExtUtils i have these errors are coming. I am > > trying ti install it in Mandriva. Can any one can give be t

Re: Need help to resove..... ExtUtils-Makemaker comilation

2010-04-22 Thread Raheel Hassan
*I have only these files. [r...@localhost /]# find -name 'CORE'* ./usr/lib/perl5/5.10.1/i386-linux-thread-multi/CORE ./usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE [r...@localhost /]# cd /usr/lib/perl5/5.10.1/i386-linux-thread-multi/CORE [r...@localhost CORE]# ls config.h git_version.h lib

Re: Need help to resove..... ExtUtils-Makemaker comilation

2010-04-22 Thread Shlomi Fish
Hi Raheel! On Thursday 22 Apr 2010 14:21:20 Raheel Hassan wrote: > -- Forwarded message -- > From: Raheel Hassan > Date: Wed, Apr 21, 2010 at 3:55 PM > Subject: ExtUtils-Makemaker comilation problems. > To: beginners@perl.org > > > Hi, > > When i

Re: Need help to resove..... ExtUtils-Makemaker comilation

2010-04-22 Thread Owen
> > When i am trying to install ExtUtils i have these errors are coming. I > am > trying ti install it in Mandriva. Can any one can give be the clue. > Thanks > in advance. > > /usr/lib/perl5/5.10.1/**ExtUtils/typemap Test.xs > Test.xsc && mv > Test.xsc > Test.c > # make[1]: *** No rule to mak

Need help to resove..... ExtUtils-Makemaker comilation

2010-04-22 Thread Raheel Hassan
-- Forwarded message -- From: Raheel Hassan Date: Wed, Apr 21, 2010 at 3:55 PM Subject: ExtUtils-Makemaker comilation problems. To: beginners@perl.org Hi, When i am trying to install ExtUtils i have these errors are coming. I am trying ti install it in Mandriva. Can any one can

ExtUtils-Makemaker comilation problems.

2010-04-21 Thread Raheel Hassan
Hi, When i am trying to install ExtUtils i have these errors are coming. I am trying ti install it in Mandriva. Can any one can give be the clue. Thanks in advance. *[r...@localhost ExtUtils-MakeMaker-6.56]# perl Makefile.PL* Writing Makefile for ExtUtils::MakeMaker *[r...@localhost ExtUtils

Re: ExtUtils::MakeMaker, execute Perl code during "make test"

2010-04-17 Thread Paul Johnson
On Thu, Apr 15, 2010 at 06:50:39PM -0400, Steve Bertrand wrote: > Hi all, > However, when I run "make test", the Perl code for print does not execute. > > I seem to be searching for the wrong problem in the usual places, so I'd > like to ask for advice on the best way to allow print statements to

Re: ExtUtils::MakeMaker, execute Perl code during "make test"

2010-04-16 Thread Steve Bertrand
On 2010.04.16 11:32, Philip Potter wrote: > On 16 April 2010 14:38, Steve Bertrand wrote: >> This particular test: > It sounds like your test isn't a test, it's a setup tool. Tests in > projdir/t are there to test if the stuff in projdir/lib or > projdir/blib works, and shouldn't be dependent on

Re: ExtUtils::MakeMaker, execute Perl code during "make test"

2010-04-16 Thread Philip Potter
On 16 April 2010 14:38, Steve Bertrand wrote: > On 2010.04.16 09:15, Philip Potter wrote: >> What are you *actually* >> trying to do? What are you testing and why does this test require you >> to print output to the user under "make test"? > > This particular test: > > - checks to see if an existi

Re: ExtUtils::MakeMaker, execute Perl code during "make test"

2010-04-16 Thread Steve Bertrand
On 2010.04.16 09:15, Philip Potter wrote: > On 16 April 2010 13:20, Steve Bertrand wrote: >> I use prove often, usually when I want to quickly and non-verbosely (-Q) >> work with a single test file that I'm currently adding new tests to, or >> to ensure existing tests still pass if making changes

Re: ExtUtils::MakeMaker, execute Perl code during "make test"

2010-04-16 Thread Philip Potter
On 16 April 2010 13:20, Steve Bertrand wrote: > I use prove often, usually when I want to quickly and non-verbosely (-Q) > work with a single test file that I'm currently adding new tests to, or > to ensure existing tests still pass if making changes to a function. > > What I want to be able to do

Re: ExtUtils::MakeMaker, execute Perl code during "make test"

2010-04-16 Thread Steve Bertrand
On 2010.04.16 03:36, Philip Potter wrote: > On 16 April 2010 02:05, Steve Bertrand wrote: >> On 2010.04.15 18:50, Steve Bertrand wrote: >> What I've done to 'rectify' the issue so that it is clear that the >> config files differ, is rename the test to the highest test number >> (999-upgrade.t) so

Re: ExtUtils::MakeMaker, execute Perl code during "make test"

2010-04-16 Thread Philip Potter
On 16 April 2010 02:05, Steve Bertrand wrote: > On 2010.04.15 18:50, Steve Bertrand wrote: >> Hi all, >> >> In one of my projects, I've written a test file t/22-upgrade.t. > > [..snip..] > >> However, when I run "make test", the Perl code for print does not execute. > > Replying my own post, this

Re: ExtUtils::MakeMaker, execute Perl code during "make test"

2010-04-15 Thread Steve Bertrand
On 2010.04.15 18:50, Steve Bertrand wrote: > Hi all, > > In one of my projects, I've written a test file t/22-upgrade.t. [..snip..] > However, when I run "make test", the Perl code for print does not execute. Replying my own post, this project is currently only used by us internally. What I've

ExtUtils::MakeMaker, execute Perl code during "make test"

2010-04-15 Thread Steve Bertrand
Hi all, In one of my projects, I've written a test file t/22-upgrade.t. I have a test within this file that looks for an existing installation, checks the versions, and compares the configuration files An upgrade does not overwrite the existing config, instead printing out a warning with a list

Re: MakeMaker

2009-07-30 Thread Patrick Dupre
Thank. On Thu, Jul 30, 2009 at 19:28, Patrick Dupre wrote: Hello, Insi de my Makefile.PL, I would like to do something like: LIBS   => ['-lm -L$(PATH) -lmlib'], with $PATH define at the beginning of the file, but I cannot make it work What am I doing wrong ? snip I see two things wron

Re: MakeMaker

2009-07-30 Thread Shawn H. Corey
Chas. Owens wrote: On Thu, Jul 30, 2009 at 19:28, Patrick Dupre wrote: Hello, Insi de my Makefile.PL, I would like to do something like: LIBS => ['-lm -L$(PATH) -lmlib'], with $PATH define at the beginning of the file, but I cannot make it work What am I doing wrong ? snip I see two t

Re: MakeMaker

2009-07-30 Thread Chas. Owens
On Thu, Jul 30, 2009 at 19:28, Patrick Dupre wrote: > Hello, > > Insi de my Makefile.PL, I would like to do something like: > LIBS   => ['-lm -L$(PATH) -lmlib'], > > with $PATH define at the beginning of the file, but I cannot make it > work > What am I doing wrong ? snip I see two things wro

MakeMaker

2009-07-30 Thread Patrick Dupre
Hello, Insi de my Makefile.PL, I would like to do something like: LIBS => ['-lm -L$(PATH) -lmlib'], with $PATH define at the beginning of the file, but I cannot make it work What am I doing wrong ? Thank. -- --- ==

ExtUtils::MakeMaker and packaging things

2007-02-20 Thread Daniel Kasak
Hi all. I'm writing an app in Gtk2-Perl. I want to include things like glade XML files, and images. How do I go about that? I would like to be able to do something like create an app folder: /usr/share/some_application and dump stuff in there. Can I do that? How? Dan -- To unsubscribe, e-mail

Re: Of LIB=, Makemaker, and alternate locations for libraries of perl extensions and apps

2002-11-07 Thread Michael G Schwern
a. utilize the 'LIB= argument when creating your makefile > example: perl Makefile.PL LIB=/users/george/myperlprogram/lib/ This is due to bugs in MakeMaker prior to 6.XX (ie. what comes with perl prior to 5.8.0). The proper thing to use is PREFIX, not LIB. PREFIX covers *

Re: Of LIB=, Makemaker, and alternate locations for libraries of perl extensions and apps

2002-11-01 Thread sean finnigan
Thank you. George Szynal <[EMAIL PROTECTED]> wrote:For those who want/need to install a Perl app or extension without perturbing the default perl library tree. Possible reasons: 1. Disambiguating the existing libs from your libs (for testing perhaps) 2. Not wanting to or not having rights to log

Of LIB=, Makemaker, and alternate locations for libraries of perl extensions and apps

2002-11-01 Thread George Szynal
For those who want/need to install a Perl app or extension without perturbing the default perl library tree. Possible reasons: 1. Disambiguating the existing libs from your libs (for testing perhaps) 2. Not wanting to or not having rights to login as a supervisor (or as a user with admin ri

MakeMaker question

2001-09-05 Thread register
i am writing a module that is a helper module and is part of a larger project ... i am using h2xs and MakeMaker to make the module 'cos i need to distribute this out to other people who are using the 'larger project' ... i am running into problems in that the larger project has a