Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jun 2001 22:29:52 +0200
From:      Rahul Siddharthan <rsidd@physics.iisc.ernet.in>
To:        ports@freebsd.org
Subject:   Port of Scilab...
Message-ID:  <20010612222951.A35029@lpt.ens.fr>

next in thread | raw e-mail | index | archive | help
Hello all,
The port math/Scilab is pretty out of date, so I tried compiling
the new version 2.6 manually.  I met the following problems:

(1) The configure script refused to recognise my tcl and tk libraries.
    It seemed to me that the problem was a missing $ (m instead of $m) 
    as the first argument of the AC_CHECK_LIB in the lines
    136,137,332 and 333 in the aclocal.m4 file.  I inserted the $, but
    though it then gives a more meaningful message when "checking for"
    a function in tcl/tk (names the correct library), it still doesn't
    find it.  I eventually got around it by forcing the check to 
    be positive and manually inserting the libraries in the base 
    Makefile.incl

(2) In configuring with the default flags (with pvm), it reports the
    following error in compiling in the scilab-2.6/pvm3 directory:

    ../../src/host.c: In function `iflist':
    ../../src/host.c:932: invalid operands to binary &
    *** Error code 1

    Stop in /usr/home/rsidd/scilab/scilab-2.6/pvm3/src/FREEBSD.
    *** Error code 1

    I don't understand that code at all, but I don't need pvm so I
    configured --without-pvm.  

The compile went fine after that (though giving warnings in several
places, which I don't think are FreeBSD-specific).  A couple of the
"tests" failed but the README in the tests directory says that
failures could be due to small differences in machine constants.  
The software seems to run ok, the demos work and I could do what I
wanted to do.

Can someone familiar with these things look at the above two problems
and suggest how to fix them?  I think it would be a useful port to
have and I'd like to put it together.  It would be even better if
anyone has suggestions about the failing tests.  The third issue with
putting together a port is that the "make install" feature is very
ugly (eg, the makefile insists on /usr/bin for the installed binaries) 
but probably I can fix those things myself.

Thanks 
-- Rahul.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010612222951.A35029>