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)
install: "make install"