[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Issue with building of back-perl
Arjan Hulshoff writes:
> (...)
> cc -g -O2 -I../../../include -I../../../include -I.. -I./..
> -DSLAPD_IMPORT -c init.c -fPIC -DPIC -o .libs/init.o
> In file included from init.c:18:
> perl_back.h:21:20: error: EXTERN.h: No such file or directory
> perl_back.h:22:18: error: perl.h: No such file or directory
> (...)
>
> Am I missing a requirement? Perl and perl-devel are installed.
> Can anybody help me to solve this issue?
If you look at configure.in, the compile command should include
the output from
perl -MExtUtils::Embed -e ccopts
which I'd expect to include something like
-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE
Your compile command doesn't.
Maybe you ran OpenLDAP configure before installing perl-devel?
If so try to 'make distclean' and then ./configure again.
Or maybe your perl installation is still screwy, or you have
two perl installation and are not using the one which includes
your perl-devel module.
If that doesn't help: splitting part of Perl out to a "perl-devel"
package sounds like a hack specific to whatever your OS distro is, so
it'd help to know what you are using. And likely the question needs to
go to your distro's support rather than here.
--
Hallvard