From: Marco Trapanese <marcotrapanese@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] ipv6 and eglibc
Date: Thu, 27 Feb 2014 07:11:21 +0100 [thread overview]
Message-ID: <530ED709.2090409@gmail.com> (raw)
In-Reply-To: <20140218094655.27e2a040@skate>
Thomas,
here my current package files of postres:
Config.in
config BR2_PACKAGE_POSTGRES
bool "postgres"
depends on BR2_INET_IPV6
help
Postgres SQL server
comment "postgres requires a toolchain with IPV6 support enabled"
depends on !BR2_INET_IPV6
postgres.mk
POSTGRES_VERSION=9.3.2
POSTGRES_SOURCE=postgresql-$(POSTGRES_VERSION).tar.gz
POSTGRES_SITE=http://ftp.postgresql.org/pub/source/v$(POSTGRES_VERSION)/($POSTGRES_SOURCE)
POSTGRES_CONF_OPT=--with-system-tzdata=/usr/share/zoneinfo
POSTGRES_DEPENDENCIES=readline zlib
$(eval $(autotool-package))
I added the source item in the main Config.in and I selected the
"postgres" package in the nconfig menu.
However, I can't see any reference to it neither in the Makefile nor in
the build directory (of course after a make clean all cycle).
I read the guide at the autotools-based packages but it seems it doesn't
try at all to download and compile it. What should I check to be sure
buildroot understand it has to?
By the way my .config file contains the following:
BR2_PACKAGE_POSTGRES=y
Thanks!
Marco
Il 18/02/2014 09:46, Thomas Petazzoni ha scritto:
> Dear Marco Trapanese,
>
> On Tue, 18 Feb 2014 09:40:00 +0100, Marco Trapanese wrote:
>
>> I'm trying to add the postgres package, starting with this hints:
>>
>> http://www.slideshare.net/jerome42/create-lightweight-docker-containers-with-buildroot
>>
>> I'm using the eglibc in order to enable the eglsf support for Qt5.
>> Postgresql requires the BR2_TOOLCHAIN_BUILDROOT_INET_IPV6.
>>
>> Searching for this keyword I see this:
>>
>> Symbol: BR2_TOOLCHAIN_BUILDROOT_INET_IPV6 [=n] ?
>> Type : boolean
>> Prompt: Enable IPv6 support
>> Location:
>> -> Toolchain
>> Defined at package/uclibc/Config.in:70
>> Depends on: BR2_TOOLCHAIN_BUILDROOT [=y] &&
>> BR2_TOOLCHAIN_BUILDROOT_UCLIBC [=n]
>> Selects: BR2_INET_IPV6 [=y] ?
>>
>> I guess because I'm using eglibc instead of uclibc.
> This is because what J?r?me (who happens to be my cousin) did was
> not completely correct (and I've Cc'ed J?r?me so he gets this
> feedback!).
>
> Having a dependency on BR2_TOOLCHAIN_BUILDROOT_INET_IPV6 in a package
> is incorrect, as it only works with the internal toolchain backend,
> when building uClibc toolchains.
>
> Instead, he should have read the great Buildroot documentation at
> http://buildroot.org/downloads/manual/manual.html#dependencies-target-toolchain-options :-)
>
> So, Marco, just modify the line:
>
> depends on BR2_TOOLCHAIN_BUILDROOT_INET_IPV6
>
> by:
>
> depends on BR2_INET_IPV6
>
> Also, please submit patches to add Postgresql support. Instead of
> having people following the not-completely correct tutorial of J?r?me,
> we would have Postgresql support in Buildroot itself.
>
> Thanks!
>
> Thomas
next prev parent reply other threads:[~2014-02-27 6:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-18 8:40 [Buildroot] ipv6 and eglibc Marco Trapanese
2014-02-18 8:46 ` Thomas Petazzoni
2014-02-18 8:51 ` Marco Trapanese
2014-02-27 6:11 ` Marco Trapanese [this message]
2014-02-27 7:27 ` Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=530ED709.2090409@gmail.com \
--to=marcotrapanese@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox