[Rspamd-Users] Build rspam package
G.W. Haywood
rspamd at jubileegroup.co.uk
Sun Nov 14 09:45:10 UTC 2021
Hi there,
On Sun, 14 Nov 2021, 山本 伸一 wrote:
> On Sat, 13 Nov 2021 18:27:38 G.W. Haywood via Users wrote:
>> On Sat, 13 Nov 2021, 山本 伸一 wrote:
>>
>>
>> > I tried
>> >
>> > $ mkdir rspamd.build
>> > $ git clone --recursive https://github.com/rspamd/rspamd.git
>> > $ cd rspamd.build
>> > $ cmake ../rspamd
>> > $ make
>> >
>> > then
>> >
>> > [ 17%] Linking C executable snowball
>> > ld.lld: error: undefined symbol: main
>> >>>> referenced by start.S:104 (../sysdeps/x86_64/start.S:104)
>> >>>> /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/crt1.o:(_start)
>> > collect2: エラー: ld はステータス 1 で終了しました
>> > make[2]: *** [contrib/snowball/CMakeFiles/snowball.dir/build.make:163: contrib/snowball/snowball] エラー 1
>> > make[1]: *** [CMakeFiles/Makefile2:1221: contrib/snowball/CMakeFiles/snowball.dir/all] エラー 2
>> > make: *** [Makefile:149: all] エラー 2
>> > s
>> >
>> > please advice me.
>>
>>
>> I suspect that when you performed the 'cmake' step it gave errors, and
>> that you failed to fix the problems at that stage.
>
> ...
> -- Checking for one of the modules 'libhs'
> CMake Error at cmake/ProcessPackage.cmake:71 (MESSAGE):
> Cannot find library hs for package HYPERSCAN
> Call Stack (most recent call first):
> cmake/Hyperscan.cmake:4 (ProcessPackage)
> CMakeLists.txt:246 (include)
>
>
> -- Configuring incomplete, errors occurred!
> See also "/home/s-yama/rspamd.build/CMakeFiles/CMakeOutput.log".
Install these packages:
# apt-get install libhyperscan5 libhyperscan-dev
--
73,
Ged.
More information about the Users
mailing list