OVH Cloud OVH Cloud

glib ne trouve pas pkgconfig

12 réponses
Avatar
Oodini
Hello,

Lors de l'installation de glib-2.4.2 est apparu un message d'erreur
disant que la version de pkgconfig était trop ancienne.

J'ai donc désinstallé pkgconfig et installé la dernière version
(0.15.0), mais depuis, l'installation de glib-2.4.2 me dit qu'il ne
trouve pas pkgconfig !! Je suppose qu'il faut paramètrer des chemins
quelque part, mais je ne sais pas où...

Merci pour votre aide.

10 réponses

1 2
Avatar
Rakotomandimby Mihamina
Oodini wrote:
Hello,


Hello

J'ai donc désinstallé pkgconfig et installé la dernière version
(0.15.0), mais depuis, l'installation de glib-2.4.2 me dit qu'il ne
trouve pas pkgconfig !! Je suppose qu'il faut paramètrer des chemins
quelque part, mais je ne sais pas où...


Donc dans l'ordre :

- faire "whereis pkgconfig" dans une console.
- se logguer en tant que l'utilisateur qui fait l'installation (celui
qui fait la compilation).
- faire "echo $PATH" et verififier que le repertoire qui contient
'pkgconfig' est present dans la liste presentee.
- Si le chemin est present (ce dont je doute) nous poster les messages
d'erreur
- Si il ne l'est pas, tu lis ceci
http://www.troubleshooters.com/linux/prepostpath.htm

ou plus precisement fais une recherche sur "ajouter un repertoire a ton
PATH" .
--
Rakotomandimby Mihamina Andrianifaharana
Tel : +33 2 38 76 43 65
http://stko.dyndns.info/site_principal/Members/mihamina

Avatar
Oodini
Rakotomandimby Mihamina wrote:
Oodini wrote:

Donc dans l'ordre :

- faire "whereis pkgconfig" dans une console.


-> /usr/lib/ipconfig

- se logguer en tant que l'utilisateur qui fait l'installation (celui
qui fait la compilation).


root, en l'occurence

- faire "echo $PATH" et verififier que le repertoire qui contient
'pkgconfig' est present dans la liste presentee.


Il n'y était pas.

- Si le chemin est present (ce dont je doute) nous poster les messages
d'erreur
- Si il ne l'est pas, tu lis ceci
http://www.troubleshooters.com/linux/prepostpath.htm


C'est fait.
J'ai à présent dans .bash_profile:

# User specific environment and startup programs

PATH=$PATH:$HOME/bin
PATH=$PATH:/usr/lib/pkgconfig
BASH_ENV=$HOME/.bashrc
USERNAME="root"

export USERNAME BASH_ENV PATH

Après un echo $PATH, glib ne trouve toujours pas pkgconfig.
Sans doute parce qu'il cherche en fait pkg-config (noter le tiret médian):

checking for pkg-config... no
configure: error: *** pkg-config not found.
See http://www.freedesktop.org/software/pkgconfig/

J'ai fait un whois pkg-config:

pkg-config: /usr/share/man/man1/pkg-config.1.gz

Mais bon, la dernière version de pkgconfig ne me met pas de tiret médian...

A titre d'info, le contenu de /usr/lib/pkgconfig est:

gnome-mime-data-2.0.pc
libuser.pc
libxml-2.0.pc
libxml.pc

Le tout faisant environ 1 Ko...
Vu la taille du paquetage de pkgconfig, il doit y avoir des fichiers
autre part...

Merci beaucoup toutefois. L'URL fourni m'est déjà dans l'absolu très
utile. :-)

Ci-dessous figure le log de l'installation de pkgconfig:

[ pkgconfig-0.15.0]# ./configure
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... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking how to run the C preprocessor... (cached) cc -E
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
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... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for /usr/bin/ld option to reload object files... (cached) -r
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
checking how to recognise dependant libraries... (cached) pass_all
checking for object suffix... (cached) o
checking for executable suffix... (cached) no
checking command to parse /usr/bin/nm -B output... (cached) ok
checking for dlfcn.h... (cached) yes
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
checking for objdir... .libs
checking for gcc option to produce PIC... (cached) -fPIC
checking if gcc PIC flag -fPIC works... (cached) yes
checking if gcc static flag -static works... (cached) yes
checking if gcc supports -c -o file.o... (cached) yes
checking if gcc supports -c -o file.lo... (cached) 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... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... (cached) no
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... (cached) yes
checking for alloca... (cached) yes
checking for setresuid... (cached) yes
checking for dirent.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/wait.h... (cached) yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
config.h is unchanged
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... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
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... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
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... -static
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
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... i686-pc-linux-gnu
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... (cached) 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... none needed
checking how to run the C preprocessor... (cached) cc -E
checking for ANSI C header files... (cached) yes
checking for vprintf... (cached) yes
checking for atexit... (cached) yes
checking for on_exit... (cached) yes
checking size of char... (cached) 1
checking size of short... (cached) 2
checking size of long... (cached) 4
checking size of int... (cached) 4
checking size of void *... (cached) 4
checking size of long long... (cached) 8
checking for working const... (cached) yes
checking for __inline... (cached) yes
checking for __inline__... (cached) yes
checking for inline... (cached) yes
checking whether byte ordering is bigendian... (cached) no
checking for float.h... (cached) yes
checking for limits.h... (cached) yes
checking for pwd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for sys/poll.h... (cached) yes
checking for sys/select.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/times.h... (cached) yes
checking for unistd.h... (cached) yes
checking for values.h... (cached) yes
checking for lstat... (cached) yes
checking for strerror... (cached) yes
checking for strsignal... (cached) yes
checking for memmove... (cached) yes
checking for vsnprintf... (cached) yes
checking for strcasecmp... (cached) yes
checking for strncasecmp... (cached) yes
checking for poll... (cached) yes
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... yes
checking for wctype.h... yes
checking for iswalnum... (cached) yes
checking if iswalnum() and friends are properly defined... yes
checking whether realloc (NULL,) will work... (cached) yes
checking for an implementation of va_copy()... (cached) yes
checking for an implementation of __va_copy()... (cached) yes
checking whether va_lists can be copied by value... (cached) yes
checking for dlopen... (cached) no
checking for dlopen in -ldl... (cached) yes
checking for dlsym in -ldl... (cached) yes
checking for preceeding underscore in symbols... (cached) no
checking for dlerror... (cached) yes
checking for pthread.h... (cached) yes
checking for thread implementation... posix
checking for pthread_attr_init in -lpthread... (cached) yes
checking necessary linker options... -lpthread
checking necessary compiler options... -D_REENTRANT
checking for localtime_r... (cached) yes
checking for rand_r... (cached) yes
checking for getpwuid_r... (cached) 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... (cached) 24
checking byte contents of pthread_mutex_t... (cached)
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... done
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
config.h is unchanged
creating glibconfig.h
glibconfig.h is unchanged

