Re: [GnomeMeeting-list] Failed compilation



On Wednesday 04 January 2006 15:12, Damien Sandras wrote:
> >
> > I deleted pwlib, openh323, opal and gnomemeeting from my system.
> >
> > I doublechecked that #define P_LDAP 1 was in ptbuildopts.h.
> >
> > I then recompiled and installed pwlib, openh323 and opal using the
> > settings given in snapshots.seconix.com.  All installed without problem.
> >
> > I then tried to compile gnomemeeting-1.9.0.tar.gz from the same site and
> > ended with exactly the same error as before, namely
> >
> > <quote>
> > gm_contacts-ldap.cpp: In function 'GSList*
> > gnomemeeting_ldap_addressbook_get_contacts(GmAddressbook*, int&,
> > gboolean, gchar*, gchar*, gchar*, gchar*)':
> > gm_contacts-ldap.cpp:156: error: 'PLDAPSession' was not declared in this
> > scope gm_contacts-ldap.cpp:156: error: expected `;' before 'ldap'
> > gm_contacts-ldap.cpp:157: error: 'PLDAPSession' is not a class or
> > namespace gm_contacts-ldap.cpp:157: error: 'SearchContext' was not
> > declared in this scope
> > gm_contacts-ldap.cpp:157: error: expected `;' before 'context'
> > gm_contacts-ldap.cpp:225: error: 'ldap' was not declared in this scope
> > gm_contacts-ldap.cpp:246: error: 'ldap' was not declared in this scope
> > gm_contacts-ldap.cpp:246: error: 'context' was not declared in this scope
> > gm_contacts-ldap.cpp:251: error: 'PLDAPSession' is not a class or
> > namespace gm_contacts-ldap.cpp:251: error: 'ScopeSubTree' was not
> > declared in this scope gm_contacts-ldap.cpp:252: error: 'PLDAPSession' is
> > not a class or namespace gm_contacts-ldap.cpp:252: error:
> > 'ScopeSingleLevel' was not declared in this scope
> > make[3]: *** [gm_contacts-ldap.lo] Error 1
> > make[3]: Leaving directory `/home/aemau/gnomemeeting-1.9.0/lib/contacts'
> > make[2]: *** [all-recursive] Error 1
> > make[2]: Leaving directory `/home/aemau/gnomemeeting-1.9.0/lib'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/home/aemau/gnomemeeting-1.9.0'
> > make: *** [all] Error 2
> >
> > <endquote>.
> >
> > I then tried compiling the latest gm cvs.  This time the autogen.sh stage
> > failed with the following error message.
> >
> > checking whether SDL support must be compiled in... yes
> > ./configure: line 23138: syntax error near unexpected token
> > `$SDL_VERSION,' ./configure: line 23138: `     
> > AM_PATH_SDL($SDL_VERSION,'
> >
> > So I installed the SDL-devel files and ran autogen.sh once again.  This
> > time the autogen stage completed but when I ran make the compilation
> > stopped with the same error message as above-all the ldap stuff.
> >
> > Any further ideas?
>
> You have several versions of the same headers on the system...
>

I don't see how that can be.  Neither RPM -q nor synaptic report anything 
untoward.  I have noticed that there's a configuration switch for GM 
with-ldap-dir=?.   I know that SuSE tends to place programs in locations 
different from those of other distributions.  Could it be that GM is looking 
in the wrong place?  If that's possible, where is GM trying to find ldap?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]