pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: firefox and java



Le 24/11/13 14:52, Ryo ONODERA a écrit :

What is your LDAP problem?

Older thunderbird had been able to handle openldap address book properly.
But I do not remember exact version, and LDAP environment is no longer
available for me.

--
Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


The following is the build problem encountered:

g++ -o nsLDAPModification.o -c -I../../../mozilla/dist/stl_wrappers 
-I../../../mozilla/dist/system_wrappers -include ../../../mozilla/config/gcc_hidden.h 
-DMOZ_PREF_EXTENSIONS -DMOZ_PSM -DMOZ_GLUE_IN_PROGRAM 
-DXPCOM_TRANSLATE_NSGM_ENTRY_POINT=1 -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM 
-DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI 
-DIMPL_NS_NET -DIMPL_THEBES  -DMOZ_THUNDERBIRD=1 -DOSTYPE=\"SunOS5\" 
-DOSARCH=SunOS -DNO_NSPR_10_SUPPORT  -I../../../ldap/xpcom/src -I. 
-I../../../mozilla/dist/include -I../../../mozilla/dist/include/nsprpub  
-I/opt/local/include/nspr -I/opt/local/include/nss/nss -I/opt/local/include/nss 
-I/opt/local/include/nspr       -fPIC -D__EXTENSIONS__ -I/usr/include 
-I/opt/local/include -I/opt/local/include/gettext -I/opt/local/include/nspr 
-I/opt/local/include/nss/nss -I/opt/local/include/libdrm -I/opt/local/include/freetype2 
-O2 -I/usr/include -I/opt/local/include -I/opt/local/include/gettext 
-I/opt/local/include/nspr -I/op
t/local/i
nclude/nss/nss -I/opt/local/include/libdrm -I/opt/local/include/freetype2 
-fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections 
-fdata-sections -fno-exceptions -std=gnu++0x -pthread -pipe  -DNDEBUG -DTRIMMED 
-O -fomit-frame-pointer  -D__EXTENSIONS__ -I/usr/include -I/opt/local/include 
-I/opt/local/include/gettext -I/opt/local/include/nspr 
-I/opt/local/include/nss/nss -I/opt/local/include/libdrm 
-I/opt/local/include/freetype2 -DMOZILLA_CLIENT -include 
../../../mozilla/mozilla-config.h -MD -MP -MF .deps/nsLDAPModification.o.pp 
/var/tmp/pkgsrc/mail/thunderbird/work/comm-esr24/ldap/xpcom/src/nsLDAPModification.cpp
nsLDAPOperation.cpp
/var/tmp/pkgsrc/mail/thunderbird/work/comm-esr24/ldap/xpcom/src/nsLDAPBERElement.cpp:
 In member function 'virtual nsresult nsLDAPBERElement::Init(nsILDAPBERValue*)':
/var/tmp/pkgsrc/mail/thunderbird/work/comm-esr24/ldap/xpcom/src/nsLDAPBERElement.cpp:37:26:
 error: 'LBER_USE_DER' was not declared in this scope
   mElement = ber_alloc_t(LBER_USE_DER);
                          ^
../../../config/rules.mk:1156: recipe for target 'nsLDAPBERElement.o' failed
gmake[5]: *** [nsLDAPBERElement.o] Error 1
gmake[5]: *** Waiting for unfinished jobs....
/var/tmp/pkgsrc/mail/thunderbird/work/comm-esr24/ldap/xpcom/src/nsLDAPConnection.cpp:
 In member function 'virtual nsresult 
nsLDAPConnection::OnLookupComplete(nsICancelable*, nsIDNSRecord*, nsresult)':
/var/tmp/pkgsrc/mail/thunderbird/work/comm-esr24/ldap/xpcom/src/nsLDAPConnection.cpp:569:56:
 error: 'LDAP_OPT_SSL' was not declared in this scope
                 if (ldap_set_option(mConnectionHandle, LDAP_OPT_SSL,
                                                        ^
../../../config/rules.mk:1156: recipe for target 'nsLDAPConnection.o' failed
gmake[5]: *** [nsLDAPConnection.o] Error 1
gmake[5]: Leaving directory 
'/var/tmp/pkgsrc/mail/thunderbird/work/comm-esr24/ldap/xpcom/src'
../../config/rules.mk:758: recipe for target 'src_libs' failed
gmake[4]: *** [src_libs] Error 2
gmake[4]: Leaving directory 
'/var/tmp/pkgsrc/mail/thunderbird/work/comm-esr24/ldap/xpcom'
config/makefiles/target_libs.mk:16: recipe for target 'libs_tier_platform' 
failed
gmake[3]: *** [libs_tier_platform] Error 2
gmake[3]: Leaving directory 
'/var/tmp/pkgsrc/mail/thunderbird/work/comm-esr24/mozilla'
config/rules.mk:737: recipe for target 'tier_platform' failed
gmake[2]: *** [tier_platform] Error 2
gmake[2]: Leaving directory 
'/var/tmp/pkgsrc/mail/thunderbird/work/comm-esr24/mozilla'
config/rules.mk:670: recipe for target 'default' failed
gmake[1]: *** [default] Error 2
gmake[1]: Leaving directory 
'/var/tmp/pkgsrc/mail/thunderbird/work/comm-esr24/mozilla'
Makefile:45: recipe for target 'default' failed
gmake: *** [default] Error 2
*** Error code 2

Stop.
bmake: stopped in /home/richard/src/pkgsrc/mail/thunderbird
*** Error code 1

Stop.
bmake: stopped in /home/richard/src/pkgsrc/mail/thunderbird

Perhaps the proper include path is missing:

richard@devzone:/var/tmp/pkgsrc/mail/thunderbird/work/comm-esr24/ldap/xpcom/src$
 find ../../.. -name lber.h -exec grep LBER_USE_DER {} \; -print
 * LBER_USE_DER is defined for compatibility with the C LDAP API RFC.
#define LBER_USE_DER                    0x01
../../../mozilla/dist/public/ldap/lber.h
 * LBER_USE_DER is defined for compatibility with the C LDAP API RFC.
#define LBER_USE_DER                    0x01
../../../ldap/sdks/c-sdk/ldap/include/lber.h




Home | Main Index | Thread Index | Old Index