On Monday 02 June 2003 5:30 pm, Philipp Thomas wrote:
Jason Lotito
[Mon, 02 Jun 2003 00:41:47 -0400]: checking for ANSI C header files... yes ./configure: line 3988: syntax error near unexpected token `PACKAGE,' ./configure: line 3988: `PKG_CHECK_MODULES(PACKAGE, $pkg_modules)'
For any further help I definitely need info you should have provided (at least in part) in the first place:
- version of SuSE Linux you're trying to get this to work - version of GLADE - tarball or .src.rpm and from where you fetched it.
As I mentioned in my previous email, SuSE 8.2 with the latest installs. Glade 2.0 from the glade website, the default install. Thought I was clear enough about this, "in the first place."
- for problems with autoconf the relevant part of config.log.
Not sure which part is relevant, or else I could probably solve the problem
myself. But since you asked for it...
-- START FILE --
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.57. Invocation command line was
$ ./configure --enable-maintainer-mode
## --------- ##
## Platform. ##
## --------- ##
hostname = bambam
uname -m = i686
uname -r = 2.4.20-4GB-athlon
uname -s = Linux
uname -v = #1 Mon Mar 17 17:56:47 UTC 2003
/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: /usr/X11R6/bin
PATH: /bin
PATH: /usr/games
PATH: /opt/gnome2/bin
PATH: /opt/gnome/bin
PATH: /opt/kde3/bin
PATH: /usr/lib/java/bin
PATH: /opt/gnome/bin
PATH: .
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1268: checking for a BSD-compatible install
configure:1322: result: /usr/bin/install -c
configure:1333: checking whether build environment is sane
configure:1376: result: yes
configure:1409: checking for gawk
configure:1425: found /usr/bin/gawk
configure:1435: result: gawk
configure:1445: checking whether make sets $(MAKE)
configure:1465: result: yes
configure:1622: checking whether to enable maintainer-specific portions of
Makefiles
configure:1631: result: yes
configure:1667: checking for style of include used by make
configure:1695: result: GNU
configure:1766: checking for gcc
configure:1782: found /usr/bin/gcc
configure:1792: result: gcc
configure:2036: checking for C compiler version
configure:2039: gcc --version &5
gcc (GCC) 3.3 20030226 (prerelease) (SuSE Linux)
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:2042: $? = 0
configure:2044: gcc -v &5
Reading specs from /usr/lib/gcc-lib/i486-suse-linux/3.3/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr
--with-local-prefix=/usr/local --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib
--enable-languages=c,c++,f77,objc,java,ada --disable-checking --enable-libgcj
--with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib
--with-system-zlib --enable-shared --enable-__cxa_atexit i486-suse-linux
Thread model: posix
gcc version 3.3 20030226 (prerelease) (SuSE Linux)
configure:2047: $? = 0
configure:2049: gcc -V &5
gcc: `-V' option must have argument
configure:2052: $? = 1
configure:2076: checking for C compiler default output
configure:2079: gcc conftest.c >&5
configure:2082: $? = 0
configure:2128: result: a.out
configure:2133: checking whether the C compiler works
configure:2139: ./a.out
configure:2142: $? = 0
configure:2159: result: yes
configure:2166: checking whether we are cross compiling
configure:2168: result: no
configure:2171: checking for suffix of executables
configure:2173: gcc -o conftest conftest.c >&5
configure:2176: $? = 0
configure:2201: result:
configure:2207: checking for suffix of object files
configure:2229: gcc -c conftest.c >&5
configure:2232: $? = 0
configure:2254: result: o
configure:2258: checking whether we are using the GNU C compiler
configure:2283: gcc -c conftest.c >&5
configure:2286: $? = 0
configure:2289: test -s conftest.o
configure:2292: $? = 0
configure:2305: result: yes
configure:2311: checking whether gcc accepts -g
configure:2333: gcc -c -g conftest.c >&5
configure:2336: $? = 0
configure:2339: test -s conftest.o
configure:2342: $? = 0
configure:2353: result: yes
configure:2370: checking for gcc option to accept ANSI C
configure:2431: gcc -c -g -O2 conftest.c >&5
configure:2434: $? = 0
configure:2437: test -s conftest.o
configure:2440: $? = 0
configure:2458: result: none needed
configure:2476: gcc -c -g -O2 conftest.c >&5
conftest.c:2: error: parse error before "me"
configure:2479: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:2590: checking dependency style of gcc
configure:2652: result: gcc3
configure:2671: checking for strerror in -lcposix
configure:2702: gcc -o conftest -g -O2 conftest.c -lcposix >&5
/usr/lib/gcc-lib/i486-suse-linux/3.3/../../../../i486-suse-linux/bin/ld:
cannot find -lcposix
collect2: ld returned 1 exit status
configure:2705: $? = 1
configure: failed program was:
| #line 2678 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "cerealblog"
| #define VERSION "0.1"
| /* end confdefs.h. */
|
| /* Override any gcc2 internal prototype to avoid an error. */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char strerror ();
| int
| main ()
| {
| strerror ();
| ;
| return 0;
| }
configure:2723: result: no
configure:2777: checking for gcc
configure:2803: result: gcc
configure:3047: checking for C compiler version
configure:3050: gcc --version &5
gcc (GCC) 3.3 20030226 (prerelease) (SuSE Linux)
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:3053: $? = 0
configure:3055: gcc -v &5
Reading specs from /usr/lib/gcc-lib/i486-suse-linux/3.3/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr
--with-local-prefix=/usr/local --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib
--enable-languages=c,c++,f77,objc,java,ada --disable-checking --enable-libgcj
--with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib
--with-system-zlib --enable-shared --enable-__cxa_atexit i486-suse-linux
Thread model: posix
gcc version 3.3 20030226 (prerelease) (SuSE Linux)
configure:3058: $? = 0
configure:3060: gcc -V &5
gcc: `-V' option must have argument
configure:3063: $? = 1
configure:3066: checking whether we are using the GNU C compiler
configure:3113: result: yes
configure:3119: checking whether gcc accepts -g
configure:3161: result: yes
configure:3178: checking for gcc option to accept ANSI C
configure:3266: result: none needed
configure:3284: gcc -c -g -O2 conftest.c >&5
conftest.c:2: error: parse error before "me"
configure:3287: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:3398: checking dependency style of gcc
configure:3460: result: gcc3
configure:3480: checking for gcc option to accept ANSI C
configure:3544: gcc -c -g -O2 conftest.c >&5
configure:3547: $? = 0
configure:3550: test -s conftest.o
configure:3553: $? = 0
configure:3568: result: none needed
configure:3584: checking how to run the C preprocessor
configure:3620: gcc -E conftest.c
configure:3626: $? = 0
configure:3658: gcc -E conftest.c
configure:3659:28: ac_nonexistent.h: No such file or directory
configure:3664: $? = 1
configure: failed program was:
| #line 3649 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "cerealblog"
| #define VERSION "0.1"
| /* end confdefs.h. */
| #include
How else is anybody here supposed to check for themselves, given that working crystal balls are a very rare thing?
They could start by reading the original email. Then they could then ask for what information wasn't provided, minus the sarcasm. Jason