Если собирать заремарив только строчку
| Код | #ONLY_FOR_PLATFORM= *-*-i386
|
ругается так...
| Код | => Replacing install-sh with pkgsrc version configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking for gawk... /usr/bin/awk checking whether make sets $(MAKE)... yes checking for x86_64--netbsd-strip... no checking for strip... strip checking build system type... x86_64-unknown-netbsd4.99.37 checking host system type... x86_64--netbsd checking whether to enable maintainer-specific portions of Makefiles... no checking for x86_64--netbsd-gcc... cc checking for x86_64--netbsd-gcc... (cached) cc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. *** Error code 77
Stop. make: stopped in /usr/pkgsrc/sysutils/grub *** Error code 1
Stop. make: stopped in /usr/pkgsrc/sysutils/grub
|
вот лог...
| Код | This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake.
It was created by GRUB configure 0.97, which was generated by GNU Autoconf 2.59. Invocation command line was
$ ./configure --prefix=/usr/pkg --host=x86_64--netbsd --infodir=/usr/pkg/info --mandir=/usr/pkg/man
## --------- ## ## Platform. ## ## --------- ##
hostname = uname -m = amd64 uname -r = 4.99.37 uname -s = NetBSD uname -v = NetBSD 4.99.37 (GENERIC.MP) #0: Tue Nov 27 22:17:52 MSK 2007 root@:/usr/obj/sys/arch/amd64/compile/GENERIC.MP
/usr/bin/uname -p = x86_64 /bin/uname -X = unknown
/bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown
PATH: /usr/pkgsrc/sysutils/grub/work/.wrapper/bin PATH: /usr/pkgsrc/sysutils/grub/work/.buildlink/bin PATH: /usr/pkgsrc/sysutils/grub/work/.gcc/bin PATH: /usr/pkgsrc/sysutils/grub/work/.tools/bin PATH: /usr/pkg/bin PATH: /sbin PATH: /usr/sbin PATH: /bin PATH: /usr/bin PATH: /usr/pkg/sbin PATH: /usr/pkg/bin PATH: /usr/X11R6/bin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/pkg/bin PATH: /usr/X11R6/bin
## ----------- ## ## Core tests. ## ## ----------- ##
configure:1434: checking for a BSD-compatible install configure:1489: result: /usr/bin/install -c -o root -g wheel configure:1500: checking whether build environment is sane configure:1543: result: yes configure:1608: checking for gawk configure:1634: result: /usr/bin/awk configure:1644: checking whether make sets $(MAKE) configure:1664: result: yes configure:1740: checking for x86_64--netbsd-strip configure:1769: result: no configure:1778: checking for strip configure:1794: found /usr/pkgsrc/sysutils/grub/work/.tools/bin/strip configure:1805: result: strip configure:1839: checking build system type configure:1857: result: x86_64-unknown-netbsd4.99.37 configure:1865: checking host system type configure:1879: result: x86_64--netbsd configure:1903: checking whether to enable maintainer-specific portions of Makefiles configure:1912: result: no configure:1990: checking for x86_64--netbsd-gcc configure:2016: result: cc configure:2074: checking for x86_64--netbsd-gcc configure:2100: result: cc configure:2382: checking for C compiler version configure:2385: cc --version </dev/null >&5 gcc (GCC) 4.1.3 20070620 prerelease (NetBSD nb1 20070620) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2388: $? = 0 configure:2390: cc -v </dev/null >&5 Using built-in specs. Target: x86_64--netbsd Configured with: /home/nick/work/netbsd/src-current/tools/gcc/../../gnu/dist/gcc4/configure --enable-long-long --disable-multilib --enable-threads --disable-symvers --build=i386-unknown-netbsdelf4.99.28 --host=x86_64--netbsd --target=x86_64--netbsd --enable-__cxa_atexit Thread model: posix gcc version 4.1.3 20070620 prerelease (NetBSD nb1 20070620) configure:2393: $? = 0 configure:2395: cc -V </dev/null >&5 gcc: couldn't run '/usr/bin/x86_64--netbsd-gcc--I/usr/pkgsrc/sysutils/grub/work/.buildlink/include': No such file or directory configure:2398: $? = 1 configure:2421: checking for C compiler default output file name configure:2424: cc -m32 -O2 -Wl,-R/usr/pkg/lib conftest.c >&5 ld: cannot open linker script file ldscripts/elf_i386.xc: No such file or directory configure:2427: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "GRUB" | #define PACKAGE_TARNAME "grub" | #define PACKAGE_VERSION "0.97" | #define PACKAGE_STRING "GRUB 0.97" | #define PACKAGE_BUGREPORT "[email protected]" | #define PACKAGE "grub" | #define VERSION "0.97" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2465: error: C compiler cannot create executables See `config.log' for more details.
## ---------------- ## ## Cache variables. ## ## ---------------- ##
ac_cv_build=x86_64-unknown-netbsd4.99.37 ac_cv_build_alias=x86_64-unknown-netbsd4.99.37 ac_cv_env_CC_set=set ac_cv_env_CC_value=cc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value=-O2 ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value=-Wl,-R/usr/pkg/lib ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=x86_64--netbsd ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_host=x86_64--netbsd ac_cv_host_alias=x86_64--netbsd ac_cv_path_CAT=/bin/cat ac_cv_path_ECHO=echo ac_cv_path_EGREP=/usr/bin/egrep ac_cv_path_ENV=/usr/bin/env ac_cv_path_FALSE=false ac_cv_path_GREP=/usr/bin/grep ac_cv_path_TEST=test ac_cv_path_TRUE=true ac_cv_prog_AWK=/usr/bin/awk ac_cv_prog_CC=cc ac_cv_prog_ac_ct_STRIP=strip ac_cv_prog_make_make_set=yes
## ----------------- ## ## Output variables. ## ## ----------------- ##
ACLOCAL='${SHELL} /usr/pkgsrc/sysutils/grub/work/grub-0.97/missing --run aclocal-1.9' AMDEPBACKSLASH='' AMDEP_FALSE='' AMDEP_TRUE='' AMTAR='${SHELL} /usr/pkgsrc/sysutils/grub/work/grub-0.97/missing --run tar' AUTOCONF='${SHELL} /usr/pkgsrc/sysutils/grub/work/grub-0.97/missing --run autoconf' AUTOHEADER='${SHELL} /usr/pkgsrc/sysutils/grub/work/grub-0.97/missing --run autoheader' AUTOMAKE='${SHELL} /usr/pkgsrc/sysutils/grub/work/grub-0.97/missing --run automake-1.9' AWK='/usr/bin/awk' BUILD_EXAMPLE_KERNEL_FALSE='' BUILD_EXAMPLE_KERNEL_TRUE='' CC='cc' CCAS='' CCASFLAGS='' CCDEPMODE='' CFLAGS='-m32 -O2' CPP='' CPPFLAGS='' CYGPATH_W='echo' DEFS='' DEPDIR='' DISKLESS_SUPPORT_FALSE='' DISKLESS_SUPPORT_TRUE='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/usr/bin/egrep' EXEEXT='' FSYS_CFLAGS='' GRUB_CFLAGS='' GRUB_LIBS='' HERCULES_SUPPORT_FALSE='' HERCULES_SUPPORT_TRUE='' INSTALL_DATA='/usr/bin/install -c -o root -g wheel -m 444' INSTALL_PROGRAM='/usr/bin/install -c -s -o root -g wheel -m 555' INSTALL_SCRIPT='/usr/bin/install -c -o root -g wheel -m 555' INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s' LDFLAGS='-Wl,-R/usr/pkg/lib' LIBOBJS='' LIBS='' LTLIBOBJS='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='/usr/pkgsrc/sysutils/grub/work/.tools/bin/makeinfo' NETBOOT_DRIVERS='' NETBOOT_SUPPORT_FALSE='' NETBOOT_SUPPORT_TRUE='' NET_CFLAGS='' NET_EXTRAFLAGS='' OBJCOPY='' OBJEXT='' PACKAGE='grub' PACKAGE_BUGREPORT='[email protected]' PACKAGE_NAME='GRUB' PACKAGE_STRING='GRUB 0.97' PACKAGE_TARNAME='grub' PACKAGE_VERSION='0.97' PATH_SEPARATOR=':' PERL='' RANLIB='' SERIAL_SPEED_SIMULATION_FALSE='' SERIAL_SPEED_SIMULATION_TRUE='' SERIAL_SUPPORT_FALSE='' SERIAL_SUPPORT_TRUE='' SET_MAKE='' SHELL='/bin/sh' STAGE1_CFLAGS='' STAGE2_CFLAGS='' STRIP='strip' VERSION='0.97' ac_ct_CC='' ac_ct_OBJCOPY='' ac_ct_RANLIB='' ac_ct_STRIP='strip' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='' am__include='' am__leading_dot='.' am__quote='' am__tar='${AMTAR} chof - "$$tardir"' am__untar='${AMTAR} xf -' bindir='${exec_prefix}/bin' build='x86_64-unknown-netbsd4.99.37' build_alias='' build_cpu='x86_64' build_os='netbsd4.99.37' build_vendor='unknown' datadir='${prefix}/share' exec_prefix='NONE' host='x86_64--netbsd' host_alias='x86_64--netbsd' host_cpu='x86_64' host_os='netbsd' host_vendor='' includedir='${prefix}/include' infodir='/usr/pkg/info' install_sh='/usr/pkgsrc/sysutils/grub/work/grub-0.97/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='${prefix}/var' mandir='/usr/pkg/man' mkdir_p='$(mkinstalldirs)' oldincludedir='/usr/include' prefix='/usr/pkg' program_transform_name='s,x,x,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias=''
## ----------- ## ## confdefs.h. ## ## ----------- ##
#define PACKAGE "grub" #define PACKAGE_BUGREPORT "[email protected]" #define PACKAGE_NAME "GRUB" #define PACKAGE_STRING "GRUB 0.97" #define PACKAGE_TARNAME "grub" #define PACKAGE_VERSION "0.97" #define VERSION "0.97"
configure: exit 77
|
|