Article View: news.software.readers
Article #84335Re: [slrn] problems compiling 0.9.7.2
From: Matthias Friedrich
Date: Fri, 14 Sep 2001 08:29
Date: Fri, 14 Sep 2001 08:29
68 lines
3147 bytes
3147 bytes
hacho <homega@gwennhadu.es> wrote:
> Trying to compile slrn-0.9.7.2 on a OpenBSD 2.9
> system with �./configure --with-ssl --with-slrnpull�
> (other changes: fix path to sendmail in slrnfeat.h).
The path of sendmail is autodetected. If configure can't find it, you
can set your PATH accordingly:
PATH=/path/to/sendmail/ ./configure
> If fails on make, but there is a fail message while
> running configure too. config.log and make error output
> follow:
> cd src; make all
> "Makefile", line 123: Missing dependency operator
> "Makefile", line 126: Need an operator
When I look at line 123, I see a probably GNU-only conditional. This
is likely to be a bug that will be changed for 0.9.7.3.
In the meanwhile, try to use GNU make to build slrn. Since you are
using OpenBSD, I suppose that it is in your ports/packages collection.
Try to run it with 'gmake'.
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
[ Everything went fine up to this: ]
> configure:1239: checking for X
> configure:1553: checking for dnet_ntoa in -ldnet
> configure:1572: gcc -o conftest -g -O2 conftest.c -ldnet 1>&5
> ld: -ldnet: no match
No problem, this is a check of the AC_PATH_XTRA macro. You don't need
that.
[...]
> configure:1594: checking for dnet_ntoa in -ldnet_stub
> configure:1613: gcc -o conftest -g -O2 conftest.c -ldnet_stub 1>&5
> ld: -ldnet_stub: no match
Same here.
[...]
> configure:3089: gcc -E conftest.c >/dev/null 2>conftest.out
> In file included from configure:3085:
> /usr/include/malloc.h:4: warning: #warning "<malloc.h> is obsolete, \
> use <stdlib.h>"
Non-critical, but should be changed in future.
[ Snipped the rest, got bored ]
It is quite normal, that configure can't link or execute test
programs. This is the easiest way to find out if a system supports
certain features.
The Makefiles have been built, so there was no critical error.
BTW: It might be a good idea to configure with --enable-hardcode-libs
if you run into further problems (which should be reported anyway).
bye,
Matthias
Technical Details
Message-ID:
<slrn9q3fvd.df.matt@endeavour.mafr.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!uni-erlangen.de!fu-berlin.de!uni-berlin.de!b740c.pppool.DE!not-for-mailReferences:
<slrn9q2mev.8ei.homega@teutatis.wanadoo.es>Show Full Headers
Complete Article Headers
Message-ID: <slrn9q3fvd.df.matt@endeavour.mafr.de> Subject: Re: [slrn] problems compiling 0.9.7.2 Date: Fri, 14 Sep 2001 08:29:33 +0000 From: Matthias Friedrich <matt@mafr.de> References: <slrn9q2mev.8ei.homega@teutatis.wanadoo.es> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!uni-erlangen.de!fu-berlin.de!uni-berlin.de!b740c.pppool.DE!not-for-mail Newsgroups: news.software.readers Organization: Projekt Chaos Lines: 67 NNTP-Posting-Host: b740c.pppool.de (213.7.116.12) Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: fu-berlin.de 1000456248 10024078 213.7.116.12 (16 [47474]) User-Agent: slrn/0.9.7.2 (Linux)