From dave123 at burtonsys.com Mon Jun 19 09:54:52 2006 From: dave123 at burtonsys.com (David Burton) Date: Mon, 19 Jun 2006 12:54:52 -0400 (EDT) Subject: [SA-exim] "@links -dump $< > $@" in Makefile for SA-Exim In-Reply-To: Message-ID: SA-Exim's Makefile contains: ACKNOWLEDGEMENTS: Acknowledgements.html @echo "Generating $@" @links -dump $< > $@ CHANGELOG: Changelog.html @echo "Generating $@" @links -dump $< > $@ But there's no 'links' command on my Linux box, so the result is that the 'make' command generates this error: Generating CHANGELOG /bin/sh: links: command not found make: *** [CHANGELOG] Error 127 This is on an old RedHat box. I searched the computer for a 'links' command, and found nothing. 'man links' doesn't find it, either. My newer Mandrake Linux box doesn't have it, either. What is 'links' and where can I get it? Thanks, -Dave Burton dave123 at burtonsys dot com but please no spam Burton Systems Software: http://www.burtonsys.com/ Tel: 1-919-481-0149 P.S. -- Here's the full output from 'make': --------- Begin console log ---------- # cd /usr/local/src/sa-exim-4.2.1 [root at salsa /usr/local/src/sa-exim-4.2.1]# make echo "char *version=\"`cat version` (built `date -R 2>/dev/null || date`)\";" > sa-exim.h Building sa-exim-4.2.1.so gcc -I../../src -I./eximinc -DDLOPEN_LOCAL_SCAN -DSPAMASSASSIN_CONF=\"/etc/exim4/sa-exim.conf\" -DSPAMC_LOCATION=\"/usr/bin/spamc\" -O2 -Wall -shared -o sa-exim-4.2.1.so sa-exim.c sa-exim.c:512: warning: #warning you should not worry about the "might be clobbered by longjmp", see source sa-exim.c: In function `local_scan': sa-exim.c:521: warning: variable `readfh' might be clobbered by `longjmp' or `vfork' sa-exim.c:522: warning: variable `mesgfn' might be clobbered by `longjmp' or `vfork' sa-exim.c:526: warning: variable `rcptlist' might be clobbered by `longjmp' or `vfork' sa-exim.c:528: warning: variable `safemesgid' might be clobbered by `longjmp' or `vfork' sa-exim.c:529: warning: variable `isspam' might be clobbered by `longjmp' or `vfork' sa-exim.c:530: warning: variable `gotsa' might be clobbered by `longjmp' or `vfork' sa-exim.c:533: warning: variable `mailinfo' might be clobbered by `longjmp' or `vfork' sa-exim.c:535: warning: variable `spamstatus' might be clobbered by `longjmp' or `vfork' sa-exim.c:539: warning: variable `scantime' might be clobbered by `longjmp' or `vfork' sa-exim.c:540: warning: variable `fulltime' might be clobbered by `longjmp' or `vfork' chmod a+rx sa-exim-4.2.1.so Building accept.so gcc -I../../src -I./eximinc -DDLOPEN_LOCAL_SCAN -DSPAMASSASSIN_CONF=\"/etc/exim4/sa-exim.conf\" -DSPAMC_LOCATION=\"/usr/bin/spamc\" -O2 -Wall -shared -o accept.so accept.c chmod a+rx accept.so Generating sa.html Generating CHANGELOG /bin/sh: links: command not found make: *** [CHANGELOG] Error 127 [root at salsa /usr/local/src/sa-exim-4.2.1]# --------- End console log ---------- From ssmeenk at freshdot.net Mon Jun 19 10:25:39 2006 From: ssmeenk at freshdot.net (Sander Smeenk) Date: Mon, 19 Jun 2006 19:25:39 +0200 Subject: [SA-exim] "@links -dump $< > $@" in Makefile for SA-Exim In-Reply-To: References: Message-ID: <20060619172539.GB25657@freshdot.net> Quoting David Burton (dave123 at burtonsys.com): > What is 'links' and where can I get it? Links is a textmode webbrowser. You can probably get it by installing the rpm on your system. Consult your operating systems manual pages on how to get new packages installed. However it's kinda flakey to depend on links to build sa-exim. I ran into the same problem once. I had lynx and w3m (other tekstbrowsers) but no links too. Had to install it before i could build the package ;) -- | Man who lose watch in toilet bound to have shitty time. | 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8 9BDB D463 7E41 08CE C94D From marc at merlins.org Mon Jun 19 10:53:59 2006 From: marc at merlins.org (Marc MERLIN) Date: Mon, 19 Jun 2006 10:53:59 -0700 Subject: [SA-exim] "@links -dump $< > $@" in Makefile for SA-Exim In-Reply-To: <20060619172539.GB25657@freshdot.net> References: <20060619172539.GB25657@freshdot.net> Message-ID: <20060619175359.GB9559@merlins.org> On Mon, Jun 19, 2006 at 07:25:39PM +0200, Sander Smeenk wrote: > Quoting David Burton (dave123 at burtonsys.com): > > > What is 'links' and where can I get it? > > Links is a textmode webbrowser. You can probably get it by installing > the rpm on your system. Consult your operating systems manual pages on > how to get new packages installed. > > However it's kinda flakey to depend on links to build sa-exim. I ran > into the same problem once. I had lynx and w3m (other tekstbrowsers) but > no links too. Had to install it before i could build the package ;) Yeah, I used to depend on lynx (which admittedly is bad too), but lynx changed their ascii output format in a way that broke what I was doing, so I had to switch to links. That said, it's only documentation, so unless ou are a packager, you can remove this from your makefile and read the HTML directly. Marc -- "A mouse is a device used to point at the xterm you want to type in" - A.S.R. Microsoft is to operating systems & security .... .... what McDonalds is to gourmet cooking Home page: http://marc.merlins.org/