Date: Mon, 15 Jul 2002 11:42:43 -0400 From: Nick <nprash@monmouth.com> To: gnome@freebsd.org Subject: atk and pkg-config Message-ID: <3D32ED73.5040108@monmouth.com>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------060506050001060708030801 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hello, When I use PKG >= .09 pkg can't find glib 2.0. But is able to with versions below that, but fails because the dependency requires it. I basically have a fresh install. I have been CVSUPing since FreeBSD 4.0. I just recently wiped out my /usr/local and cleaned all packages so its like a brand new machine. As far as whats in my pkgs here it is: Hermes-1.3.2 ORBit-0.5.13_1 XFree86-4.2.0_1,1 XFree86-FontServer-4.2.0 XFree86-Server-4.2.0_3 XFree86-clients-4.2.0_2 XFree86-documents-4.2.0 XFree86-font100dpi-4.2.0 XFree86-font75dpi-4.2.0 XFree86-fontCyrillic-4.2.0 XFree86-fontDefaultBitmaps-4.2.0 XFree86-fontEncodings-4.2.0 XFree86-fontScalable-4.2.0 XFree86-libraries-4.2.0_1 autoconf-2.53 automake-1.5,1 bash-2.05a bison-1.35_1 cvsup-16.1f expat-1.95.3 freetype2-2.1.2 gdk-pixbuf-0.15.0 gettext-0.10.35_1gettext-0.11.2 glib-1.2.10_5 glib-1.2.10_7 glib-2.0.4_1 gmake-3.79.1_2 gtk-1.2.10_3 imake-4.2.0_1 jpeg-6b_1 lcms-1.08 libiconv-1.8 libmng-1.0.3 libtool-1.3.4_4 libungif-4.1.0b1 libxml2-2.4.23 lynx-2.8.4.1b_1 m4-1.4_1 mozilla-0.9.7_2,1 openssh-3.4_4 openssl-0.9.6d out pico-4.0 pkgconfig-0.8.0 png-1.2.1 lcms-1.08 libiconv-1.8 libmng-1.0.3 libtool-1.3.4_4 libungif-4.1.0b1 libxml2-2.4.23 lynx-2.8.4.1b_1 m4-1.4_1 mozilla-0.9.7_2,1 openssh-3.4_4 openssl-0.9.6d out pico-4.0 pkgconfig-0.8.0 png-1.2.1 png-1.2.4 py22-expat-2.2.1 python-2.2.1 sed_inplace-2002.06.28 tiff-3.5.7 windowmaker-0.80.1 wmicons-1.0 wrapper-1.0_2 I just updated my ports collection today and am still having the same problem. Here is the error message that atk says during configure checking for pkg-config... /usr/local/bin/pkg-config checking for GLIB - version >= 2.0.0... gnome-config: not found gnome-config: not found no *** Could not run GLIB test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means GLIB is incorrectly installed. configure: error: *** GLIB 2.0.0 or better is required. The latest version of *** GLIB is always available from ftp://ftp.gtk.org/. ===> Script "configure" failed unexpectedly. Please report the problem to gnome@FreeBSD.org [maintainer] and attach the "/usr/ports/devel/atk/work/atk-1.0.2/config.log" including the output of the failure of your make command. Also, it might be a good idea to rovide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 Stop in /usr/ports/devel/atk. -- ______________________________ Nicholas Prashad Network Operations Center Monmouth Internet Corporation Voice & Data Services (732)-704-1400 (877)-666-6688 Toll Free nprash@monmouth.com ______________________________ --------------060506050001060708030801 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 configure, which was generated by GNU Autoconf 2.53. Invocation command line was $ ./configure --enable-static --prefix=/usr/local --target=i386-unknown-freebsd4.5 ## --------- ## ## Platform. ## ## --------- ## hostname = noc8.monmouth.com uname -m = i386 uname -r = 4.5-RELEASE uname -s = FreeBSD uname -v = FreeBSD 4.5-RELEASE #1: Mon Feb 25 14:52:31 EST 2002 nprash@noc8.monmouth.com:/usr/obj/usr/src/sys/NOC8-4_5 /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/lib PATH: /usr/local/lib 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:1438: checking for a BSD-compatible install configure:1492: result: /usr/bin/install -c -o root -g wheel configure:1503: checking whether build environment is sane configure:1546: result: yes configure:1561: checking whether make sets ${MAKE} configure:1581: result: yes configure:1613: checking for working aclocal configure:1620: result: found configure:1628: checking for working autoconf configure:1635: result: found configure:1643: checking for working automake configure:1650: result: found configure:1658: checking for working autoheader configure:1665: result: found configure:1673: checking for working makeinfo configure:1680: result: found configure:1736: checking for gcc configure:1762: result: cc configure:2006: checking for C compiler version configure:2009: cc --version </dev/null >&5 2.95.3 configure:2012: $? = 0 configure:2014: cc -v </dev/null >&5 Using builtin specs. gcc version 2.95.3 20010315 (release) [FreeBSD] configure:2017: $? = 0 configure:2019: cc -V </dev/null >&5 cc: argument to `-V' is missing configure:2022: $? = 1 configure:2048: checking for C compiler default output configure:2051: cc -O -pipe -I/usr/local/include -L/usr/local/lib conftest.c >&5 configure:2054: $? = 0 configure:2087: result: a.out configure:2092: checking whether the C compiler works configure:2098: ./a.out configure:2101: $? = 0 configure:2116: result: yes configure:2123: checking whether we are cross compiling configure:2125: result: no configure:2128: checking for suffix of executables configure:2130: cc -o conftest -O -pipe -I/usr/local/include -L/usr/local/lib conftest.c >&5 configure:2133: $? = 0 configure:2155: result: configure:2161: checking for suffix of object files configure:2185: cc -c -O -pipe -I/usr/local/include conftest.c >&5 configure:2188: $? = 0 configure:2207: result: o configure:2211: checking whether we are using the GNU C compiler configure:2238: cc -c -O -pipe -I/usr/local/include conftest.c >&5 configure:2241: $? = 0 configure:2244: test -s conftest.o configure:2247: $? = 0 configure:2259: result: yes configure:2265: checking whether cc accepts -g configure:2289: cc -c -g -I/usr/local/include conftest.c >&5 configure:2292: $? = 0 configure:2295: test -s conftest.o configure:2298: $? = 0 configure:2308: result: yes configure:2335: cc -c -O -pipe -I/usr/local/include conftest.c >&5 conftest.c:2: syntax error before `me' configure:2338: $? = 1 configure: failed program was: #ifndef __cplusplus choke me #endif configure:2521: checking build system type configure:2539: result: i386-unknown-freebsd4.5 configure:2547: checking host system type configure:2561: result: i386-unknown-freebsd4.5 configure:2591: checking for ld used by GCC configure:2654: result: /usr/libexec/elf/ld configure:2663: checking if the linker (/usr/libexec/elf/ld) is GNU ld GNU ld version 2.11.2 20010719 [FreeBSD] (with BFD 2.11.2 20010719 [FreeBSD]) configure:2675: result: yes configure:2680: checking for /usr/libexec/elf/ld option to reload object files configure:2687: result: -r configure:2692: checking for BSD-compatible nm configure:2728: result: /usr/bin/nm -B configure:2731: checking whether ln -s works configure:2735: result: yes configure:2742: checking how to recognise dependant libraries configure:2920: result: pass_all configure:2933: checking command to parse /usr/bin/nm -B output configure:3014: cc -c -O -pipe -I/usr/local/include conftest.c >&5 configure:3017: $? = 0 configure:3021: /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:3024: $? = 0 configure:3076: cc -o conftest -O -pipe -I/usr/local/include -L/usr/local/lib conftest.c conftstm.o >&5 configure:3079: $? = 0 configure:3123: result: ok configure:3132: checking how to run the C preprocessor configure:3158: cc -E -I/usr/local/include conftest.c configure:3164: $? = 0 configure:3191: cc -E -I/usr/local/include conftest.c configure:3187: ac_nonexistent.h: No such file or directory configure:3197: $? = 1 configure: failed program was: #line 3186 "configure" #include "confdefs.h" #include <ac_nonexistent.h> configure:3234: result: cc -E configure:3249: cc -E -I/usr/local/include conftest.c configure:3255: $? = 0 configure:3282: cc -E -I/usr/local/include conftest.c configure:3278: ac_nonexistent.h: No such file or directory configure:3288: $? = 1 configure: failed program was: #line 3277 "configure" #include "confdefs.h" #include <ac_nonexistent.h> configure:3328: checking for ANSI C header files configure:3342: cc -E -I/usr/local/include conftest.c configure:3348: $? = 0 configure:3433: cc -o conftest -O -pipe -I/usr/local/include -L/usr/local/lib conftest.c >&5 configure:3436: $? = 0 configure:3438: ./conftest configure:3441: $? = 0 configure:3455: result: yes configure:3479: checking for sys/types.h configure:3492: cc -c -O -pipe -I/usr/local/include conftest.c >&5 configure:3495: $? = 0 configure:3498: test -s conftest.o configure:3501: $? = 0 configure:3511: result: yes configure:3479: checking for sys/stat.h configure:3492: cc -c -O -pipe -I/usr/local/include conftest.c >&5 configure:3495: $? = 0 configure:3498: test -s conftest.o configure:3501: $? = 0 configure:3511: result: yes configure:3479: checking for stdlib.h configure:3492: cc -c -O -pipe -I/usr/local/include conftest.c >&5 configure:3495: $? = 0 configure:3498: test -s conftest.o configure:3501: $? = 0 configure:3511: result: yes configure:3479: checking for string.h configure:3492: cc -c -O -pipe -I/usr/local/include conftest.c >&5 configure:3495: $? = 0 configure:3498: test -s conftest.o configure:3501: $? = 0 configure:3511: result: yes configure:3479: checking for memory.h configure:3492: cc -c -O -pipe -I/usr/local/include conftest.c >&5 configure:3495: $? = 0 configure:3498: test -s conftest.o configure:3501: $? = 0 configure:3511: result: yes configure:3479: checking for strings.h configure:3492: cc -c -O -pipe -I/usr/local/include conftest.c >&5 configure:3495: $? = 0 configure:3498: test -s conftest.o configure:3501: $? = 0 configure:3511: result: yes configure:3479: checking for inttypes.h configure:3492: cc -c -O -pipe -I/usr/local/include conftest.c >&5 configure:3495: $? = 0 configure:3498: test -s conftest.o configure:3501: $? = 0 configure:3511: result: yes configure:3479: checking for stdint.h configure:3492: cc -c -O -pipe -I/usr/local/include conftest.c >&5 configure:3520: stdint.h: No such file or directory configure:3495: $? = 1 configure: failed program was: #line 3484 "configure" #include "confdefs.h" #include <stdio.h> #if HAVE_SYS_TYPES_H # include <sys/types.h> #endif #if HAVE_SYS_STAT_H # include <sys/stat.h> #endif #if STDC_HEADERS # include <stdlib.h> # include <stddef.h> #else # if HAVE_STDLIB_H # include <stdlib.h> # endif #endif #if HAVE_STRING_H # if !STDC_HEADERS && HAVE_MEMORY_H # include <memory.h> # endif # include <string.h> #endif #if HAVE_STRINGS_H # include <strings.h> #endif #if HAVE_INTTYPES_H # include <inttypes.h> #else # if HAVE_STDINT_H # include <stdint.h> # endif #endif #if HAVE_UNISTD_H # include <unistd.h> #endif #include <stdint.h> configure:3511: result: no configure:3479: checking for unistd.h configure:3492: cc -c -O -pipe -I/usr/local/include conftest.c >&5 configure:3495: $? = 0 configure:3498: test -s conftest.o configure:3501: $? = 0 configure:3511: result: yes configure:3537: checking dlfcn.h usability configure:3546: cc -c -O -pipe -I/usr/local/include conftest.c >&5 configure:3549: $? = 0 configure:3552: test -s conftest.o configure:3555: $? = 0 configure:3564: result: yes configure:3568: checking dlfcn.h presence configure:3575: cc -E -I/usr/local/include conftest.c configure:3581: $? = 0 configure:3599: result: yes configure:3617: checking for dlfcn.h configure:3624: result: yes configure:3821: checking for ranlib configure:3837: found /usr/bin/ranlib configure:3848: result: ranlib configure:3901: checking for strip configure:3917: found /usr/bin/strip configure:3928: result: strip configure:4139: checking for objdir configure:4150: result: .libs configure:4167: checking for cc option to produce PIC configure:4317: result: -fPIC configure:4321: checking if cc PIC flag -fPIC works configure:4347: cc -c -O -pipe -fPIC -DPIC -I/usr/local/include conftest.c >&5 configure:4350: $? = 0 configure:4353: test -s conftest.o configure:4356: $? = 0 configure:4393: result: yes configure:4409: checking if cc static flag -static works configure:4436: cc -o conftest -O -pipe -I/usr/local/include -L/usr/local/lib -static conftest.c >&5 configure:4439: $? = 0 configure:4442: test -s conftest configure:4445: $? = 0 configure:4460: result: yes configure:4472: checking if cc supports -c -o file.o configure:4494: cc -c -O -pipe -o out/conftest2.o -I/usr/local/include conftest.c >&5 configure:4516: result: yes configure:4521: checking if cc supports -c -o file.lo configure:4551: cc -c -O -pipe -c -o conftest.lo -I/usr/local/include conftest.c >&5 configure:4554: $? = 0 configure:4557: test -s conftest.lo configure:4560: $? = 0 configure:4581: result: yes configure:4612: checking if cc supports -fno-rtti -fno-exceptions configure:4637: cc -c -O -pipe -fno-rtti -fno-exceptions -c conftest.c -I/usr/local/include conftest.c >&5 configure:4640: $? = 0 configure:4643: test -s conftest.o configure:4646: $? = 0 configure:4662: result: yes configure:4673: checking whether the linker (/usr/libexec/elf/ld) supports shared libraries configure:5353: result: yes configure:5358: checking how to hardcode library paths into programs configure:5382: result: immediate configure:5387: checking whether stripping libraries is possible configure:5392: result: yes configure:5403: checking dynamic linker characteristics configure:5796: result: freebsd4.5 ld.so configure:5801: checking if libtool supports shared libraries configure:5803: result: yes configure:5806: checking whether to build shared libraries configure:5827: result: yes configure:5830: checking whether to build static libraries configure:5834: result: yes configure:6496: checking whether -lc should be explicitly linked in configure:6504: cc -c -O -pipe -I/usr/local/include conftest.c >&5 configure:6507: $? = 0 configure:6521: cc -shared conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| grep -lc \>/dev/null 2\>\&1 configure:6524: $? = 1 configure:6537: result: yes configure:7109: checking for Win32 configure:7119: result: no configure:7179: checking for aclocal flags configure:7188: result: configure:7236: checking for pkg-config configure:7254: found /usr/local/bin/pkg-config configure:7267: result: /usr/local/bin/pkg-config configure:7290: checking for GLIB - version >= 2.0.0 configure:7435: result: no configure:7471: cc -o conftest -O -pipe -Wall -I/usr/local/include -L/usr/local/lib conftest.c >&5 configure:7451: glib.h: No such file or directory configure: In function `main': configure:7463: `glib_major_version' undeclared (first use in this function) configure:7463: (Each undeclared identifier is reported only once configure:7463: for each function it appears in.) configure:7463: `glib_minor_version' undeclared (first use in this function) configure:7463: `glib_micro_version' undeclared (first use in this function) configure:7474: $? = 1 configure: failed program was: #line 7449 "configure" #include "confdefs.h" #include <glib.h> #include <stdio.h> #ifdef F77_DUMMY_MAIN # ifdef __cplusplus extern "C" # endif int F77_DUMMY_MAIN() { return 1; } #endif int main () { return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); ; return 0; } configure:7509: error: *** GLIB 2.0.0 or better is required. The latest version of *** GLIB is always available from ftp://ftp.gtk.org/. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_atk_aclocal_flags= ac_cv_build=i386-unknown-freebsd4.5 ac_cv_build_alias=i386-unknown-freebsd4.5 ac_cv_c_compiler_gnu=yes ac_cv_env_CC_set=set ac_cv_env_CC_value=cc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-O -pipe ' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value=-I/usr/local/include ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value=-L/usr/local/lib ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=i386-unknown-freebsd4.5 ac_cv_exeext= ac_cv_header_dlfcn_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_memory_h=yes ac_cv_header_stdc=yes ac_cv_header_stdint_h=no ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes ac_cv_host=i386-unknown-freebsd4.5 ac_cv_host_alias=i386-unknown-freebsd4.5 ac_cv_objext=o ac_cv_path_PKG_CONFIG=/usr/local/bin/pkg-config ac_cv_prog_CPP='cc -E' ac_cv_prog_ac_ct_CC=cc ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_ac_ct_STRIP=strip ac_cv_prog_cc_g=yes ac_cv_prog_make_make_set=yes lt_cv_archive_cmds_need_lc=yes lt_cv_compiler_c_o=yes lt_cv_compiler_o_lo=yes lt_cv_deplibs_check_method=pass_all lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= 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_global_symbol_to_cdecl='sed -n -e '\''s/^. .* \(.*\)$/extern char \1;/p'\''' lt_cv_ld_reload_flag=-r lt_cv_path_LD=/usr/libexec/elf/ld lt_cv_path_NM='/usr/bin/nm -B' lt_cv_prog_cc_can_build_shared=yes lt_cv_prog_cc_no_builtin= lt_cv_prog_cc_pic=' -fPIC' lt_cv_prog_cc_pic_works=yes lt_cv_prog_cc_shlib= lt_cv_prog_cc_static=-static lt_cv_prog_cc_static_works=yes lt_cv_prog_cc_wl=-Wl, lt_cv_prog_gnu_ld=yes 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_sys_path_separator=: ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_NAME "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define PACKAGE_STRING "" #define PACKAGE_BUGREPORT "" #define PACKAGE "atk" #define VERSION "1.0.2" #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_UNISTD_H 1 #define HAVE_DLFCN_H 1 configure: exit 1 --------------060506050001060708030801-- 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?3D32ED73.5040108>