Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jul 2002 05:59:56 +0200 (SAT)
From:      John Hay <jhay@icomtek.csir.co.za>
To:        ru@FreeBSD.org (Ruslan Ermilov)
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src Makefile Makefile.inc1 src/secure Makefile src/share/man/man7 release.7 src/kerberos5 Makefile Makefile.inc
Message-ID:  <200207260359.g6Q3xuv04277@zibbi.icomtek.csir.co.za>
In-Reply-To: <20020725162109.GA32393@sunbay.com> from Ruslan Ermilov at "Jul 25, 2002 07:21:09 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> > > 
> > > I don't specifically set TARGET_ARCH, I just do a make release on a
> > > i386 box to get an i386 release.
> > 
> > This patch work around the problem. It gets my box past building
> > the doc tools at least.
> > 
> As I said, the real problem is probably with bsd.port.mk.
> 
> The problem is demonstrated like this:
> 
> $ touch foo.c
> $ gmake -f /dev/null foo TARGET_ARCH=bar
> cc    bar foo.c   -o foo
> cc: bar: No such file or directory
> gmake: *** [foo] Error 1
> $
> 
...
> 
> I would prefer the "cd /usr/ports/$$i && env -i make all ..." version,
> if it works, FWIW.
> 

I have tried your env -i version, but then make release on both -stable
and -current dies like this:

######################
===>  Patching for jade-1.2.1_1
===>  Applying distribution patches for jade-1.2.1_1
===>  Applying FreeBSD patches for jade-1.2.1_1
===>  Configuring for jade-1.2.1_1
libtool: not found
creating cache ./config.cache
saving distribution makefiles...
...
checking for cthread_fork in -lthreads... no
checking for ANSI template instantiation... yes
checking host system type... i386-portbld-freebsd4.5
checking for ranlib... ranlib
checking for ld used by GCC... /usr/libexec/elf/ld
checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
/ltconfig: Can't open /ltconfig: No such file or directory
configure: error: libtool configure failed
===>  Script "configure" failed unexpectedly.
      Please report the problem to kuriyama@FreeBSD.org [maintainer] and attach
      the "/usr/ports/textproc/jade/work/jade-1.2.1/config.log" including the
      output of the failure of your make command. Also, it might be a good idea
      to provide an overview of all packages installed on your system (e.g. an
      `ls /var/db/pkg`).
*** Error code 1

Stop in /usr/ports/textproc/jade.
*** Error code 1

Stop in /usr/ports/textproc/sgmlformat.
*** Error code 1

Stop in /usr/ports/textproc/docproj.
*** Error code 1

Stop in /usr/src/release.
*** Error code 1

Stop in /usr/src/release.

######################

Maybe it is just that it needs a path to /usr/local/bin to find libtool?

John
-- 
John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207260359.g6Q3xuv04277>