From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/65426 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Minimals/MTXrun: 32-bit system with 64-bit kernel: `MTXrun | no 'texmf-linux-64'` Date: Sun, 23 Jan 2011 20:50:00 -0500 (EST) Message-ID: References: <1295831587.7645.48.camel@mattotaupa> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-1550722076-1295833804=:5824" X-Trace: dough.gmane.org 1295833823 16799 80.91.229.12 (24 Jan 2011 01:50:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 24 Jan 2011 01:50:23 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 24 02:50:19 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PhBZS-0000zB-VL for gctc-ntg-context-518@m.gmane.org; Mon, 24 Jan 2011 02:50:19 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4F4F6CA9E8; Mon, 24 Jan 2011 02:50:18 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id NOqoqwyHf2jY; Mon, 24 Jan 2011 02:50:15 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 37624CAA0F; Mon, 24 Jan 2011 02:50:15 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D61D9CAA0F for ; Mon, 24 Jan 2011 02:50:13 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id iO7jUsYnbe1Q for ; Mon, 24 Jan 2011 02:50:11 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 38CC7CA9E8 for ; Mon, 24 Jan 2011 02:50:11 +0100 (CET) Original-Received: from hackers.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.81]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p0O1o6nN018550 for ; Mon, 24 Jan 2011 02:50:09 +0100 Original-Received: FROM adi-netbook (Unknown [65.94.14.230]) By hackers.mr.itd.umich.edu ID 4D3CDACC.4A546.6360 ; Authuser adityam; 23 Jan 2011 20:50:04 EST In-Reply-To: <1295831587.7645.48.camel@mattotaupa> User-Agent: Alpine 2.01 (LNX 1266 2009-07-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.211.14.81; country=US; region=MI; city=Ann Arbor; postalcode=48109; latitude=42.2923; longitude=-83.7145; metrocode=505; areacode=734; http://maps.google.com/maps?q=42.2923,-83.7145&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0bDXdO7Qb - e94700979a5d - 20110124 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:65426 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323328-1550722076-1295833804=:5824 Content-Type: TEXT/PLAIN; format=flowed; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE On Mon, 24 Jan 2011, Paul Menzel wrote: > Dear ConTeXt folks, > > > I am running a 32-bit system with a 64-bit kernel. So relying on > > =09uname -m > > to determine the architecture leads to problems [1]. > > So I do `cpu =3D "i686` manually in `first-setup.sh` but I still do get > the the following error message. > > =09sent 1145 bytes received 8908331 bytes 774737.04 bytes/sec > =09total size is 31230200 speedup is 3.51 > > =09MTXrun | mtx update: updating mtxrun for linux: rsync -tgo --chmod=3Da= +x /opt/context/tex/texmf-context/scripts/context/lua/mtxrun.lua /opt/conte= xt/tex/texmf-linux/bin/mtxrun > =09MTXrun | run: rsync -tgo --chmod=3Da+x /opt/context/tex/texmf-context/= scripts/context/lua/mtxrun.lua /opt/context/tex/texmf-linux/bin/mtxrun > =E2=86=92=09MTXrun | no 'texmf-linux-64' under tree /opt/context/tex > =09When you want to use context, you need to initialize the tree by typin= g: > > =09=09. /opt/context/tex/setuptex > > `first-setup.sh` executes the following command > > =09# download or update the distribution > =09# you may remove the --context=3Dbeta switch if you want to use "curre= nt" > =09mtxrun --verbose --script ./bin/mtx-update.lua --update --make --force= --engine=3Dall --context=3Dbeta --platform=3D$platform --texroot=3D$PWD/te= x $@ > > but `mtxrun` or `mtx-update.lua` does not seem to honor the option `--pla= tform` all the way. > > I tried to even hardcode `platform` to `linux` in `mtxrun` but it does no= t help.=C2=B9 > > =09elseif name =3D=3D "linux" then > > =09=09 function os.resolvers.platform(t,k) > =09=09 -- we sometims have HOSTTYPE set so let's check that first > =09=09 local platform, architecture =3D "", os.getenv("HOSTTYPE") or= os.resultof("uname -m") or "" > =09=09 if find(architecture,"x86_64") then > =09=09 platform =3D "linux-64" > =09=09 elseif find(architecture,"ppc") then > =09=09 platform =3D "linux-ppc" > =09=09 else > =09=09 platform =3D "linux" > =09=09 end > =09=09 os.setenv("MTX_PLATFORM",platform) > =09=09 os.platform =3D platform > =E2=86=92=09=09 return "linux" > =09=09 end > > Could you please tell me, where the path for the `texmf` directory is=20 > determined and how I can force that to a certain platform. You could try setting HOSTTYPE to anything other than ppc or x86_64. Aditya --8323328-1550722076-1295833804=:5824 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --8323328-1550722076-1295833804=:5824--