[xslt] Fail build of OpenBSD



Hi all,


   I am trying to build libxslt-1.0.2 on OpenBSD 2.9-current,
but the build was failed and this erorr message return :

/bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../libxslt      -I/usr/local/include/libxml -I/usr/local/include -O2      -O2   -c extra.c
rm -f .libs/extra.lo
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../libxslt -I/usr/local/include/libxml -I/usr/local/include -O2 -O2 -c extra.c  -fPIC -DPIC -o .libs/extra.lo
extra.c: In function `xsltFunctionLocalTime':
extra.c:238: invalid operands to binary -
gmake[2]: *** [extra.lo] Error 1

   in extra.c:238 :

     lmt = gmt - timezone;

   How can I solve this ?

   Thank you !

-- 
Best Regards,
Shell Hung   <shell@shellhung.org>
http://www.shellhung.org




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]