# Compiling fails on SunOS

3 messages from 2011-02-25 to 2011-02-25. Participants: Marco, Jonathan Nieder.
Thread: https://gitlist.dev/t/26599

## Marco, 2011-02-25 09:09

Subject: Compiling fails on SunOS
Message-ID: <20110225100954.37c00fea@glyph>
URL: https://gitlist.dev/e/20110225100954.37c00fea%40glyph

```
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, 2011-02-25 09:57

Subject: Re: Compiling fails on SunOS
Message-ID: <20110225095731.GC2908@elie>
URL: https://gitlist.dev/e/20110225095731.GC2908%40elie
In-Reply-To: <20110225100954.37c00fea@glyph>

```
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, 2011-02-25 11:33

Subject: Re: Compiling fails on SunOS
Message-ID: <20110225123329.767ce083@glyph>
URL: https://gitlist.dev/e/20110225123329.767ce083%40glyph
In-Reply-To: <20110225095731.GC2908@elie>

```
On 2011-02-25 Jonathan Nieder <jrnieder@gmail.com> wrote:

> 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

```
