http://qs1969.pair.com?node_id=945001


in reply to Turn a Website into a native application

does "LIBS => ':nosearch'" work for you? It fools MakeMaker into believing that libs are there. ( see perldoc ExtUtils::Liblist for more )
  • Comment on Re: Turn a Website into a native application

Replies are listed 'Best First'.
Re^2: Turn a Website into a native application
by Anonymous Monk on Dec 23, 2011 at 22:53 UTC

    The purpose of OPs patch it to avoid having to modify each and every Makefile.PL

    :nosearch is a documented "feature" of ExtUtils::Liblist

Re^2: Turn a Website into a native application
by cavac (Parson) on Dec 23, 2011 at 22:57 UTC

    Tried it but failed. Maybe i did something wrong.

    It also has the problem that - even when it works - it would still require to "fix" the Makefile.PL on each and everyone of the modules i want to install. At least everyone that requires at least one external library. Thats not very useful.

    That problem can waste a lot of time when i upgrade my ActivePerl or install a new server. So i just install my own "fake-fixed" version of MakeMaker and be done with it.

    BREW /very/strong/coffee HTTP/1.1
    Host: goodmorning.example.com
    
    418 I'm a teapot