From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/65425 Path: news.gmane.org!not-for-mail From: Paul Menzel Newsgroups: gmane.comp.tex.context Subject: Minimals/MTXrun: 32-bit system with 64-bit kernel: `MTXrun | no 'texmf-linux-64'` Date: Mon, 24 Jan 2011 02:13:07 +0100 Message-ID: <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="===============1827358201==" X-Trace: dough.gmane.org 1295832943 13167 80.91.229.12 (24 Jan 2011 01:35:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 24 Jan 2011 01:35:43 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 24 02:35:39 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 1PhBLH-0004vt-LS for gctc-ntg-context-518@m.gmane.org; Mon, 24 Jan 2011 02:35:39 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3E4A6CAA4F; Mon, 24 Jan 2011 02:35:39 +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 qATecPyoBk8G; Mon, 24 Jan 2011 02:35:36 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 82BD5CAA0F; Mon, 24 Jan 2011 02:35:36 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C174CCAA0F for ; Mon, 24 Jan 2011 02:35:35 +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 aX+A+EGFJ4I6 for ; Mon, 24 Jan 2011 02:35:33 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 96F00CA9E8 for ; Mon, 24 Jan 2011 02:35:33 +0100 (CET) Original-Received: from mail.gw90.de (mail.gw90.de [188.40.100.199]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p0O1ZWEM029824 for ; Mon, 24 Jan 2011 02:35:32 +0100 Original-Received: from f053040085.adsl.alicedsl.de ([78.53.40.85] helo=[192.168.178.21]) by mail.gw90.de with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1PhAzU-0002tl-Fr for ntg-context@ntg.nl; Mon, 24 Jan 2011 01:13:08 +0000 X-Mailer: Evolution 2.30.3 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=188.40.100.199; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0rDXdzwUE - 513185f5d3fc - 20110124 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:65425 Archived-At: --===============1827358201== Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-NL3amhi0iU7CWo240LYU" --=-NL3amhi0iU7CWo240LYU Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Dear ConTeXt folks, I am running a 32-bit system with a 64-bit kernel. So relying on uname -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. sent 1145 bytes received 8908331 bytes 774737.04 bytes/sec total size is 31230200 speedup is 3.51 MTXrun | mtx update: updating mtxrun for linux: rsync -tgo --chmod=3Da+x /= opt/context/tex/texmf-context/scripts/context/lua/mtxrun.lua /opt/context/t= ex/texmf-linux/bin/mtxrun MTXrun | run: rsync -tgo --chmod=3Da+x /opt/context/tex/texmf-context/scri= pts/context/lua/mtxrun.lua /opt/context/tex/texmf-linux/bin/mtxrun =E2=86=92 MTXrun | no 'texmf-linux-64' under tree /opt/context/tex When you want to use context, you need to initialize the tree by typing: . /opt/context/tex/setuptex `first-setup.sh` executes the following command # download or update the distribution # you may remove the --context=3Dbeta switch if you want to use "current" mtxrun --verbose --script ./bin/mtx-update.lua --update --make --force --e= ngine=3Dall --context=3Dbeta --platform=3D$platform --texroot=3D$PWD/tex $@ but `mtxrun` or `mtx-update.lua` does not seem to honor the option `--platf= orm` all the way. I tried to even hardcode `platform` to `linux` in `mtxrun` but it does not = help.=C2=B9 elseif name =3D=3D "linux" then function os.resolvers.platform(t,k) -- we sometims have HOSTTYPE set so let's check that first local platform, architecture =3D "", os.getenv("HOSTTYPE") or os.re= sultof("uname -m") or "" if find(architecture,"x86_64") then platform =3D "linux-64" elseif find(architecture,"ppc") then platform =3D "linux-ppc" else platform =3D "linux" end os.setenv("MTX_PLATFORM",platform) os.platform =3D platform =E2=86=92 return "linux" end Could you please tell me, where the path for the `texmf` directory is deter= mined and how I can force that to a certain platform. Thanks, Paul [1] http://tug.org/pipermail/tex-live/2009-June/021119.html [2] http://tug.org/pipermail/tex-live/2009-June/021124.html --=-NL3amhi0iU7CWo240LYU Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAk080iIACgkQPX1aK2wOHVhyoACeN8cCgrU4zNrGFHwxyOEqrqdV PvoAnRDEGWQ3O9OhwP0wqYGWIY6NVYXV =zEgR -----END PGP SIGNATURE----- --=-NL3amhi0iU7CWo240LYU-- --===============1827358201== 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 ___________________________________________________________________________________ --===============1827358201==--