Avatar
Oodini
Oodini wrote:
-> /usr/lib/ipconfig
pkgconfig, évidemment...


Ci-dessous figure le log de l'installation de pkgconfig:


Voici plutôt le contenu de 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 glib configure 2.4.2, which was
generated by GNU Autoconf 2.59. Invocation command line was

$ ./configure

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

hostname = localhost.localdomain
uname -m = i686
uname -r = 2.4.18-14
uname -s = Linux
uname -v = #1 Wed Sep 4 13:35:50 EDT 2002

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /usr/lib
PATH: /root/bin
PATH: /usr/lib/pkgconfig


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

configure:1579: checking for a BSD-compatible install
configure:1634: result: /usr/bin/install -c
configure:1645: checking whether build environment is sane
configure:1688: result: yes
configure:1721: checking for gawk
configure:1737: found /bin/gawk
configure:1747: result: gawk
configure:1757: checking whether make sets $(MAKE)
configure:1777: result: yes
configure:1990: checking whether to enable maintainer-specific portions
of Makefiles
configure:1999: result: no
configure:2021: checking build system type
configure:2039: result: i686-pc-linux-gnu
configure:2047: checking host system type
configure:2061: result: i686-pc-linux-gnu
configure:2070: checking for the BeOS
configure:2080: result: no
configure:2084: checking for Win32
configure:2114: result: no
configure:2239: checking whether to enable garbage collector friendliness
configure:2251: result: no
configure:2255: checking whether to disable memory pools
configure:2258: result: no
configure:2330: checking for gcc
configure:2346: found /usr/bin/gcc
configure:2356: result: gcc
configure:2600: checking for C compiler version
configure:2603: gcc --version </dev/null >&5
gcc (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
Copyright (C) 2002 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:2606: $? = 0
configure:2608: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --host=i386-redhat-linux --with-system-zlib
--enable-__cxa_atexit
Thread model: posix
gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
configure:2611: $? = 0
configure:2613: gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure:2616: $? = 1
configure:2639: checking for C compiler default output file name
configure:2642: gcc conftest.c >&5
configure:2645: $? = 0
configure:2691: result: a.out
configure:2696: checking whether the C compiler works
configure:2702: ./a.out
configure:2705: $? = 0
configure:2722: result: yes
configure:2729: checking whether we are cross compiling
configure:2731: result: no
configure:2734: checking for suffix of executables
configure:2736: gcc -o conftest conftest.c >&5
configure:2739: $? = 0
configure:2764: result:
configure:2770: checking for suffix of object files
configure:2791: gcc -c conftest.c >&5
configure:2794: $? = 0
configure:2816: result: o
configure:2820: checking whether we are using the GNU C compiler
configure:2844: gcc -c conftest.c >&5
configure:2850: $? = 0
configure:2854: test -z
|| test ! -s conftest.err
configure:2857: $? = 0
configure:2860: test -s conftest.o
configure:2863: $? = 0
configure:2876: result: yes
configure:2882: checking whether gcc accepts -g
configure:2903: gcc -c -g conftest.c >&5
configure:2909: $? = 0
configure:2913: test -z
|| test ! -s conftest.err
configure:2916: $? = 0
configure:2919: test -s conftest.o
configure:2922: $? = 0
configure:2933: result: yes
configure:2950: checking for gcc option to accept ANSI C
configure:3020: gcc -c -g -O2 conftest.c >&5
configure:3026: $? = 0
configure:3030: test -z
|| test ! -s conftest.err
configure:3033: $? = 0
configure:3036: test -s conftest.o
configure:3039: $? = 0
configure:3057: result: none needed
configure:3075: gcc -c -g -O2 conftest.c >&5
conftest.c:2: parse error before "me"
configure:3081: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:3225: checking for style of include used by make
configure:3253: result: GNU
configure:3281: checking dependency style of gcc
configure:3364: result: gcc3
configure:3386: checking for c++
configure:3402: found /usr/bin/c++
configure:3412: result: c++
configure:3525: checking for C++ compiler version
configure:3528: c++ --version </dev/null >&5
c++ (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
Copyright (C) 2002 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:3531: $? = 0
configure:3533: c++ -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --host=i386-redhat-linux --with-system-zlib
--enable-__cxa_atexit
Thread model: posix
gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
configure:3536: $? = 0
configure:3538: c++ -V </dev/null >&5
c++: argument to `-V' missing

configure:3541: $? = 1
configure:3544: checking whether we are using the GNU C++ compiler
configure:3568: c++ -c conftest.cc >&5
configure:3574: $? = 0
configure:3578: test -z
|| test ! -s conftest.err
configure:3581: $? = 0
configure:3584: test -s conftest.o
configure:3587: $? = 0
configure:3600: result: yes
configure:3606: checking whether c++ accepts -g
configure:3627: c++ -c -g conftest.cc >&5
configure:3633: $? = 0
configure:3637: test -z
|| test ! -s conftest.err
configure:3640: $? = 0
configure:3643: test -s conftest.o
configure:3646: $? = 0
configure:3657: result: yes
configure:3699: c++ -c -g -O2 conftest.cc >&5
configure:3705: $? = 0
configure:3709: test -z
|| test ! -s conftest.err
configure:3712: $? = 0
configure:3715: test -s conftest.o
configure:3718: $? = 0
configure:3744: c++ -c -g -O2 conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:19: `exit' undeclared (first use this function)
conftest.cc:19: (Each undeclared identifier is reported only once for each
function it appears in.)
configure:3750: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "glib"
| #define PACKAGE_TARNAME "glib"
| #define PACKAGE_VERSION "2.4.2"
| #define PACKAGE_STRING "glib 2.4.2"
| #define PACKAGE_BUGREPORT
"http://bugzilla.gnome.org/enter_bug.cgi?product=glib"
| #define GLIB_MAJOR_VERSION 2
| #define GLIB_MINOR_VERSION 4
| #define GLIB_MICRO_VERSION 2
| #define GLIB_INTERFACE_AGE 2
| #define GLIB_BINARY_AGE 402
| #define G_COMPILED_WITH_DEBUGGING "minimum"
| /* end confdefs.h. */
|
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:3699: c++ -c -g -O2 conftest.cc >&5
configure:3705: $? = 0
configure:3709: test -z
|| test ! -s conftest.err
configure:3712: $? = 0
configure:3715: test -s conftest.o
configure:3718: $? = 0
configure:3744: c++ -c -g -O2 conftest.cc >&5
configure:3750: $? = 0
configure:3754: test -z
|| test ! -s conftest.err
configure:3757: $? = 0
configure:3760: test -s conftest.o
configure:3763: $? = 0
configure:3788: checking dependency style of c++
configure:3871: result: gcc3
configure:3905: c++ -c -g -O2 conftest.cc >&5
configure:3911: $? = 0
configure:3915: test -z
|| test ! -s conftest.err
configure:3918: $? = 0
configure:3921: test -s conftest.o
configure:3924: $? = 0
configure:3955: checking for gcc option to accept ANSI C
configure:4018: gcc -c -g -O2 conftest.c >&5
configure:4024: $? = 0
configure:4028: test -z
|| test ! -s conftest.err
configure:4031: $? = 0
configure:4034: test -s conftest.o
configure:4037: $? = 0
configure:4052: result: none needed
configure:4076: checking for a BSD-compatible install
configure:4131: result: /usr/bin/install -c
configure:4150: checking for special C compiler options needed for large
files
configure:4249: result: no
configure:4255: checking for _FILE_OFFSET_BITS value needed for large files
configure:4286: gcc -c -g -O2 conftest.c >&5
conftest.c:24: warning: left shift count >= width of type
conftest.c:24: warning: left shift count >= width of type
conftest.c:26: size of array `off_t_is_large' is negative
configure:4292: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "glib"
| #define PACKAGE_TARNAME "glib"
| #define PACKAGE_VERSION "2.4.2"
| #define PACKAGE_STRING "glib 2.4.2"
| #define PACKAGE_BUGREPORT
"http://bugzilla.gnome.org/enter_bug.cgi?product=glib"
| #define GLIB_MAJOR_VERSION 2
| #define GLIB_MINOR_VERSION 4
| #define GLIB_MICRO_VERSION 2
| #define GLIB_INTERFACE_AGE 2
| #define GLIB_BINARY_AGE 402
| #define G_COMPILED_WITH_DEBUGGING "minimum"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h. */
| #include <sys/types.h>
| /* Check that off_t can represent 2**63 - 1 correctly.
| We can't simply define LARGE_OFF_T to be 9223372036854775807,
| since some C++ compilers masquerading as C compilers
| incorrectly reject 9223372036854775807. */
| #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
| int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
| && LARGE_OFF_T % 2147483647 == 1)
| ? 1 : -1];
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:4339: gcc -c -g -O2 conftest.c >&5
configure:4345: $? = 0
configure:4349: test -z
|| test ! -s conftest.err
configure:4352: $? = 0
configure:4355: test -s conftest.o
configure:4358: $? = 0
configure:4370: result: 64
configure:4380: checking for _LARGE_FILES value needed for large files
configure:4411: gcc -c -g -O2 conftest.c >&5
configure:4417: $? = 0
configure:4421: test -z
|| test ! -s conftest.err
configure:4424: $? = 0
configure:4427: test -s conftest.o
configure:4430: $? = 0
configure:4495: result: no
configure:4513: checking for pkg-config
configure:4544: result: no
configure:4552: error: *** pkg-config not found. See
http://www.freedesktop.org/software/pkgconfig/

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

ac_cv_build=i686-pc-linux-gnu
ac_cv_build_alias=i686-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CC_set ac_cv_env_CC_value ac_cv_env_CFLAGS_set ac_cv_env_CFLAGS_value ac_cv_env_CPPFLAGS_set ac_cv_env_CPPFLAGS_value ac_cv_env_CPP_set ac_cv_env_CPP_value ac_cv_env_CXXCPP_set ac_cv_env_CXXCPP_value ac_cv_env_CXXFLAGS_set ac_cv_env_CXXFLAGS_value ac_cv_env_CXX_set ac_cv_env_CXX_value ac_cv_env_F77_set ac_cv_env_F77_value ac_cv_env_FFLAGS_set ac_cv_env_FFLAGS_value ac_cv_env_LDFLAGS_set ac_cv_env_LDFLAGS_value 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 ac_cv_env_target_alias_value ac_cv_exeext ac_cv_host=i686-pc-linux-gnu
ac_cv_host_alias=i686-pc-linux-gnu
ac_cv_objext=o
ac_cv_path_PKG_CONFIG=no
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CXX=c++
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc ac_cv_prog_cxx_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_sys_file_offset_bitsd
ac_cv_sys_large_files=no
ac_cv_sys_largefile_CC=no
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=gcc3
am_cv_prog_cc_stdc
## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /root/Installations/glib-2.4.2/missing --run aclocal-1.7'
ALLOCA=''
AMDEPBACKSLASH=''
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /root/Installations/glib-2.4.2/missing --run tar'
AR=''
AUTOCONF='${SHELL} /root/Installations/glib-2.4.2/missing --run autoconf'
AUTOHEADER='${SHELL} /root/Installations/glib-2.4.2/missing --run
autoheader'
AUTOMAKE='${SHELL} /root/Installations/glib-2.4.2/missing --run
automake-1.7'
AWK='gawk'
CATALOGS=''
CATOBJEXT=''
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CPP=''
CPPFLAGS=''
CROSS_COMPILING_FALSE=''
CROSS_COMPILING_TRUE=''
CXX='c++'
CXXCPP=''
CXXDEPMODE='depmode=gcc3'
CXXFLAGS='-g -O2'
CYGPATH_W='echo'
DATADIRNAME=''
DEFS=''
DEPDIR='.deps'
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_MAN_FALSE=''
ENABLE_MAN_TRUE=''
ENABLE_TIMELOOP_FALSE=''
ENABLE_TIMELOOP_TRUE=''
EXEEXT=''
F77=''
FFLAGS=''
GETTEXT_PACKAGE=''
GIO=''
GLIBC21=''
GLIB_BINARY_AGE='402'
GLIB_DEBUG_FLAGS=''
GLIB_DEF=''
GLIB_GENMARSHAL=''
GLIB_INTERFACE_AGE='2'
GLIB_MAJOR_VERSION='2'
GLIB_MICRO_VERSION='2'
GLIB_MINOR_VERSION='4'
GLIB_VERSION='2.4.2'
GMODULE_DEF=''
GMOFILES=''
GMSGFMT=''
GOBJECT_DEF=''
GSPAWN=''
GTHREAD_COMPILE_IMPL_DEFINES=''
GTHREAD_DEF=''
GTK_DOC_USE_LIBTOOL_FALSE=''
GTK_DOC_USE_LIBTOOL_TRUE=''
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_GOOD_PRINTF_FALSE=''
HAVE_GOOD_PRINTF_TRUE=''
HTML_DIR=''
ICONV_LIBS=''
INDENT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
INSTOBJEXT=''
INTLLIBS=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
LT_AGE='400'
LT_CURRENT='400'
LT_CURRENT_MINUS_AGE='0'
LT_RELEASE='2.4'
LT_REVISION='2'
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /root/Installations/glib-2.4.2/missing --run makeinfo'
MKINSTALLDIRS=''
MSGFMT=''
MS_LIB_AVAILABLE_FALSE=''
MS_LIB_AVAILABLE_TRUE='#'
OBJEXT='o'
OS_WIN32_FALSE=''
OS_WIN32_TRUE='#'
PACKAGE='glib'
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=glib'
PACKAGE_NAME='glib'
PACKAGE_STRING='glib 2.4.2'
PACKAGE_TARNAME='glib'
PACKAGE_VERSION='2.4.2'
PATH_SEPARATOR=':'
PERL=''
PERL_PATH=''
PKG_CONFIG='no'
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=''
TESTGMODULE_EXP=''
USE_NLS=''
VERSION='2.4.2'
XGETTEXT=''
XMLCATALOG=''
XML_CATALOG_FILE=''
XSLTPROC=''
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_F77=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE='#'
am__fastdepCXX_TRUE=''
am__include='include'
am__leading_dot='.'
am__quote=''
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${prefix}/share'
exec_prefix='NONE'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/root/Installations/glib-2.4.2/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
ms_librarian=''
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

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

#define GLIB_BINARY_AGE 402
#define GLIB_INTERFACE_AGE 2
#define GLIB_MAJOR_VERSION 2
#define GLIB_MICRO_VERSION 2
#define GLIB_MINOR_VERSION 4
#define G_COMPILED_WITH_DEBUGGING "minimum"
#define PACKAGE_BUGREPORT
"http://bugzilla.gnome.org/enter_bug.cgi?product=glib"
#define PACKAGE_NAME "glib"
#define PACKAGE_STRING "glib 2.4.2"
#define PACKAGE_TARNAME "glib"
#define PACKAGE_VERSION "2.4.2"
#define _FILE_OFFSET_BITS 64
#endif
#ifdef __cplusplus
extern "C" void std::exit (int) throw (); using std::exit;

configure: exit 1

Avatar
pascal
On Sun, 13 Jun 2004 00:54:03 +0200, Oodini wrote:

Oodini wrote:
-> /usr/lib/ipconfig
pkgconfig, évidemment...


Ci-dessous figure le log de l'installation de pkgconfig:


Voici plutôt le contenu de 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 glib configure 2.4.2, which was
generated by GNU Autoconf 2.59. Invocation command line was

$ ./configure

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

hostname = localhost.localdomain
uname -m = i686
uname -r = 2.4.18-14
uname -s = Linux
uname -v = #1 Wed Sep 4 13:35:50 EDT 2002

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /usr/lib
PATH: /root/bin
PATH: /usr/lib/pkgconfig


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

configure:1579: checking for a BSD-compatible install
configure:1634: result: /usr/bin/install -c
configure:1645: checking whether build environment is sane
configure:1688: result: yes
configure:1721: checking for gawk
configure:1737: found /bin/gawk
configure:1747: result: gawk
configure:1757: checking whether make sets $(MAKE)
configure:1777: result: yes
configure:1990: checking whether to enable maintainer-specific portions
of Makefiles
configure:1999: result: no
configure:2021: checking build system type
configure:2039: result: i686-pc-linux-gnu
configure:2047: checking host system type
configure:2061: result: i686-pc-linux-gnu
configure:2070: checking for the BeOS
configure:2080: result: no
configure:2084: checking for Win32
configure:2114: result: no
configure:2239: checking whether to enable garbage collector friendliness
configure:2251: result: no
configure:2255: checking whether to disable memory pools
configure:2258: result: no
configure:2330: checking for gcc
configure:2346: found /usr/bin/gcc
configure:2356: result: gcc
configure:2600: checking for C compiler version
configure:2603: gcc --version </dev/null >&5
gcc (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
Copyright (C) 2002 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:2606: $? = 0
configure:2608: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --host=i386-redhat-linux --with-system-zlib
--enable-__cxa_atexit
Thread model: posix
gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
configure:2611: $? = 0
configure:2613: gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure:2616: $? = 1
configure:2639: checking for C compiler default output file name
configure:2642: gcc conftest.c >&5
configure:2645: $? = 0
configure:2691: result: a.out
configure:2696: checking whether the C compiler works
configure:2702: ./a.out
configure:2705: $? = 0
configure:2722: result: yes
configure:2729: checking whether we are cross compiling
configure:2731: result: no
configure:2734: checking for suffix of executables
configure:2736: gcc -o conftest conftest.c >&5
configure:2739: $? = 0
configure:2764: result:
configure:2770: checking for suffix of object files
configure:2791: gcc -c conftest.c >&5
configure:2794: $? = 0
configure:2816: result: o
configure:2820: checking whether we are using the GNU C compiler
configure:2844: gcc -c conftest.c >&5
configure:2850: $? = 0
configure:2854: test -z
|| test ! -s conftest.err
configure:2857: $? = 0
configure:2860: test -s conftest.o
configure:2863: $? = 0
configure:2876: result: yes
configure:2882: checking whether gcc accepts -g
configure:2903: gcc -c -g conftest.c >&5
configure:2909: $? = 0
configure:2913: test -z
|| test ! -s conftest.err
configure:2916: $? = 0
configure:2919: test -s conftest.o
configure:2922: $? = 0
configure:2933: result: yes
configure:2950: checking for gcc option to accept ANSI C
configure:3020: gcc -c -g -O2 conftest.c >&5
configure:3026: $? = 0
configure:3030: test -z
|| test ! -s conftest.err
configure:3033: $? = 0
configure:3036: test -s conftest.o
configure:3039: $? = 0
configure:3057: result: none needed
configure:3075: gcc -c -g -O2 conftest.c >&5
conftest.c:2: parse error before "me"
configure:3081: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:3225: checking for style of include used by make
configure:3253: result: GNU
configure:3281: checking dependency style of gcc
configure:3364: result: gcc3
configure:3386: checking for c++
configure:3402: found /usr/bin/c++
configure:3412: result: c++
configure:3525: checking for C++ compiler version
configure:3528: c++ --version </dev/null >&5
c++ (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
Copyright (C) 2002 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:3531: $? = 0
configure:3533: c++ -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --host=i386-redhat-linux --with-system-zlib
--enable-__cxa_atexit
Thread model: posix
gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
configure:3536: $? = 0
configure:3538: c++ -V </dev/null >&5
c++: argument to `-V' missing

configure:3541: $? = 1
configure:3544: checking whether we are using the GNU C++ compiler
configure:3568: c++ -c conftest.cc >&5
configure:3574: $? = 0
configure:3578: test -z
|| test ! -s conftest.err
configure:3581: $? = 0
configure:3584: test -s conftest.o
configure:3587: $? = 0
configure:3600: result: yes
configure:3606: checking whether c++ accepts -g
configure:3627: c++ -c -g conftest.cc >&5
configure:3633: $? = 0
configure:3637: test -z
|| test ! -s conftest.err
configure:3640: $? = 0
configure:3643: test -s conftest.o
configure:3646: $? = 0
configure:3657: result: yes
configure:3699: c++ -c -g -O2 conftest.cc >&5
configure:3705: $? = 0
configure:3709: test -z
|| test ! -s conftest.err
configure:3712: $? = 0
configure:3715: test -s conftest.o
configure:3718: $? = 0
configure:3744: c++ -c -g -O2 conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:19: `exit' undeclared (first use this function)
conftest.cc:19: (Each undeclared identifier is reported only once for each
function it appears in.)
configure:3750: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "glib"
| #define PACKAGE_TARNAME "glib"
| #define PACKAGE_VERSION "2.4.2"
| #define PACKAGE_STRING "glib 2.4.2"
| #define PACKAGE_BUGREPORT
"http://bugzilla.gnome.org/enter_bug.cgi?product=glib"
| #define GLIB_MAJOR_VERSION 2
| #define GLIB_MINOR_VERSION 4
| #define GLIB_MICRO_VERSION 2
| #define GLIB_INTERFACE_AGE 2
| #define GLIB_BINARY_AGE 402
| #define G_COMPILED_WITH_DEBUGGING "minimum"
| /* end confdefs.h. */
|
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:3699: c++ -c -g -O2 conftest.cc >&5
configure:3705: $? = 0
configure:3709: test -z
|| test ! -s conftest.err
configure:3712: $? = 0
configure:3715: test -s conftest.o
configure:3718: $? = 0
configure:3744: c++ -c -g -O2 conftest.cc >&5
configure:3750: $? = 0
configure:3754: test -z
|| test ! -s conftest.err
configure:3757: $? = 0
configure:3760: test -s conftest.o
configure:3763: $? = 0
configure:3788: checking dependency style of c++
configure:3871: result: gcc3
configure:3905: c++ -c -g -O2 conftest.cc >&5
configure:3911: $? = 0
configure:3915: test -z
|| test ! -s conftest.err
configure:3918: $? = 0
configure:3921: test -s conftest.o
configure:3924: $? = 0
configure:3955: checking for gcc option to accept ANSI C
configure:4018: gcc -c -g -O2 conftest.c >&5
configure:4024: $? = 0
configure:4028: test -z
|| test ! -s conftest.err
configure:4031: $? = 0
configure:4034: test -s conftest.o
configure:4037: $? = 0
configure:4052: result: none needed
configure:4076: checking for a BSD-compatible install
configure:4131: result: /usr/bin/install -c
configure:4150: checking for special C compiler options needed for large
files
configure:4249: result: no
configure:4255: checking for _FILE_OFFSET_BITS value needed for large files
configure:4286: gcc -c -g -O2 conftest.c >&5
conftest.c:24: warning: left shift count >= width of type
conftest.c:24: warning: left shift count >= width of type
conftest.c:26: size of array `off_t_is_large' is negative
configure:4292: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "glib"
| #define PACKAGE_TARNAME "glib"
| #define PACKAGE_VERSION "2.4.2"
| #define PACKAGE_STRING "glib 2.4.2"
| #define PACKAGE_BUGREPORT
"http://bugzilla.gnome.org/enter_bug.cgi?product=glib"
| #define GLIB_MAJOR_VERSION 2
| #define GLIB_MINOR_VERSION 4
| #define GLIB_MICRO_VERSION 2
| #define GLIB_INTERFACE_AGE 2
| #define GLIB_BINARY_AGE 402
| #define G_COMPILED_WITH_DEBUGGING "minimum"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h. */
| #include <sys/types.h>
| /* Check that off_t can represent 2**63 - 1 correctly.
| We can't simply define LARGE_OFF_T to be 9223372036854775807,
| since some C++ compilers masquerading as C compilers
| incorrectly reject 9223372036854775807. */
| #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
| int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
| && LARGE_OFF_T % 2147483647 == 1)
| ? 1 : -1];
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:4339: gcc -c -g -O2 conftest.c >&5
configure:4345: $? = 0
configure:4349: test -z
|| test ! -s conftest.err
configure:4352: $? = 0
configure:4355: test -s conftest.o
configure:4358: $? = 0
configure:4370: result: 64
configure:4380: checking for _LARGE_FILES value needed for large files
configure:4411: gcc -c -g -O2 conftest.c >&5
configure:4417: $? = 0
configure:4421: test -z
|| test ! -s conftest.err
configure:4424: $? = 0
configure:4427: test -s conftest.o
configure:4430: $? = 0
configure:4495: result: no
configure:4513: checking for pkg-config
configure:4544: result: no
configure:4552: error: *** pkg-config not found. See
http://www.freedesktop.org/software/pkgconfig/

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

