From owner-freebsd-doc Mon May 22 11:36:44 2000 Delivered-To: freebsd-doc@freebsd.org Received: from nothing-going-on.demon.co.uk (nothing-going-on.demon.co.uk [193.237.89.66]) by hub.freebsd.org (Postfix) with ESMTP id BC65E37C050; Mon, 22 May 2000 11:36:30 -0700 (PDT) (envelope-from nik@nothing-going-on.demon.co.uk) Received: (from nik@localhost) by nothing-going-on.demon.co.uk (8.9.3/8.9.3) id TAA15925; Mon, 22 May 2000 19:06:04 +0100 (BST) (envelope-from nik) Date: Mon, 22 May 2000 19:06:04 +0100 From: Nik Clayton To: Sean Kelly Cc: andrew@ugh.net.au, FreeBSD-gnats-submit@freebsd.org, freebsd-doc@freebsd.org, br@netland.inka.de Subject: Re: print.jadetex port doesn't compile Message-ID: <20000522190603.A12735@catkin.nothing-going-on.org> References: <200005191839.EAA77751@itlab70.easstud.gu.edu.au> <008801bfc27a$3239a320$6a1010ac@rosetta.zon> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <008801bfc27a$3239a320$6a1010ac@rosetta.zon>; from kelly@ad1440.net on Sat, May 20, 2000 at 09:41:06AM -0700 Organization: FreeBSD Project Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, May 20, 2000 at 09:41:06AM -0700, Sean Kelly wrote: > I haven't investigated the failed JadeTeX port build fully, but I'd wager > that a new version of the tex or the teTeX port must have reduced sizes of > various tables maintained internally by tex while it runs to build JadeTeX. > These sizes have worked before for *building* of JadeTeX but needed to be > modified for the *running* of JadeTeX. > > Users on FreeBSD-doc have reported that if you make the modifications > suggested in /usr/ports/print/jadetex/pkg/MESSAGE *before* building the > JadeTeX port, it will build (and run) correctly. > > I'd recommend that the post-install or patch steps of the tex and teTeX > ports do this on the user's behalf, unless someone sees a reason otherwise. Yes. I'm wary of stomping over another program's defaults though, particularly when I don't actually know how the various TeX configuration knobs interact with one another. Perhaps something like this, in jadetex/Makefile IS_INTERACTIVE= "user must set PATCHEDTEX variable" .if empty(PATCHEDTEX) && (make(build) || make(install)) .BEGIN: @${CAT} files/PATCHTEX @${FALSE} .endif where jadetex/files/PATCHTEX says JadeTeX may require you to increase the size of certain defaults in TeX before it will build correctly. We recommend you edit $PREFIX/share/texmf/web2c/texmf.cnf, and ensure that the following parameters have values *at least* as high as this. hash_extra = 60000 pool_size = 1000000 max_strings = 70000 save_size = 10000 when you have done this, run "make -DPATCHTEX install" to build and install JadeTeX. and remove the similar text from the post-install MESSAGE. Having said that, if the teTeX maintainer (who I've cc'd on this) is happy with it then a patch-aa for teTeX that did this anyway would be a better approach. N -- Internet connection, $19.95 a month. Computer, $799.95. Modem, $149.95. Telephone line, $24.95 a month. Software, free. USENET transmission, hundreds if not thousands of dollars. Thinking before posting, priceless. Somethings in life you can't buy. For everything else, there's MasterCard. -- Graham Reed, in the Scary Devil Monastery To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message