Bastian,
I totally agree with you that you may add a lot of perl libs, depending of what exactly are you doing in the perl scripts called from the module.
I was referring to the minimal lib dependency in order to get the module compile from C point of view. According to my tests, libperl-dev (and all its dependencies) is enough. I guess it is a pretty common lib on most of the UNIX systems.
my suggestion is to list in docs the "libperl-dev" library as module external dependency, instead of the generic "Perl".
thanks and regards, bogdan
Bastian Friedrich wrote:
Hi Bogdan,
On Tuesday 12 December 2006 16:00, Bogdan-Andrei Iancu wrote:
I'm trying to compile the perl module on Debian, but from docs is not very clear what libs are required (is written just Perl).
A "full perl installation" would include all the files from perl, libperl, and libperl-dev. Right, nobody installs perl from the sources :)
Is it about libperl or libperl-dev ??
libperl-dev includes /usr/lib/libperl.so (just as a softlink to libperl5.8's /usr/lib/libperl.so.5.x). This is necessary for the module to work.
Thus: On debian, you should at least install perl, perl-base, perl-modules, libperl5.8 and libperl-dev.
There are a lot of additional perl modules that might make sense in the context of the module, so you might want to install some lib*-perl packages as well, but they are not necessary for the base functionality. My primary intent, accessing LDAP from within OpenSER, would depend on libnet-ldap-perl, for example (in fact, the LDAPUtils modules included in my sources use that debian package).
Sorry for not pointing this out any better. There are big differences between different distributions (I'm using SuSE here, their package naming scheme is different here and there). Is there a dedicated list of supported OS and/or Linux distributions of OpenSER anywhere?
Please tell me if you can successfully use the module when the debian packages mentioned above are installed.
Thx & Regards, Bastian