ac_cv_build=i686-pc-linux-gnu
ac_cv_build_alias=i686-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CC_set > ac_cv_env_CC_value > ac_cv_env_CFLAGS_set > ac_cv_env_CFLAGS_value > ac_cv_env_CPPFLAGS_set > ac_cv_env_CPPFLAGS_value > ac_cv_env_CPP_set > ac_cv_env_CPP_value > ac_cv_env_CXXCPP_set > ac_cv_env_CXXCPP_value > ac_cv_env_CXXFLAGS_set > ac_cv_env_CXXFLAGS_value > ac_cv_env_CXX_set > ac_cv_env_CXX_value > ac_cv_env_F77_set > ac_cv_env_F77_value > ac_cv_env_FFLAGS_set > ac_cv_env_FFLAGS_value > ac_cv_env_LDFLAGS_set > ac_cv_env_LDFLAGS_value > 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 > ac_cv_env_target_alias_value > ac_cv_exeext > ac_cv_host=i686-pc-linux-gnu
ac_cv_host_alias=i686-pc-linux-gnu
ac_cv_objext=o
ac_cv_path_PKG_CONFIG=no
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CXX=c++
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc > ac_cv_prog_cxx_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_sys_file_offset_bitsd
ac_cv_sys_large_files=no
ac_cv_sys_largefile_CC=no
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=gcc3
am_cv_prog_cc_stdc >
## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /root/Installations/glib-2.4.2/missing --run aclocal-1.7'
ALLOCA=''
AMDEPBACKSLASH=''
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /root/Installations/glib-2.4.2/missing --run tar'
AR=''
AUTOCONF='${SHELL} /root/Installations/glib-2.4.2/missing --run autoconf'
AUTOHEADER='${SHELL} /root/Installations/glib-2.4.2/missing --run
autoheader'
AUTOMAKE='${SHELL} /root/Installations/glib-2.4.2/missing --run
automake-1.7'
AWK='gawk'
CATALOGS=''
CATOBJEXT=''
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CPP=''
CPPFLAGS=''
CROSS_COMPILING_FALSE=''
CROSS_COMPILING_TRUE=''
CXX='c++'
CXXCPP=''
CXXDEPMODE='depmode=gcc3'
CXXFLAGS='-g -O2'
CYGPATH_W='echo'
DATADIRNAME=''
DEFS=''
DEPDIR='.deps'
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_MAN_FALSE=''
ENABLE_MAN_TRUE=''
ENABLE_TIMELOOP_FALSE=''
ENABLE_TIMELOOP_TRUE=''
EXEEXT=''
F77=''
FFLAGS=''
GETTEXT_PACKAGE=''
GIO=''
GLIBC21=''
GLIB_BINARY_AGE='402'
GLIB_DEBUG_FLAGS=''
GLIB_DEF=''
GLIB_GENMARSHAL=''
GLIB_INTERFACE_AGE='2'
GLIB_MAJOR_VERSION='2'
GLIB_MICRO_VERSION='2'
GLIB_MINOR_VERSION='4'
GLIB_VERSION='2.4.2'
GMODULE_DEF=''
GMOFILES=''
GMSGFMT=''
GOBJECT_DEF=''
GSPAWN=''
GTHREAD_COMPILE_IMPL_DEFINES=''
GTHREAD_DEF=''
GTK_DOC_USE_LIBTOOL_FALSE=''
GTK_DOC_USE_LIBTOOL_TRUE=''
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_GOOD_PRINTF_FALSE=''
HAVE_GOOD_PRINTF_TRUE=''
HTML_DIR=''
ICONV_LIBS=''
INDENT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
INSTOBJEXT=''
INTLLIBS=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
LT_AGE='400'
LT_CURRENT='400'
LT_CURRENT_MINUS_AGE='0'
LT_RELEASE='2.4'
LT_REVISION='2'
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /root/Installations/glib-2.4.2/missing --run makeinfo'
MKINSTALLDIRS=''
MSGFMT=''
MS_LIB_AVAILABLE_FALSE=''
MS_LIB_AVAILABLE_TRUE='#'
OBJEXT='o'
OS_WIN32_FALSE=''
OS_WIN32_TRUE='#'
PACKAGE='glib'
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=glib'
PACKAGE_NAME='glib'
PACKAGE_STRING='glib 2.4.2'
PACKAGE_TARNAME='glib'
PACKAGE_VERSION='2.4.2'
PATH_SEPARATOR=':'
PERL=''
PERL_PATH=''
PKG_CONFIG='no'
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=''
TESTGMODULE_EXP=''
USE_NLS=''
VERSION='2.4.2'
XGETTEXT=''
XMLCATALOG=''
XML_CATALOG_FILE=''
XSLTPROC=''
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_F77=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE='#'
am__fastdepCXX_TRUE=''
am__include='include'
am__leading_dot='.'
am__quote=''
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${prefix}/share'
exec_prefix='NONE'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/root/Installations/glib-2.4.2/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
ms_librarian=''
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

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

