Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
build fail minix tools(gcc) in mac os x
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
kfihihc@gmail.com  
View profile  
 More options Sep 3 2012, 11:18 pm
From: "kfih...@gmail.com" <kfih...@gmail.com>
Date: Tue, 4 Sep 2012 11:18:45 +0800
Local: Mon, Sep 3 2012 11:18 pm
Subject: build fail minix tools(gcc) in mac os x

Hi, All. that is my first mail. :)

I am compiling minix in Mac OS X, and .... get some trouble :(

There are log at last.

I'm sure the GMP and MPFR both in
../build/tooldir.Darwin-12.1.0-x86_64/lib/
├── libgmp.a
├── libgmp.la
├── libmpc.a
├── libmpc.la
├── libmpfr.a
└── libmpfr.la

It seems that can't find them. So, now, How to fixed them?

.....
......
dependall ===> gcc
Cleaning stale cache files Darwin-12.1.0-x86_64 != none
checking build system type... x86_64-apple-darwin12.1.0
checking host system type... x86_64-apple-darwin12.1.0
checking target system type... i386-elf-minix
checking for a BSD-compatible install...
/Users/xiaobo/Documents/code/minix/minixsrc/../build/tooldir.Darwin-12.1.0- x86_64/bin/i486--netbsdelf-install
-c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking for gnatbind... no
checking for gnatmake... no
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp --ignore-initial=16
$$f1 $$f2
checking for correct version of gmp.h... yes
checking for correct version of mpfr.h... no
configure: error: Building GCC requires GMP 4.1+ and MPFR 2.3.2+.
Try the --with-gmp and/or --with-mpfr options to specify their locations.
Copies of these libraries' source code can be found at their respective
hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
See also http://gcc.gnu.org/install/prerequisites.html for additional info.
If you obtained GMP and/or MPFR from a vendor distribution package, make
sure that you have installed both the libraries and the header files.
They may be located in separate packages.

*** Failed target:  .configure_done
*** Failed command: (cd build && gcc_cv_libc_provides_ssp=yes
gcc_cv_as_sparc_gotdata_op=no AR=ar
AWK=/Users/xiaobo/Documents/code/minix/minixsrc/../build/tooldir.Darwin-12. 1.0-x86_64/bin/nbawk
CC=cc CFLAGS=-O2\ -no-cpp-precomp CPPFLAGS= CXX=c++ CXXFLAGS=-O
INSTALL=/Users/xiaobo/Documents/code/minix/minixsrc/../build/tooldir.Darwin -12.1.0-x86_64/bin/i486--netbsdelf-install\
-c\ \ LDFLAGS=
LEX=/Users/xiaobo/Documents/code/minix/minixsrc/../build/tooldir.Darwin-12. 1.0-x86_64/bin/nblex
M4=/Users/xiaobo/Documents/code/minix/minixsrc/../build/tooldir.Darwin-12.1 .0-x86_64/bin/nbm4
MAKE=/Users/xiaobo/Documents/code/minix/minixsrc/../build/tooldir.Darwin-12 .1.0-x86_64/bin/nbgmake
PATH="/Users/xiaobo/Documents/code/minix/minixsrc/../build/tooldir.Darwin-1 2.1.0-x86_64/bin:$PATH"
RANLIB=ranlib
YACC=/Users/xiaobo/Documents/code/minix/minixsrc/../build/tooldir.Darwin-12 .1.0-x86_64/bin/nbyacc
/bin/sh
/Users/xiaobo/Documents/code/minix/minixsrc/tools/gcc/../../external/gpl3/g cc/dist/configure
--target=i486--netbsdelf --enable-long-long --enable-threads --with-bugurl=
http://www.NetBSD.org/Misc/send-pr.html --with-pkgversion="NetBSD nb2
20111202" --enable-__cxa_atexit --target=i386-elf-minix --disable-threads
--disable-visibility --enable-__cxa_atexit --disable-libunwind
--with-arch=i486 --with-tune=nocona
--with-mpc=/Users/xiaobo/Documents/code/minix/minixsrc/../build/tooldir.Dar win-12.1.0-x86_64
--with-mpfr=/Users/xiaobo/Documents/code/minix/minixsrc/../build/tooldir.Da rwin-12.1.0-x86_64
--with-gmp=/Users/xiaobo/Documents/code/minix/minixsrc/../build/tooldir.Dar win-12.1.0-x86_64
--disable-nls --disable-multilib
--program-transform-name="s,^,i486--netbsdelf-," --enable-languages=c
--prefix=/Users/xiaobo/Documents/code/minix/minixsrc/../build/tooldir.Darwi n-12.1.0-x86_64
--disable-shared)
*** Error code 1

Stop.
nbmake: stopped in /Users/xiaobo/Documents/code/minix/minixsrc/tools/gcc

*** Failed target:  dependall
*** Failed command: cd
/Users/xiaobo/Documents/code/minix/minixsrc/tools/gcc;
/Users/xiaobo/Documents/code/minix/minixsrc/../build/tooldir.Darwin-12.1.0- x86_64/bin/nbmake
realall
*** Error code 1

Stop.
nbmake: stopped in /Users/xiaobo/Documents/code/minix/minixsrc/tools/gcc

*** Failed target:  dependall-gcc
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift;
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="";
real="/Users/xiaobo/Documents/code/minix/minixsrc/tools" ;; *)
this="${dir}/";
real="/Users/xiaobo/Documents/code/minix/minixsrc/tools/${dir}" ;; esac;
show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd
"${real}" &&
/Users/xiaobo/Documents/code/minix/minixsrc/../build/tooldir.Darwin-12.1.0- x86_64/bin/nbmake
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget gcc dependall
*** Error code 1

Stop.
nbmake: stopped in /Users/xiaobo/Documents/code/minix/minixsrc/tools

ERROR: Failed to make dependall in "tools"
*** BUILD ABORTED ***

--
--
小波 上
http://yuzhe.me
http://fanfou.com/kfihihc
http://twitter.com/kfihihc
http://about.me/xiaobo/bio


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Lionel Sambuc  
View profile  
 More options Sep 4 2012, 3:55 am
From: Lionel Sambuc <lionel.sam...@gmail.com>
Date: Tue, 4 Sep 2012 09:25:44 +0200
Local: Tues, Sep 4 2012 3:25 am
Subject: Re: [minix3] build fail minix tools(gcc) in mac os x
Hi,

I will be looking into it, from the log it seems that for some reason it cannot find
the mpfr.h header, from the MPFR library.

This library should be imported/compiled by the build script. I'll check that.

regards,

Lionel

On 4 sept. 2012, at 05:18, kfih...@gmail.com wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »