🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by Avon Fri, 17 Jul 2015 03:15
Compiling INN 2.6.0rc2
#86872
Author: Avon
Date: Fri, 17 Jul 2015 03:15
49 lines
2362 bytes
Hi Julien

I installed a fresh copy of Debian Jessie, then downloaded and extracted 
a copy of the rc2 files.

The I did the following

apt-get install gcc
apt-get install make
apt-get install libgd-gd2-perl (as configure said GD was missing)
apt-get install libmime-tools-perl (as configure said MIME was missing 
for HTML outputs)

then tried to build using ./configure --with-perl

It ran for a while but then ended with this error


libtool: link: gcc -o .libs/innd art.o cc.o chan.o icd.o innd.o 
keywords.o lc.o nc.o newsfeeds.o ng.o perl.o proc.o python.o rc.o site.o 
status.o util.o wip.o /home/paul/Downloads/inn-2.6.0rc2/lib/perl.o -Wl,-E 
-fstack-protector  /home/paul/Downloads/inn-2.6.0rc2/storage/.libs/
libstorage.so /home/paul/Downloads/inn-2.6.0rc2/history/.libs/
libinnhist.so /home/paul/Downloads/inn-2.6.0rc2/lib/.libs/libinn.so -L/
usr/local/lib -L/usr/lib/x86_64-linux-gnu/perl/5.20/CORE -lperl -ldl -lm -
lpthread -lcrypt -Wl,-rpath -Wl,/usr/local/news/lib
/usr/bin/ld: cannot find -lperl
collect2: error: ld returned 1 exit status
Makefile:43: recipe for target 'innd' failed
make[1]: *** [innd] Error 1
make[1]: Leaving directory '/home/paul/Downloads/inn-2.6.0rc2/innd'


So I am wondering if I have all the perl files I need?

Here's the version I am using.

perl -v

This is perl 5, version 20, subversion 2 (v5.20.2) built for x86_64-linux-
gnu-thread-multi
(with 42 registered patches, see perl -V for more detail)



Best, Paul


Re: Compiling INN 2.6.0rc2
#86874
Author: Avon
Date: Fri, 17 Jul 2015 04:38
18 lines
1321 bytes
On Fri, 17 Jul 2015 03:15:29 +0000, Avon wrote:


> So I am wondering if I have all the perl files I need?


Seems apt-get install libperl-dev did the trick and then the rest of make 
ran fine, or so it seems.

Where do i find a log of the make process? Does such a thing exist?

Next I will try to build the same version but apply the 2.5.5 switches 
you suggested would be good to use.

Best, Paul


Re: Compiling INN 2.6.0rc2
#86875
Author: Avon
Date: Fri, 17 Jul 2015 08:38
45 lines
2420 bytes
On Fri, 17 Jul 2015 04:38:38 +0000, Avon wrote:


> Next I will try to build the same version but apply the 2.5.5 switches
> you suggested would be good to use.

I found I hit a compile error with the switch --with-berkeleydb=/usr in 
place but once I removed it and had added

apt-get install libssl-dev
apr-get install libsasl2-dev
apt-get install kibkrb5-dev

...then it compiled ok.

Using the same 2.5.5 switches on 2.6.0r2 it reported

configure: WARNING: unrecognized options: --enable-ipv6, --with-kerberos

but other wise ./configure --with-perl --with-openssl --enable-ipv6 --
prefix=/usr/lib/news --libdir=/usr/lib/news --mandir=/usr/share/man --
sysconfdir=/etc/news --includedir=/usr/include --with-db-dir=/var/lib/
news --with-filter-dir=/etc/news/filter --with-log-dir=/var/log/news --
with-run-dir=/run/news --with-spool-dir=/var/spool/news --with-tmp-dir=/
var/spool/news/incoming/tmp --with-http-dir=/var/www/inn --with-libperl-
dir=/usr/share/perl5 --with-kerberos=/usr --with-sasl=/usr --with-
sendmail=/usr/sbin/sendmail --with-zlib=/usr 

worked fine and I could then compile it with make.

So now I am thinking perhaps start over with a fresh HDD, a copy of 
Debian Jessie and build the most recent 2.6.0 I can find.

I can then slowly work though the config files I set up on my 2.5.3 
install on my ubuntu distro and try and set things up.

How long will it be until 2.6.0 is released do you think?

Best, Paul





Re: Compiling INN 2.6.0rc2
#86876
Author: Julien ÉLIE
Date: Fri, 17 Jul 2015 17:27
28 lines
1953 bytes
Hi Paul,

> Using the same 2.5.5 switches on 2.6.0r2 it reported
>
> configure: WARNING: unrecognized options: --enable-ipv6, --with-kerberos

IPv6 is enabled by default in INN 2.6.0 so this configure flag no longer 
exists.
And --with-kerberos is now --with-krb5.


> So now I am thinking perhaps start over with a fresh HDD, a copy of
> Debian Jessie and build the most recent 2.6.0 I can find.

The most recent version is the inn-CURRENT daily snapshots.


> How long will it be until 2.6.0 is released do you think?

Probably in September.

-- 
Julien ÉLIE

« Attention aux bugs dans le code ci-dessus. Je ne l'ai pas testé,
   j'ai seulement prouvé qu'il était correct. » (Donald Knuth)

Re: Compiling INN 2.6.0rc2
#86877
Author: Julien ÉLIE
Date: Fri, 17 Jul 2015 17:30
18 lines
1730 bytes
Hi Paul,

> Where do i find a log of the make process? Does such a thing exist?

The logs are written to standard output so you may want to run "make > 
make.log" to redirect them to a file named "make.log".

Another possibility would be to run "make warnings" instead of a mere 
"make".  If an error is encountered when using "make warnings", the 
build stops.  So you will immediately be aware of any error.

-- 
Julien ÉLIE

« Le travail est l'opium du peuple et je ne veux pas mourir
   drogué. » (Boris Vian)

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