Trying to compile Gnu Privacy Assistant

Trying to compile Gnu Privacy Assistant

Post by sff » Mon, 05 May 2003 17:34:54



I'm trying to compile GnuPA and its failing. It says "configure: error:
Cannot find GTK+ 2.0"
But I have GTK 2.0 installed on my Mandrake 9.1. What gtk file is it
looking for?
I've attached the config log file for more info.

Thanks

Syed Feruz

[ config.log 34K ]
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by gpa configure 0.6.1, which was
generated by GNU Autoconf 2.57.  Invocation command line was

  $ ./configure

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

hostname = xxxxx
uname -m = i686
uname -r = 2.4.21-0.13mdk
uname -s = Linux
uname -v = #1 Fri Mar 14 15:08:06 EST 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: /bin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /usr/games
PATH: /home/syedferuz/bin

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

configure:1344: checking for a BSD-compatible install
configure:1398: result: /usr/bin/install -c
configure:1409: checking whether build environment is sane
configure:1452: result: yes
configure:1485: checking for gawk
configure:1501: found /bin/gawk
configure:1511: result: gawk
configure:1521: checking whether make sets $(MAKE)
configure:1541: result: yes
configure:1725: checking whether to enable maintainer-specific portions of Makefiles
configure:1734: result: no
configure:1770: checking for style of include used by make
configure:1798: result: GNU
configure:1869: checking for gcc
configure:1885: found /usr/bin/gcc
configure:1895: result: gcc
configure:2139: checking for C compiler version
configure:2142: gcc --version </dev/null >&5
gcc (GCC) 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk)
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:2145: $? = 0
configure:2147: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/specs
Configured with: ../configure --prefix=/usr --libdir=/usr/lib --with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --enable-long-long --enable-__cxa_atexit --enable-languages=c,c++,ada,f77,objc,java --host=i586-mandrake-linux-gnu --with-system-zlib
Thread model: posix
gcc version 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk)
configure:2150: $? = 0
configure:2152: gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure:2155: $? = 1
configure:2179: checking for C compiler default output
configure:2182: gcc    conftest.c  >&5
configure:2185: $? = 0
configure:2231: result: a.out
configure:2236: checking whether the C compiler works
configure:2242: ./a.out
configure:2245: $? = 0
configure:2262: result: yes
configure:2269: checking whether we are cross compiling
configure:2271: result: no
configure:2274: checking for suffix of executables
configure:2276: gcc -o conftest    conftest.c  >&5
configure:2279: $? = 0
configure:2304: result:
configure:2310: checking for suffix of object files
configure:2332: gcc -c   conftest.c >&5
configure:2335: $? = 0
configure:2357: result: o
configure:2361: checking whether we are using the GNU C compiler
configure:2386: gcc -c   conftest.c >&5
configure:2389: $? = 0
configure:2392: test -s conftest.o
configure:2395: $? = 0
configure:2408: result: yes
configure:2414: checking whether gcc accepts -g
configure:2436: gcc -c -g  conftest.c >&5
configure:2439: $? = 0
configure:2442: test -s conftest.o
configure:2445: $? = 0
configure:2456: result: yes
configure:2473: checking for gcc option to accept ANSI C
configure:2534: gcc  -c -g -O2  conftest.c >&5
configure:2537: $? = 0
configure:2540: test -s conftest.o
configure:2543: $? = 0
configure:2561: result: none needed
configure:2579: gcc -c -g -O2  conftest.c >&5
conftest.c:2: parse error before "me"
configure:2582: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:2693: checking dependency style of gcc
configure:2755: result: gcc3
configure:2774: checking for sin in -lm
configure:2805: gcc -o conftest -g -O2   conftest.c -lm   >&5
configure:2801: warning: conflicting types for built-in function `sin'
configure:2808: $? = 0
configure:2811: test -s conftest
configure:2814: $? = 0
configure:2826: result: yes
configure:2838: checking for compress in -lz
configure:2869: gcc -o conftest -g -O2   conftest.c -lz  -lm  >&5
configure:2872: $? = 0
configure:2875: test -s conftest
configure:2878: $? = 0
configure:2890: result: yes
configure:2905: checking for strsep
configure:2955: gcc -o conftest -g -O2   conftest.c -lz -lm  >&5
configure:2958: $? = 0
configure:2961: test -s conftest
configure:2964: $? = 0
configure:2975: result: yes
configure:3156: checking for gcc
configure:3182: result: gcc
configure:3426: checking for C compiler version
configure:3429: gcc --version </dev/null >&5
gcc (GCC) 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk)
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:3432: $? = 0
configure:3434: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/specs
Configured with: ../configure --prefix=/usr --libdir=/usr/lib --with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --enable-long-long --enable-__cxa_atexit --enable-languages=c,c++,ada,f77,objc,java --host=i586-mandrake-linux-gnu --with-system-zlib
Thread model: posix
gcc version 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk)
configure:3437: $? = 0
configure:3439: gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure:3442: $? = 1
configure:3445: checking whether we are using the GNU C compiler
configure:3492: result: yes
configure:3498: checking whether gcc accepts -g
configure:3540: result: yes
configure:3557: checking for gcc option to accept ANSI C
configure:3645: result: none needed
configure:3663: gcc -c -g -O2  conftest.c >&5
conftest.c:2: parse error before "me"
configure:3666: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:3777: checking dependency style of gcc
configure:3839: result: gcc3
configure:3857: checking for strerror in -lcposix
configure:3888: gcc -o conftest -g -O2   conftest.c -lcposix  -lz -lm  >&5
/usr/bin/ld: cannot find -lcposix
collect2: ld returned 1 exit status
configure:3891: $? = 1
configure: failed program was:
| #line 3864 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "gpa"
| #define PACKAGE_TARNAME "gpa"
| #define PACKAGE_VERSION "0.6.1"
| #define PACKAGE_STRING "gpa 0.6.1"
| #define PACKAGE_BUGREPORT "bug-...@gnupg.org"
| #define PACKAGE "gpa"
| #define VERSION "0.6.1"
| #define PACKAGE "gpa"
| #define VERSION "0.6.1"
| #define PACKAGE_BUGREPORT "bug-...@gnupg.org"
| #define HAVE_LIBM 1
| #define HAVE_LIBZ 1
| #define HAVE_STRSEP 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:3909: result: no
configure:3922: checking how to run the C preprocessor
configure:3958: gcc -E  conftest.c
configure:3964: $? = 0
configure:3996: gcc -E  conftest.c
configure:4003:28: ac_nonexistent.h: No such file or directory
configure:4002: $? = 1
configure: failed program was:
| #line 3987 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "gpa"
| #define PACKAGE_TARNAME "gpa"
| #define PACKAGE_VERSION "0.6.1"
| #define PACKAGE_STRING "gpa 0.6.1"
| #define PACKAGE_BUGREPORT "bug-...@gnupg.org"
| #define PACKAGE "gpa"
| #define VERSION "0.6.1"
| #define PACKAGE "gpa"
| #define VERSION "0.6.1"
| #define PACKAGE_BUGREPORT "bug-...@gnupg.org"
| #define HAVE_LIBM 1
| #define HAVE_LIBZ 1
| #define HAVE_STRSEP 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4040: result: gcc -E
configure:4065: gcc -E  conftest.c
configure:4071: $? = 0
configure:4103: gcc -E  conftest.c
configure:4110:28: ac_nonexistent.h: No such file or directory
configure:4109: $? = 1
configure: failed program was:
| #line 4094 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "gpa"
| #define PACKAGE_TARNAME "gpa"
| #define PACKAGE_VERSION "0.6.1"
| #define PACKAGE_STRING "gpa 0.6.1"
| #define PACKAGE_BUGREPORT "bug-...@gnupg.org"
| #define PACKAGE "gpa"
| #define VERSION "0.6.1"
| #define PACKAGE "gpa"
| #define VERSION "0.6.1"
| #define PACKAGE_BUGREPORT "bug-...@gnupg.org"
| #define HAVE_LIBM 1
| #define HAVE_LIBZ 1
| #define HAVE_STRSEP 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4152: checking for egrep
configure:4162: result: grep -E
configure:4167: checking for ANSI C header files
configure:4193: gcc -c -g -O2  conftest.c >&5
configure:4196: $? = 0
configure:4199: test -s conftest.o
configure:4202: $? = 0
configure:4291: gcc -o conftest -g -O2   conftest.c -lz -lm  >&5
configure:4294: $? = 0
configure:4296: ./conftest
configure:4299: $? = 0
configure:4314: result: yes
configure:4365: checking for ranlib
configure:4381: found /usr/bin/ranlib
configure:4392: result: ranlib
configure:4408: checking for gpg
configure:4426: found /usr/bin/gpg
configure:4438: result: /usr/bin/gpg
configure:4464: checking for gpgkeys_ldap
configure:4496: result: ${exec_prefix}/libexec/gnupg/gpgkeys_ldap
configure:4532: checking for msgfmt
configure:4560: result: /usr/bin/msgfmt
configure:4569: checking for gmsgfmt
configure:4600: result: /usr/bin/msgfmt
configure:4610: checking for xgettext
configure:4638: result: /usr/bin/xgettext
configure:4649: checking for msgmerge
configure:4676: result: /usr/bin/msgmerge
configure:4717: checking build system type ...

read more »

 
 
 

Trying to compile Gnu Privacy Assistant

Post by David Co » Mon, 05 May 2003 18:07:52



> I'm trying to compile GnuPA and its failing. It says "configure: error:
> Cannot find GTK+ 2.0"
> But I have GTK 2.0 installed on my Mandrake 9.1. What gtk file is it
> looking for?
> I've attached the config log file for more info.

Have you installed all required *-devel rpm's? Only the run-time
libraries are installed by defaul; you need the library and include
headers to rebuild.

 
 
 

Trying to compile Gnu Privacy Assistant

Post by sff » Mon, 05 May 2003 18:25:14


Do i install all the "libgtk...." packages? there are like 20 of those
that i haven't installed.
What about the "perl-GTK...."
Which are required?

SFF



>> I'm trying to compile GnuPA and its failing. It says "configure:
>> error: Cannot find GTK+ 2.0"
>> But I have GTK 2.0 installed on my Mandrake 9.1. What gtk file is it
>> looking for?
>> I've attached the config log file for more info.

> Have you installed all required *-devel rpm's? Only the run-time
> libraries are installed by defaul; you need the library and include
> headers to rebuild.

 
 
 

Trying to compile Gnu Privacy Assistant

Post by sff » Mon, 05 May 2003 18:56:24


I installed a couple of "libgtk..." packages  and its ok now

Thanks



>> I'm trying to compile GnuPA and its failing. It says "configure:
>> error: Cannot find GTK+ 2.0"
>> But I have GTK 2.0 installed on my Mandrake 9.1. What gtk file is it
>> looking for?
>> I've attached the config log file for more info.

> Have you installed all required *-devel rpm's? Only the run-time
> libraries are installed by defaul; you need the library and include
> headers to rebuild.

 
 
 

1. Compiling GNU C+ GNU 77

Hi Everyone,

I would like to find out the difference(s) in configuring the gcc-2.7.2.7
along with g77-0.5.20.  If I included an 'i586-linux' switch at the end of
the configuration command line as shown below,  it crashes at stage1:

++++++

  r=/usr/include/g++ i586-linux
  Using `./config/i386/i386.c' to output insns.
  Using `./config/i386/i386.md' as machine description file.
  Using `./config/i386/linux.h' as target machine macro file.
  Using `./config/i386/xm-linux.h' as host machine macro file.
  Merged x-linux.
  Merged c++ f77 fragment(s).
  Created `./Makefile'.
  Merged x-linux.
  Created `cp/Makefile'.
  Merged x-linux.
  Created `f/Makefile'.
  Links are now set up to build a native compiler for i586-unknown-linux.
