From owner-freebsd-ports Tue Jun 12 13:29:16 2001 Delivered-To: freebsd-ports@freebsd.org Received: from nef.ens.fr (nef.ens.fr [129.199.96.32]) by hub.freebsd.org (Postfix) with ESMTP id 0508737B405 for ; Tue, 12 Jun 2001 13:29:03 -0700 (PDT) (envelope-from Rahul.Siddharthan@lpt.ens.fr) Received: from corto.lpt.ens.fr (corto.lpt.ens.fr [129.199.122.2]) by nef.ens.fr (8.10.1/1.01.28121999) with ESMTP id f5CKT1644326 for ; Tue, 12 Jun 2001 22:29:01 +0200 (CEST) Received: from (rsidd@localhost) by corto.lpt.ens.fr (8.9.3/jtpda-5.3.1) id WAA35718 for ports@freebsd.org; Tue, 12 Jun 2001 22:29:52 +0200 (CEST) Date: Tue, 12 Jun 2001 22:29:52 +0200 From: Rahul Siddharthan To: ports@freebsd.org Subject: Port of Scilab... Message-ID: <20010612222951.A35029@lpt.ens.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Operating-System: FreeBSD 3.4-STABLE i386 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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