Ryan Braun wrote: > On Wednesday 20 February 2008 6:22 pm, Rich Megginson wrote: > >>>>> Where would I have to define that? I tried adding >>>>> >>>>> DS_CONFIGURE_ARGS = NETSNMP_USE_INLINE=1 >>>>> >>>> Try adding >>>> DS_CONFIGURE_ENV += CPPFLAGS=-DNETSNMP_USE_INLINE=1 >>>> to somewhere around line 21 of dsbuild/ds/Makefile >>>> >>>> I think the proper solution will be to modify the ldapserver code to >>>> allow for net-snmp specific compiler and linker flags. But this will at >>>> least make the definition as localized as possible. >>>> >>> I added that line to /usr/src/dsbuild/ds/ldapserver/Makefile. Which is >>> what I *think* you meant. >>> >> Yes, that's what I meant :-) >> >> >>> I then tried to start the dsbuild process over having >>> dsbuild handle svrcore, perl/mozldap and it errors at the same point >>> again. >>> >> Ok. You'll have to remove the cookies and the code to force it to start >> over again from the configure stage: >> rm -rf dsbuild/ds/ldapserver/work dsbuild/ds/ldapserver/cookies >> Then do >> make -C dsbuild/meta/ds SVRCORE_SOURCE=1 MOZLDAP_SOURCE=1 >> PERLDAP_SOURCE=1 >> again. >> >> > > It looks like it bails with the same error. I'll try building the snmp source > for giggles, but we'll see what to try next to fix the original issue. > > Here is /usr/src/dsbuild/ds/ldapserver/Makefile > > {{{ > include ../../objdirname.mk > > GARNAME = fedora-ds-base > GARVERSION = 1.1.0 > CATEGORIES = ds > PATCHFILES = > > PKGDIR = $(ABS_GARDIR)/$(CATEGORIES)/ldapserver/work/pkg > > ifdef USE_CVS > CVSMODULES = ldapserver > else > DISTFILES = $(GARNAME)-$(GARVERSION).tar.bz2 > endif > > LIBDEPS = > > DESCRIPTION = Fedora Directory Server (base) > > CONFIGURE_ARGS = $(DS_CONFIGURE_ARGS) --enable-bundle > DS_CONFIGURE_ENV += CPPFLAGS=-DNETSNMP_USE_INLINE=1 > Try CONFIGURE_ENV instead of DS_CONFIGURE_ENV - then remove work and cookies and try again <snip> -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3245 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.fedoraproject.org/pipermail/389-users/attachments/20080220/67902932/attachment.bin