#5 Fedora RPM

open
nobody
5
2004-09-04
2004-09-04
Anonymous
No

Hi,

Are you planing to release Redhat and Fedora rpm's?
I was trying to compile latest release on Fedora but it failed with
error message:

[root@epia middleman-2.0.1]# gmake
g++ -c -g -O2 -pthread -Iinclude -I. -Wall -Wno-sign-compare -Wno-
unknown-pragmas -Wno-format -D_GNU_SOURCE -
DVERSION=\"2.0.1\" -DHAVE_CONFIG_H -D_REENTRANT src/
global.c -o src/global.o
In file included from /usr/include/openssl/ssl.h:179,
from include/proto.h:18,
from src/global.c:23:
/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
In file included from /usr/include/openssl/ssl.h:179,
from include/proto.h:18,
from src/global.c:23:
/usr/include/openssl/kssl.h:134: 'krb5_enctype' is used as a type,
but is not
defined as a type.
/usr/include/openssl/kssl.h:136: syntax error before `*' token
/usr/include/openssl/kssl.h:149: parse error before `*' token
/usr/include/openssl/kssl.h:153: parse error before `*' token
/usr/include/openssl/kssl.h:155: parse error before `*' token
/usr/include/openssl/kssl.h:157: parse error before `*' token
/usr/include/openssl/kssl.h:159: parse error before `*' token
/usr/include/openssl/kssl.h:161: `krb5_context' was not declared in
this scope
/usr/include/openssl/kssl.h:161: parse error before `,' token
/usr/include/openssl/kssl.h:162: `krb5_context' was not declared in
this scope
/usr/include/openssl/kssl.h:162: parse error before `,' token
/usr/include/openssl/kssl.h:165: `krb5_timestamp' was not
declared in this
scope
/usr/include/openssl/kssl.h:165: parse error before `,' token
/usr/include/openssl/kssl.h:167: parse error before `*' token
/usr/include/openssl/kssl.h:169: `krb5_enctype' was not declared
in this scope
/usr/include/openssl/kssl.h:169: parse error before `,' token
gmake: *** [src/global.o] Error 1

Discussion

  • T-Gergely
    T-Gergely
    2005-03-08

    Logged In: YES
    user_id=621170

    I replaced the ./configure line in the .spec file like this
    to make it compile:

    CXXFLAGS="$RPM_OPT_FLAGS -I /usr/kerberos/include"
    ./configure --prefix=/usr --enable-syslog
    --mandir=/usr/share/man --sysconfdir=/etc