#define GLIB_BINARY_AGE 402
#define GLIB_INTERFACE_AGE 2
#define GLIB_MAJOR_VERSION 2
#define GLIB_MICRO_VERSION 2
#define GLIB_MINOR_VERSION 4
#define G_COMPILED_WITH_DEBUGGING "minimum"
#define PACKAGE_BUGREPORT
"http://bugzilla.gnome.org/enter_bug.cgi?product=glib"
#define PACKAGE_NAME "glib"
#define PACKAGE_STRING "glib 2.4.2"
#define PACKAGE_TARNAME "glib"
#define PACKAGE_VERSION "2.4.2"
#define _FILE_OFFSET_BITS 64
#endif
#ifdef __cplusplus
extern "C" void std::exit (int) throw (); using std::exit;

configure: exit 1


Une régle lorsque l'on compile gnome et autre:
./configure --prefix=/usr --sysconfdir=/etc --localestatedir=/var
Sinon sa marche pas bien ! par defaut c'est /usr/local, mais le configure
recherche toujours dans /usr .


Avatar
Rakotomandimby Mihamina
pascal wrote:
Une régle lorsque l'on compile gnome et autre:
./configure --prefix=/usr --sysconfdir=/etc --localestatedir=/var
Sinon sa marche pas bien ! par defaut c'est /usr/local, mais le configure
recherche toujours dans /usr .


