From owner-freebsd-ports@FreeBSD.ORG Mon Aug 13 07:50:20 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2C8EF1065673 for ; Mon, 13 Aug 2012 07:50:19 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mail.server1.bsdforen.de (bsdforen.de [82.193.243.81]) by mx1.freebsd.org (Postfix) with ESMTP id A5F218FC12 for ; Mon, 13 Aug 2012 07:50:19 +0000 (UTC) Received: from mobileKamikaze.norad (MN-VPN2.HS-Karlsruhe.DE [193.196.117.63]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.server1.bsdforen.de (Postfix) with ESMTPSA id EEAFF7E89D; Mon, 13 Aug 2012 09:50:16 +0200 (CEST) Message-ID: <5028B1B7.4030909@bsdforen.de> Date: Mon, 13 Aug 2012 09:50:15 +0200 From: Dominic Fandrey User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:14.0) Gecko/20120807 Thunderbird/14.0 MIME-Version: 1.0 To: Denny Lin References: <50170F2E.2060804@bsdforen.de> <50276571.5070709@bsdforen.de> <20120813024530.GC57907@mail.hs.ntnu.edu.tw> In-Reply-To: <20120813024530.GC57907@mail.hs.ntnu.edu.tw> Content-Type: text/plain; charset=ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org Subject: Re: [CFT] TexLive port X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2012 07:50:20 -0000 On 13/08/2012 04:45, Denny Lin wrote: > Hi, > > On Sun, Aug 12, 2012 at 10:12:33AM +0200, Dominic Fandrey wrote: >> On 31/07/2012 00:48, Dominic Fandrey wrote: >> Here we go: >> http://www.home.hs-karlsruhe.de/~fado1011/texlive/ >> >> # mkdir ~/texlive >> # cd ~/texlive >> # fetch http://www.home.hs-karlsruhe.de/~fado1011/texlive/patch-ports-graphics-poppler.txt http://www.home.hs-karlsruhe.de/~fado1011/texlive/shar-ports-print-texlive.txt >> # cd /usr >> # patch < ~/texlive/patch-ports-graphics-poppler.txt >> # sh ~/texlive/shar-ports-print-texlive.txt >> # portmaster graphics/poppler > > Adding this line to print/texlive-base/Makefile should remove the need > to patch graphics/poppler: > CFLAGS+= -I${LOCALBASE}/include > >> If you don't have teTeX installed: >> # portmaster print/texlive >> >> If you have teTeX installed: >> # portmaster -o print/texlive-texmf print/teTeX-texmf >> # portmaster -o print/texlive-base print/teTeX-base >> # portmaster -o print/texlive print/teTeX > > This probably needs to be run before portmaster if teTeX is installed: > # pkg_delete -f 'dvipsk-tetex-*' > # pkg_delete -f 'xdvik-tetex-*' > > print/texlive-base fails to build/install for some reason: > gmake[4]: Leaving directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/texk/texlive' > gmake[3]: Leaving directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/texk/texlive' > gmake[2]: Leaving directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/texk/texlive' > gmake[1]: Leaving directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/texk' > texlinks: config file `fmtutil.cnf' not found. Something must have gone wrong with texlive-texmf. The file should be in ${LOCALBASE}/share/texmf/web2c/fmtutil.cnf > I tried searching for fmtutil.cnf: > # find work/texlive-20120701-source/ -name fmtutil.cnf > work/texlive-20120701-source/texk/tetex/fmtutil.cnf > > This error occurs even when I patched poppler, so it should be unrelated > to the workaround mentioned above. Maybe just try to wipe all the teTeX stuff and make a clean start with print/texlive. It works in my Tinderbox, so the installation procedure should be fine. -- A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?