Discussion:
[SA-exim] "@links -dump $< > $@" in Makefile for SA-Exim
David Burton
2006-06-19 16:54:52 UTC
Permalink
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
[***@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
[***@salsa /usr/local/src/sa-exim-4.2.1]#
--------- End console log ----------
Sander Smeenk
2006-06-19 17:25:39 UTC
Permalink
Marc MERLIN
2006-06-19 17:53:59 UTC
Permalink
Post by unknown
Post by David Burton
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/
unknown
1970-01-01 00:00:00 UTC
Permalink
Post by David Burton
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
Loading...