You are not logged in.

#1 2006-06-30 19:36:52

Andromea
Member
Registered: 2005-03-19
Posts: 25

Compiling KVIrc

After the las update my KVIrc (wich I compile myself) stopped working, due to the update of libssl I think. So I started recompiling KVIrc, but it doesn't compile anymore. It gives me this:

configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

(part of) config.log:

configure:3525: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "kvirc"
| #define VERSION "3.2.3"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits>
| #else
| # include <assert>
| #endif
|                    Syntax error
configure:3519: gcc -E  conftest.c
In file included from /usr/include/bits/posix1_lim.h:153,
                 from /usr/include/limits.h:145,
                 from /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/limits.h:122,
                 from /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/syslimits.h:7,
                 from /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/limits.h:11,
                 from conftest.c:12:
/usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file or directory
configure:3525: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "kvirc"
| #define VERSION "3.2.3"
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits>
| #else
| # include <assert>
| #endif
|                    Syntax error
configure:3519: gcc -E -traditional-cpp  conftest.c
In file included from /usr/include/features.h:324,
                 from /usr/include/assert.h:37,
                 from conftest.c:15:
/usr/include/sys/cdefs.h:32: error: #error "You need a ISO C conforming compiler to use the glibc headers"

Both error repeat themselves multiple times.

Wich leads me to belive that there is something wrong with gcc, but I wouldn't have a clue to what it is.
Any help?

Offline

#2 2006-06-30 20:50:33

MrBackhand
Member
From: Texas, USA
Registered: 2006-05-26
Posts: 33

Re: Compiling KVIrc

kVirc is looking for libssl.so.0.9.7 and Arch upgraded it to libssl.so.0.9.8.  I would think recompiling it would solve your problem, or instead, create a link from 0.9.8 to 0.9.7, which is what I did.

cd /usr/lib
ln -s libssl.so.0.9.8 libssl.so.0.9.7

kVirc should work just fine afterwards.

Offline

#3 2006-06-30 21:06:08

Andromea
Member
Registered: 2005-03-19
Posts: 25

Re: Compiling KVIrc

I know that but it doesn't recompile, see error messages above.

Offline

#4 2006-07-01 01:23:21

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Compiling KVIrc

Andromea: To fix the compile problem, reinstall kernel-headers.

MrBackhand: You shouldn't symlink libssl. If an oficial package doesn't work with the new openssl, file a bug report. If it's a custom compiled package, rebuilt it.

Offline

#5 2006-07-01 13:12:24

Andromea
Member
Registered: 2005-03-19
Posts: 25

Re: Compiling KVIrc

Thanks Snowman, all is nice now!

Offline

Board footer

Powered by FluxBB