Re: notes on building fds in etch and a failed build question

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

 



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>

<<attachment: smime.p7s>>

--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux