[Glade-users] Error on autogen.sh



Hi.

For the first. I'm not a real programmer. But I want to play a little 
bit with C.

I have written some Python scripts that use Glade interfaces. So I think 
it's easier to start my tests with C with GTK+.

But after I created a GUI and letz Glade-2 generated the code and all 
other file I execute ./autogen.sh and get this error.

[See at the bottom because I have inserte the complete output of autogen.sh]

If I use "autogen.sh PKG_CONF=/usr" it works and I can enter make. But 
in this case make (or gcc) can'f find the needed header files.

I'm very helpless. :(

I doesn't know what's wrong. And I haven't found someone who can help 
me. So I hope I find help on this list.

regards
Marcus

Here the output:
$ LC_ALL=C autogen.sh
**Warning**: I am going to run `configure' with no arguments.
If you wish to pass any to it, please specify them on the
`./autogen.sh' command line.

processing .
Creating ./aclocal.m4 ...
Running glib-gettextize...  Ignore non-fatal messages.
Copying file mkinstalldirs
Copying file po/Makefile.in.in

Please add the files
  codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
  progtest.m4
from the /usr/share/aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.

Making ./aclocal.m4 writable ...
Running aclocal  ...
/usr/share/aclocal/xmms.m4:17: warning: underquoted definition of 
XMMS_TEST_VERSION
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/xmms.m4:62: warning: underquoted definition of 
AM_PATH_XMMS
/usr/share/aclocal/pilot-link.m4:1: warning: underquoted definition of 
AC_PILOT_LINK_HOOK
/usr/share/aclocal/nspr.m4:8: warning: underquoted definition of 
AM_PATH_NSPR
/usr/share/aclocal/libmikmod.m4:11: warning: underquoted definition of 
AM_PATH_LIBMIKMOD
/usr/share/aclocal/imlib.m4:9: warning: underquoted definition of 
AM_PATH_IMLIB
/usr/share/aclocal/imlib.m4:167: warning: underquoted definition of 
AM_PATH_GDK_IMLIB
/usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of 
AM_PATH_GLIB
/usr/share/aclocal/gimpprint.m4:8: warning: underquoted definition of 
AM_PATH_GIMPPRINT
/usr/share/aclocal/gdk-pixbuf.m4:12: warning: underquoted definition of 
AM_PATH_GDK_PIXBUF
/usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of 
AM_PATH_AUDIOFILE
/usr/share/aclocal/aalib.m4:12: warning: underquoted definition of 
AM_PATH_AALIBRunning autoheader...
Running automake --gnu  ...
configure.in: installing `./install-sh'
configure.in: installing `./missing'
src/Makefile.am: installing `./depcomp'
Makefile.am: installing `./INSTALL'
Makefile.am: installing `./COPYING'
Running autoconf ...
Running ./configure --enable-maintainer-mode ...
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... 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 gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PACKAGE... configure: error: The pkg-config script could 
not be found or is too old.  Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

Alternatively you may set the PACKAGE_CFLAGS and PACKAGE_LIBS 
environment variables
to avoid the need to call pkg-config.  See the pkg-config man page for
more details.

To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
See `config.log' for more details.

<$ cat 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.59.  Invocation command line was

  $ ./configure --enable-maintainer-mode

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

hostname = rechner
uname -m = i686
uname -r = 2.6.12-fw1
uname -s = Linux
uname -v = #1 SMP Sat Jun 18 13:06:08 CEST 2005

/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/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/X11R6/bin
PATH: /usr/games
PATH: /usr/lib/j2re/bin
PATH: /usr/lib/j2sdk/bin
PATH: /usr/bin
PATH: /usr/lib/qt/bin
PATH: .


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

configure:1356: checking for a BSD-compatible install
configure:1411: result: /usr/bin/ginstall -c
configure:1422: checking whether build environment is sane
configure:1465: result: yes
configure:1530: checking for gawk
configure:1546: found /usr/bin/gawk
configure:1556: result: gawk
configure:1566: checking whether make sets $(MAKE)
configure:1586: result: yes
configure:1756: checking whether to enable maintainer-specific portions 
of Makefiles
configure:1765: result: yes
configure:1793: checking for style of include used by make
configure:1821: result: GNU
configure:1892: checking for gcc
configure:1908: found /usr/bin/gcc
configure:1918: result: gcc
configure:2162: checking for C compiler version
configure:2165: gcc --version </dev/null >&5
gcc (GCC) 3.4.4
Copyright (C) 2004 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:2168: $? = 0
configure:2170: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/specs
Configured with: ../gcc-3.4.4/configure --prefix=/usr --enable-shared 
--enable-languages=c,c++,objc,java --enable-threads=posix 
--enable-__cxa_atexit
Thread model: posix
gcc version 3.4.4
configure:2173: $? = 0
configure:2175: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:2178: $? = 1
configure:2201: checking for C compiler default output file name
configure:2204: gcc    conftest.c  >&5
configure:2207: $? = 0
configure:2253: result: a.out
configure:2258: checking whether the C compiler works
configure:2264: ./a.out
configure:2267: $? = 0
configure:2284: result: yes
configure:2291: checking whether we are cross compiling
configure:2293: result: no
configure:2296: checking for suffix of executables
configure:2298: gcc -o conftest    conftest.c  >&5
configure:2301: $? = 0
configure:2326: result:
configure:2332: checking for suffix of object files
configure:2353: gcc -c   conftest.c >&5
configure:2356: $? = 0
configure:2378: result: o
configure:2382: checking whether we are using the GNU C compiler
configure:2406: gcc -c   conftest.c >&5
configure:2412: $? = 0
configure:2416: test -z
             || test ! -s conftest.err
configure:2419: $? = 0
configure:2422: test -s conftest.o
configure:2425: $? = 0
configure:2438: result: yes
configure:2444: checking whether gcc accepts -g
configure:2465: gcc -c -g  conftest.c >&5
configure:2471: $? = 0
configure:2475: test -z
             || test ! -s conftest.err
configure:2478: $? = 0
configure:2481: test -s conftest.o
configure:2484: $? = 0
configure:2495: result: yes
configure:2512: checking for gcc option to accept ANSI C
configure:2582: gcc  -c -g -O2  conftest.c >&5
configure:2588: $? = 0
configure:2592: test -z
             || test ! -s conftest.err
configure:2595: $? = 0
configure:2598: test -s conftest.o
configure:2601: $? = 0
configure:2619: result: none needed
configure:2637: gcc -c -g -O2  conftest.c >&5
conftest.c:2: error: parse error before "me"
configure:2643: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:2778: checking dependency style of gcc
configure:2868: result: gcc3
configure:2886: checking for library containing strerror
configure:2916: gcc -o conftest -g -O2   conftest.c  >&5
configure:2922: $? = 0
configure:2926: test -z
             || test ! -s conftest.err
configure:2929: $? = 0
configure:2932: test -s conftest
configure:2935: $? = 0
configure:3005: result: none required
configure:3058: checking for gcc
configure:3084: result: gcc
configure:3328: checking for C compiler version
configure:3331: gcc --version </dev/null >&5
gcc (GCC) 3.4.4
Copyright (C) 2004 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:3334: $? = 0
configure:3336: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/specs
Configured with: ../gcc-3.4.4/configure --prefix=/usr --enable-shared 
--enable-languages=c,c++,objc,java --enable-threads=posix 
--enable-__cxa_atexit
Thread model: posix
gcc version 3.4.4
configure:3339: $? = 0
configure:3341: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:3344: $? = 1
configure:3347: checking whether we are using the GNU C compiler
configure:3403: result: yes
configure:3409: checking whether gcc accepts -g
configure:3460: result: yes
configure:3477: checking for gcc option to accept ANSI C
configure:3584: result: none needed
configure:3602: gcc -c -g -O2  conftest.c >&5
conftest.c:2: error: parse error before "me"
configure:3608: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:3743: checking dependency style of gcc
configure:3833: result: gcc3
configure:3896: checking for gcc
configure:3922: result: gcc
configure:4166: checking for C compiler version
configure:4169: gcc --version </dev/null >&5
gcc (GCC) 3.4.4
Copyright (C) 2004 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:4172: $? = 0
configure:4174: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/specs
Configured with: ../gcc-3.4.4/configure --prefix=/usr --enable-shared 
--enable-languages=c,c++,objc,java --enable-threads=posix 
--enable-__cxa_atexit
Thread model: posix
gcc version 3.4.4
configure:4177: $? = 0
configure:4179: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:4182: $? = 1
configure:4185: checking whether we are using the GNU C compiler
configure:4241: result: yes
configure:4247: checking whether gcc accepts -g
configure:4298: result: yes
configure:4315: checking for gcc option to accept ANSI C
configure:4422: result: none needed
configure:4440: gcc -c -g -O2  conftest.c >&5
conftest.c:2: error: parse error before "me"
configure:4446: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:4581: checking dependency style of gcc
configure:4671: result: gcc3
configure:4696: checking how to run the C preprocessor
configure:4731: gcc -E  conftest.c
configure:4737: $? = 0
configure:4769: gcc -E  conftest.c
conftest.c:11:28: ac_nonexistent.h: No such file or directory
configure:4775: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "my-test"
| #define VERSION "0.1"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4814: result: gcc -E
configure:4838: gcc -E  conftest.c
configure:4844: $? = 0
configure:4876: gcc -E  conftest.c
conftest.c:11:28: ac_nonexistent.h: No such file or directory
configure:4882: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "my-test"
| #define VERSION "0.1"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4926: checking for egrep
configure:4936: result: grep -E
configure:4941: checking for ANSI C header files
configure:4966: gcc -c -g -O2  conftest.c >&5
configure:4972: $? = 0
configure:4976: test -z
             || test ! -s conftest.err
