🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by Steve Tue, 23 Dec 2003 17:23
Compiling inn-2.4.0 on Fedora
#67524
Author: Steve
Date: Tue, 23 Dec 2003 17:23
17 lines
1772 bytes
Has anyone had occasion to try compiling inn-2.4.0 on Redhat Fedora?  

Below is the configure options I'm trying to use, and have used many 
times in the past on older RH's.

./configure --with-perl --with-openssl=/usr/local/ssl --with-
sendmail=/usr/sbin/sendmail

Using this under Fedora, the compile fails as it's unable to find 
com_err.h which previously has always been located in 
/usr/kerberos/include.  This entire directory is missing in Fedora, as 
is /usr/kerberos/lib.  The libraries that should be in these 
directories are nowhere to be found, with the one exception of 
com_err.h which is now in /usr/include/et for reasons unknown.

Is there a configure option that allows me to compile without kerberos 
support?  If I do this, can I still compile with openssl support?
Re: Compiling inn-2.4.0 on Fedora
#67529
Author: Russ Allbery
Date: Tue, 23 Dec 2003 21:27
34 lines
2420 bytes
Steve <steve@nospam-goofer.co.uk> writes:

> Has anyone had occasion to try compiling inn-2.4.0 on Redhat Fedora?

> Below is the configure options I'm trying to use, and have used many 
> times in the past on older RH's.

> ./configure --with-perl --with-openssl=/usr/local/ssl --with-
> sendmail=/usr/sbin/sendmail

> Using this under Fedora, the compile fails as it's unable to find
> com_err.h which previously has always been located in
> /usr/kerberos/include.  This entire directory is missing in Fedora, as
> is /usr/kerberos/lib.  The libraries that should be in these directories
> are nowhere to be found, with the one exception of com_err.h which is
> now in /usr/include/et for reasons unknown.

You need to install krb5-devel or whatever Fedora calls that package to
build against the Kerberos libraries.

> Is there a configure option that allows me to compile without kerberos 
> support?

--without-kerberos

> If I do this, can I still compile with openssl support?

Yes.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Compiling inn-2.4.0 on Fedora
#67536
Author: Steve
Date: Tue, 23 Dec 2003 22:44
25 lines
1876 bytes
Russ Allbery wrote:

> You need to install krb5-devel or whatever Fedora calls that
> package to build against the Kerberos libraries.

Russ, thanks for the reply.  This package was installed during my 
previous attempts to compile.
krb5-devel-1.3.1-6

> --without-kerberos
Even with this option included, make still fails with the following:

cd authprogs && make all
make[1]: Entering directory `/usr/local/src/inn-STABLE-
20031223/authprogs'
gcc -g -O2 -I../include     -c -o radius.o radius.c
gcc   -o radius radius.o    libauth.o /usr/local/src/inn-STABLE-
20031223/lib/libinn.a 
gcc -g -O2 -I../include     -c -o auth_krb5.o auth_krb5.c
auth_krb5.c:24:21: com_err.h: No such file or directory
make[1]: *** [auth_krb5.o] Error 1
make[1]: Leaving directory `/usr/local/src/inn-STABLE-
20031223/authprogs'
make: *** [all-authprogs] Error 2
Re: Compiling inn-2.4.0 on Fedora
#67538
Author: Russ Allbery
Date: Wed, 24 Dec 2003 00:11
27 lines
2264 bytes
Steve <steve@nospam-goofer.co.uk> writes:
> Russ Allbery wrote:

>> You need to install krb5-devel or whatever Fedora calls that
>> package to build against the Kerberos libraries.

> Russ, thanks for the reply.  This package was installed during my 
> previous attempts to compile.
> krb5-devel-1.3.1-6

Hm.  Well, et/com_err.h probably works fine, so you could change the
include to use that instead, although I find it odd that they would have
moved that header.

>> --without-kerberos
> Even with this option included, make still fails with the following:

Ah, yeah, --without-kerberos in STABLE doesn't do what I was hoping it
would do.  Hm.  It's probably easiest to just change the include to
et/com_err.h or make a link.  I'll try to figure out what to do about
this; I've not seen a Fedora host yet.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Compiling inn-2.4.0 on Fedora
#67543
Author: Steve
Date: Wed, 24 Dec 2003 15:52
11 lines
1531 bytes
Russ Allbery wrote:

> Ah, yeah, --without-kerberos in STABLE doesn't do what I was
> hoping it would do.  Hm.  It's probably easiest to just change the
> include to et/com_err.h or make a link.  I'll try to figure out
> what to do about this; I've not seen a Fedora host yet.

Sorted now.  I created a symlink for com_err.h in /usr/include and the 
compile went without a hitch.

Thanks
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads