>>>> "Jerry" == Jerry James
<james(a)xemacs.org> writes:
Jerry> Raymond Toy <toy(a)rtp.ericsson.se> wrote:
> Using the same setup as before, where modules was not failing to
> build, I reconfiged using --with-modules=no --with-ldap=yes.
>
> Configure works, but the resulting make fails because it cd's to
> modules/ldap and runs make there. However, the gcc command doesn't
> include -I../../src so config.h, lisp.h, and friends can't be found.
Jerry> Argh! I made sure this case worked before I checked all this stuff in!
Jerry> What happened? Well, I don't have time right this minute to check it
Jerry> out. I'll try to get to it tonight, but I probably won't until
Jerry> tomorrow. Sorry!
Don't you just hate that? :-)
Anyway, I'm in no hurry. Here's some additional info.
Configured with:
../configure --verbose --extra-verbose --with-mule --with-pop
--with-sound=noesd --with-modules=no
--prefix=/apps/public/XEmacs/21.5
--bindir=/apps/public/XEmacs/21.5/bin/solaris2.8
--with-workshop --with-dialogs=motif --with-widgets=motif
'--site-includes=/apps/public/solaris2.8/usr/openwin/include
/apps/public/solaris2.8/openldap/include
/apps/public/solaris2.8/include'
'--site-libraries=/apps/public/solaris2.8/usr/openwin/lib
/apps/public/solaris2.8/openldap/lib
/apps/public/solaris2.8/lib'
and I'm using openldap 2.1.12.
When I run make, I get
make[1]: Entering directory `/apps/public/XEmacs/src/xemacs-21.5.10/build-ldap/src'
gcc -c -Wall -Wno-switch -Winline -Wmissing-prototypes -Wsign-compare -Wundef
-Wstrict-prototypes -Wpacked -Wshadow -Wmissing-declarations -Wpointer-arith -g -O3
-Demacs -I. -DHAVE_CONFIG_H -I/apps/public/solaris2.8/usr/openwin/include
-I/apps/public/solaris2.8/openldap/include -I/apps/public/solaris2.8/include
-I/usr/dt/include -I/usr/openwin/include
/apps/public/XEmacs/src/xemacs-21.5.10/src/../modules/ldap/eldap.c
/apps/public/XEmacs/src/xemacs-21.5.10/modules/ldap/eldap.c:34:18: lisp.h: No such file or
directory/apps/public/XEmacs/src/xemacs-21.5.10/modules/ldap/eldap.c:35:20: opaque.h: No
such file or directory
/apps/public/XEmacs/src/xemacs-21.5.10/modules/ldap/eldap.c:36:20: sysdep.h: No such file
or directory
/apps/public/XEmacs/src/xemacs-21.5.10/modules/ldap/eldap.c:37:20: buffer.h: No such file
or directory
/apps/public/XEmacs/src/xemacs-21.5.10/modules/ldap/eldap.c:38:63: process.h: No such file
or directory
etc.
It needs to have -I../../src to get the .h files. Probably also need
a -o ../modules/ldap/eldap.o to put the object file in the right
directory.
When I make these changes, the build progresses pass this point.
Ray