configure:4979: $? = 0
configure:4982: test -s conftest.o
configure:4985: $? = 0
configure:5074: gcc -o conftest -g -O2   conftest.c  >&5
configure:5077: $? = 0
configure:5079: ./conftest
configure:5082: $? = 0
configure:5097: result: yes
configure:5157: checking for pkg-config
configure:5175: found /usr/bin/pkg-config
configure:5187: result: /usr/bin/pkg-config
configure:5202: checking pkg-config is at least version 0.9.0
configure:5205: result: yes
configure:5216: checking for PACKAGE
configure:5221: $PKG_CONFIG --exists --print-errors "$pkg_modules"
configure:5224: $? = 0
configure:5234: $PKG_CONFIG --exists --print-errors "$pkg_modules"
configure:5237: $? = 0
configure:5276: error: The pkg-config script could not be found or is 
too old.  Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

Alternatively you may set the PACKAGE_CFLAGS and PACKAGE_LIBS 
environment variables
to avoid the need to call pkg-config.  See the pkg-config man page for
more details.

To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
See `config.log' for more details.

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

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_PACKAGE_CFLAGS_set=
ac_cv_env_PACKAGE_CFLAGS_value=
ac_cv_env_PACKAGE_LIBS_set=
ac_cv_env_PACKAGE_LIBS_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_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_stdc=yes
ac_cv_objext=o
ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config
ac_cv_path_install='/usr/bin/ginstall -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_egrep='grep -E'
ac_cv_prog_make_make_set=yes
ac_cv_search_strerror='none required'
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_prog_cc_stdc=
pkg_cv_PACKAGE_CFLAGS='-DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API 
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include 
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 
-I/usr/include/freetype2/config -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include  '
pkg_cv_PACKAGE_LIBS='-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 
-lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 
-lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0  '

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

ACLOCAL='${SHELL} /home/marcus/my-test/missing --run aclocal-1.9'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/marcus/my-test/missing --run tar'
AUTOCONF='${SHELL} /home/marcus/my-test/missing --run autoconf'
AUTOHEADER='${SHELL} /home/marcus/my-test/missing --run autoheader'
AUTOMAKE='${SHELL} /home/marcus/my-test/missing --run automake-1.9'
AWK='gawk'
CATALOGS=''
CATOBJEXT=''
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CPP='gcc -E'
CPPFLAGS=''
CYGPATH_W='echo'
DATADIRNAME=''
DEFS=''
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='grep -E'
EXEEXT=''
GETTEXT_PACKAGE=''
GMOFILES=''
GMSGFMT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
INSTOBJEXT=''
INTLLIBS=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAINT=''
MAINTAINER_MODE_FALSE='#'
MAINTAINER_MODE_TRUE=''
MAKEINFO='${SHELL} /home/marcus/my-test/missing --run makeinfo'
MKINSTALLDIRS=''
MSGFMT=''
OBJEXT='o'
PACKAGE='my-test'
PACKAGE_BUGREPORT=''
PACKAGE_CFLAGS=''
PACKAGE_LIBS=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PKG_CONFIG='/usr/bin/pkg-config'
POFILES=''
POSUB=''
PO_IN_DATADIR_FALSE=''
PO_IN_DATADIR_TRUE=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
USE_NLS=''
VERSION='0.1'
XGETTEXT=''
ac_ct_CC='gcc'
ac_ct_STRIP=''
ac_pt_PKG_CONFIG='/usr/bin/pkg-config'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${prefix}/share'
exec_prefix='NONE'
host_alias=''
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/home/marcus/my-test/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p --'
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 PACKAGE "my-test"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define STDC_HEADERS 1
#define VERSION "0.1"

configure: exit 1

        

        
                
___________________________________________________________ 
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]