обновил пакэджи
Поставил 4.0
# make install
===> Trying to handle out-dated pkg_install...
===> Cleaning for pkg_install-20080423
===> Installing dependencies for pkg_install-20080423
===> Overriding tools for pkg_install-20080423
===> Extracting for pkg_install-20080423
===> Patching for pkg_install-20080423
===> Creating toolchain wrappers for pkg_install-20080423
===> Configuring for pkg_install-20080423
=> Configuring and building libnbcompat
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 build system type... i386-unknown-netbsdelf4.0.0.
checking host system type... i386--netbsdelf
checking whether make sets $(MAKE)... yes
checking for i386--netbsdelf-gcc... 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/pkgtools/pkg_install
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/pkgtools/pkg_install
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/www/squid
# find /usr/pkgsrc -name config.log
/usr/pkgsrc/wm/xfce4-wm-themes/work/xfwm4-themes-4.2.3/config.log
/usr/pkgsrc/pkgtools/pkg_install/work/libnbcompat/config.log
# tail -c 1000 /usr/pkgsrc/pkgtools/pkg_install/work/libnbcompat/config.log
0.0.'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='i386--netbsdelf'
host_alias='i386--netbsdelf'
host_cpu='i386'
host_os='netbsdelf'
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_NAME "libnbcompat"
#define PACKAGE_TARNAME "libnbcompat"
#define PACKAGE_VERSION "20080519"
#define PACKAGE_STRING "libnbcompat 20080519"
#define PACKAGE_BUGREPORT "grant@NetBSD.org"
configure: exit 77
странно что вот это установить таки удалось...
# pkg_info digest-20060826 Message digest wrapper utility perl-5.8.8nb3 Practical Extraction and Report Language wget-1.10.2nb1 Retrieve files from the 'net via HTTP and FTP gmake-3.81 GNU version of 'make' utility gkermit-1.00nb1 Minimal implementation of the ``kermit'' protocol (GPL'd) lrzsz-0.12.20 Receive/Send files via X/Y/ZMODEM protocol. (unrestrictive) minicom-2.1nb2 MS-DOS Telix serial communication program "workalike" libtool-base-1.5.22nb4 Generic shared library support script (the script itself) lzo-2.02 Portable lossless data compression library openvpn-2.0.7 Easy-to-use SSL VPN daemon audit-packages-1.46 Tools to show vulnerabilities in installed packages
»
- Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии
- 3341 просмотра
[code] # grep 'cc'
[code]
# grep 'cc' /usr/pkgsrc/pkgtools/pkg_install/work/libnbcompat/config.log
PATH: /usr/pkgsrc/pkgtools/pkg_install/work/.gcc/bin
configure:1981: checking for i386--netbsdelf-gcc
configure:2008: result: cc
configure:2294: cc --version >&5
gcc (GCC) 4.1.2 20061021 prerelease (NetBSD nb3 20061125)
configure:2305: cc -v >&5
Configured with: /usr/src/tools/gcc/../../gnu/dist/gcc4/configure --enable-long-long --disable-multilib --enable-threads --disable-symvers --build=i386-unknown-netbsdelf4.99.3 --host=i386--netbsdelf --target=i386--netbsdelf
gcc version 4.1.2 20061021 prerelease (NetBSD nb3 20061125)
configure:2316: cc -V >&5
gcc: couldn't run '/usr/bin/i386--netbsdelf-gcc--I/usr/pkgsrc/pkgtools/pkg_install/work/.buildlink/include': No such file or directory
configure:2365: cc -O2 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DDEF_UMASK=0022 -I/usr/pkgsrc/pkgtools/pkg_install/work/libarchive/libarchive -I/usr/pkgsrc/pkgtools/pkg_install/work/libfetch -DHAVE_NBCOMPAT_H=1 -I/usr/pkgsrc/pkgtools/pkg_install/work/libnbcompat -L/usr/pkgsrc/pkgtools/pkg_install/work/libarchive/.libs -L/usr/pkgsrc/pkgtools/pkg_install/work/libfetch -L/usr/pkgsrc/pkgtools/pkg_install/work/libnbcompat -Wl,-R/usr/pkg/lib conftest.c >&5
ac_cv_env_CC_value=cc
ac_cv_prog_CC=cc
CC='cc'
[\code]
поменял
# echo $CC
gcc
и все равно такая же ошибка
This file contains any
This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by libnbcompat configure 20080519, which was generated by GNU Autoconf 2.62. Invocation command line was $ ./configure --enable-bsd-getopt --host=i386--netbsdelf ## --------- ## ## Platform. ## ## --------- ## hostname = sip-gw2 uname -m = i386 uname -r = 4.0.0_PATCH uname -s = NetBSD uname -v = NetBSD 4.0.0_PATCH (GENERIC) #0: Mon Jul 7 14:07:08 VLAST 2008 root@sip-gw:/usr/obj/sys/arch/i386/compile/GENERIC /usr/bin/uname -p = i386 /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/pkgsrc/pkgtools/pkg_install/work/.wrapper/bin PATH: /usr/pkgsrc/pkgtools/pkg_install/work/.buildlink/bin PATH: /usr/pkgsrc/pkgtools/pkg_install/work/.gcc/bin PATH: /usr/pkgsrc/pkgtools/pkg_install/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:1860: checking build system type configure:1878: result: i386-unknown-netbsdelf4.0.0. configure:1900: checking host system type configure:1915: result: i386--netbsdelf configure:1942: checking whether make sets $(MAKE) configure:1964: result: yes configure:1981: checking for i386--netbsdelf-gcc configure:2008: result: gcc configure:2286: checking for C compiler version configure:2294: gcc --version >&5 gcc (GCC) 4.1.2 20061021 prerelease (NetBSD nb3 20061125) 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:2298: $? = 0 configure:2305: gcc -v >&5 Using built-in specs. Target: i386--netbsdelf Configured with: /usr/src/tools/gcc/../../gnu/dist/gcc4/configure --enable-long-long --disable-multilib --enable-threads --disable-symvers --build=i386-unknown-netbsdelf4.99.3 --host=i386--netbsdelf --target=i386--netbsdelf Thread model: posix gcc version 4.1.2 20061021 prerelease (NetBSD nb3 20061125) configure:2309: $? = 0 configure:2316: gcc -V >&5 gcc: couldn't run '/usr/bin/i386--netbsdelf-gcc--I/usr/pkgsrc/pkgtools/pkg_install/work/.buildlink/include': No such file or directory configure:2320: $? = 1 configure:2343: checking for C compiler default output file name configure:2365: gcc -O2 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DDEF_UMASK=0022 -I/usr/pkgsrc/pkgtools/pkg_install/work/libarchive/libarchive -I/usr/pkgsrc/pkgtools/pkg_install/work/libfetch -DHAVE_NBCOMPAT_H=1 -I/usr/pkgsrc/pkgtools/pkg_install/work/libnbcompat -L/usr/pkgsrc/pkgtools/pkg_install/work/libarchive/.libs -L/usr/pkgsrc/pkgtools/pkg_install/work/libfetch -L/usr/pkgsrc/pkgtools/pkg_install/work/libnbcompat -Wl,-R/usr/pkg/lib conftest.c >&5 <built-in>:0: internal compiler error: in real_to_decimal, at real.c:1608 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://www.NetBSD.org/Misc/send-pr.html> for instructions. configure:2369: $? = 1 configure:2407: result: configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "libnbcompat" | #define PACKAGE_TARNAME "libnbcompat" | #define PACKAGE_VERSION "20080519" | #define PACKAGE_STRING "libnbcompat 20080519" | #define PACKAGE_BUGREPORT "grant@NetBSD.org" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2413: error: C compiler cannot create executables See `config.log' for more details. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i386-unknown-netbsdelf4.0.0. ac_cv_env_CC_set=set ac_cv_env_CC_value=gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value=-O2 ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DDEF_UMASK=0022 -I/usr/pkgsrc/pkgtools/pkg_install/work/libarchive/libarchive -I/usr/pkgsrc/pkgtools/pkg_install/work/libfetch -DHAVE_NBCOMPAT_H=1 -I/usr/pkgsrc/pkgtools/pkg_install/work/libnbcompat' ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value='-L/usr/pkgsrc/pkgtools/pkg_install/work/libarchive/.libs -L/usr/pkgsrc/pkgtools/pkg_install/work/libfetch -L/usr/pkgsrc/pkgtools/pkg_install/work/libnbcompat -Wl,-R/usr/pkg/lib' ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= 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=i386--netbsdelf ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_host=i386--netbsdelf 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_CC=gcc ac_cv_prog_make_make_set=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## AR='' AUTOCONF='' AUTOHEADER='' AWK='/usr/bin/awk' CANONICAL_HOST='i386--netbsdelf' CC='gcc' CFLAGS='-O2' CPP='' CPPFLAGS='-D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DDEF_UMASK=0022 -I/usr/pkgsrc/pkgtools/pkg_install/work/libarchive/libarchive -I/usr/pkgsrc/pkgtools/pkg_install/work/libfetch -DHAVE_NBCOMPAT_H=1 -I/usr/pkgsrc/pkgtools/pkg_install/work/libnbcompat' DEFS='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/usr/bin/egrep' EXEEXT='' GREP='/usr/bin/grep' INCLUDES='' INSTALL_DATA='' INSTALL_PROGRAM='' INSTALL_SCRIPT='' LDFLAGS='-L/usr/pkgsrc/pkgtools/pkg_install/work/libarchive/.libs -L/usr/pkgsrc/pkgtools/pkg_install/work/libfetch -L/usr/pkgsrc/pkgtools/pkg_install/work/libnbcompat -Wl,-R/usr/pkg/lib' LIBOBJS='' LIBS='' LN_S='' LTLIBOBJS='' OBJEXT='' PACKAGE_BUGREPORT='grant@NetBSD.org' PACKAGE_NAME='libnbcompat' PACKAGE_STRING='libnbcompat 20080519' PACKAGE_TARNAME='libnbcompat' PACKAGE_VERSION='20080519' PATH_SEPARATOR=':' RANLIB='' SET_MAKE='' SHELL='/bin/sh' ac_ct_CC='' bindir='${exec_prefix}/bin' build='i386-unknown-netbsdelf4.0.0.' build_alias='' build_cpu='i386' build_os='netbsdelf4.0.0.' build_vendor='unknown' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' host='i386--netbsdelf' host_alias='i386--netbsdelf' host_cpu='i386' host_os='netbsdelf' host_vendor='' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='NONE' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_NAME "libnbcompat" #define PACKAGE_TARNAME "libnbcompat" #define PACKAGE_VERSION "20080519" #define PACKAGE_STRING "libnbcompat 20080519" #define PACKAGE_BUGREPORT "grant@NetBSD.org" configure: exit 77да
да
Если кому
Если кому интересно, то победил я это пересобрав ядро с опцией
npx0 at isa? port 0xf0 irq 13 # x86 math coprocessor
просто в ряд ли бы догадался, только когда увидел что у меня ntp не работает,
а дальше уже начал ядро ворочать=)