Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Dec 2006 10:56:06 +0100
From:      "Petr Holub" <hopet@ics.muni.cz>
To:        "Karel Miklav" <karel@lovetemple.net>
Cc:        bsam@ipt.ru, ports@freebsd.org
Subject:   RE: lang/gnat-gcc41 build error
Message-ID:  <006f01c715f8$160900f0$2603fb93@KLOBOUCEK>
In-Reply-To: <45711EB2.2090702@lovetemple.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_0070_01C71600.77CD68F0
Content-Type: text/plain;
	charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit

> Please open the Makefile for this port and add flags "--without-gmp
> --without-mpfr" to the CONFIGURE_ARGS variable. Rebuild and tell
> us what happens.

Build error is documented below and in the attachement.

Thanks,
Petr



Making GCC gnat-gcc-4.1.2 for FreeBSD 6.2 target=i386-portbld-freebsd6.2
===>  Extracting for gnat-gcc-4.1.2_1
=> MD5 Checksum OK for gcc-core-4.1-20060901.tar.bz2.
=> SHA256 Checksum OK for gcc-core-4.1-20060901.tar.bz2.
=> MD5 Checksum OK for gcc-ada-4.1-20060901.tar.bz2.
=> SHA256 Checksum OK for gcc-ada-4.1-20060901.tar.bz2.
=> MD5 Checksum OK for gcc-testsuite-4.1-20060901.tar.bz2.
=> SHA256 Checksum OK for gcc-testsuite-4.1-20060901.tar.bz2.
===>   gnat-gcc-4.1.2_1 depends on file: /usr/local/bin/perl5.8.8 - found
===>  Patching for gnat-gcc-4.1.2_1
===>   gnat-gcc-4.1.2_1 depends on file: /usr/local/bin/perl5.8.8 - found
===>  Applying FreeBSD patches for gnat-gcc-4.1.2_1
===>   gnat-gcc-4.1.2_1 depends on executable in : gmake - found
===>   gnat-gcc-4.1.2_1 depends on executable in : bison - found
===>   gnat-gcc-4.1.2_1 depends on file: /usr/local/bin/perl5.8.8 - found
===>   gnat-gcc-4.1.2_1 depends on shared library: iconv.3 - found
===>  Configuring for gnat-gcc-4.1.2_1
cd /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20060901 ; contrib/gcc_update --touch

creating cache ./config.cache
checking host system type... i386-portbld-freebsd6.2
checking target system type... i386-portbld-freebsd6.2
checking build system type... i386-portbld-freebsd6.2
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... cc
checking whether the C compiler (cc -O2 -fno-strict-aliasing -pipe -g  ) works..
. yes
checking whether the C compiler (cc -O2 -fno-strict-aliasing -pipe -g  ) is a cr
oss-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking for gnatbind... gnatbind
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp $$f1 $$f2 16 16
checking for correct version of gmp.h... no
configure: error:
The following requested languages could not be built: ada
Recognised languages are: c,ada,obj-c++,treelang
===>  Script "..//gcc-4.1-20060901/configure" failed unexpectedly.
Please report the problem to karel@lovetemple.net [maintainer] and attach the
"/usr/ports/lang/gnat-gcc41/work/build/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/lang/gnat-gcc41.

------=_NextPart_000_0070_01C71600.77CD68F0
Content-Type: application/octet-stream;
	name="config.log"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="config.log"

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:600: checking host system type
configure:621: checking target system type
configure:639: checking build system type
configure:694: checking for a BSD compatible install
configure:747: checking whether ln works
configure:771: checking whether ln -s works
configure:1825: checking for gcc
configure:1938: checking whether the C compiler (cc -O2 =
-fno-strict-aliasing -pipe -g  ) works
configure:1954: cc -o conftest -O2 -fno-strict-aliasing -pipe -g    =
conftest.c  1>&5
configure:1980: checking whether the C compiler (cc -O2 =
-fno-strict-aliasing -pipe -g  ) is a cross-compiler
configure:1985: checking whether we are using GNU C
configure:1994: cc -E conftest.c
configure:2013: checking whether cc accepts -g
configure:2080: checking for gnatbind
configure:2145: checking whether compiler driver understands Ada
configure:2177: checking how to compare bootstrapped objects
configure:2275: checking for correct version of gmp.h
configure:2288: cc -c -O2 -fno-strict-aliasing -pipe -g  -Ino/include =
-Ino/include  conftest.c 1>&5
configure:2278:17: gmp.h: No such file or directory
configure: In function `main':
configure:2282: error: syntax error before "me"
configure: failed program was:
#line 2277 "configure"
#include "confdefs.h"
#include "gmp.h"
int main() {

#if __GNU_MP_VERSION < 3
choke me
#endif

; return 0; }

------=_NextPart_000_0070_01C71600.77CD68F0--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?006f01c715f8$160900f0$2603fb93>