Article View: news.software.readers
Article #70251[slrn] errors when make'ing and error slrn-0.9.6.3-supers_fup2.diff
From: Rejo Zenger
Date: Sun, 07 Jan 2001 16:25
Date: Sun, 07 Jan 2001 16:25
67 lines
3412 bytes
3412 bytes
Hi,
Hi get this error when trying to compile slrn:
# make
cd src; make all
[...]
cd /usr/src/slrn-0.9.6.3/src/objs; gcc -c -g -O2 -fno-strength-reduce
-I/usr/X11R6/include -Dunix -I/usr/local/include
-DSLRN_MACRO_DIR=\"/usr/local/share/slrn\"
/usr/src/slrn-0.9.6.3/src/group.c
In file included from /usr/include/signal.h:300,
from /usr/src/slrn-0.9.6.3/src/group.c:36:
/usr/include/bits/sigcontext.h:28: asm/sigcontext.h: No such file or
directory
make[1]: *** [/usr/src/slrn-0.9.6.3/src/objs/group.o] Error 1
make[1]: Leaving directory `/usr/src/slrn-0.9.6.3/src'
make: *** [all] Error 2
So, /usr/include/bits/asm/sigcontext.h does not exist. Correct? Now,
when i add a symlink to /usr/src/linux/include/asm/sigcontext.h, it
still doesn't work. Same error. What's next?
Also, the patch slrn-0.9.6.3-supers_fup2.diff which is published at
http://slrn.sourceforge.net doesn't work correctly. When i have just
untarred the 0.9.6.3 source and the first thing i try is to apply this
patch i get the error:
# patch -p1 < slrn-0.9.6.3-supers_fup2.diff
patching file src/art.c
Hunk #3 FAILED at 2837.
Hunk #4 succeeded at 2858 with fuzz 2.
1 out of 4 hunks FAILED -- saving rejects to file src/art.c.rej
Which, i guess, says that it couldn't find the code which it should
replace. Correct? The contents of src/art.c.rej are:
# cat src/art.c.rej
***************
*** 2835,2842 ****
return;
}
! fprintf (fp, "Newsgroups: %s\nSubject: %s\nSupersedes: %s\n",
! newsgroups, subject, msgid); n = 3;
if (xref != NULL)
{
--- 2837,2845 ----
return;
}
! fprintf (fp,
! "Newsgroups: %s\nSubject: %s\nSupersedes: %s\nFollowup-To: %s\n",
! newsgroups, subject, msgid, followupto); n = 4;
if (xref != NULL)
{
Hope this helps,
-R.
--
# <s.rejo@sisterray.xs4all.nl> (pgp: see headers) http://www.sisterray.nl
Technical Details
Message-ID:
<4978884316m.rejo@sisterray.xs4all.nl>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!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!news.iac.net!news-out.cwix.com!newsfeed.cwix.com!news.tele.dk!194.109.6.150!transit.news.xs4all.nl!sisterray.xs4all.nl!4978884316f.rejoShow Full Headers
Complete Article Headers
Message-ID: <4978884316m.rejo@sisterray.xs4all.nl> Subject: [slrn] errors when make'ing and error slrn-0.9.6.3-supers_fup2.diff Date: Sun, 07 Jan 2001 16:25:33 +0000 From: 4978884316f.rejo@sisterray.xs4all.nl (Rejo Zenger) 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!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!news.iac.net!news-out.cwix.com!newsfeed.cwix.com!news.tele.dk!194.109.6.150!transit.news.xs4all.nl!sisterray.xs4all.nl!4978884316f.rejo Newsgroups: news.software.readers Organization: Sister Ray Crisiscentrum Lines: 66 Reply-To: 4978884316r.rejo@sisterray.xs4all.nl NNTP-Posting-Host: sisterray.xs4all.nl X-Trace: news1.xs4all.nl 978885393 29199 194.109.57.59 (7 Jan 2001 16:36:33 GMT) X-Complaints-To: abuse@xs4all.nl NNTP-Posting-Date: 7 Jan 2001 16:36:33 GMT X-Complaints-To-2: abuse@sisterray.xs4all.nl X-PGP-Id: ELG-E/DSS: 0x75FC50F3, DSS/DH: 0x2C8059B5, RSA: 0xFAE40065 X-PGP-Keys: Available at keyserver and website or finger <sister@xs4all.nl> X-Spamtrap: For quicker replies please use the email address in my signature X-Spamtrap-Url: http://www.sisterray.nl/abuse/spamtraps.html