Date: Wed, 02 Feb 2005 17:21:40 -0200 From: Alex Soares de Moura <alex@rnp.br> To: ports@freebsd.org Subject: arts++ build error Message-ID: <42012844.1040504@rnp.br>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------020103060002000805030803 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hello, As requested in the buld error message (below): ====== /// ====== checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes true: Can't open true: No such file or directory configure: error: libtool configure failed ===> Script "configure" failed unexpectedly. Please report the problem to ports@FreeBSD.org [maintainer] and attach the "/usr/ports/net-mgmt/arts++/work/arts++-1.1.a11/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/net-mgmt/arts++. *** Error code 1 Stop in /usr/ports/net-mgmt/cflowd. *** Error code 1 Stop in /usr/ports/net-mgmt/flowscan. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall73625.0 make ** Fix the problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! net-mgmt/flowscan (configure error) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed ====== /// ====== Customizations made: arts++ and cflowd required gcc-2.95 and libtool-1.3 and I've changed their Makefiles to use gcc-3.42 and libtool-1.5. As the base gcc is 3.42 I'd prefer not to install gcc-29.5 only for this build, but can be done if there's no workaround. Any tips are welcome. best regards, alex --------------020103060002000805030803 Content-Type: text/plain; name="pkgdb.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="pkgdb.txt" bash-2.05b.007_2 bison-1.75_2 elinks-0.9.3 expat-1.95.8 gettext-0.14.1 gmake-3.80_2 libiconv-1.9.2_1 libtool-1.5.10 m4-1.4.1 pdksh-5.2.14p2 perl-5.8.5 pkgdb.db portaudit-0.5.9 portupgrade-20041226_1 rrdtool-1.0.49 rsync-2.6.3_1 ruby-1.8.2_1 ruby18-bdb1-0.2.2 sendmail-8.13.3 --------------020103060002000805030803 Content-Type: text/plain; name="config.log" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="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 Arts++ configure 1.1.a11, which was generated by GNU Autoconf 2.53. Invocation command line was $ ./configure --enable-shared --prefix=/usr/local i386-portbld-freebsd5.3 ## --------- ## ## Platform. ## ## --------- ## hostname = xxx.rnp.br uname -m = i386 uname -r = 5.3-RELEASE uname -s = FreeBSD uname -v = FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC /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: /usr/local/libexec/libtool15 PATH: /sbin PATH: /bin PATH: /usr/sbin PATH: /usr/bin PATH: /usr/games PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/X11R6/bin PATH: /root/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1259: checking for i386-portbld-freebsd5.3-gcc configure:1285: result: cc configure:1567: checking for C compiler version configure:1570: cc --version </dev/null >&5 cc (GCC) 3.4.2 [FreeBSD] 20040728 Copyright (C) 2004 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:1573: $? = 0 configure:1575: cc -v </dev/null >&5 Using built-in specs. Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 3.4.2 [FreeBSD] 20040728 configure:1578: $? = 0 configure:1580: cc -V </dev/null >&5 cc: `-V' option must have argument configure:1583: $? = 1 configure:1609: checking for C compiler default output configure:1612: cc -O -pipe conftest.c >&5 configure:1615: $? = 0 configure:1648: result: a.out configure:1653: checking whether the C compiler works configure:1659: ./a.out configure:1662: $? = 0 configure:1677: result: yes configure:1684: checking whether we are cross compiling configure:1686: result: no configure:1689: checking for suffix of executables configure:1691: cc -o conftest -O -pipe conftest.c >&5 configure:1694: $? = 0 configure:1716: result: configure:1722: checking for suffix of object files configure:1746: cc -c -O -pipe conftest.c >&5 configure:1749: $? = 0 configure:1768: result: o configure:1772: checking whether we are using the GNU C compiler configure:1799: cc -c -O -pipe conftest.c >&5 configure:1802: $? = 0 configure:1805: test -s conftest.o configure:1808: $? = 0 configure:1820: result: yes configure:1826: checking whether cc accepts -g configure:1850: cc -c -g conftest.c >&5 configure:1853: $? = 0 configure:1856: test -s conftest.o configure:1859: $? = 0 configure:1869: result: yes configure:1896: cc -c -O -pipe conftest.c >&5 conftest.c:2: error: syntax error before "me" configure:1899: $? = 1 configure: failed program was: #ifndef __cplusplus choke me #endif configure:2019: checking for i386-portbld-freebsd5.3-g++ configure:2045: result: c++ configure:2103: checking for C++ compiler version configure:2106: c++ --version </dev/null >&5 c++ (GCC) 3.4.2 [FreeBSD] 20040728 Copyright (C) 2004 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:2109: $? = 0 configure:2111: c++ -v </dev/null >&5 Using built-in specs. Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 3.4.2 [FreeBSD] 20040728 configure:2114: $? = 0 configure:2116: c++ -V </dev/null >&5 c++: `-V' option must have argument configure:2119: $? = 1 configure:2122: checking whether we are using the GNU C++ compiler configure:2149: c++ -c -O -pipe conftest.cc >&5 configure:2152: $? = 0 configure:2155: test -s conftest.o configure:2158: $? = 0 configure:2170: result: yes configure:2176: checking whether c++ accepts -g configure:2200: c++ -c -g conftest.cc >&5 configure:2203: $? = 0 configure:2206: test -s conftest.o configure:2209: $? = 0 configure:2219: result: yes configure:2265: c++ -c -O -pipe conftest.cc >&5 configure:2268: $? = 0 configure:2271: test -s conftest.o configure:2274: $? = 0 configure:2302: c++ -c -O -pipe conftest.cc >&5 configure: In function `int main()': configure:2295: error: `exit' undeclared (first use this function) configure:2295: error: (Each undeclared identifier is reported only once for each function it appears in.) configure:2305: $? = 1 configure: failed program was: #line 2284 "configure" #include "confdefs.h" #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { exit (42); ; return 0; } configure:2265: c++ -c -O -pipe conftest.cc >&5 configure:2268: $? = 0 configure:2271: test -s conftest.o configure:2274: $? = 0 configure:2302: c++ -c -O -pipe conftest.cc >&5 configure:2305: $? = 0 configure:2308: test -s conftest.o configure:2311: $? = 0 configure:2339: checking how to run the C++ preprocessor configure:2361: c++ -E conftest.cc configure:2367: $? = 0 configure:2394: c++ -E conftest.cc configure:2391:28: ac_nonexistent.h: No such file or directory configure:2400: $? = 1 configure: failed program was: #line 2390 "configure" #include "confdefs.h" #include <ac_nonexistent.h> configure:2437: result: c++ -E configure:2452: c++ -E conftest.cc configure:2458: $? = 0 configure:2485: c++ -E conftest.cc configure:2482:28: ac_nonexistent.h: No such file or directory configure:2491: $? = 1 configure: failed program was: #line 2481 "configure" #include "confdefs.h" #include <ac_nonexistent.h> configure:2532: checking for AIX configure:2551: result: no configure:2560: checking for i386-portbld-freebsd5.3-ranlib configure:2589: result: no configure:2598: checking for ranlib configure:2614: found /usr/bin/ranlib configure:2625: result: ranlib configure:2637: checking for X configure:2739: c++ -E conftest.cc configure:2736:27: X11/Intrinsic.h: No such file or directory configure:2745: $? = 1 configure: failed program was: #line 2735 "configure" #include "confdefs.h" #include <X11/Intrinsic.h> configure:2796: c++ -o conftest -O -pipe conftest.cc -lXt >&5 configure:2779:27: X11/Intrinsic.h: No such file or directory configure: In function `int main()': configure:2789: error: `XtMalloc' undeclared (first use this function) configure:2789: error: (Each undeclared identifier is reported only once for each function it appears in.) configure:2799: $? = 1 configure: failed program was: #line 2778 "configure" #include "confdefs.h" #include <X11/Intrinsic.h> #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { XtMalloc (0) ; return 0; } configure:2843: result: no configure:3839: checking build system type configure:3857: result: i386-portbld-freebsd5.3 configure:3865: checking host system type configure:3879: result: i386-portbld-freebsd5.3 configure:3887: checking target system type configure:3901: result: i386-portbld-freebsd5.3 configure:3992: checking for ld used by GCC configure:4049: result: /usr/bin/ld configure:4059: checking if the linker (/usr/bin/ld) is GNU ld GNU ld version 2.15 [FreeBSD] 2004-05-23 configure:4071: result: yes configure:4075: checking for BSD-compatible nm configure:4109: result: /usr/bin/nm -B configure:4113: checking whether ln -s works configure:4117: result: yes configure:4290: error: libtool configure failed ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_prog_CXXCPP='c++ -E' ac_cv_env_CXXFLAGS_value='-O -pipe' ac_cv_prog_cc_g=yes ac_cv_env_CXXCPP_set= ac_cv_env_LDFLAGS_set= ac_cv_c_compiler_gnu=yes ac_cv_exeext= ac_cv_env_CFLAGS_set=set ac_cv_prog_gnu_ld=yes ac_cv_prog_CXX=c++ lt_cv_sys_max_cmd_len=65536 ac_cv_env_CPPFLAGS_set= ac_cv_cxx_compiler_gnu=yes ac_cv_env_CXX_set=set ac_cv_env_host_alias_set=set ac_cv_path_LD=/usr/bin/ld ac_cv_prog_CC=cc ac_cv_env_build_alias_set=set ac_cv_env_CXXCPP_value= ac_cv_env_LDFLAGS_value= ac_cv_env_target_alias_set=set ac_cv_host_alias=i386-portbld-freebsd5.3 ac_cv_env_CFLAGS_value='-O -pipe ' ac_cv_env_CC_set=set ac_cv_have_x=have_x=no ac_cv_build_alias=i386-portbld-freebsd5.3 ac_cv_env_CPPFLAGS_value= ac_cv_path_NM='/usr/bin/nm -B' ac_cv_target_alias=i386-portbld-freebsd5.3 ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXX_value=c++ ac_cv_host=i386-portbld-freebsd5.3 ac_cv_env_host_alias_value=i386-portbld-freebsd5.3 ac_cv_prog_cxx_g=yes ac_cv_build=i386-portbld-freebsd5.3 ac_cv_env_build_alias_value=i386-portbld-freebsd5.3 ac_cv_target=i386-portbld-freebsd5.3 ac_cv_env_target_alias_value=i386-portbld-freebsd5.3 ac_cv_env_CC_value=cc ac_cv_objext=o ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_NAME "Arts++" #define PACKAGE_TARNAME "arts--" #define PACKAGE_VERSION "1.1.a11" #define PACKAGE_STRING "Arts++ 1.1.a11" #define PACKAGE_BUGREPORT "" #ifdef __cplusplus #include <stdlib.h> #endif #define X_DISPLAY_MISSING 1 configure: exit 1 --------------020103060002000805030803--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42012844.1040504>