Thread View: news.software.nntp
12 messages
12 total messages
Started by Marcin Labuda
Thu, 30 Sep 1999 00:00
inn-1999-09-30_03-01: inndstart.c
Author: Marcin Labuda
Date: Thu, 30 Sep 1999 00:00
Date: Thu, 30 Sep 1999 00:00
25 lines
2000 bytes
2000 bytes
gcc -o innd art.o cc.o chan.o his.o icd.o innd.o lc.o nc.o newsfeeds.o ng.o perl.o proc.o python.o rc.o site.o status.o tcl.o timer.o wip.o ../storage/libstorage.a ../lib/libinn.a ../lib/perl.o -rdynamic -L/usr/local/lib /usr/lib/perl5/5.00503/i386-linux/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/5.00503/i386-linux/CORE -lperl -lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lposix -lbsd -lcrypt -lresolv gcc -I../include -D_REENTRANT -DPOSIX_PTHREAD_SEMANTICS -D_THREAD_SAFE -g -O2 -c inndstart.c inndstart.c: In function `main': inndstart.c:266: warning: comparison between pointer and integer inndstart.c:266: label `port' used but not defined make[2]: *** [inndstart.o] Error 1 make[2]: Leaving directory `/root/install/inn-1999-09-30_03-01/innd' make[1]: *** [common] Error 1 make[1]: Leaving directory `/root/install/inn-1999-09-30_03-01' make: *** [all] Error 2 [root@frayerwall inn-1999-09-30_03-01]# uname -a Linux frayerwall 2.2.12 #2 SMP Sat Sep 18 13:04:46 CEST 1999 i686 unknown -- -ml
Re: inn-1999-09-30_03-01: inndstart.c
Author: Marcin Labuda
Date: Thu, 30 Sep 1999 00:00
Date: Thu, 30 Sep 1999 00:00
15 lines
1456 bytes
1456 bytes
Russ Allbery <rra@stanford.edu> wrote: > Marcin Labuda <martin@task.gda.pl> writes: >> I applied this patch. It didn't solve this problem. > It's a configure.in patch, so you have to run autoconf afterwards and then > rerun configure. Of course I did it. -- -ml
Re: inn-1999-09-30_03-01: inndstart.c
Author: Russ Allbery
Date: Thu, 30 Sep 1999 00:00
Date: Thu, 30 Sep 1999 00:00
29 lines
1508 bytes
1508 bytes
Marcin Labuda <martin@task.gda.pl> writes:
> gcc -I../include -D_REENTRANT -DPOSIX_PTHREAD_SEMANTICS -D_THREAD_SAFE -g
> -O2 -c inndstart.c
> inndstart.c: In function `main':
> inndstart.c:266: warning: comparison between pointer and integer
> inndstart.c:266: label `port' used but not defined
This patch should fix this. I didn't get the AC_DEFINE magic right.
--- configure.in 1999/09/27 18:40:57 1.127
+++ configure.in 1999/09/30 22:09:07
@@ -148,8 +148,7 @@
AC_ARG_WITH(innd-port,
[ --with-innd-port=PORT Additional low-numbered port for inndstart],
- INND_PORT=$with_innd_port)
-AC_DEFINE_UNQUOTED(INND_PORT, $INND_PORT)
+ AC_DEFINE_UNQUOTED(INND_PORT, $with_innd_port))
AC_ARG_ENABLE(tagged-hash,
[ --enable-tagged-hash Use tagged hash table for history],
Checked into CURRENT. Thank you!
--
Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: inn-1999-09-30_03-01: inndstart.c
Author: Russ Allbery
Date: Thu, 30 Sep 1999 00:00
Date: Thu, 30 Sep 1999 00:00
11 lines
914 bytes
914 bytes
Marcin Labuda <martin@task.gda.pl> writes: > I applied this patch. It didn't solve this problem. It's a configure.in patch, so you have to run autoconf afterwards and then rerun configure. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: inn-1999-09-30_03-01: inndstart.c
Author: Russ Allbery
Date: Thu, 30 Sep 1999 00:00
Date: Thu, 30 Sep 1999 00:00
19 lines
1230 bytes
1230 bytes
Marcin Labuda <martin@task.gda.pl> writes: > Russ Allbery <rra@stanford.edu> wrote: >> It's a configure.in patch, so you have to run autoconf afterwards and >> then rerun configure. > Of course I did it. In that case, works for me (tm). include/config.h should end with: /* Additional valid low-numbered port for inndstart. */ /* #undef INND_PORT */ and in particular should not have "#define INND_PORT". -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: inn-1999-09-30_03-01: inndstart.c
Author: Marcin Labuda
Date: Thu, 30 Sep 1999 00:00
Date: Thu, 30 Sep 1999 00:00
20 lines
1587 bytes
1587 bytes
Russ Allbery <rra@stanford.edu> wrote: > Marcin Labuda <martin@task.gda.pl> writes: >> gcc -I../include -D_REENTRANT -DPOSIX_PTHREAD_SEMANTICS -D_THREAD_SAFE -g >> -O2 -c inndstart.c >> inndstart.c: In function `main': >> inndstart.c:266: warning: comparison between pointer and integer >> inndstart.c:266: label `port' used but not defined > This patch should fix this. I didn't get the AC_DEFINE magic right. [...] I applied this patch. It didn't solve this problem. Greetings, -- -ml
Re: inn-1999-09-30_03-01: inndstart.c
Author: Richard Michael Todd
Date: Fri, 01 Oct 1999 00:00
Date: Fri, 01 Oct 1999 00:00
17 lines
1643 bytes
1643 bytes
davidsen@tmr.com (bill davidsen) writes: > > > Okay, no I'm confused. I have never run autoconf on a new install Autoconf is the program that converts the configure.in to the configure script that you then run to configure INN. Ordinary users should *never* need to run autoconf, since whenever one of the INN developers checks in a change to configure.in, they run autoconf on one of the development machines at isc.org and check in the newly autoconf'ed configure file to the CVS tree at the same time. You only need to run autoconf if you're hacking on the configure.in code yourself, say if you're applying random patches to it that you find on Usenet.
Re: inn-1999-09-30_03-01: inndstart.c
Author: Katsuhiro Kondou
Date: Fri, 01 Oct 1999 00:00
Date: Fri, 01 Oct 1999 00:00
21 lines
1973 bytes
1973 bytes
In article <1t37f4040bi40f9n460%martin@korweta.task.gda.pl>, Marcin Labuda <martin@task.gda.pl> wrote; } [root@frayerwall inn-1999-09-30_03-01]# patch -p0 < } ../inn-1999-09-30_03-01.patch } patching file `configure.in' } [root@frayerwall inn-1999-09-30_03-01]# ./configure --prefix=/var/news } --bindir=/usr/news/bin --sbindir=/usr/news/bin --exec-prefix=/usr/news } --enable-pgp-verify --with-perl --with-sendmail=/usr/sbin/sendmail } --enable-tagged-hash --with-log-dir=/var/log/news --with-tmp-path=/tmp } } [...] : } So, it doesn't work for me (tm) :-) It seems that autoconf is still } broken. No, you have to do 'autoconf' after patching. -- Katsuhiro Kondou
Re: inn-1999-09-30_03-01: inndstart.c
Author: Marcin Labuda
Date: Fri, 01 Oct 1999 00:00
Date: Fri, 01 Oct 1999 00:00
60 lines
3168 bytes
3168 bytes
Russ Allbery <rra@stanford.edu> wrote:
> Marcin Labuda <martin@task.gda.pl> writes:
>> Russ Allbery <rra@stanford.edu> wrote:
>>> It's a configure.in patch, so you have to run autoconf afterwards and
>>> then rerun configure.
>> Of course I did it.
> In that case, works for me (tm). include/config.h should end with:
> /* Additional valid low-numbered port for inndstart. */
> /* #undef INND_PORT */
> and in particular should not have "#define INND_PORT".
Ok., once again:
[root@frayerwall install]# rm -rf inn-1999-09-30_03-01
[root@frayerwall install]# tar zxf inn-1999-09-30_03-01.tar.gz
[root@frayerwall install]# cat inn-1999-09-30_03-01.patch
--- configure.in 1999/09/27 18:40:57 1.127
+++ configure.in 1999/09/30 22:09:07
@@ -148,8 +148,7 @@
AC_ARG_WITH(innd-port,
[ --with-innd-port=PORT Additional low-numbered port for
inndstart],
- INND_PORT=$with_innd_port)
-AC_DEFINE_UNQUOTED(INND_PORT, $INND_PORT)
+ AC_DEFINE_UNQUOTED(INND_PORT, $with_innd_port))
AC_ARG_ENABLE(tagged-hash,
[ --enable-tagged-hash Use tagged hash table for history],
[root@frayerwall install]# cd inn-1999-09-30_03-01
[root@frayerwall inn-1999-09-30_03-01]# patch -p0 <
../inn-1999-09-30_03-01.patch
patching file `configure.in'
[root@frayerwall inn-1999-09-30_03-01]# ./configure --prefix=/var/news
--bindir=/usr/news/bin --sbindir=/usr/news/bin --exec-prefix=/usr/news
--enable-pgp-verify --with-perl --with-sendmail=/usr/sbin/sendmail
--enable-tagged-hash --with-log-dir=/var/log/news --with-tmp-path=/tmp
[...]
[root@frayerwall inn-1999-09-30_03-01]# tail -5 include/config.h
/* Additional valid low-numbered port for inndstart. */
#define INND_PORT
#endif /* __CONFIG_H__ */
[root@frayerwall inn-1999-09-30_03-01]#
So, it doesn't work for me (tm) :-) It seems that autoconf is still
broken.
--
-ml
Re: inn-1999-09-30_03-01: inndstart.c
Author: Marcin Labuda
Date: Fri, 01 Oct 1999 00:00
Date: Fri, 01 Oct 1999 00:00
16 lines
1732 bytes
1732 bytes
Katsuhiro Kondou <kondou@uxd.fc.nec.co.jp> wrote: > In article <1t37f4040bi40f9n460%martin@korweta.task.gda.pl>, > Marcin Labuda <martin@task.gda.pl> wrote; [...] > } So, it doesn't work for me (tm) :-) It seems that autoconf is still > } broken. > No, you have to do 'autoconf' after patching. Ups, You are right. After all Russ mentioned about it... :-/ -- -ml
Re: inn-1999-09-30_03-01: inndstart.c
Author: bill davidsen
Date: Fri, 01 Oct 1999 00:00
Date: Fri, 01 Oct 1999 00:00
23 lines
1750 bytes
1750 bytes
In article <7t15pc$hm3$1@inn.do.mms.mt.nec.co.jp>, Katsuhiro Kondou <kondou@uxd.fc.nec.co.jp> wrote: | In article <1t37f4040bi40f9n460%martin@korweta.task.gda.pl>, | Marcin Labuda <martin@task.gda.pl> wrote; | | } [root@frayerwall inn-1999-09-30_03-01]# patch -p0 < | } ../inn-1999-09-30_03-01.patch | } patching file `configure.in' | } [root@frayerwall inn-1999-09-30_03-01]# ./configure --prefix=/var/news | } --bindir=/usr/news/bin --sbindir=/usr/news/bin --exec-prefix=/usr/news | } --enable-pgp-verify --with-perl --with-sendmail=/usr/sbin/sendmail | } --enable-tagged-hash --with-log-dir=/var/log/news --with-tmp-path=/tmp | } | } [...] | : | } So, it doesn't work for me (tm) :-) It seems that autoconf is still | } broken. | | No, you have to do 'autoconf' after patching. Okay, no I'm confused. I have never run autoconf on a new install
Re: inn-1999-09-30_03-01: inndstart.c
Author: Russ Allbery
Date: Fri, 01 Oct 1999 00:00
Date: Fri, 01 Oct 1999 00:00
26 lines
2000 bytes
2000 bytes
Richard Michael Todd <rmtodd@independence.ecn.ou.edu> writes: > Autoconf is the program that converts the configure.in to the configure > script that you then run to configure INN. Ordinary users should > *never* need to run autoconf, since whenever one of the INN developers > checks in a change to configure.in, they run autoconf on one of the > development machines at isc.org and check in the newly autoconf'ed > configure file to the CVS tree at the same time. Which means that the RCS file for configure is getting rather bloated; it's easier on CVS to require developers to have autoconf around and to just run autoconf when packing up snapshots. On the other hand, it's more work when building the snapshot and requires developers to install and coordinate versions of autoconf. The autoconf folks are playing with some ideas to reduce the huge deltas that one tends to get from configure scripts right now (the problem being that autoconf likes scattering line numbers everywhere). Anyway, I actually run autoconf on windlord, since I have 2.13 installed. Not that it makes that much of a difference for what INN does. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
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