On 05/08/2021 10:53, Henrik K wrote:
> On Sat, Jul 24, 2021 at 08:17:19PM +0000, Micah Snyder (micasnyd) via clamav-users wrote:
>
> No problems on Solaris 11.4.32.0.1.88.3 (SPARC) here with latest fixes,
> 0.104 actually works stable and fast so far. Some more ancient versions
> just kept crashing and were sloow (then again older Solaris versions had
> ancient gcc etc).
>
> Oracle DOES maintain Solaris, current 11.4 has quite recent GCC (10.2) and
> other libraries (curl 7.71 etc). All requirements except libcheck are OS
> provided, just pkg install them.
>
> Only thing that needed some manual fixing was some curses paths.
>
> mkdir build
> cd build
> cmake .. \
> -D CMAKE_BUILD_TYPE="Release" \
> -D ENABLE_TESTS=OFF \
> -D PCRE2_INCLUDE_DIR=/usr/include/pcre \
> -D NCURSES_INCLUDE_DIR=/usr/include/ncurses \
> -D CURSES_LIBRARY=/usr/lib/64/libncurses.so
>
> # Seems NCURSES_INCLUDE_DIR isn't used here..
> sed -i 's#<ncurses.h>#<ncurses/ncurses.h>#' clamav-config.h
Thanks I tried the above it worked, but failed to build. Any ideas?
$ cmake --build . --config Release
[ 13%] Linking CXX shared library libclamunrar.so
[ 13%] Built target clamunrar
Scanning dependencies of target unrar_iface_obj
[ 14%] Building CXX object
libclamunrar_iface/CMakeFiles/unrar_iface_obj.dir/unrar_iface.cpp.o
/export/home/defang/clamav-0.104.0-rc/libclamunrar_iface/unrar_iface.cpp:
In function 'cl_unrar_error_t libceader(void*, unrar_metadata_t*)':
/export/home/defang/clamav-0.104.0-rc/libclamunrar_iface/unrar_iface.cpp:349:62:
error: expected ')' before
349 | unrar_dbgmsg("unrar_peek_file_header: Packed Size: %"
PRIu64 "\n", file_metadata->pack_size)
| ~ ^
| )
/export/home/defang/clamav-0.104.0-rc/libclamunrar_iface/unrar_iface.cpp:350:62:
error: expected ')' before
350 | unrar_dbgmsg("unrar_peek_file_header: Unpacked Size: %"
PRIu64 "\n", file_metadata->unpack_siz
| ~ ^
| )
gmake[2]: ***
[libclamunrar_iface/CMakeFiles/unrar_iface_obj.dir/build.make:63:
libclamunrar_iface/CMakeFilep.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:1062:
libclamunrar_iface/CMakeFiles/unrar_iface_obj.dir/all] Error 2
gmake: *** [Makefile:163: all] Error 2
Thanks
--
**************************************************
**** At home during the crisis trying to work ****
**************************************************
**** Support Request to sg@dcs.bbk.ac.uk ****
**************************************************
Andrew Watkins * Birkbeck, University of London * Computer Science *
*
http://notallmicrosoft.blogspot.com *
::e-mails are only read & actioned between 0900 and 1730 hours (Monday - Friday)
_______________________________________________
clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/contact.html#ml