* [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* [Buildroot] Problems building nbd.
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
0 siblings, 1 reply; 3+ messages in thread
From: Peter Korsgaard @ 2008-06-18 8:53 UTC (permalink / raw)
To: buildroot
>>>>> "Thiago" == Thiago A Corr?a <thiago.correa@gmail.com> writes:
Hi,
Thiago> The other option to fix nbd would be to downgrade to something below
Thiago> 2.8, but then we would still be unable to support the next package
Thiago> that requires glib.
Thiago> Any thoughts?
Thiago> I'm appending my glibc.mk for reference at the end.
We DO have glib packages in buildroot (1.2.x and 2.x.x) -
package/libglib12 and package/libglib2.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] Problems building nbd.
2008-06-18 8:53 ` Peter Korsgaard
@ 2008-06-18 13:54 ` Thiago A. Corrêa
0 siblings, 0 replies; 3+ messages in thread
From: Thiago A. Corrêa @ 2008-06-18 13:54 UTC (permalink / raw)
To: buildroot
On Wed, Jun 18, 2008 at 5:53 AM, Peter Korsgaard <jacmet@uclibc.org> wrote:
>>>>>> "Thiago" == Thiago A Corr?a <thiago.correa@gmail.com> writes:
> Thiago> The other option to fix nbd would be to downgrade to something below
> Thiago> 2.8, but then we would still be unable to support the next package
> Thiago> that requires glib.
>
> Thiago> Any thoughts?
>
> Thiago> I'm appending my glibc.mk for reference at the end.
>
> We DO have glib packages in buildroot (1.2.x and 2.x.x) -
> package/libglib12 and package/libglib2.
Ops, I missed that :(
I've added the dependency to nbd.mk and it seams to be working fine now.
Anyway, is that a valid concern (skipping configure tests which
results might be platform dependent?) or perhaps that's not worth to
worry about? I see that the libglib2.mk does set the same variables
that I mentioned earlier.
^ 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