Greetings,

I am trying to build claws-mail with litehtml plugin. This is a new
plugin for rendering HTML e-mails which exists since claws-mail 3.17.4.

The plugin depends on the gumbo parsing library, which already exist in
ports as www/gumbo.

So, what I did was simply

  pkg_add gumbo
  cd /usr/ports/mail/claws-mail
  make build

This fails with the following error:


gmake[6]: Entering directory
'/usr/ports/pobj/claws-mail-3.17.4/claws-mail-3.17.4/src/plugins/litehtml_viewer/litehtml'
/usr/bin/libtool --tag=disable-static  --tag=CXX   --mode=compile c++
-DHAVE_CONFIG_H -I. -I../../../..  -I/usr/local/include
-I/usr/X11R6/include -I/usr/local/include -I/usr/local/include
-std=c++11 -O2 -pipe -MT liblitehtml_la-background.lo -MD -MP -MF
.deps/liblitehtml_la-background.Tpo -c -o liblitehtml_la-background.lo
`test -f 'background.cpp' || echo './'`background.cpp c++
-DHAVE_CONFIG_H -I. -I../../../.. -I/usr/local/include
-I/usr/X11R6/include -I/usr/local/include -I/usr/local/include
-std=c++11 -O2 -pipe -MT liblitehtml_la-background.lo -MD -MP -MF
.deps/liblitehtml_la-background.Tpo -c background.cpp -fPIC -DPIC -o
.libs/liblitehtml_la-background.o


In file included from background.cpp:1:
In file included from ./html.h:5:
In file included from /usr/include/c++/v1/string:505:
In file included from /usr/include/c++/v1/string_view:176:
In file included from /usr/include/c++/v1/__string:57:
In file included from /usr/include/c++/v1/algorithm:640:
In file included from /usr/include/c++/v1/initializer_list:47:
In file included from /usr/include/c++/v1/cstddef:38:
../../../../version:1:1: error: unknown type name 'echo'
echo 3.17.4
^
../../../../version:1:6: error: expected unqualified-id
echo 3.17.4
     ^
In file included from background.cpp:1:
In file included from ./html.h:5:
In file included from /usr/include/c++/v1/string:505:
In file included from /usr/include/c++/v1/string_view:176:
In file included from /usr/include/c++/v1/__string:57:
In file included from /usr/include/c++/v1/algorithm:640:
In file included from /usr/include/c++/v1/initializer_list:47:
/usr/include/c++/v1/cstddef:50:9: error: no member named 'ptrdiff_t' in
the global namespace; did you mean '__ptrdiff_t'? using ::ptrdiff_t;
      ~~^
/usr/include/machine/_types.h:122:16: note: '__ptrdiff_t' declared here
typedef long                    __ptrdiff_t;
                                ^
In file included from background.cpp:1:
In file included from ./html.h:5:
In file included from /usr/include/c++/v1/string:505:
In file included from /usr/include/c++/v1/string_view:176:
In file included from /usr/include/c++/v1/__string:57:
In file included from /usr/include/c++/v1/algorithm:641:
In file included from /usr/include/c++/v1/type_traits:407:
../../../../version:1:1: error: unknown type name 'echo'
echo 3.17.4
^
../../../../version:1:6: error: expected unqualified-id
echo 3.17.4
     ^
In file included from background.cpp:1:
In file included from ./html.h:5:
In file included from /usr/include/c++/v1/string:505:
In file included from /usr/include/c++/v1/string_view:176:
In file included from /usr/include/c++/v1/__string:57:
In file included from /usr/include/c++/v1/algorithm:643:
In file included from /usr/include/c++/v1/utility:206:
../../../../version:1:1: error: unknown type name 'echo'
echo 3.17.4
^
../../../../version:1:6: error: expected unqualified-id
echo 3.17.4
     ^
In file included from background.cpp:1:
In file included from ./html.h:5:
In file included from /usr/include/c++/v1/string:505:
In file included from /usr/include/c++/v1/string_view:176:
In file included from /usr/include/c++/v1/__string:57:
In file included from /usr/include/c++/v1/algorithm:644:
In file included from /usr/include/c++/v1/memory:654:
In file included from /usr/include/c++/v1/typeinfo:61:
In file included from /usr/include/c++/v1/exception:84:
../../../../version:1:1: error: unknown type name 'echo'
echo 3.17.4
^
../../../../version:1:6: error: expected unqualified-id
echo 3.17.4


similar errors follows. Anyone knows what to do?

Regards,

Henry



Reply via email to