From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/93337 Path: news.gmane.org!not-for-mail From: Otared Kavian Newsgroups: gmane.comp.tex.context Subject: Re: Instalation ConTeXt to MAC - newbie problem Date: Sun, 17 Jan 2016 14:38:18 +0100 Message-ID: <23516000-490D-45D8-BEAD-1B392CD9702E@gmail.com> References: <569B86DB.9030704@gyza.cz> <569B9246.30806@gyza.cz> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3117\)) Content-Type: multipart/mixed; boundary="Apple-Mail=_D6529824-175D-4B53-88C9-522E2D901A5C" X-Trace: ger.gmane.org 1453037944 29874 80.91.229.3 (17 Jan 2016 13:39:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 17 Jan 2016 13:39:04 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jan 17 14:38:53 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aKnXg-0001td-Gc for gctc-ntg-context-518@m.gmane.org; Sun, 17 Jan 2016 14:38:52 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 678455A27; Sun, 17 Jan 2016 14:38:35 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Z422RW5yuU_S; Sun, 17 Jan 2016 14:38:34 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id A193C5A2E; Sun, 17 Jan 2016 14:38:34 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 739485A27 for ; Sun, 17 Jan 2016 14:38:33 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id arnDjC5RjMyf for ; Sun, 17 Jan 2016 14:38:32 +0100 (CET) Original-Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 7CADA5A20 for ; Sun, 17 Jan 2016 14:38:22 +0100 (CET) Original-Received: by mail-wm0-f49.google.com with SMTP id b14so86802340wmb.1 for ; Sun, 17 Jan 2016 05:38:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:message-id:mime-version:subject:date:references :to:in-reply-to; bh=2fHIIpY3FZCRSMaHYhow9r8AMBUS1M5I9U6IhrxhW3o=; b=D1THvAaDUrw2FzBZ5op0Ly6catqx9gl5Yah6Itjs1WYE69mc+w6a4OjsT8hjV9AvRn XEqx/YtIFwc42kI17vblIQk1J4ywuJIXeU87J0beT9i/DkAXXI2ZuUR5BUQ3+WZVOp/h NNEY1QuSd5Drcie2pZRJZtdImoydIoMmwUej+XWoefJqH97Gul3/pg3gOA/+vWQ5UXFn GDdKxP0EzCi/RcVXJWQWqE2rr1C/F1erW5XIRic8YNWPyaNDOiJCG7rIFt+wEUdTX/n/ ih1bDWbuzf1aDfs1SquUbPCYXZ5f1/eCUxgidC9bM150RAMbTphvG5gn6Ij1puq7O9ek GfgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-type:message-id:mime-version :subject:date:references:to:in-reply-to; bh=2fHIIpY3FZCRSMaHYhow9r8AMBUS1M5I9U6IhrxhW3o=; b=d59S10YZroKe7g2Y8ZlAaFIrnqIBPgPgsOjkXkbhptefb9XNFVghU+ifEPgbzUZjvN UFgiNzd4YTIY3YPcTgBlCCU7VNmgUxZX7ItxHy57jSkJszwfBfv0PDdFQJt6M0DCdxKG W/I0UE71zbrjM9J0es0rzvDcif4mHcXm0tUVHLH0ukdSB5P5b/WIsj6L0P4TT3zM26zR 09BarJUCb/1tnSzBTchtGIFb0nBKaAWt2g0Zh/sM9T8ioNpFqU92IIvwg4dqOHQL56AR 2xLvLq+4lmud59fIaYk/6E6WFAhUFVKAWaIgv51cPTNkVZ1fAPVQ8d0/PcgenWr/S7zP 3Y0Q== X-Gm-Message-State: AG10YOTydSBA8kh4yDhoCJtA4gAy4qHRuWpoU6xkF/UTiqGT0SAq+ccdbK938O+7c1bvEA== X-Received: by 10.28.23.73 with SMTP id 70mr7766775wmx.37.1453037902053; Sun, 17 Jan 2016 05:38:22 -0800 (PST) Original-Received: from ?IPv6:2a01:e34:ec02:4760:f8cd:834d:4e3a:b2db? ([2a01:e34:ec02:4760:f8cd:834d:4e3a:b2db]) by smtp.gmail.com with ESMTPSA id t199sm11263130wmt.23.2016.01.17.05.38.21 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 17 Jan 2016 05:38:21 -0800 (PST) In-Reply-To: <569B9246.30806@gyza.cz> X-Mailer: Apple Mail (2.3117) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:93337 Archived-At: --Apple-Mail=_D6529824-175D-4B53-88C9-522E2D901A5C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hello Jaroslav, Here is what I do on my Mac: 1) While in the Finder, create a folder named Context-standalone 2) Put the attached file =C2=AB first-setup.sh =C2=BB in the folder = Context-standalone 3) Open Terminal and issue the command cd [Path-to-the-folder-Context-standalone] 4) Then in Terminal issue the command ls first-setup.sh you should see something beginning with: -rwxr-xr-x =20 that is the file has an =C2=AB x =C2=BB in its or your rights, that is = it is executable. If this not the case, using the command below make sure it has that = right: chmod +x first-setup.sh 5) Once this is done, issue the command sh first-setup.sh 6) In principle you should end up with all files necessary for Context = working in the folder Context-standalone 7) If this is not the case, please report at which step things do not = work as expected. Best regards: OK --Apple-Mail=_D6529824-175D-4B53-88C9-522E2D901A5C Content-Disposition: attachment; filename=first-setup.sh Content-Type: application/octet-stream; name="first-setup.sh" Content-Transfer-Encoding: 7bit #!/bin/sh # Takes the same arguments as mtx-update # you may change this if you want ... CONTEXTROOT="$PWD/tex" # suggested by Tobias Florek to check for rsync if [ ! -x "`which rsync`" ]; then echo "You need to install rsync first." exit 1 fi system=`uname -s` cpu=`uname -m` case "$system" in # linux Linux) case "$cpu" in i*86) platform="linux" ;; x86_64|ia64) platform="linux-64" ;; # a little bit of cheating with ppc64 (won't work on Gentoo) ppc|ppc64) platform="linux-ppc" ;; # we currently support just mipsel, but Debian is lying (reports mips64) # we need more hacks to fix the situation, this is just a temporary solution mips|mips64|mipsel|mips64el) platform="linux-mipsel" ;; # TODO: probably both wrong and incomplete armv7l) platform="linux-armhf" ;; *) platform="unknown" ;; esac ;; # Mac OS X Darwin) case "$cpu" in i*86) platform="osx-intel" ;; x86_64) platform="osx-64" ;; ppc*|powerpc|power*|Power*) platform="osx-ppc" ;; *) platform="unknown" ;; esac ;; # FreeBSD FreeBSD|freebsd) case "$cpu" in i*86) platform="freebsd" ;; x86_64) platform="freebsd" ;; # no special binaries are available yet amd64) platform="freebsd-amd64" ;; *) platform="unknown" ;; esac ;; # kFreeBSD (debian) GNU/kFreeBSD) case "$cpu" in #i*86) platform="kfreebsd-i386" ;; #x86_64|amd64) platform="kfreebsd-amd64" ;; *) platform="unknown" ;; esac ;; # cygwin CYGWIN*) case "$cpu" in i*86) platform="cygwin" ;; x86_64|ia64) platform="cygwin" ;; *) platform="unknown" ;; esac ;; # UWIN UWIN*) case "$cpu" in i*86) platform="mswin" ;; *) platform="unknown" ;; esac ;; # SunOS/Solaris SunOS) case "$cpu" in sparc) platform="solaris-sparc" ;; i86pc) platform="solaris-intel" ;; *) platform="unknown" ;; esac ;; *) platform="unknown" esac # temporary patch for 64-bit Leopard with 32-bit kernel if test "$platform" = "osx-intel"; then # if running Snow Leopard or later # better: /usr/bin/sw_vers -productVersion if test `uname -r|cut -f1 -d"."` -ge 10 ; then # if working on 64-bit hardware if test `sysctl -n hw.cpu64bit_capable` = 1; then # snowleopard32=TRUE platform="osx-64" fi fi fi if test "$platform" = "unknown" ; then echo "Error: your system \"$system $cpu\" is not supported yet." echo "Please report to the ConTeXt mailing-list (ntg-context@ntg.nl)" exit fi # if you want to enforce some specific platform # (when 'uname' doesn't agree with true architecture), uncomment and modify next line: # platform=linux # download or rsync the latest scripts first rsync -rlptv rsync://contextgarden.net/minimals/setup/$platform/bin . # use native windows binaries on cygwin if test "$platform" = "cygwin" ; then platform=mswin fi # download or update the distribution # you may remove the --context=beta switch if you want to use "current" # you can use --engine=luatex if you want just mkiv env PATH="$PWD/bin:$CONTEXTROOT/texmf-$platform/bin:$PATH" \ ./bin/mtxrun --script ./bin/mtx-update.lua --force --update --make --context=beta --platform=$platform --texroot="$CONTEXTROOT" $@ echo echo "When you want to use context, you need to initialize the tree by typing:" echo echo " . $CONTEXTROOT/setuptex" echo echo "in your shell or add" echo " \"$CONTEXTROOT/texmf-$platform/bin\"" echo "to PATH variable if you want to set it permanently." echo "This can usually be done in .bashrc, .bash_profile" echo "(or whatever file is used to initialize your shell)." echo --Apple-Mail=_D6529824-175D-4B53-88C9-522E2D901A5C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On 17 Jan 2016, at 14:08, Jaroslav Hajtmar wrote: >=20 > Hello Matthias. > Thank you for the quick response. During installation, no error = occurs, even seems that rsync copied without error message = first-setup.sh to my %HOME/context directory. When then I look into this = directory, then there is no file. Subsequently command sudo sh = ./first-setup.sh reports nonexistent file or directory. I tried to = install it into your Applications folder too (I have administrative = access), but not in this way I have not done. >=20 > (As you say: home directory should be safe and path no occure any = problematic characters. My home directory is "hajtmar") >=20 > Thanx Jaroslav >=20 > Dne 17.01.16 v 13:27 Weber, Matthias napsal(a): >> Hi Jaroslav, >>=20 >> could you explain a bit more what you mean by "the installation will = fail=E2=80=9D? >>=20 >> What error message do you get at what stage? >>=20 >> You need to make sure that you have write permission to the = installation directory; anything inside your home directory should be = safe. >> Also, as a general precaution, make sure the path to your = installation directory doesn=E2=80=99t contain unusual characters. >>=20 >> Matthias >>=20 >>=20 >>> On Jan 17, 2016, at 7:19 AM, Jaroslav Hajtmar = wrote: >>>=20 >>> Hello ConTeXist. >>> I am trying to install a standalone ConTeXt on MacBook. I am doing = everything exactly as instructed on contextgarden.net, but the = installation will fail. It seems that the problem is with rsync, with = copying the installation script first-setup.sh into my Mac. Since I am a = longtime Windows user and I'm a newbie on OS X, I'd like to find out = what the problem may be. I dont know nothing about OS X, but I suppose = that might be a problem with the firewall settings or access rights to = the directories which I use to install ConTeXt etc. Can someone please = advise how to perform the installation? There is an option to download = the installation package and install ConTeXt differently? >>> Thanks for replies. >>>=20 >>> Jaroslav Hajtmar >>>=20 >>> = __________________________________________________________________________= _________ >>> If your question is of interest to others as well, please add an = entry to the Wiki! >>>=20 >>> 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 >>> = __________________________________________________________________________= _________ >> = __________________________________________________________________________= _________ >> If your question is of interest to others as well, please add an = entry to the Wiki! >>=20 >> 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 >=20 >> = __________________________________________________________________________= _________ >=20 > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > 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 > = __________________________________________________________________________= _________ --Apple-Mail=_D6529824-175D-4B53-88C9-522E2D901A5C Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --Apple-Mail=_D6529824-175D-4B53-88C9-522E2D901A5C--