Mailing List Archive

Kmail and OpenPGP
I have put off trying to get Kmail to work with PGP beyond just the usual
inline waiting for Kmail 1.7 to make it into Mandrake Cooker and it appeared
yesterday. My earlier attept at using the instructions for 1.6 bombed. The
new version I am following is at:

http://kmail.kde.org/kmail-pgpmime-howto.html

I hope this is the appropriate place to ask these questions as I am not very
skilled in using command line processes and have never compiled packages in
this way before, but here goes:

I have tried to use the multiple commands in a single line but then when that
produced errors, I took them one step at a time.

Here is my what I have tried:

=============

kgw@full:~/downloads/aegypten$ ls
gnupg-1.9.9 gnupg-1.9.9.tar.gz libksba-0.9.8 libksba-0.9.8.tar.gz
kgw@full:~/downloads/aegypten$ cd libksba && ./configure && make && make check
&& su root -c "make install"
checking for a BSD-compatible install... /usr/bin/install -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... no
checking for gawk... (cached) gawk
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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for bison... no
checking for byacc... no
checking for inline... inline
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
kgw@full:~/downloads/aegypten/libksba$
kgw@full:~/downloads/aegypten/libksba$ libksba
bash: libksba: command not found
kgw@full:~/downloads/aegypten/libksba$ ./configure
checking for a BSD-compatible install... /usr/bin/install -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... no
checking for gawk... (cached) gawk
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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for bison... no
checking for byacc... no
checking for inline... inline
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
kgw@full:~/downloads/aegypten/libksba$

=============

I have attached the config.log file.

My guess is that I lack some packages necessary to be able to compile but I
have no idea whether that is right or what packages may be necessary.

Can anyone here help? Thanks in advance.

--
Ken Walker, Qualicum Beach, BC
http://lunar.ca

For email security information and my public key, go to
http://lunar.ca/security.htm
Re: Kmail and OpenPGP [ In reply to ]
On Saturday 11 September 2004 6:38 pm, Ken Walker wrote:
> I hope this is the appropriate place to ask these questions as I am not
> very skilled in using command line processes and have never compiled
> packages in this way before, but here goes:

Herein lies your problem. You haven't used the compiler before and it looks
like you haven't installed the full compiler package.

(An inherent problem with binary distributions).

> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes

So you could compile programs written in C (like GnuCash),

> checking for g++... no
> checking for c++... no
> checking for gpp... no

But you're missing the C++ extensions?

Some of these you won't need anyway:

> checking for aCC... no
> checking for CC... no
> checking for cxx... no
> checking for cc++... no
> checking for cl... no
> checking for FCC... no
> checking for KCC... no
> checking for RCC... no
> checking for xlC_r... no
> checking for xlC... no

But this is a problem:

> checking whether we are using the GNU C++ compiler... no
> checking whether g++ accepts -g... no
> checking dependency style of g++... none
> checking how to run the C++ preprocessor... /lib/cpp
> configure: error: C++ preprocessor "/lib/cpp" fails sanity check

> My guess is that I lack some packages necessary to be able to compile

Yes, the compiler!

> but I
> have no idea whether that is right or what packages may be necessary.
>
> Can anyone here help? Thanks in advance.

I can't help with the specifics on Mandrake, but look for packages for g++ on
Debian I get g++-3.4 - The GNU C++ compiler

Try that and come back if it still fails.

--

Neil Williams
=============
http://www.codehelp.co.uk/
http://www.dclug.org.uk/
http://www.isbn.org.uk/
http://sourceforge.net/projects/isbnsearch/

http://www.biglumber.com/x/web?qs=0x8801094A28BCB3E3