Questions tagged [makemaker]

42 questions
1
vote
1 answer

ExtUtils::MakeMaker including external *.mk and using defines within *.mk file for LIBS and INC parameters in WriteMakefile

I have a top level defines.mk file which lists certain directories and C libraries to include depending on the project like so. KERNEL_LIB = -lkdev DRIVER_LIB = -ldriver -lutil -linit $(KERNEL_LIB) DRIVER_INCLUDE = -I../../include I use XS to…
colekas
  • 23
  • 4
1
vote
0 answers

ExtUtils::MakeMaker compile helper utility

Can I persuade EU::MM to compile a helper utility without looking for XS to build? For example, given the following: Makefile.PL helper.c example.pl lib/App/Example.pm ... a make on the generated Makefile tries to work with a dynamic…
pilcrow
  • 56,591
  • 13
  • 94
  • 135
1
vote
0 answers

What is the function of PMLIBPARENTDIRS in ExtUtils::MakeMaker?

One of our projects has an ancient, inherited Makefile.PL based on ExtUtils::MakeMaker which contains the following: WriteMakefile( # ... Many lines omitted ... PMLIBDIRS => [ 'lib', '$(BASEEXT)' ], PMLIBPARENTDIRS => [ 'lib'…
Jonathan Hall
  • 75,165
  • 16
  • 143
  • 189
1
vote
2 answers

perl MakeMaker's version_from not used by prereq_pm

Edit I've prefixed the explanation here, for the benefit of anyone else confused by this issue. As @Ikegami explained, VERSION_FROM indicates where the distribution's version comes from, if not in the top-level module; PREREQ_PM indicates…
1
vote
0 answers

How to specify destination directory in Makefile.PL

I am using ExtUtils::MakeMaker; to generate makefile. It runs gcc on my cpp files but copies my object files to current directory. How do i specify the destination folder where my .o files will be stored. I had mentioned the .o files in the OBJECT…
PMat
  • 2,039
  • 2
  • 29
  • 46
1
vote
1 answer

Man pages with MakeMaker

I wrote some man pages which I'd like to install from a MakeMaker. I'd like to control where they're installed using environment variables like INSTALLSITEMAN1DIR* environment variables. Where in the source tree should I place the man files, or what…
ajwood
  • 18,227
  • 15
  • 61
  • 104
0
votes
1 answer

How to build DBD::mysql with DBI in a custom @INC?

I'm building DBI and DBD::mysql in a continuous integration build server. The build of DBI is successful, as seen in the excerpt of the build log below. It clearly installs DBI/DBD.pm in the correct location. pushd DBI-1.643 perl Makefile.PL…
Bill Karwin
  • 538,548
  • 86
  • 673
  • 828
0
votes
1 answer

perl MakeMaker makefile with submodules

I have created a perl modul with 3 submodules. I want to create a makefile with MakeMaker and have a problem. My structure of my module is /module.pm and /module/sub.pm. If i create the makefile only the module.pm file will be included. Which…
0
votes
1 answer

Is it possible to setup the cross module version in VERSION_FROM option (of Makefile.PL)?

I want to setup the same version for few projects in one place. I've tried: use ExtUtils::MakeMaker; WriteMakefile( VERSION_FROM => 'lib/project/version.pm', ... In 'lib/project/version.pm': package project::version; use…
bor
  • 181
  • 1
  • 6
0
votes
1 answer

Perl module placing text in home folder

I am trying to create a Perl module with ExtUtils::MakeMaker. When installing it along with the module I need to place a text file containing some information in the user's home folder. How can I do this?
dileepmani
  • 37
  • 8
0
votes
1 answer

XCode 4.x do not include Perl MakeMaker. brew failed - Asks for Perl file.

I am trying to install node.js following instructions. Just installed Homebrew. I tried this. brew install git -v But get this error message: make[2]: * No rule to make target '...config.h', needed by `perl.mak'. Stop. It asks for my config.h…
r4.
  • 358
  • 1
  • 6
  • 22
-1
votes
1 answer

Date::Manip install from cpan fails on mac - can't find ExtUtils::MakeMaker

I am trying to install Date::Manip on Mac OS X 10.10 using cpan. I have Xcode and command line tools installed. When I type sudo cpan -i Date::Manip I see the following error: ---- Unsatisfied dependencies detected during ---- ---- …
dannyhmg
  • 135
  • 8
1 2
3