Re: ANNOUNCE: newsx version 1.5pre now available

2002-10-05 Thread Andreas Metzler

On Thu, Oct 03, 2002 at 12:47:16AM +0200, Egil Kvaleberg wrote:
> On Wed, 2 Oct 2002, you wrote:
[...]
>> define CPPFLAGS="-I${LOCALBASE}/news/include" , but inn/dbz.h is not
>> found => I have to patch configure.in:
 
> Same...
 
> > After that, there is a problem with PACKED:
 
> Seems like a name space pollution problem - we'll see to that too.

Just FYI, I can reproduce this on Debian 3.0, too. The problem is that
PACKED is defined in inn's dbz.h, as a ugly hotfix I moved
AC_CHECK_HEADERS(inn/dbz.h) in configure.in before the check for
PACKED.
  
>> => dbz.h is found, but ignored.
 
> Might not be a problem - it depends...

I've no idea.
   cu andreas

---
This message has been sent to you because you are subcribed to the mailing
list [EMAIL PROTECTED] To remove yourself from this lists, send an email to
[EMAIL PROTECTED] containing "unsubscribe newsx "
in the message body.



Re: ANNOUNCE: newsx version 1.5pre now available

2002-10-02 Thread Egil Kvaleberg

On Wed, 2 Oct 2002, you wrote:

> Not Found
> The requested URL /bugzilla/ was not found on this server.]

I just tested it from "the outside", and it was OK.
Strange, must be some temporary problem. 

> On FreeBSD, with the new configure, I do not have to define
> --with-newslib any more, libs are found in ${LOCALBASE}/news/lib
> => OK.
> 
> Now I have to define --with-rnews=${LOCALBASE}/news/bin/rnews
> and --with-inews=${LOCALBASE}/news/bin/inews (OK)

I'll try to do that automatically in configure

> and I still have to
> define CPPFLAGS="-I${LOCALBASE}/news/include" , but inn/dbz.h is not
> found => I have to patch configure.in:

Same...

> After that, there is a problem with PACKED:

Seems like a name space pollution problem - we'll see to that too.
 
> => dbz.h is found, but ignored.

Might not be a problem - it depends...

Egil
-- 
Email: [EMAIL PROTECTED]  
Voice/videophone: +47 22523641 Voice: +47 92022780 Fax: +47 22525899
Mail:  Egil Kvaleberg, Husebybakken 14A, 0379 Oslo, Norway
Home:  http://www.kvaleberg.com/


---
This message has been sent to you because you are subcribed to the mailing
list [EMAIL PROTECTED] To remove yourself from this lists, send an email to
[EMAIL PROTECTED] containing "unsubscribe newsx "
in the message body.



Re: ANNOUNCE: newsx version 1.5pre now available

2002-10-02 Thread Thierry Thomas

Le 02/10/2002 à 12:54:29 +0200, Egil Kvaleberg <[EMAIL PROTECTED]> écrivait :
> The 1.5pre will become 1.5 soon, assuming no major issues arise.
> 
> Bug reporting should first and foremost be done to
> 
>   http://www.kvaleberg.com/bug/

[Sorry, http://www.kvaleberg.com/bug/ is redirected towards
http://egil.ma.cx/bugzilla/ but that gives an error 404:

Not Found
The requested URL /bugzilla/ was not found on this server.]

On FreeBSD, with the new configure, I do not have to define
--with-newslib any more, libs are found in ${LOCALBASE}/news/lib
=> OK.

Now I have to define --with-rnews=${LOCALBASE}/news/bin/rnews
and --with-inews=${LOCALBASE}/news/bin/inews (OK), and I still have to
define CPPFLAGS="-I${LOCALBASE}/news/include" , but inn/dbz.h is not
found => I have to patch configure.in:

--- configure.in.orig   Wed Oct  2 12:44:32 2002
+++ configure.inWed Oct  2 23:14:36 2002
@@ -216,7 +216,7 @@
 dnl  Default list of locations to visit in search of the
 dnl  news configuration file
 dnl
-VISIT="/usr/lib/news /var/news/etc /usr/spool/news /usr/share/news \
+VISIT="/usr/local/news/lib /usr/lib/news /var/news/etc /usr/spool/news
/usr/share/news \
  /var/db/news /usr/local/news/control /usr/local/news /local/news
/etc/news \
  /usr/local/news/bin/control /usr/local/lib/news /news /usr/local/inn \
  /var/lib/news /usr/lib /var/spool/news"
@@ -673,7 +673,7 @@
 dnl Debian Linux places it under /usr/include/inn
 dnl
 AC_CHECK_HEADERS(storage.h)
-AC_CHECK_HEADERS(inn/storage.h)
+dnl AC_CHECK_HEADERS(inn/storage.h)
 
 CFLAGS="$CFLAGS_save"
 LIBS="$LIBS_save"
@@ -682,7 +682,7 @@
 AC_SUBST(HAVE_LIBSTORAGE)
 
 dnl Handle extra object files and libraries
-AC_CHECK_HEADERS(inn/dbz.h)
+AC_CHECK_HEADERS(dbz.h)
 dnl Always include good old version 3.4:
 MORELIBS2="../dbz/libdbzv3.a"
 if test x$HAVE_SETENV != x1; then


After that, there is a problem with PACKED:

configure:3543: checking for dbz.h
configure:3553: cc -E -I/usr/local/news/include conftest.c >/dev/null
2>conftest.out
In file included from configure:3549:
/usr/local/news/include/dbz.h:46: warning: `PACKED' redefined
confdefs.h:27: warning: this is the location of the previous definition
configure: failed program was:
#line 3548 "configure"
#include "confdefs.h"
#include 

=> dbz.h is found, but ignored.

Truly yours,
-- 
Th. Thomas.

---
This message has been sent to you because you are subcribed to the mailing
list [EMAIL PROTECTED] To remove yourself from this lists, send an email to
[EMAIL PROTECTED] containing "unsubscribe newsx "
in the message body.