I'm trying to install gnome 2.0 from source, and having trouble compiling. After many attempts,changing the prefix, paths, etc, even copying my pkgconfig directory to /usr/bin/, I'm at wit's end. I have all the glib 2 libs and devel libs, pkgconfig, - in short, everything needed to compile innstalled, but always get the same error. I've searched the newsgroups, and tried everything suggested there. Obviously, it's not finding the glibc libs, but I don't know what else to do. Any ideas out there? Below is my last attempt at the first gnome directory (atk-1.0.2), with the last prefix I tried (among many)- it's always the same error. (here's my etc/ld.so.conf file- I added the last line, as that's where pkgconfig is in Mandrake 8.2- should I add another line with a different path?) Also, what's the deal with running /sbin/ldconfig? Do I have to do this? I just changed the line as root, as I've done in other /etc/ files before. Does the ldconfig update other paths, and that's the reason some say to do it?
Thanks,
wrc1944
/usr/X11R6/lib
/usr/lib/qt2/lib
/usr/lib/qt3/lib
/opt/kde3/lib/
/usr/lib/pkgconfig
----------------------------------------------------------------
THIS IS THE BEGINNING OF MY LAST, OF MANY, CONFIGURE RUNS:
[root@localhost atk-1.0.2]# ./configure includedir=/usr/include
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... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
----------------------------------------------------------
THIS IS THE END OF THE OUPUT, WHERE THE ERROR OCCURRS:
creating libtool
checking for Win32... no
checking for aclocal flags...
checking for pkg-config... /usr/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/.
[root@localhost atk-1.0.2]#
-----------------------------------------------------------------
CONFIG.LOG (I'm just showing the top, and the error lines for space considerations)
It was created by configure, which was
generated by GNU Autoconf 2.53. Invocation command line was
$ ./configure prefix=/usr/lib/glib-2.0/include
## --------- ##
## Platform. ##
## --------- ##
hostname = localhost.localdomain
uname -m = i686
uname -r = 2.4.18-6mdk
uname -s = Linux
uname -v = #1 Fri Mar 15 02:59:08 CET 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: /sbin
PATH: /usr/sbin
PATH: /bin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /usr/local/bin
PATH: /usr/local/sbin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1438: checking for a BSD-compatible install
configure:1492: result: /usr/bin/install -c
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.........(the file goes on and on-wrc1944- next are the error lines)
configure:2335: gcc -c -g -O2 conftest.c >&5
conftest.c:2: parse error before `me'
configure:2338: $? = 1
configure: failed program was:
#ifndef __cplusplus
choke me
#endif
configure:2521: checking build system type
configure:2539: result: i686-pc-linux-gnu
configure:3197: $? = 1
configure: failed program was:
#line 3186 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:3234: result: gcc -E
configure:3288: $? = 1
configure: failed program was:
#line 3277 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:3328: checking for ANSI C header 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: gcc -E conftest.c
configure:7473: $? = 1
configure: failed program was:
#line 7448 "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:7508: 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=i686-pc-linux-gnu
ac_cv_build_alias=i686-pc-linux-gnu
ac_cv_c_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_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_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=yes
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=i686-pc-linux-gnu
ac_cv_host_alias=i686-pc-linux-gnu
ac_cv_objext=o
ac_cv_path_PKG_CONFIG=/usr/bin/pkg-config
ac_cv_path_install=$'/usr/bin/install -c'
ac_cv_prog_CPP=$'gcc -E'
ac_cv_prog_ac_ct_CC=gcc
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=no
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=$'/lib/libc.so.6 /lib/libc-2.2.4.so'
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/bin/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_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_DLFCN_H 1
configure: exit 1