bug-gnu-libiconv
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gnu-libiconv] build libiconv-1.11 fails if only gmake and no ma


From: Bruno Haible
Subject: Re: [bug-gnu-libiconv] build libiconv-1.11 fails if only gmake and no make available
Date: Mon, 23 Apr 2007 22:48:17 +0200
User-agent: KMail/1.5.4

Arto C. Nirkko <address@hidden> wrote:
> The build of libiconv-1.11 fails at the very beginning
> if only gmake and no make is available in the PATH (output below)
> Probably somewhere in the Makefiles, "$(MAKE)" should be used
> instead of a straight "make".
> 
> Workaround:  ln -s gmake make
> 
> Arto
> 
> -----------------------------------------------------------------
> builddir="`pwd`"; cd libcharset && make all && make install-lib 
> libdir="$builddir/lib" includedir="$builddir/lib"
> /bin/sh: make: not found
> gmake: *** [lib/localcharset.h] Error 1

$(MAKE) is being used in the Makefiles, through the standard autoconf macro
AC_PROG_MAKE_SET. But in your situation, it expands to 'make'. Why? Its
value is determined at configure time. If you don't have a 'make' program
proper, you can run

    ./configure MAKE=gmake
    gmake
    gmake check
    gmake install

The INSTALL.generic file recommends to use the name 'make' - so your symlink
is effectively the best solution.

Bruno





reply via email to

[Prev in Thread] Current Thread [Next in Thread]