1

Topic: use of undeclared identifier ´my_perl´

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.4
- Linux/BSD distribution name and version: FreeBSD 10.2
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): APACHE
- Manage mail accounts with iRedAdmin-Pro? NO
- Related log if you're reporting an issue:
====

Hi
I get this error when is compiling the LDAP server

init.c:151:17: error: use of undeclared identifier ´my_perl´

The error repites 18 times, as far as i get to see, and it ends with

fatal error: too many errors emited, stopping now [-ferror-limit=]

the Make stops are this all with error code 1

make[4]: stopped in /usr/ports/ldap/openldap24-server/work/openldap-2.4.44/servers/slapd/back-perl
make[3]:stopped in /usr/ports/ldap/openldap24-server/work/openldap-2.4.44/servers/slapd
make[2]:stopped in /usr/ports/ldap/openldap24-server/work/openldap-2.4.44/servers
make[1]:stopped in /usr/ports/ldap/openldap24-server/work/openldap-2.4.44

at the end it announces 8 warnings and 20 errors


Any idea of how i can fix it !!!!
thanks in advance for your time

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: use of undeclared identifier ´my_perl´

Seems a port issue. Are you running FreeBSD with the latest ports tree? Please update the ports tree first.

3

Re: use of undeclared identifier ´my_perl´

ZhangHuangbin wrote:

Seems a port issue. Are you running FreeBSD with the latest ports tree? Please update the ports tree first.

Im shure is a port problem but the ports tree is up to date, i try to make "make install clean" in the back-perl port under the openldap-2.4.44 server port and i get the same problem !!!!

please take a look to the file error.txt

Another question !!!! - If I install the openldap-2.4.44 server using the PKG will be the same ?

thanks for your time

4

Re: use of undeclared identifier ´my_perl´

SOLVED !!!
I have installed the perl5 before run the iredmail !!!! so i deinstall the perl and re run the iredmail and everything works fine, for LDAP so far !!! now im waiting for him to finish ... thanks for the assistence !!!