Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re^4: MakeMaker and Library filename extensions

by Anonymous Monk
on Jan 21, 2013 at 22:27 UTC ( #1014516=note: print w/replies, xml ) Need Help??

in reply to Re^3: MakeMaker and Library filename extensions
in thread MakeMaker and Library filename extensions

That won't alter %Config::Config at all, but as long as the values are taken from this local %Config then you can perhaps make use of it.

I've been through the EU code, for the most part it refers to it's local %Config, though there are the following:

In $Config::Config{perlpath})
In $Config::Config{make}
In $Config::Config{eunicefix}
In $Config::Config{lib_ext}
In @Config::Config{qw(osname dlsrc)}
In $Config::Config{archname}
In $Config::Config{version}
In $Config::Config{'cc'}
In $Config::Config{d_vms_case_sensitive_symbols}

Love the consistency ...

So as I see it as long as you don't want to muck with the above listed values one should be good to go using ExtUtils::MakeMaker::Config in ones Makefile.PL.
Obliviously this is only going to work within the scope of the current Makefile.PL.

However, my preference would still be to overwrite %Config::Config itself as that is cleaner and simpler (IMO).

I agree, However it appears big brother does not ...

I still find this does not serve my needs.
For my needs the real issue is, on *nix, ExtUtils::Liblist::Kid will not allow fully qualified library names.

The standard technique for including a Static library over a Shared library is to use the fully qualified filename without the '-l' library tag. As in:
-L/usr/local/lib /usr/local/lib/libmylib.a
This tells the make tool chain to blindly use it, where '-lmylib' says search for (or versions of it) if found use it, if not look for libmylib.a (or versions of it).

ExtUtils::Liblist::Kid ignores and tosses out anything that doesn't have either a '-L' or '-l' tag.

My words for ExtUtils-MakeMaker: If you don't understand it, pass it on ... Don't toss it!
Someone may be smarter then you and know what to do with it!

And I don't mean a human ... I mean the make tool chain.

Peace out.

  • Comment on Re^4: MakeMaker and Library filename extensions

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1014516]
[ELISHEVA]: well then since the obvious possible mistakes on my part have been ruled out, SOPW it is.
[ELISHEVA]: the data source, or one of them, is the OECD - they provide a *lot* of data that ought to be easily available to perl programmers.
[erix]: it might be cunning to mention the module in the title... :)
[ELISHEVA]: fancy that - a title that actually describes the problem :-)
[ELISHEVA]: but actually thanks for the reminder
[Discipulus]: DBI::CSV + utf8 = BOO?M
[erix]: in extremis we tend to forget stuff ;)
[ELISHEVA]: \Disciplus : lol
[Discipulus]: and ELISHEVA we waait one your post since ~2years... ;=)
[ELISHEVA]: has it really been that long?

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (7)
As of 2017-05-28 20:38 GMT
Find Nodes?
    Voting Booth?