Ralf S. Engelschall wrote:
On Wed, Jul 30, 2008, Victor G. Bolshakov wrote:

External dependence for OpenPKG packege? I also try to build without LDAP 
(with_openldap=no) without any success...

[EMAIL PROTECTED] wrote:
   can you try a ls /usr/lib/liblber*.so ? if the lib is not present, you
might need to pkgadd some ldap packages.


Sorry, I'm just inattentively looked in to config.log for first time...

This is the problem:

configure:2314: checking for C compiler default output file name
configure:2341: /openpkg/bin/cc
-I/openpkg/RPM/TMP/freeradius-server-2.0.5/src/include -O2 -pipe
-I/openpkg/include
-I/openpkg/include -L/openpkg/lib conftest.c -llber -lssl -lcrypto >&5
/openpkg/bin/ld: cannot find -llber
collect2: ld returned 1 exit status

Yes, liblber is part of OpenLDAP. If with_openldap=no doesn't help
then we have to fix something here. But I see already a problem in the
packaging: LDAP libraries are passed in LIBS unconditionally. I've tried
to fix this with the latest "freeradius" package. Please retry with this
one.

I try to build openldap and also without success:

/openpkg/bin/cc -O2 -pipe -I/openpkg/include/pth -D_AVL_H -I../../../include -I../../../include -I.. -I./.. -I/openpkg/include -I/openpkg/include/pth -c monitor.c -o monitor.o
In file included from ../../../include/ac/signal.h:20,
                 from ../slap.h:38,
                 from ../back-monitor/back-monitor.h:28,
                 from back-ldap.h:27,
                 from monitor.c:33:
/usr/include/signal.h:222: error: conflicting types for 'pth_sigwait'
/openpkg/include/pth/pth.h:536: error: previous declaration of 'pth_sigwait' 
was here
make[3]: *** [monitor.lo] Error 1
make[2]: *** [.backend] Error 1
make[1]: *** [all-common] Error 1
make: *** [all-common] Error 1
______________________________________________________________________
OpenPKG                                             http://openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to