[Rspamd-Users] Build rspam package
山本 伸一
s-yama at sinfonia.or.jp
Sun Nov 14 01:51:31 UTC 2021
Hi Ged,
On Sat, 13 Nov 2021 18:27:38 +0000 (GMT)
"G.W. Haywood via Users" <users at lists.rspamd.com> wrote:
> Hi there,
>
> 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 just tried
>
> $ git clone --recursive https://github.com/rspamd/rspamd.git
> $ mkdir rspamd.build
> $ cd rspamd.build
> $ cmake ../rspamd -DENABLE_HYPERSCAN=ON -DENABLE_LUAJIT=ON -DCMAKE_BUILD_TYPE=RelWithDebuginfo
then
-- 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".
Sorry,get error
> $ make
>
> and the build completed successfully with just a few compiler warnings.
>
> I suspect that when you performed the 'cmake' step it gave errors, and
> that you failed to fix the problems at that stage.
>
> --
> 73,
> Ged.
> -- Users mailing list
> Users at lists.rspamd.com
> https://lists.rspamd.com/mailman/listinfo/users
--- Shinichi Yamamoto
More information about the Users
mailing list