Ecere SDK/eC Forums • View topic - If the build fails on Documentor... (-lintl...)

Ecere SDK/eC Forums

Ecere Developers Community

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

General help: new users, installing the Ecere SDK, using the IDE to compile and run applications.

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

Postby jerome » Sat Sep 03, 2011 9:29 pm

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
Site Admin
Posts: 623
Joined: Sat Jan 16, 2010 11:16 pm

Return to General Help

Who is online

Users browsing this forum: No registered users and 0 guests