<div dir="ltr">Hi all,<div>Currently in buildroot postgresql build requires glibc. According to the comments, due to this issue: <a href="http://lists.uclibc.org/pipermail/uclibc/2014-April/048326.html">http://lists.uclibc.org/pipermail/uclibc/2014-April/048326.html</a>. 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 <span style="color:rgb(0,0,0);white-space:pre-wrap">__uclibc_locale_struct. I have built optware package postgresql this way using </span><font color="#000000"><span style="white-space:pre-wrap">arm-buildroot-linux-uclibcgnueabi uClibc 0.9.33.2</span></font><span style="color:rgb(0,0,0);white-space:pre-wrap"> buildroot 2015.02 toolchain just fine: </span><font color="#000000"><span style="white-space:pre-wrap"><a href="https://github.com/alllexx88/optware/blob/master/make/postgresql.mk">https://github.com/alllexx88/optware/blob/master/make/postgresql.mk</a>, so I think you can use a similar fix and remove glibc requirement</span></font></div><div><div><div><br></div>-- <br><div class="gmail_signature">Best regards,<br>Alex Potapenko</div>
</div></div></div>