++++++

and it said that the links are setup for i586-unknown-linux.  However, if
I did not include the 'i586-linux' swith at the end of the configuration
command line, the compilation does not produce any error, i.e. I get the
gcc, g++, and g77 compilers.  If I look at the output of both configuration,
I noticed that the configuration without 'i586-linux' switch merges with
x-linux-aout and t-linux-libc1 as shown below:

++++++

  r=/usr/include/g++
  This appears to be a i586-unknown-linuxlibc1 system.
  Using `./config/i386/i386.c' to output insns.
  Using `./config/i386/i386.md' as machine description file.
  Using `./config/i386/linux.h' as target machine macro file.
  Using `./config/i386/xm-linux.h' as host machine macro file.
  Merged x-linux-aout.
  Merged t-linux-libc1.
  Merged c++ f77 fragment(s).
  Created `./Makefile'.
  Merged x-linux-aout.
  Merged t-linux-libc1.
  Created `cp/Makefile'.
  Merged x-linux-aout.
  Merged t-linux-libc1.
  Created `f/Makefile'.
  Links are now set up to build a native compiler for i586-unknown-linuxlibc1.
++++++

and the links are setup for i586-unknown-linuxlibc1 instead of
i586-unknown-linux, why?

Does anybody care to comment the difference(s) between the above
configuration?

    --

2. ISC DHCPD and option 82 support...

3. trying to work with GNU Zebra

4. IMPORTANT! FTP "SIZE" command really necessary?

5. Trying to span mutiple tapes with GNU tar -M

6. Anyone want my free Newbie's Linux Manual?

7. trying to recompile gnu-libraries

8. Netscape and /lib weirdness in RedHat 2.1

9. trying to work GNU zebra

10. "Permission denied" when trying to change root shell to gnu bash ?

11. Anyone tried GNU inetutils?(rlogind problem)

12. Trying to make gnu's newest "make" (to build TightVNC)

13. GNU Emacs freezes whenever I try to run it