Subject: Compiline pine with ldap support

From: Jerry Pelikan <[email-masked]>
Date: Tue, 31 Oct 2000 09:24:43 -0600 (CST)

Is there a way to compile pine to work with the Netscape iPlanet Directory
Server?  It doesn't have the liblber.a or the libldap libraries.

Jerry Pelikan              [email-masked]

-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------

---

From: Steve Hubert <[email-masked]>
Date: Tue, 31 Oct 2000 09:06:51 -0800 (PST)

The binaries have LDAP client code included. If you are compiling pine
from source you will have to supply an LDAP library. OpenLDAP is the most
likely choice. Once you have a pine (or other client) with LDAP client
support, it should work with any LDAP Directory server. Did I understand
the question?

-- 
Steve Hubert <[email-masked]>
Networks and Distributed Computing, Univ. of Washington, Seattle

---

From: Nemo <[email-masked]>
Date: Tue, 31 Oct 2000 10:19:22 -0800 (PST)

Hi, I'm having problems compiling it...

command is ./build gs5 for Solaris 8 and gcc
especially this error: make: Fatal error: Don't know how to make target
`../c-client/c-client.a'

gcc -g -O2   -c  unix.c
gcc -g -O2   -c  mbox.c
gcc -g -O2   -c  mbx.c
mbx.c: In function `mbx_hdrpos':
mbx.c:1371: internal error--unrecognizable insn:
(insn 78 76 80 (set (reg:SI 129)
        (minus:SI (const_int 4 [0x4])
            (const_int -4096 [0xfffff000]))) -1 (nil)
    (expr_list:REG_EQUAL (const_int 4100 [0x1004])
        (nil)))
*** Error code 1
make: Fatal error: Command failed for target `mbx.o'
Current working directory /export/src/pine4.30/imap/c-client
*** Error code 1
make: Fatal error: Command failed for target `gso'
Current working directory /export/src/pine4.30/imap/c-client
*** Error code 1
make: Fatal error: Command failed for target `OSTYPE'
Current working directory /export/src/pine4.30/imap
*** Error code 1
make: Fatal error: Command failed for target `gso'

Making Pico and Pilot
make CC=gcc -f makefile.gso

Making Pine.
make CC=gcc LDAPLIBS=../ldap/libraries/libldap.a
../ldap/libraries/liblber.a LDAPCFLAGS=-DENABLE_LDAP -I../ldap/include -f
makefile.gs5
make: Fatal error: Don't know how to make target `../c-client/c-client.a'

Links to executables are in bin directory:
size: bin/pine: cannot open
size: bin/mtest: cannot open
size: bin/imapd: cannot open
bin/pico: 288685 + 5724 + 4088 = 298497
bin/pilot: 285901 + 5596 + 4088 = 295585
Done