From jcowan@reutershealth.com Mon Aug 13 14:38:03 2001 Return-Path: X-Sender: jcowan@reutershealth.com X-Apparently-To: lojban@yahoogroups.com Received: (EGP: mail-7_3_1); 13 Aug 2001 21:38:02 -0000 Received: (qmail 96373 invoked from network); 13 Aug 2001 21:36:43 -0000 Received: from unknown (10.1.10.26) by m8.onelist.org with QMQP; 13 Aug 2001 21:36:43 -0000 Received: from unknown (HELO mail.reutershealth.com) (204.243.9.36) by mta1 with SMTP; 13 Aug 2001 21:36:42 -0000 Received: from reutershealth.com (IDENT:cowan@[192.168.3.11]) by mail.reutershealth.com (Pro-8.9.3/Pro-8.9.3) with ESMTP id RAA19657 for ; Mon, 13 Aug 2001 17:38:38 -0400 (EDT) Message-ID: <3B78484C.2080605@reutershealth.com> Date: Mon, 13 Aug 2001 17:36:12 -0400 User-Agent: Mozilla/5.0 (X11; U; Linux 2.4.2-2 i686; en-US; rv:0.9.1) Gecko/20010607 X-Accept-Language: en-us MIME-Version: 1.0 To: lojban@yahoogroups.com Subject: Logflash on Linux up and running Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit From: John Cowan X-Yahoo-Message-Num: 9527 I have successfully built Logflash on Linux using FPC, the Free Pascal Compiler (http://www.freepascal.org). A tarball with the modified source code and rebuilt index, plus executables for Linux (ELF, glibc) is at http://www.ccil.org/~cowan/lflinux.tar.gz. The gory details: I grabbed the rpm for FPC from a mirror site and installed it on my RH 7.1 box. (Tarballs are also available.) I grabbed http://www.lojban.org/files/software/lfsrc.ZIP and unpacked it. All source files were run through d2u just to make life easy (removes stupid DOS CR characters). All files were also renamed to lower case. Then "fpc lf.pas" compiled a runnable version of LogFlash! Unfortunately, the *.LF1 files in logflash.zip (from lojban.org as well) weren't in the proper format. So I tried to compile lf1bldwd.pas, the word file builder. Fatal compile-time error. I modified lf1bldwd.pas so that 4 lines of the form {$I foo} (a Turbo Pascal include directive) took the form {$I foo.pas}. Recompiled without errors. I grabbed the gismu list at http://www.lojban.org/files/wordlists/gismu , renamed it "logdata.raw", and ran lf1bldwd. This created new *.LF1 files. Logflash then worked perfectly!! -- There is / one art || John Cowan no more / no less || http://www.reutershealth.com to do / all things || http://www.ccil.org/~cowan with art- / lessness \\ -- Piet Hein