Evite de citer tois mille ligne pour en ecrire une, cela fait partie des
regles d'usage il me semble ...

Le --prefix n'indique en rien l'endroit ou il doit _chercher_ quoi que
ce soit.

Le --prefix la destination du binaire resultant.

Pour en revenir a nos moutons, ce n'est donc pas dans PATH mais dans
LD_LIBRARY_PATH que se passeraient les choses .

Quels repertoires sont listés dans LD_LIBRARY_PATH ?
--
Rakotomandimby Mihamina Andrianifaharana
Tel : +33 2 38 76 43 65
http://stko.dyndns.info/site_principal/Members/mihamina

Avatar
Oodini
Rakotomandimby Mihamina wrote:

Pour en revenir a nos moutons, ce n'est donc pas dans PATH mais dans
LD_LIBRARY_PATH que se passeraient les choses .

Quels repertoires sont listés dans LD_LIBRARY_PATH ?


echo $LD_LIBRARY_PATH
ne donne absolument rien.

Est-il supposé être dans /etc/profile, ou /root/.bash_profile ?
Parce qu'il n'est dans aucun des deux...

Avatar
pascal
On Sun, 13 Jun 2004 19:31:15 +0200, Rakotomandimby Mihamina wrote:

pascal wrote:
Une régle lorsque l'on compile gnome et autre:
./configure --prefix=/usr --sysconfdir=/etc --localestatedir=/var
Sinon sa marche pas bien ! par defaut c'est /usr/local, mais le configure
recherche toujours dans /usr .


