#183 Perl module needs proper build script

open
modules (179)
5
2011-06-20
2011-03-02
Dynamic Packet
No

The perl module(s) OpenSIPS.pm, etc, need to be built and installed with system build paths.
Currently the install script uses a fixed location, this need to be changed to use the perl install method.

Attached is a patch that packages the perl PM module correctly. This still needs to be integrated into the opensips perl module Makefile
so that it builds/installs the perl PM module with the correct paths. Building now works as follows from the "lib" directory:

create_makefile: "perl Makefile.PL" (this must be done on target machine for correct paths, it will generate Makefile)
build: "make"
install: "make install"

Discussion

  • Dynamic Packet
    Dynamic Packet
    2011-03-02

    Makefile.PM, correct perl module build method

     
    • assigned_to: nobody --> vladut-paiu
     
  • Hello,

    Sorry, but I don't understand the patch. I see that you simply removed most of the code.
    What is the idea of the patch ?

    Regards,
    Vlad