Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: MakeMaker and Library filename extensions ( :nosearch )

by Anonymous Monk
on Jan 18, 2013 at 13:58 UTC ( #1014061=note: print w/ replies, xml ) Need Help??


in reply to Re^2: MakeMaker and Library filename extensions ( :nosearch )
in thread MakeMaker and Library filename extensions

Unrecognized argument in LIBS ignored: ':nosearch'

Upgrade ExtUtils::Liblist

Using -static ... It should be looking for .a.

What is this "-static"?

would accept a fully qualified filename?

It has always accepted those

I am the Makefile.pl creator. So there has been plenty of Makefile.pl editing and circumvention of MakeMaker's choking intelligence.

Very few succeed at improving Makefile.PL, and those that do don't ask questions like this


Comment on Re^3: MakeMaker and Library filename extensions ( :nosearch )
Re^4: MakeMaker and Library filename extensions ( :nosearch )
by Anonymous Monk on Jan 18, 2013 at 15:30 UTC

    What is this "-static"?
    With questions like this

    Very few succeed at improving Makefile.PL, and those that do don't ask questions like this
    I don't wonder about answers like that ...

      and then?
Re^4: MakeMaker and Library filename extensions ( :nosearch )
by Anonymous Monk on Jan 18, 2013 at 19:17 UTC
    Very few succeed at improving Makefile.PL, and those that do don't ask questions like this

    Why would one NOT want to improve their Makefile.PL ... That would be utterly ignorant!

    Now if you meant improve MakeMaker et al ... I agree!

    Upgrade ExtUtils::Liblist = 6.63_02 with Perl 5.16

    It has always accepted those

    It has, The following log bits would beg to differ ...
    Shared build ...

    Potential libraries are '-L/usr/local/lib -lMyLib -liconv': '-lMyLib' found at /usr/local/lib/libMyLib.so '-liconv' found at /usr/local/lib/libiconv.so.7

    Shared build, fully qualified filename, using -l ...

    Potential libraries are '-L/usr/local/lib -l/usr/local/lib/libMyLib.so + -liconv': /usr/local/lib/libMyLib.so not found in /usr/local/lib /usr/local/lib/libMyLib.so not found in /usr/lib /usr/local/lib/libMyLib.so not found in /usr/local/lib Note (probably harmless): No library found for -l/usr/local/lib/libMyL +ib.so '-liconv' found at /usr/local/lib/libiconv.so.7

    Shared build, full path and filename w/o extension, using -l ...

    Potential libraries are '-L/usr/local/lib -l/usr/local/lib/libMyLib -l +iconv': /usr/local/lib/libMyLib not found in /usr/local/lib /usr/local/lib/libMyLib not found in /usr/lib /usr/local/lib/libMyLib not found in /usr/local/lib Note (probably harmless): No library found for -l/usr/local/lib/libMyL +ib '-liconv' found at /usr/local/lib/libiconv.so.7

    Shared build, fully qualified filename, without using -l ...
    A valid Make tool chain argument ...

    Potential libraries are '-L/usr/local/lib /usr/local/lib/libMyLib.so - +liconv': Unrecognized argument in LIBS ignored: '/usr/local/lib/libMyLib.so' '-liconv' found at /usr/local/lib/libiconv.so.7

    Shared build, full path and filename w/o extension, without using -l ...

    Potential libraries are '-L/usr/local/lib /usr/local/lib/libMyLib -lic +onv': Unrecognized argument in LIBS ignored: '/usr/local/lib/libMyLib' '-liconv' found at /usr/local/lib/libiconv.so.7

    Shared build with full path, HACKED filename using -l ...

    Potential libraries are '-L/usr/local/lib -l/usr/local/lib/MyLib.so -l +iconv': /usr/local/lib/MyLib.so not found in /usr/local/lib /usr/local/lib/MyLib.so not found in /usr/lib /usr/local/lib/MyLib.so not found in /usr/local/lib Note (probably harmless): No library found for -l/usr/local/lib/MyLib. +so '-liconv' found at /usr/local/lib/libiconv.so.7

    Shared build with full path, HACKED filename w/o extension using -l ...

    Potential libraries are '-L/usr/local/lib -l/usr/local/lib/MyLib -lico +nv': /usr/local/lib/MyLib not found in /usr/local/lib /usr/local/lib/MyLib not found in /usr/lib /usr/local/lib/MyLib not found in /usr/local/lib Note (probably harmless): No library found for -l/usr/local/lib/MyLib '-liconv' found at /usr/local/lib/libiconv.so.7

    Static build with both the .a and .so in /usr/local/lib ...
    Should have picked up the .a ...

    Potential libraries are '-L/usr/local/lib -lMyLib -lz -liconv': '-lMyLib' found at /usr/local/lib/libMyLib.so z not found in /usr/local/lib '-lz' found at /usr/lib/libz.so '-liconv' found at /usr/local/lib/libiconv.so.7

    Static build with /usr/local/lib/libMyLib.so removed ...

    Potential libraries are '-L/usr/local/lib -lMyLib -lz -liconv': '-lMyLib' found at /usr/local/lib/libMyLib.a z not found in /usr/local/lib '-lz' found at /usr/lib/libz.so '-liconv' found at /usr/local/lib/libiconv.so.7

    Think I got all logical and a couple illogical permutations covered ...

    -Enjoy

      Why would one NOT want to improve their Makefile.PL ... That would be utterly ignorant!

      Well, over the last decade i've seen hundreds try to improve their Makefile.PL, all they do is break INC=/LIBS=/postamble, and require my manual intervention beyond specifying INC/LIBS

      Sure things have gotten lots better since the advent strawberryperl came along, but its hard job , there are way too many platform/compiler combinations, bugs are easy to make

      Take a look inside Alien::, inside Alien::SDL, Alien::wxWidgets, XML::LibXML, and check the bug cue -- reinventing sh configure is hard work, everyone does it differently, there is a lot to be said for KISS

      It has, The following log bits would beg to differ ... Think I got all logical and a couple illogical permutations covered ...

      Nope, read Re^5: h2xs on Windows, it has always accepted them, before :nosearch liblist would leave them alone, but since :nosearch it doesn't leave them alone unless you use :nosearch

        Well, over the last decade i've seen hundreds try to improve their Makefile.PL, all they do is break INC=/LIBS=/postamble, and require my manual intervention beyond specifying INC/LIBS

        Sounds like a personal problem ...

        there are way too many platform/compiler combinations, bugs are easy to make

        Agreed, And that is exactly why a Dumb MakeMaker is a Smart MakeMaker!

        Take a look inside Alien::, inside Alien::SDL, Alien::wxWidgets, XML::LibXML, and check the bug cue -- reinventing sh configure is hard work

        Sorry, But I could really care less about others workload, I have my own to worry about.

        there is a lot to be said for KISS

        Love their music ... However, Keeping It Stupid Simple is my point, it's not, it's trying to be smart and failing!

        Nope, read Re^5: h2xs on Windows, it has always accepted them, before :nosearch liblist would leave them alone, but since :nosearch it doesn't leave them alone unless you use :nosearch

        The code in Kid.pm::_unix_os2_ext says you are wrong ...
        I'm not on Windows so I could care less how it functions on Windows.

        -Enjoy

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1014061]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2014-08-28 02:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (255 votes), past polls