Cannot compile: ports/math/scilab - what is wrong?

Cichy Blazej cblasius at
Sat Jan 21 11:24:45 PST 2006

Hello !

I have some problem with compiling: ports/math/scilab.
I use FreeBSD 6.0-RELEASE. I obtain the following error:

===>   scilab-3.1.1_1 depends on executable: pvm - found
===>   scilab-3.1.1_1 depends on executable: wish8.4 - found
===>   scilab-3.1.1_1 depends on executable: sabcmd - not found
===>    Verifying install for sabcmd in /usr/ports/textproc/sablotron
===>  Building for Sablot-1.0.2
Making all in src
gmake[1]: Entering directory
Making all in engine
gmake[2]: Entering directory
if /bin/sh /usr/local/bin/libtool15 --mode=compile --tag=CXX c++
-DHAVE_CONFIG_H -I. -I. -I../../autocfg   -I/usr/local/include  -O2
-fno-strict-aliasing -pipe  -MT encoding.lo -MD -MP -MF
".deps/encoding.Tpo" -c -o encoding.lo encoding.cpp; \
then mv -f ".deps/encoding.Tpo" ".deps/encoding.Plo"; else rm -f
".deps/encoding.Tpo"; exit 1; fi
 c++ -DHAVE_CONFIG_H -I. -I. -I../../autocfg -I/usr/local/include
-O2 -fno-strict-aliasing -pipe -MT encoding.lo -MD -MP -MF
.deps/encoding.Tpo -c encoding.cpp  -fPIC -DPIC -o .libs/encoding.o
encoding.cpp: In member function `Bool Recoder::conv(Situation&,
ConvInfo*, const char*&, size_t&, char*&, size_t&, EncResult&)':
encoding.cpp:285: error: invalid conversion from `char**' to `const
encoding.cpp:285: error:   initializing argument 2 of `size_t
libiconv(void*, const char**, size_t*, char**, size_t*)'
gmake[2]: *** [encoding.lo] Error 1
gmake[2]: Leaving directory
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop in /usr/ports/textproc/sablotron.
*** Error code 1

Stop in /usr/ports/math/scilab.

Please for help.


More information about the freebsd-questions mailing list