Skip site navigation (1)Skip section navigation (2)
Date:      16 Oct 2002 23:30:03 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Daniel Flickinger <attila@hun.org>
Cc:        ports maintenance <gnome@FreeBSD.ORG>
Subject:   Re: failure to compile port ORBit-0.5.17
Message-ID:  <1034825403.351.5.camel@gyros.marcuscom.com>
In-Reply-To: <20021017024938.GVgk3295@hun.org>
References:  <20021017024938.GVgk3295@hun.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2002-10-16 at 22:49, Daniel Flickinger wrote:
> failure to compile port ORBit-0.5.17
> 
> System is Tyan 2642 SMP 1.2G w/ onboard SCSI for 160MB/sec disks
> 
> checking how to run the C preprocessor... /lib/cpp
> configure: error: C preprocessor "/lib/cpp" fails sanity check
> ===>  Script "configure" failed unexpectedly.
>       Please report the problem to gnome@FreeBSD.org [maintainer] and attach
>       the "/work/usr/ports/devel/ORBit/work/ORBit-0.5.17/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/devel/ORBit.

I've never seen this error before.  You might want to do this:

make buildworld
rm -rf /usr/include.old
mv /usr/include /usr/include.old
chflags -R noschg /usr/lib
[mkdir /usr/lib/old]
mv /usr/lib/lib*.so.* /usr/lib/compat
mv /usr/lib/*.o /usr/lib/lib*.a /usr/lib/lib*.so /usr/lib/old
make installworld

Joe

> 
> ______________________-
> 
> 
> /work/usr/ports/devel/ORBit/work/ORBit-0.5.17/config.log:
> 
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
> 
> It was created by configure, which was
> generated by GNU Autoconf 2.52.  Invocation command line was
> 
>   $ ./configure --disable-indent --prefix=/usr/local --target=i386-unknown-freebsd5.0
> 
> ## ---------- ##
> ## Platform.  ##
> ## ---------- ##
> 
> hostname = hun.org
> uname -m = i386
> uname -r = 5.0-CURRENT
> uname -s = FreeBSD
> uname -v = FreeBSD 5.0-CURRENT #123: 16 Oct 2002 1200 GMT     root@hun.org:/usr/obj/usr/src/sys/hun
> 
> /usr/bin/uname -p = i386
> /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 = .:/root/bin:/user/bin:/root/office52:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/usr/local/jdk1.1.8/bin
> 
> ## ------------ ##
> ## Core tests.  ##
> ## ------------ ##
> 
> configure:1133: PATH=".;."; conftest.sh
> conftest.sh: not found
> configure:1136: $? = 127
> configure:1228: checking for a BSD compatible install
> configure:1277: result: /usr/bin/install -c -o root -g wheel
> configure:1288: checking whether build environment is sane
> configure:1331: result: yes
> configure:1346: checking whether gmake sets ${MAKE}
> configure:1366: result: yes
> configure:1386: checking for working aclocal
> configure:1397: result: missing
> configure:1401: checking for working autoconf
> configure:1408: result: found
> configure:1416: checking for working automake
> configure:1427: result: missing
> configure:1431: checking for working autoheader
> configure:1438: result: found
> configure:1446: checking for working makeinfo
> configure:1453: result: found
> configure:1533: checking build system type
> configure:1551: result: i386-unknown-freebsd5.0
> configure:1558: checking host system type
> configure:1572: result: i386-unknown-freebsd5.0
> configure:1622: checking for gcc
> configure:1645: result: /usr/bin/gcc
> configure:1873: checking for C compiler version
> configure:1876: /usr/bin/gcc --version </dev/null >&5
> gcc (GCC) 3.2.1 [FreeBSD] 20021009 (prerelease)
> Copyright (C) 2002 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:1879: $? = 0
> configure:1881: /usr/bin/gcc -v </dev/null >&5
> Using built-in specs.
> Configured with: FreeBSD/i386 system compiler
> Thread model: posix
> gcc version 3.2.1 [FreeBSD] 20021009 (prerelease)
> configure:1884: $? = 0
> configure:1886: /usr/bin/gcc -V </dev/null >&5
> gcc: argument to `-V' is missing
> configure:1889: $? = 1
> configure:1909: checking for C compiler default output
> configure:1912: /usr/bin/gcc -O -pipe -I/usr/local/include  conftest.c -L/usr/local/lib >&5
> configure:1915: $? = 0
> configure:1944: result: a.out
> configure:1949: checking whether the C compiler works
> configure:1955: ./a.out
> configure:1958: $? = 0
> configure:1973: result: yes
> configure:1980: checking whether we are cross compiling
> configure:1982: result: no
> configure:1985: checking for executable suffix
> configure:1987: /usr/bin/gcc -o conftest -O -pipe -I/usr/local/include  conftest.c -L/usr/local/lib >&5
> configure:1990: $? = 0
> configure:2012: result:
> configure:2018: checking for object suffix
> configure:2036: /usr/bin/gcc -c -O -pipe -I/usr/local/include conftest.c >&5
> configure:2039: $? = 0
> configure:2058: result: o
> configure:2062: checking whether we are using the GNU C compiler
> configure:2083: /usr/bin/gcc -c -O -pipe -I/usr/local/include conftest.c >&5
> configure:2086: $? = 0
> configure:2089: test -s conftest.o
> configure:2092: $? = 0
> configure:2104: result: yes
> configure:2110: checking whether /usr/bin/gcc accepts -g
> configure:2128: /usr/bin/gcc -c -g -I/usr/local/include conftest.c >&5
> configure:2131: $? = 0
> configure:2134: test -s conftest.o
> configure:2137: $? = 0
> configure:2147: result: yes
> configure:2174: /usr/bin/gcc -c -O -pipe -I/usr/local/include conftest.c >&5
> conftest.c:2: syntax error before "me"
> configure:2177: $? = 1
> configure: failed program was:
> #ifndef __cplusplus
>   choke me
> #endif
> configure:2296: checking for ld used by GCC
> configure:2359: result: /usr/bin/ld
> configure:2368: checking if the linker (/usr/bin/ld) is GNU ld
> GNU ld version 2.13 [FreeBSD] 2002-10-10
> configure:2380: result: yes
> configure:2384: checking for /usr/bin/ld option to reload object files
> configure:2391: result: -r
> configure:2396: checking for BSD-compatible nm
> configure:2432: result: /usr/bin/nm -B
> configure:2435: checking whether ln -s works
> configure:2439: result: yes
> configure:2446: checking how to recognise dependant libraries
> configure:2624: result: pass_all
> configure:2630: checking command to parse /usr/bin/nm -B output
> configure:2711: /usr/bin/gcc -c -O -pipe -I/usr/local/include conftest.c >&5
> configure:2714: $? = 0
> configure:2718: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ 	]\([ABCDGISTW][ABCDGISTW]*\)[ 	][ 	]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' \> conftest.nm
> configure:2721: $? = 0
> configure:2773: /usr/bin/gcc -o conftest -O -pipe -I/usr/local/include  conftest.c conftstm.o >&5
> configure:2776: $? = 0
> configure:2820: result: ok
> configure:2829: checking how to run the C preprocessor
> configure:2855: /usr/bin/gcc -E -I/usr/local/include conftest.c
> configure:2851:20: assert.h: No such file or directory
> configure:2861: $? = 1
> configure: failed program was:
> #line 2850 "configure"
> #include "confdefs.h"
> #include <assert.h>
>                      Syntax error
> configure:2855: /usr/bin/gcc -E -I/usr/local/include conftest.c
> configure:2851:20: assert.h: No such file or directory
> configure:2861: $? = 1
> configure: failed program was:
> #line 2850 "configure"
> #include "confdefs.h"
> #include <assert.h>
>                      Syntax error
> configure:2855: /usr/bin/gcc -E -traditional-cpp -I/usr/local/include conftest.c
> configure:2851: assert.h: No such file or directory
> configure:2861: $? = 1
> configure: failed program was:
> #line 2850 "configure"
> #include "confdefs.h"
> #include <assert.h>
>                      Syntax error
> configure:2855: /usr/bin/gcc -E -traditional-cpp -I/usr/local/include conftest.c
> configure:2851: assert.h: No such file or directory
> configure:2861: $? = 1
> configure: failed program was:
> #line 2850 "configure"
> #include "confdefs.h"
> #include <assert.h>
>                      Syntax error
> configure:2855: /lib/cpp -I/usr/local/include conftest.c
> eval: /lib/cpp: not found
> configure:2861: $? = 2
> configure: failed program was:
> #line 2850 "configure"
> #include "confdefs.h"
> #include <assert.h>
>                      Syntax error
> configure:2855: /lib/cpp -I/usr/local/include conftest.c
> eval: /lib/cpp: not found
> configure:2861: $? = 2
> configure: failed program was:
> #line 2850 "configure"
> #include "confdefs.h"
> #include <assert.h>
>                      Syntax error
> configure:2931: result: /lib/cpp
> configure:2946: /lib/cpp -I/usr/local/include conftest.c
> eval: /lib/cpp: not found
> configure:2952: $? = 2
> configure: failed program was:
> #line 2941 "configure"
> #include "confdefs.h"
> #include <assert.h>
>                      Syntax error
> configure:2946: /lib/cpp -I/usr/local/include conftest.c
> eval: /lib/cpp: not found
> configure:2952: $? = 2
> configure: failed program was:
> #line 2941 "configure"
> #include "confdefs.h"
> #include <assert.h>
>                      Syntax error
> configure:3013: error: C preprocessor "/lib/cpp" fails sanity check
> 
> ## ----------------- ##
> ## Cache variables.  ##
> ## ----------------- ##
> 
> lt_cv_file_magic_cmd='$MAGIC_CMD'
> ac_cv_prog_cc_g=yes
> ac_cv_env_LDFLAGS_set=
> ac_cv_c_compiler_gnu=yes
> ac_cv_env_CFLAGS_set=set
> ac_cv_prog_make_gmake_set=yes
> ac_cv_env_CPP_value=
> ac_cv_env_CPPFLAGS_set=set
> ac_cv_env_host_alias_set=
> lt_cv_ld_reload_flag=-r
> lt_cv_sys_path_separator=:
> lt_cv_prog_gnu_ld=yes
> ac_cv_env_build_alias_set=
> ac_cv_env_LDFLAGS_value=
> ac_cv_env_target_alias_set=set
> ac_cv_host_alias=i386-unknown-freebsd5.0
> ac_cv_env_CFLAGS_value='-O -pipe'
> ac_cv_env_CC_set=set
> lt_cv_global_symbol_to_cdecl='sed -n -e '\''s/^. .* \(.*\)$/extern char \1;/p'\'''
> lt_cv_path_LD=/usr/bin/ld
> ac_cv_build_alias=i386-unknown-freebsd5.0
> ac_cv_env_CPPFLAGS_value=-I/usr/local/include
> ac_cv_host=i386-unknown-freebsd5.0
> ac_cv_env_host_alias_value=
> lt_cv_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/  {\"\1\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \([^ ]*\) \([^ ]*\)$/  {"\2", (lt_ptr) \&\2},/p'\'''
> lt_cv_file_magic_test_file=
> ac_cv_prog_CPP=/lib/cpp
> ac_cv_build=i386-unknown-freebsd5.0
> ac_cv_env_build_alias_value=
> lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ 	]\([ABCDGISTW][ABCDGISTW]*\)[ 	][ 	]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p'\'''
> lt_cv_deplibs_check_method=pass_all
> ac_cv_prog_ac_ct_CC=/usr/bin/gcc
> ac_cv_env_target_alias_value=i386-unknown-freebsd5.0
> ac_cv_env_CC_value=/usr/bin/gcc
> lt_cv_path_NM='/usr/bin/nm -B'
> ac_cv_env_CPP_set=
> ac_cv_objext=o
> 
> 
> configure: exit 1
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-gnome" in the body of the message
> 
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1034825403.351.5.camel>