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.
> 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 received this message because you are subscribed to the Google Groups "minix3" group.
> To post to this group, send email to minix3@googlegroups.com.
> To unsubscribe from this group, send email to minix3+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/minix3?hl=en.