Skip site navigation (1)Skip section navigation (2)
Date:      11 Jul 2002 14:34:36 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        la hache <lah@pandora.be>
Cc:        gnome@FreeBSD.ORG
Subject:   Re: can't compile
Message-ID:  <1026412476.357.148.camel@gyros.marcuscom.com>
In-Reply-To: <20020711202604.J22432-200000@archipelagos.pandora.be>
References:  <20020711202604.J22432-200000@archipelagos.pandora.be>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2002-07-11 at 14:26, la hache wrote:
> hi,
> 
> i can't compile atk (required for gimp-dev) from ports, altho glib204 _is_
> installed ! i really don't understand. i don't have any config-glib20 or
> something alike in /usr/local/lib altho i did compile glib20 from ports
> without any problem.

If glib20 is being installed, and you do a search through your _whole_
system for glib.h?  I don't understand why you're the only one seeing
this.  I just tried installing glib-2.0.4_1 on my system again, and it
worked like a champ.

Can you also send the entire output of make install from glib20? 
Thanks.

Joe

> 
> checking for aclocal flags...
> checking for pkg-config... /usr/local/bin/pkg-config
> checking for GLIB - version >= 2.0.0... 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/.
> 
> ----
> 

> 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.6
> 
> ## --------- ##
> ## Platform. ##
> ## --------- ##
> 
> hostname = archipelagos.pandora.be
> uname -m = i386
> uname -r = 4.6-STABLE
> uname -s = FreeBSD
> uname -v = FreeBSD 4.6-STABLE #7: Mon Jul  8 14:59:06 CEST 2002     root@archipelagos.pandora.be:/usr/obj/usr/src/sys/ARCHIPELAGOS 
> 
> /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/compat/linux/usr/adabas/bin
> PATH: /usr/compat/linux/usr/adabas/pgm
> 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.4
> configure:2012: $? = 0
> configure:2014: cc -v </dev/null >&5
> Using builtin specs.
> gcc version 2.95.4 20020320 [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.6
> configure:2547: checking host system type
> configure:2561: result: i386-unknown-freebsd4.6
> 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.6 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.6
> ac_cv_build_alias=i386-unknown-freebsd4.6
> 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.6
> 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.6
> ac_cv_host_alias=i386-unknown-freebsd4.6
> 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/^.*[ \t]\\([ABCDGISTW][ABCDGISTW]*\\)[ \t][ \t]*\\(\\)\\([_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
-- 
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?1026412476.357.148.camel>