Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Problems building nbd.
@ 2008-06-18  4:12 Thiago A. Corrêa
  2008-06-18  8:53 ` Peter Korsgaard
  0 siblings, 1 reply; 3+ messages in thread
From: Thiago A. Corrêa @ 2008-06-18  4:12 UTC (permalink / raw)
  To: buildroot

Hi,

   It seams that newer nbd (Allows mounting block devices from the
network) needs glib to compile, as confirmed by a post from a at their
own mailing list
(http://sourceforge.net/mailarchive/message.php?msg_id=20070817120341.GA12011%40country.grep.be)

   So, I tried adding glib support to buildroot, but there seams to be
some obstacles on the way:

  First, it fails configure. The package seams to try to detect some
unusual things about the target system, such as stack grow direction.
One can provide configure with a variable that will make it pass, but
then again, the value of this variable might be system dependent.
Thus, I'm not sure how to proceed. It seams that an AVR32 value would
be  glib_cv_stack_grows=no but I don't know if it holds true for all
buildroot supported platforms.

  Googling about the problem, I found that OpenEmbedded has platform
specific files with such variables set. AFAIK we don't have such
feature.

  The other option to fix nbd would be to downgrade to something below
2.8, but then we would still be unable to support the next package
that requires glib.

  Any thoughts?

  I'm appending my glibc.mk for reference at the end.

Kind Regards,
   Thiago A. Correa

#############################################################
#
# glib
#
#############################################################
GLIB_VERSION = 2.17.2
GLIB_SOURCE = glib-$(GLIB_VERSION).tar.bz2
GLIB_SITE = http://ftp.gnome.org/pub/gnome/sources/glib/2.17
GLIB_AUTORECONF = YES
GLIB_INSTALL_STAGING = NO
GLIB_INSTALL_TARGET = YES

GLIB_CONF_OPT = glib_cv_stack_grows=no glib_cv_uscore=no \
                ac_cv_func_posix_getpwuid_r=yes \
                ac_cv_func_posix_getgrgid_r=yes \
                ac_cv_func_setpgrp_void=yes

GLIB_DEPENDENCIES = uclibc gettext

$(eval $(call AUTOTARGETS,package,glib))

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-06-18 13:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-18  4:12 [Buildroot] Problems building nbd Thiago A. Corrêa
2008-06-18  8:53 ` Peter Korsgaard
2008-06-18 13:54   ` Thiago A. Corrêa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox