pkg-config problem

Posted:
in Genius Bar edited January 2014
I need pkg-config (pkgconfig-0.15.0) but it does not want to install. can anyone figure what is the problem?



[quote]%./configure

creating cache ./config.cache

checking for a BSD compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking whether make 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 for Cygwin environment... no

checking for mingw32 environment... no

checking how to run the C preprocessor... cc -E -traditional-cpp

checking host system type... powerpc-apple-darwin6.4

checking build system type... powerpc-apple-darwin6.4

checking for gcc... gcc

checking whether the C compiler (gcc ) works... yes

checking whether the C compiler (gcc ) is a cross-compiler... no

checking whether we are using GNU C... yes

checking whether gcc accepts -g... yes

checking for ld used by GCC... /usr/bin/ld

checking if the linker (/usr/bin/ld) is GNU ld... no

checking for /usr/bin/ld option to reload object files... -r

checking for BSD-compatible nm... /usr/bin/nm -p

checking whether ln -s works... yes

checking how to recognise dependant libraries... file_magic Mach-O dynamically linked shared library

checking for object suffix... o

checking for executable suffix... no

checking command to parse /usr/bin/nm -p output... ok

checking for dlfcn.h... no

checking for ranlib... ranlib

checking for strip... strip

checking for objdir... .libs

checking for gcc option to produce PIC... -fno-common

checking if gcc PIC flag -fno-common works... yes

checking if gcc static flag -static works... no

checking if gcc supports -c -o file.o... yes

checking if gcc supports -c -o file.lo... yes

checking if gcc supports -fno-rtti -fno-exceptions... yes

checking whether the linker (/usr/bin/ld) supports shared libraries... yes

checking how to hardcode library paths into programs... unsupported

checking whether stripping libraries is possible... no

checking dynamic linker characteristics... darwin6.4 dyld

checking if libtool supports shared libraries... yes

checking whether to build shared libraries... yes

checking whether to build static libraries... yes

creating libtool

checking for gcc... (cached) gcc

checking whether the C compiler (gcc -g -O2 ) works... yes

checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no

checking whether we are using GNU C... (cached) yes

checking whether gcc accepts -g... (cached) yes

checking for Win32... no

checking for working alloca.h... no

checking for alloca... yes

checking for setresuid... no

checking for setreuid... yes

checking for dirent.h... yes

checking for unistd.h... yes

checking for sys/wait.h... yes

updating cache ./config.cache

creating ./config.status

creating Makefile

creating config.h

configuring in glib-1.2.8

running /bin/sh ./configure --cache-file=.././config.cache --srcdir=.

loading cache .././config.cache

checking for a BSD compatible install... (cached) /usr/bin/install -c

checking whether build environment is sane... yes

checking whether make sets ${MAKE}... (cached) 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 host system type... powerpc-apple-darwin6.4

checking build system type... powerpc-apple-darwin6.4

checking for ranlib... (cached) ranlib

checking for gcc... (cached) gcc

checking whether the C compiler (gcc ) works... yes

checking whether the C compiler (gcc ) is a cross-compiler... no

checking whether we are using GNU C... (cached) yes

checking whether gcc accepts -g... (cached) yes

checking for ld used by GCC... /usr/bin/ld

checking if the linker (/usr/bin/ld) is GNU ld... no

checking for BSD-compatible nm... /usr/bin/nm -p

checking whether ln -s works... (cached) yes

updating cache .././config.cache

loading cache .././config.cache within ltconfig

checking for object suffix... o

checking for executable suffix... (cached) no

checking for gcc option to produce PIC... -fPIC

checking if gcc PIC flag -fPIC works... yes

checking if gcc supports -c -o file.o... yes

checking if gcc supports -c -o file.lo... yes

checking if gcc supports -fno-rtti -fno-exceptions ... yes

checking if gcc static flag -static works... none

checking if the linker (/usr/bin/ld) is GNU ld... no

checking whether the linker (/usr/bin/ld) supports shared libraries... no

checking command to parse /usr/bin/nm -p output... ok

checking how to hardcode library paths into programs... unsupported

checking for /usr/bin/ld option to reload object files... -r

checking dynamic linker characteristics... no

checking if libtool supports shared libraries... no

checking whether to build shared libraries... no

checking whether to build static libraries... yes

checking for objdir... .libs

creating libtool

loading cache .././config.cache

checking whether to enable maintainer-specific portions of Makefiles... no

checking host system type... powerpc-apple-darwin6.4

checking whether to enable memory checking... no

checking whether to enable memory profiling... no

checking for gcc... (cached) gcc

checking whether the C compiler (gcc -g -O2 ) works... yes

checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no

