[Buildroot] postgresql: uClibc build

Alex Potapenko opotapenko at gmail.com
Fri Mar 6 20:13:22 UTC 2015


P.S. of course, I meant "configure script", not "*build*". Sorry for the
typo

2015-03-06 22:05 GMT+02:00 Alex Potapenko <opotapenko at gmail.com>:

> Hi all,
> Currently in buildroot postgresql build requires glibc. According to the
> comments, due to this issue:
> http://lists.uclibc.org/pipermail/uclibc/2014-April/048326.html. However,
> it is pretty simple to have it built: simply comment out line "#define
> HAVE_LOCALE_T" in src/include/pg_config.h after running configure build.
> This will disable the use of locale_t, and therefore of undefined __uclibc_locale_struct.
> I have built optware package postgresql this way using arm-buildroot-linux-uclibcgnueabi
> uClibc 0.9.33.2 buildroot 2015.02 toolchain just fine:
> https://github.com/alllexx88/optware/blob/master/make/postgresql.mk, so I
> think you can use a similar fix and remove glibc requirement
>
> --
> Best regards,
> Alex Potapenko
>



-- 
Best regards,
Alex Potapenko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20150306/bf51aee5/attachment.html>


More information about the buildroot mailing list