minaco2 / distcc

Automatically exported from code.google.com/p/distcc
GNU General Public License v2.0
0 stars 0 forks source link

cannot build on FreeBSD 7.0-RELEASE straight from SVN with latest GNU w/gmake on system and latest gcc #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
"Makefile", line 479: Need an operator
make: fatal errors encountered -- cannot continue

Original issue reported on code.google.com by kdu...@gmail.com on 15 Jul 2008 at 11:59

GoogleCodeExporter commented 9 years ago

Original comment by kdu...@gmail.com on 16 Jul 2008 at 12:03

Attachments:

GoogleCodeExporter commented 9 years ago
Line 479 of the Makefile (and of Makefile.in) is

  -include */*.d

If your version of Make doesn't support "-include", then you need to either 
extend
your Make to support "-include", or use GNU Make.

If you or anyone else want to fix this, I'll happily accept patches (provided 
that
they don't make things worse for GNU Make users).  But personally I'm not 
inclined to
spend much effort making this work for non-GNU Make.

The INSTALL file already says the following:

  DETAILED INSTRUCTIONS
  =====================

  Prerequisites
  -------------

  To build distcc you need

     GNU Make
     A C compiler

Original comment by fergus.h...@gmail.com on 30 Jul 2008 at 1:03

GoogleCodeExporter commented 9 years ago
please full error output.
Actually it fails earlier than make fired, on ./configure ;)
Why FreeBSD 7 out of box install fails with ur autogen and configure ;p

i havent chance to type gmake D=

Original comment by kdu...@gmail.com on 30 Jul 2008 at 11:16

Attachments:

GoogleCodeExporter commented 9 years ago
distcc's configure invokes "${MAKE-make} showpaths".
configure.ac has at the end

  ##### Finalization

  # Display success, installation paths, and GPL licence statement.
  echo ' '
  ${MAKE-make} showpaths
  echo ' '

This is used only to print some diagnostic information.
So you can either just ignore the error message, or use

  MAKE=gmake ./configure

Original comment by fergus.h...@gmail.com on 30 Jul 2008 at 7:24

GoogleCodeExporter commented 9 years ago

Original comment by fergus.h...@gmail.com on 30 Jul 2008 at 7:32

GoogleCodeExporter commented 9 years ago
Changing priority, since we have a work-around:

MAKE=gmake ./configure
gmake

Original comment by fergus.h...@gmail.com on 30 Jul 2008 at 8:05