https://bugs.openldap.org/show_bug.cgi?id=9663
Issue ID: 9663 Summary: Compilation problems: Perl backend Product: OpenLDAP Version: 2.5.6 Hardware: x86_64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: --- Component: backends Assignee: bugs@openldap.org Reporter: jb00356987@techmahindra.com Target Milestone: ---
Dears,
I try to compile 2.5.6 version with --enable-perl module but I get issue as following :
first I get :
In file included from init.c:18: perl_back.h:21:10: fatal error: EXTERN.h: No such file or directory #include <EXTERN.h> ^~~~~~~~~~ compilation terminated. make[3]: *** [Makefile:334: init.lo] Error 1
I had to install a missing rehl package (perl-devel.x86_64) and set the CPPFLAGS of the "configure utility" to the path of these header files. I did run "make clean" and restart the full comilation process then "make" goes futher but now I get a lot of entries as below then it stopped :
/usr/app/LDAP/binaries/openldap-2.5.6/servers/slapd/back-perl/delete.c:50: undefined reference to `Perl_pop_scope' /usr/app/LDAP/binaries/openldap-2.5.6/servers/slapd/back-perl/delete.c:48: undefined reference to `Perl_sv_2iv_flags' /usr/app/LDAP/binaries/openldap-2.5.6/servers/slapd/back-perl/delete.c:50: undefined reference to `Perl_free_tmps' /usr/app/LDAP/binaries/openldap-2.5.6/servers/slapd/back-perl/delete.c:36: undefined reference to `Perl_stack_grow' /usr/app/LDAP/binaries/openldap-2.5.6/servers/slapd/back-perl/delete.c:34: undefined reference to `Perl_markstack_grow' /usr/app/LDAP/binaries/openldap-2.5.6/servers/slapd/back-perl/delete.c:35: undefined reference to `Perl_stack_grow' /usr/app/LDAP/binaries/openldap-2.5.6/servers/slapd/back-perl/delete.c:45: undefined reference to `Perl_croak_nocontext' /usr/app/LDAP/binaries/openldap-2.5.6/servers/slapd/back-perl/delete.c:28: undefined reference to `Perl_croak_nocontext' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:527: slapd] Error 1
Any idea of what's the issue ?
Configure used : ./configure --enable-modules --enable-ldap --enable-dynlist --enable-ppolicy --enable-unique --with-gnu-ld --enable-refint --with-tls --enable-dynamic --enable-valsort --enable-perl --enable-rwm
Thx, Jean-Luc.
https://bugs.openldap.org/show_bug.cgi?id=9663
--- Comment #1 from Ryan Tandy ryan@openldap.org --- OpenLDAP 2.5.x builds fine in Debian experimental with back_perl enabled:
https://buildd.debian.org/status/fetch.php?pkg=openldap&arch=amd64&v...
Therefore I would assume as a starting point the issue is with your build environment, and not a bug in the software.
I'm not familiar with RHEL specifically, but if you installed the proper devel packages, it should build without needing to override *FLAGS for configure.
Please follow up on the openldap-technical mailing list if you want to discuss or troubleshoot this further.
https://bugs.openldap.org/show_bug.cgi?id=9663
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED
--- Comment #2 from Quanah Gibson-Mount quanah@openldap.org --- Hello,
The ITS system is for bug reports, not issues with determining how to build the software. Please follow up on openldap-technical@openldap.org as noted by Ryan.
https://bugs.openldap.org/show_bug.cgi?id=9663
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED
https://bugs.openldap.org/show_bug.cgi?id=9663
--- Comment #3 from Jean-Luc jb00356987@techmahindra.com --- Dears,
I totally agree with you to follow it on openldap-technical@openldap.org which I did before to come here but I've issue with openldap-technical@openldap.org. I'm registered and I already tried a few time to register new threads but they seems to be lost somewhere even I received a "message sent" pop-up. I never seen my posts in my activity and I contacted a few time the openldap-technical-owner but I didn't gat any answer :-(
I also sent it to openldap-software@openldap.org but no answer too.
So, as I'm blocked with this issue, I came here.
Can you help me by giving me some hints to check.
Thx, J-L.
https://bugs.openldap.org/show_bug.cgi?id=9663
--- Comment #4 from Quanah Gibson-Mount quanah@openldap.org --- (In reply to Jean-Luc from comment #3)
Dears,
I totally agree with you to follow it on openldap-technical@openldap.org which I did before to come here but I've issue with openldap-technical@openldap.org. I'm registered and I already tried a few time to register new threads but they seems to be lost somewhere even I received a "message sent" pop-up. I never seen my posts in my activity and I contacted a few time the openldap-technical-owner but I didn't gat any answer :-(
Posts are moderated. Your post was approved to -technical today.
I also sent it to openldap-software@openldap.org but no answer too.
As documented, that list was retired years ago.
https://bugs.openldap.org/show_bug.cgi?id=9663
--- Comment #5 from Jean-Luc jb00356987@techmahindra.com --- (In reply to Quanah Gibson-Mount from comment #4)
(In reply to Jean-Luc from comment #3)
Dears,
I totally agree with you to follow it on openldap-technical@openldap.org which I did before to come here but I've issue with openldap-technical@openldap.org. I'm registered and I already tried a few time to register new threads but they seems to be lost somewhere even I received a "message sent" pop-up. I never seen my posts in my activity and I contacted a few time the openldap-technical-owner but I didn't gat any answer :-(
Posts are moderated. Your post was approved to -technical today.
I also sent it to openldap-software@openldap.org but no answer too.
As documented, that list was retired years ago.
Hello,
Thx for feedback and sorry for disturbance.
Jean-LUc.