Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

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

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


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

The results ...

Potential libraries are ':nosearch -L/usr/local/lib -lmylib -liconv -l +z': Unrecognized argument in LIBS ignored: ':nosearch' '-lmylib' found at /usr/local/lib/libmylib.so.1.0 '-liconv' found at /usr/local/lib/libiconv.so.7 '-lz' found at /usr/lib/libz.so

Using -static ... It should be looking for .a.
Remove all versions of so's and it works.

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

From you inclusion of full paths I take that to mean 'if' :nosearch worked MakeMaker, would accept a fully qualified filename?
Something it should do anyhoo!

-Enjoy


Comment on Re^2: MakeMaker and Library filename extensions ( :nosearch )
Download Code
Re^3: MakeMaker and Library filename extensions ( :nosearch )
by Anonymous Monk on Jan 18, 2013 at 13:58 UTC

    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

      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?
      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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (10)
As of 2014-09-02 07:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (20 votes), past polls