Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Apr 2003 10:18:14 -0700 (PDT)
From:      Ryan Rediske <rediske@yahoo.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Can't build necessary glib-2.2.1
Message-ID:  <20030426171814.28618.qmail@web14108.mail.yahoo.com>

index | next in thread | raw e-mail

[-- Attachment #1 --]
I can't seem to build or pkg install glib-2.2.1. Both
tell me my pkg_add is too old, though it's a newer
version than what they say is required.

configure:3795: error: *** pkg-config is too old;
version 0.14 or better required.

uname -a:
FreeBSD /qualified hostname removed/ 4.6.2-RELEASE-p6
FreeBSD 4.6.2-RELEASE-p6 #0: Tue Jan 7 06:42:41 CST
2003

The pkg_info list has two pkg-configs:

pkgconfig-0.12.0
pkgconfig-0.15.0

This may be the problem, but how do I remove the stale
pkg_info stuff?

thanks for any help, been using BSD for 5 years :)
Mailing gnome@freebsd as the log actually told me
to...

Ryan
[-- Attachment #2 --]
MAKE LOG:

===>   glib-2.2.1 depends on executable: pkg-config - found
===>   glib-2.2.1 depends on executable: gmake - found
===>   glib-2.2.1 depends on executable: libtool - found
===>   glib-2.2.1 depends on file: /usr/local/bin/sed_inplace - found
===>   glib-2.2.1 depends on shared library: intl.4 - found
===>  Configuring for glib-2.2.1
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking whether gmake sets ${MAKE}... yes
checking for working aclocal-1.4... missing
checking for working autoconf... found
checking for working automake-1.4... missing
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i386-portbld-freebsd4.6.2
checking host system type... i386-portbld-freebsd4.6.2
checking for the BeOS... no
checking for Win32... no
checking whether to enable garbage collector friendliness... no
checking whether to disable memory pools... no
checking for gcc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking for c++... c++
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGE_FILES value needed for large files... no
checking for pkg-config... /usr/local/bin/pkg-config
configure: error: *** pkg-config too old; version 0.14 or better required
===>  Script "configure" failed unexpectedly.
      Please report the problem to gnome@FreeBSD.org [maintainer] and attach
      the "/root/glib20/work/glib-2.2.1/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 /root/glib20.

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.54.  Invocation command line was

  $ ./configure --enable-static --with-libiconv=gnu --prefix=/usr/local --build=i386-portbld-freebsd4.6.2

## --------- ##
## Platform. ##
## --------- ##

hostname = /removed for security/
uname -m = i386
uname -r = 4.6.2-RELEASE-p6
uname -s = FreeBSD
uname -v = FreeBSD 4.6.2-RELEASE-p6 #0: Tue Jan  7 06:42:41 CST 2003     rtr@some.client.mchsi.com:/usr/obj/usr/src/sys/GAMMA 

/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: /sbin
PATH: /usr/sbin
PATH: /bin
PATH: /usr/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/X11R6/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1520: checking for a BSD-compatible install
configure:1574: result: /usr/bin/install -c -o root -g wheel
configure:1585: checking whether build environment is sane
configure:1628: result: yes
configure:1643: checking whether gmake sets ${MAKE}
configure:1663: result: yes
configure:1686: checking for working aclocal-1.4
configure:1697: result: missing
configure:1701: checking for working autoconf
configure:1708: result: found
configure:1716: checking for working automake-1.4
configure:1727: result: missing
configure:1731: checking for working autoheader
configure:1738: result: found
configure:1746: checking for working makeinfo
configure:1753: result: found
configure:1796: checking whether to enable maintainer-specific portions of Makefiles
configure:1805: result: no
configure:1826: checking build system type
configure:1844: result: i386-portbld-freebsd4.6.2
configure:1852: checking host system type
configure:1866: result: i386-portbld-freebsd4.6.2
configure:1875: checking for the BeOS
configure:1885: result: no
configure:1889: checking for Win32
configure:1917: result: no
configure:2041: checking whether to enable garbage collector friendliness
configure:2053: result: no
configure:2057: checking whether to disable memory pools
configure:2060: result: no
configure:2119: checking for gcc
configure:2145: result: cc
configure:2387: checking for C compiler version
configure:2390: cc --version </dev/null >&5
2.95.3
configure:2393: $? = 0
configure:2395: cc -v </dev/null >&5
Using builtin specs.
gcc version 2.95.3 20010315 (release) [FreeBSD]
configure:2398: $? = 0
configure:2400: cc -V </dev/null >&5
cc: argument to `-V' is missing
configure:2403: $? = 1
configure:2423: checking for C compiler default output
configure:2426: cc -O -pipe  -I/usr/local/include -L/usr/local/lib -lintl conftest.c  >&5
configure:2429: $? = 0
configure:2463: result: a.out
configure:2468: checking whether the C compiler works
configure:2474: ./a.out
configure:2477: $? = 0
configure:2492: result: yes
configure:2499: checking whether we are cross compiling
configure:2501: result: no
configure:2504: checking for suffix of executables
configure:2506: cc -o conftest -O -pipe  -I/usr/local/include -L/usr/local/lib -lintl conftest.c  >&5
configure:2509: $? = 0
configure:2532: result: 
configure:2538: checking for suffix of object files
configure:2556: cc -c -O -pipe  -I/usr/local/include conftest.c >&5
configure:2559: $? = 0
configure:2578: result: o
configure:2582: checking whether we are using the GNU C compiler
configure:2603: cc -c -O -pipe  -I/usr/local/include conftest.c >&5
configure:2606: $? = 0
configure:2609: test -s conftest.o
configure:2612: $? = 0
configure:2624: result: yes
configure:2630: checking whether cc accepts -g
configure:2648: cc -c -g -I/usr/local/include conftest.c >&5
configure:2651: $? = 0
configure:2654: test -s conftest.o
configure:2657: $? = 0
configure:2667: result: yes
configure:2684: checking for cc option to accept ANSI C
configure:2741: cc  -c -O -pipe  -I/usr/local/include conftest.c >&5
configure:2744: $? = 0
configure:2747: test -s conftest.o
configure:2750: $? = 0
configure:2767: result: none needed
configure:2785: cc -c -O -pipe  -I/usr/local/include conftest.c >&5
conftest.c:2: syntax error before `me'
configure:2788: $? = 1
configure: failed program was:
#ifndef __cplusplus
  choke me
#endif
configure:2891: checking for c++
configure:2917: result: c++
configure:3030: checking for C++ compiler version
configure:3033: c++ --version </dev/null >&5
2.95.3
configure:3036: $? = 0
configure:3038: c++ -v </dev/null >&5
Using builtin specs.
gcc version 2.95.3 20010315 (release) [FreeBSD]
configure:3041: $? = 0
configure:3043: c++ -V </dev/null >&5
c++: argument to `-V' missing

configure:3046: $? = 1
configure:3049: checking whether we are using the GNU C++ compiler
configure:3070: c++ -c  -O -pipe  -I/usr/local/include conftest.cc >&5
configure:3073: $? = 0
configure:3076: test -s conftest.o
configure:3079: $? = 0
configure:3091: result: yes
configure:3097: checking whether c++ accepts -g
configure:3115: c++ -c -g -I/usr/local/include conftest.cc >&5
configure:3118: $? = 0
configure:3121: test -s conftest.o
configure:3124: $? = 0
configure:3134: result: yes
configure:3174: c++ -c  -O -pipe  -I/usr/local/include conftest.cc >&5
configure:3177: $? = 0
configure:3180: test -s conftest.o
configure:3183: $? = 0
configure:3205: c++ -c  -O -pipe  -I/usr/local/include conftest.cc >&5
configure:3208: $? = 0
configure:3211: test -s conftest.o
configure:3214: $? = 0
configure:3250: c++ -c  -O -pipe  -I/usr/local/include conftest.cc >&5
configure:3253: $? = 0
configure:3256: test -s conftest.o
configure:3259: $? = 0
configure:3288: checking for cc option to accept ANSI C
configure:3347: cc  -c -O -pipe  -I/usr/local/include conftest.c >&5
configure:3350: $? = 0
configure:3353: test -s conftest.o
configure:3356: $? = 0
configure:3370: result: none needed
configure:3393: checking for a BSD-compatible install
configure:3447: result: /usr/bin/install -c -o root -g wheel
configure:3466: checking for special C compiler options needed for large files
configure:3540: result: no
configure:3546: checking for _FILE_OFFSET_BITS value needed for large files
configure:3574: cc -c -O -pipe  -I/usr/local/include conftest.c >&5
configure:3577: $? = 0
configure:3580: test -s conftest.o
configure:3583: $? = 0
configure:3633: result: no
configure:3643: checking for _LARGE_FILES value needed for large files
configure:3671: cc -c -O -pipe  -I/usr/local/include conftest.c >&5
configure:3674: $? = 0
configure:3677: test -s conftest.o
configure:3680: $? = 0
configure:3730: result: no
configure:3748: checking for pkg-config
configure:3766: found /usr/local/bin/pkg-config
configure:3779: result: /usr/local/bin/pkg-config
configure:3795: error: *** pkg-config too old; version 0.14 or better required.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CXXFLAGS_value=' -O -pipe '
ac_cv_prog_cc_g='yes'
ac_cv_env_LDFLAGS_set='set'
ac_cv_path_PKG_CONFIG='/usr/local/bin/pkg-config'
ac_cv_sys_large_files='no'
ac_cv_c_compiler_gnu='yes'
ac_cv_exeext=''
ac_cv_env_CFLAGS_set='set'
ac_cv_prog_CXX='c++'
ac_cv_prog_make_gmake_set='yes'
ac_cv_env_CPP_value=''
ac_cv_env_CPPFLAGS_set='set'
ac_cv_cxx_compiler_gnu='yes'
ac_cv_env_CXX_set='set'
ac_cv_env_host_alias_set=''
ac_cv_env_build_alias_set='set'
ac_cv_env_LDFLAGS_value='-L/usr/local/lib -lintl'
ac_cv_env_target_alias_set=''
ac_cv_prog_cc_stdc=''
ac_cv_host_alias='i386-portbld-freebsd4.6.2'
ac_cv_env_CFLAGS_value='-O -pipe '
ac_cv_env_CC_set='set'
ac_cv_build_alias='i386-portbld-freebsd4.6.2'
ac_cv_env_CPPFLAGS_value='-I/usr/local/include'
ac_cv_sys_largefile_CC='no'
ac_cv_env_CXXFLAGS_set='set'
ac_cv_env_CXX_value='c++'
ac_cv_host='i386-portbld-freebsd4.6.2'
ac_cv_env_host_alias_value=''
ac_cv_prog_cxx_g='yes'
am_cv_prog_cc_stdc=''
ac_cv_build='i386-portbld-freebsd4.6.2'
ac_cv_env_build_alias_value='i386-portbld-freebsd4.6.2'
ac_cv_prog_ac_ct_CC='cc'
ac_cv_env_target_alias_value=''
ac_cv_env_CC_value='cc'
ac_cv_env_CPP_set=''
ac_cv_sys_file_offset_bits='no'
ac_cv_objext='o'

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='/root/glib20/work/glib-2.2.1/missing aclocal-1.4'
ALLOCA=''
AUTOCONF='autoconf'
AUTOHEADER='autoheader'
AUTOMAKE='/root/glib20/work/glib-2.2.1/missing automake-1.4'
AWK=''
CATALOGS=''
CATOBJEXT=''
CC='cc'
CFLAGS='-O -pipe '
CPP=''
CPPFLAGS='-I/usr/local/include'
CROSS_COMPILING_FALSE=''
CROSS_COMPILING_TRUE=''
CXX='c++'
CXXFLAGS=' -O -pipe '
DATADIRNAME=''
DB2HTML=''
DEFS=''
DISABLE_MEM_POOLS=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_GC_FRIENDLY=''
ENABLE_GTK_DOC_FALSE=''
ENABLE_GTK_DOC_TRUE=''
ENABLE_TIMELOOP_FALSE=''
ENABLE_TIMELOOP_TRUE=''
EXEEXT=''
GETTEXT_PACKAGE=''
GIO=''
GLIBC21=''
GLIB_BINARY_AGE='201'
GLIB_DEBUG_FLAGS=''
GLIB_DEF=''
GLIB_GENMARSHAL=''
GLIB_INTERFACE_AGE='1'
GLIB_MAJOR_VERSION='2'
GLIB_MICRO_VERSION='1'
GLIB_MINOR_VERSION='2'
GLIB_VERSION='2.2.1'
GMODULE_DEF=''
GMOFILES=''
GMSGFMT=''
GOBJECT_DEF=''
GSPAWN=''
GTHREAD_COMPILE_IMPL_DEFINES=''
GTHREAD_DEF=''
GTKDOC=''
G_LIBS_EXTRA=''
G_LIB_WIN32_RESOURCE=''
G_MODULE_BROKEN_RTLD_GLOBAL=''
G_MODULE_HAVE_DLERROR=''
G_MODULE_IMPL=''
G_MODULE_LDFLAGS=''
G_MODULE_LIBS=''
G_MODULE_LIBS_EXTRA=''
G_MODULE_NEED_USCORE=''
G_MODULE_PLUGIN_LIBS=''
G_MODULE_SUPPORTED=''
G_MODULE_WIN32_RESOURCE=''
G_OBJECT_WIN32_RESOURCE=''
G_THREAD_CFLAGS=''
G_THREAD_LIBS=''
G_THREAD_LIBS_EXTRA=''
G_THREAD_LIBS_FOR_GTHREAD=''
G_THREAD_WIN32_RESOURCE=''
HAVE_CXX_FALSE='#'
HAVE_CXX_TRUE=''
HAVE_DOCBOOK_FALSE=''
HAVE_DOCBOOK_TRUE=''
HAVE_GOOD_PRINTF_FALSE=''
HAVE_GOOD_PRINTF_TRUE=''
HAVE_GTK_DOC=''
HAVE_GTK_DOC_FALSE=''
HAVE_GTK_DOC_TRUE=''
HTML_DIR=''
ICONV_LIBS=''
INDENT=''
INSTALL_DATA='install -c -o root -g wheel -m 444'
INSTALL_PROGRAM='install -c -s -o root -g wheel -m 555'
INSTALL_SCRIPT='install -c -o root -g wheel -m 555'
INSTOBJEXT=''
INTLLIBS=''
LDFLAGS='-L/usr/local/lib -lintl'
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
LT_AGE='200'
LT_CURRENT='200'
LT_CURRENT_MINUS_AGE='0'
LT_RELEASE='2.2'
LT_REVISION='1'
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='makeinfo'
MKINSTALLDIRS=''
MSGFMT=''
MS_LIB_AVAILABLE_FALSE=''
MS_LIB_AVAILABLE_TRUE='#'
OBJEXT='o'
OS_WIN32_FALSE=''
OS_WIN32_TRUE='#'
PACKAGE='glib'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PERL=''
PERL_PATH=''
PKG_CONFIG='/usr/local/bin/pkg-config'
PLATFORMDEP=''
PLATFORM_WIN32_FALSE=''
PLATFORM_WIN32_TRUE=''
POFILES=''
POSUB=''
PO_IN_DATADIR_FALSE=''
PO_IN_DATADIR_TRUE=''
RANLIB=''
REBUILD=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
STRIP_BEGIN=''
STRIP_DUMMY=''
STRIP_END=''
TESTGMODULE_EXP=''
TRIO_LIBS=''
USE_NLS=''
VERSION='2.2.1'
XGETTEXT=''
ac_ct_CC='cc'
ac_ct_CXX=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
bindir='${exec_prefix}/bin'
build='i386-portbld-freebsd4.6.2'
build_alias='i386-portbld-freebsd4.6.2'
build_cpu='i386'
build_os='freebsd4.6.2'
build_vendor='portbld'
datadir='${prefix}/share'
exec_prefix='NONE'
host='i386-portbld-freebsd4.6.2'
host_alias=''
host_cpu='i386'
host_os='freebsd4.6.2'
host_vendor='portbld'
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
ms_librarian=''
oldincludedir='/usr/include'
prefix='/usr/local'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define GLIB_BINARY_AGE 201
#define GLIB_INTERFACE_AGE 1
#define GLIB_MAJOR_VERSION 2
#define GLIB_MICRO_VERSION 1
#define GLIB_MINOR_VERSION 2
#define G_COMPILED_WITH_DEBUGGING "minimum"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""

configure: exit 1
home | help

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