threads / discuss / 26599

Compiling fails on SunOS

Subject: Compiling fails on SunOS

## tl;dr

3 messages between Feb 25, 2011 and Feb 25, 2011.

replies: 2people: 2as markdown or json

Marco· Feb 25, 2011, 09:09 UTC · lore
Hi,

compiling on SunOS fails. configure runs without problems, make throws the following error:

   SUBDIR perl
make: Warning: Ignoring DistributedMake -o option
Usage : make [ -f makefile ][ -K statefile ]... [ -d ][ -dd ][ -D ][ -DD ]
             [ -e ][ -i ][ -k ][ -n ][ -p ][ -P ][ -q ][ -r ][ -s ][ -S ][ -t ]
             [ -u ][ -w ][ -V ][ target... ][ macro=value... ][ "macro +=value"... ]
make: Fatal error: Unknown option `-C'
make: *** [perl/perl.mak] Error 1

System: SunOS 5.10 i386 git: git-1.7.4.1.tar.gz Make: GNU Make 3.82 (locally installed)

It seems that the building process invokes (the system wide installed) SunOS make instead of the local GNU Make, since GNU Make does not display this error message. Are there any known workarounds or solutions?

Marco
Jonathan Nieder· Feb 25, 2011, 09:57 UTC · re: Marco · lore

Re: Compiling fails on SunOS

Marco wrote:
> Are there any known workarounds or solutions?
Random guess: have you tried running "gmake"?

Alternatively, you might want to add the path containing your locally installed "make" to SANE_TOOL_PATH, for example by writing the following to config.mak:

	SANE_TOOL_PATH = /path/to/good/tools:/usr/xpg6/bin:/usr/xpg4/bin

Hope that helps, Jonathan

Marco· Feb 25, 2011, 11:33 UTC · re: Jonathan Nieder · lore

Re: Compiling fails on SunOS

On 2011-02-25 Jonathan Nieder <jrnieder@gmail.com> wrote:
Show 5 quoted lines
> Marco wrote:
> 
> > Are there any known workarounds or solutions?
> 
> Random guess: have you tried running "gmake"?
Stupid me. Sorry for the noise.
> Hope that helps,
It did.
Marco

← back to recent threads