Re: [Slrn] Cancel-Lock header



Whiskers <catwheezel@xxxxxxxxxxxxx> writes:

On 2007-06-28, Whiskers <catwheezel@xxxxxxxxxxxxx> wrote:

[...]

I'll try to re-build my slrn with canlock support, and see what results I
can get (I use Noffle rather than Leafnode).

Fallen at first hurdle. Compiling the canlock2b package for my Mandriva
system is beyond my knowledge; the tarball has a makefile but no configure
script or intallation instructions (beyond "How to compile it: If you are
lucky, it will be enough to unpack the archive, change to it top directory
and run make").

You *could* try the following. The tin newsreader source contains
libcanlock (recent versions of it do, anyway). I happened to have a copy
of tin version 1.8.0 already unpacked, so I changed to the relevant
directory (in my case /usr/local/src/tin-1.8.0/libcanlock) and executed
the 'Build' script. This worked fine and built the relevant library
libcanlock.a together with a couple of test executables to verify the
lib is working OK.

Then, when building slrn, do:

$ ./configure --with-canlock=/usr/local/src/tin-1.8.0/libcanlock

(obviously specifying the correct location above).

[snip]

--with-canlock[=DIR]
Tells slrn to make use of the canlock library (needed to use
"Cancel-Locks" when posting, see <http://cssri.meowing.net/>).
USE WITH CARE: libcanlock does not seem to be fully mature yet; also,
the library does not have an installation routine. When installing it by
hand, be careful to copy only canlock.h (and none of the other header
files that come with it) into your system include directory.

Actually, '--with-canlock=<dir>' worked fine. I didn't need to copy the
header file.

--
Neil.
The poetry of heroism appeals irresitably to those who don't go to a war,
and even more so to those whom the war is making enormously wealthy."
-- Celine
.



Relevant Pages

  • Re: #ifdef
    ... It may be defined by the user, or somewhere in a header file, ... out of a larger context such as the OS source code ... C code after preprocessing but before compiling. ... in tracking down issues with preprocessor symbols. ...
    (comp.lang.c)
  • Re: [Slrn] Cancel-Lock header
    ... Compiling the canlock2b package for my Mandriva ... the 'Build' script. ... libcanlock does not seem to be fully mature yet; ... I've given up on the canlock2b package for now, ...
    (news.software.readers)
  • Re: metadata operation failed (8013110E) : Database file is corrupt and may not be usable.
    ... This is an established project that has been compiling for several ... I can only add two more members to my ... tried adding an additional header file with no result. ... >slightly different metadata in two modules for the same type. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: #ifdef
    ... > automatically for you, if it is needed, either in a header file ... but especially for macros beginning with underscore ... > C code after preprocessing but before compiling. ... This won't help for builtins however. ...
    (comp.lang.c)
  • Re: Driver linking error(symbols already defined), please help thi
    ... Compiling - shimmer.rc for i386 ... ning treated as error - no object file generated ... IST_ENTRY': macro redefinition ...
    (microsoft.public.development.device.drivers)