[haiku-development] Re: Compiling autotools

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sat, 05 Apr 2008 21:22:25 +0200

On 2008-04-05 at 20:46:58 [+0200], Matt Madia <mattmadia@xxxxxxxxx> wrote:
> Are there any guidelines for compiling autotool + configure based software?
> 
> currently, i'm trying ./configure --build=i586-pc-haiku
> --prefix=/boot/home/config
> however, with this there's some problems with configure thinking that
> either the gcc or g++ linker cannot handle shared libraries.
> 
> more specifically, are there any lines in configure scripts that
> should be edited or added for haiku?

Ideally not. The best way is to regenerate the build system using the auto 
tools. Some software packages include a script to do that (e.g. 
"bootstrap"), oftentimes the downloadable release packages do not, though.

Sometimes running "autoreconf --force" just works. If it doesn't you might 
need to run the tools individually. The linker related errors should go away 
after rerunning libtoolize (in doubt with "--force").

We are still missing the gettext ("autopoint") package, which is often used 
for auto tools generated build systems. This would be one reason why 
autoreconf might refuse to work.

CU, Ingo

Other related posts: