Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: emninger on November 07, 2015, 02:41:53 AM
-
I'd like to use a spam filter in claws-mail, but i see there is neither bogofilter, nor bsfilter or spamassassin in the extensions. Now, since bogo(or bs?)filter seems (to me) to be the easiest to configure in claws-mail i'd like to install it to my TinyCore. How can this be done?
In the bogofilter readme there is a pointer:
To compile and install the standard configuration from a tarball, use
the following commands:
cd bogofilter-1.0.1 [change to project directory]
./configure [add configure options as required]
make all check
make install [as root]
To compile and install the standard configuration from SVN, use
the following commands:
cd bogofilter [change to project directory]
./autogen.sh [add configure options as required]
make install [as root]
Be sure to read README.svn for additional preparations required.
You will need a full set of development tools installed to be able
to run autogen.sh, including recent automake (1.8) and autoconf
(2.59). configure does not have these requirements.
c. Configuring
--------------
After using ./autogen.sh, which builds the standard configuration
and runs "make check" to ensure it works in your environment and on
your hardware, you might wish to further customize bogofilter for
your use.
Running "./configure --help" will list all the configuration
options. The most notable ones are:
--prefix=PREFIX install architecture-independent files in PREFIX
[default: /usr/local]
--with-database=ENGINE Choose database engine {db|qdbm|sqlite3}
[default: db]
CPPFLAGS=-I/opt/csw/include
Choose additional include file path /opt/csw/include
LDFLAGS=-L/opt/csw/lib Ditto, for library files
Thanks a lot in advance for any help.
-
Take a look at the extension making section of the wiki.
-
Take a look at the extension making section of the wiki.
Yes. But my question rather pointed to if and how configure the prefixes (paths) to have it updated and made permanent in the most adherent to TCL way.
-
Hi emninger
Create a subdirectory and set the prefix to the full path to that subdirectory. Then you should be able to squash that into
an extension.
-
Hi emninger
Create a subdirectory and set the prefix to the full path to that subdirectory. Then you should be able to squash that into
an extension.
I got bsfilter working and i think, eventhough it might be a bit less efficient than bogo, it's sufficient. And it does not need to be built as a "personal" extension. It installs simply in the homefolder and the uses ruby.