Skip to contentSkip to conversation

Compiling fails on SunOS

DISCUSSION Marco 2 participants 3 messages Jun 15, 2016

lore
Share & tools
lore

Marco

author
#0 lore raw

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

#1 lore raw
Quoted 1 line · Marco

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

author
#2 lore raw
Quoted 5 lines · On 2011-02-25 Jonathan Nieder <[email protected]> wrote:
Quoted 1 line · Marco

Are there any known workarounds or solutions?

Random guess: have you tried running "gmake"?

Stupid me. Sorry for the noise.

Quoted 1 line

Hope that helps,

It did.

Marco