Evite de citer tois mille ligne pour en ecrire une, cela fait partie des
regles d'usage il me semble ...
Désolé, j'ai pas fait gaffe...


Le --prefix n'indique en rien l'endroit ou il doit _chercher_ quoi que
ce soit.
Non, ce n'est pas rechercher, c'est installer les programmes là ou il

doivent être. /usr/local n'est pas un bon emplacement, sauf applis
spécifique isolé.

Le --prefix la destination du binaire resultant.

Pour en revenir a nos moutons, ce n'est donc pas dans PATH mais dans
LD_LIBRARY_PATH que se passeraient les choses .

Quels repertoires sont listés dans LD_LIBRARY_PATH ?


On peut forcer pkgconfig à être chercher à un emplacement, mais ca ne
résoud pas tout les problémes.


Avatar
pascal
On Sun, 13 Jun 2004 20:57:07 +0200, Oodini wrote:

Rakotomandimby Mihamina wrote:

Pour en revenir a nos moutons, ce n'est donc pas dans PATH mais dans
LD_LIBRARY_PATH que se passeraient les choses .

Quels repertoires sont listés dans LD_LIBRARY_PATH ?


echo $LD_LIBRARY_PATH
ne donne absolument rien.

Est-il supposé être dans /etc/profile, ou /root/.bash_profile ?
Parce qu'il n'est dans aucun des deux...
pkg-config est un utilitaire qui permet de connaitre les paramétres de

compilation d'une librairie.
un 'which pkg-config' doit indiquer '/usr/bin/pkg-config'


Avatar
Oodini
pascal wrote:

echo $LD_LIBRARY_PATH
ne donne absolument rien.

Est-il supposé être dans /etc/profile, ou /root/.bash_profile ?
Parce qu'il n'est dans aucun des deux...


pkg-config est un utilitaire qui permet de connaitre les paramétres de
compilation d'une librairie.
un 'which pkg-config' doit indiquer '/usr/bin/pkg-config'


Chez moi, ça donne:

/usr/bin/which: no pkg-config in
(/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/lib:/root/bin:/usr/lib/pkgconfig)


Avatar
pascal
On Sun, 13 Jun 2004 21:32:36 +0200, Oodini wrote:

pascal wrote:


pkg-config est un utilitaire qui permet de connaitre les paramétres de
compilation d'une librairie.
un 'which pkg-config' doit indiquer '/usr/bin/pkg-config'


Chez moi, ça donne:

/usr/bin/which: no pkg-config in
(/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/lib:/root/bin:/usr/lib/pkgconfig)


Tu as desinstaller pkgconfig et resinstaller. Ce sont des rpm ?
Ou à partir des sources ?


1 2