Page 1 of 1

If the build fails on Documentor... (-lintl...)

PostPosted: Sat Sep 03, 2011 9:29 pm
by jerome
We've recently started using GNU gettext for internationalization support, and that introduced a dependency on libintl. This should be temporary as we plan to implement our own implementation that will be built into the Ecere runtime library. In the meantime though, you might hit yourself on a failed build, both on Windows or Linux.

On Windows, here are the additional MinGW requirements that you can simply extract within your Ecere SDK/mingw folder:
gettext-0.17-1-mingw32-dev.tar.lzma (The development files )

as well as the libintl runtime libraries:


On Linux, first make sure you have the gettext package installed, including the dev package (if it's separate for you in your distribution). On Ubuntu this works:
Code: Select all
sudo apt-get install gettext

But if you are on a 64 bit system (and you're building Ecere in 32 bit) you might hit yourself to another wall:
Code: Select all
Building Documentor...
/usr/bin/ld: cannot find -lintl
collect2: ld returned 1 exit status
make[1]: *** [obj/release.linux/documentor] Error 1
make: *** [documentor] Error 2

For which Redj kindly suggested a fix which should get you passed that:
Code: Select all
sudo ln -s /usr/lib32/ /usr/lib32/

EDIT: Fixed broken links to MinGW files for Windows. -redj