I still obtain error when compile /usr/ports/math/scilab

Ivan Roth ivan.roth at free.fr
Wed Jan 25 11:33:03 PST 2006

Lowell Gilbert wrote:

>cblasius <cblasius at o2.pl> writes:
>>Thank you for previous help  :-) !
>>I upgrade my port tree (cvsup) and all instaled ports (portupgrade
>>-a) and still  is problem with compiling
>>/usr/ports/math/scilab. Especially with  port:
>>/usr/ports/textproc/sablotron. Could someone help me with this
>>issue. I want to use scilab for my work at university.
>>Thanks in advance.
>>Here is the output when I compiled 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++
>>-I. -I. -I../../autocfg   -I/usr/local/include  -O2
>>-fno-strict-aliasing -pipe
>>-march=pentiumpro  -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
>>-fno-strict-aliasing -pipe -march=pentiumpro -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&,
>>const char*&, size_t&, char*&, size_t&, EncResult&)':
>>encoding.cpp:285: error: invalid conversion from `char**' to
>>`const char**'
>>encoding.cpp:285: error:   initializing argument 2 of `size_t
>>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.
>It works for me, this morning, on 6-STABLE.
>freebsd-questions at freebsd.org mailing list
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"

I think a better upgrade will be portupgrade -arR as it is recursive, 
i.e. it upgrades the ports depending on the one you upgrade.

I am not so sure but it is the way I use portupgrade.

Regards, Ivan.

More information about the freebsd-questions mailing list