checking whether we are using GNU C... (cached) yes

checking whether gcc accepts -g... (cached) yes

checking for gcc option to accept ANSI C... none needed

checking for a BSD compatible install... /usr/bin/install -c

checking for extra flags to get ANSI library prototypes... none needed

checking for extra flags for POSIX compliance...

configure: warning: Could not determine POSIX flag. (-posix didn't work.)

checking how to run the C preprocessor... (cached) cc -E -traditional-cpp

checking for ANSI C header files... yes

checking for vprintf... yes

checking for atexit... yes

checking for on_exit... no

checking size of char... 1

checking size of short... 2

checking size of long... 4

checking size of int... 4

checking size of void *... 4

checking size of long long... 8

checking for working const... yes

checking for __inline... yes

checking for __inline__... yes

checking for inline... yes

checking whether byte ordering is bigendian... yes

checking for float.h... yes

checking for limits.h... yes

checking for pwd.h... yes

checking for sys/param.h... yes

checking for sys/poll.h... no

checking for sys/select.h... yes

checking for sys/time.h... yes

checking for sys/times.h... yes

checking for unistd.h... (cached) yes

checking for values.h... no

checking for lstat... yes

checking for strerror... yes

checking for strsignal... no

checking for memmove... yes

checking for vsnprintf... yes

checking for strcasecmp... yes

checking for strncasecmp... yes

checking for poll... no

checking for sys_errlist... yes

checking for sys_siglist... yes

checking for sys_siglist declaration... yes

checking for fd_set... yes, found in sys/types.h

checking for wchar.h... no

checking for wctype.h... no

checking for iswalnum... no

checking for iswalnum in -lw... no

checking if iswalnum() and friends are properly defined... yes

checking whether realloc (NULL,) will work... yes

checking for an implementation of va_copy()... yes

checking for an implementation of __va_copy()... yes

checking whether va_lists can be copied by value... yes

checking for dlopen... no

checking for dlopen in -ldl... no

checking how to export all symbols... -bexpall

checking for shl_load in -ldld... no

checking for pthread.h... yes

checking for thread implementation... posix

checking for pthread_attr_init in -lpthread... yes

checking necessary linker options... -lpthread

checking necessary compiler options... -D_REENTRANT

checking for localtime_r... yes

checking for rand_r... yes

checking for getpwuid_r... yes

checking whether getpwuid_r is posix like... yes

checking whether pthread_getspecific is posix like... yes

checking whether pthread_mutex_trylock is posix like... yes

checking whether pthread_cond_timedwait is posix like... yes

checking size of pthread_mutex_t... 44

checking byte contents of pthread_mutex_t... 50,-86,-85,-89,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 ,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0

checking system definitions for POLLIN POLLOUT POLLPRI POLLERR POLLHUP POLLNVAL... failed

updating cache .././config.cache

creating ./config.status

creating glib.spec

creating Makefile

creating glib-config

creating gmodule/gmoduleconf.h

creating gmodule/Makefile

creating gthread/Makefile

creating docs/Makefile

creating docs/glib-config.1

creating tests/Makefile

creating config.h

creating glibconfig.h



%make

make all-recursive

Making all in glib-1.2.8

make all-recursive

Making all in .

/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c garray.c

gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c garray.c -o garray.o

echo timestamp > garray.lo

/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gcache.c

gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gcache.c -o gcache.o

echo timestamp > gcache.lo

/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gcompletion.c

gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gcompletion.c -o gcompletion.o

echo timestamp > gcompletion.lo

/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gdataset.c

gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gdataset.c -o gdataset.o

echo timestamp > gdataset.lo

/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gdate.c

gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gdate.c -o gdate.o

echo timestamp > gdate.lo

/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gerror.c

gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gerror.c -o gerror.o

echo timestamp > gerror.lo

/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c ghash.c

gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c ghash.c -o ghash.o

echo timestamp > ghash.lo

/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c ghook.c

gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c ghook.c -o ghook.o

echo timestamp > ghook.lo

/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c giochannel.c

gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c giochannel.c -o giochannel.o

echo timestamp > giochannel.lo

/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c giounix.c

gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c giounix.c -o giounix.o

giounix.c:233: only 1 arg to macro 'g_warning' (2 expected)

cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode

make[4]: *** [giounix.lo] Error 1

make[3]: *** [all-recursive] Error 1

make[2]: *** [all-recursive-am] Error 2

make[1]: *** [all-recursive] Error 1

make: *** [all-recursive-am] Error 2



%

<hr></blockquote>



So, make install will do nothing. And I need the package to compile something else. Any ideas what and be that all-recursive-am Error 1 or 2 ?
Sign In or Register to comment.