From: "Meer, H. van der" <H.vanderMeer@uva.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Problem with mkiv under MacOSX 7 (Lion)
Date: Sat, 5 Nov 2011 12:43:27 +0000 [thread overview]
Message-ID: <554ECAB0-ACF2-4CB9-B16B-4DC92663C21B@uva.nl> (raw)
In-Reply-To: <78188E63-E751-4819-AD02-60F2E94C6E8D@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 172 bytes --]
Works here too, MacOSX 10.7.2.
That is, I installed the latest context beta.
If it might help: I have a directory ~/TeX/context containing the following two files:
[-- Attachment #2: contextbeta --]
[-- Type: application/octet-stream, Size: 175 bytes --]
#!/bin/bash
curl -o first-setup.sh http://minimals.contextgarden.net/setup/first-setup.sh
chmod a+x ./first-setup.sh
mkdir tex
sh ./first-setup.sh >first-setup.log
exit
[-- Attachment #3: ATT00001.txt --]
[-- Type: text/plain, Size: 1 bytes --]
[-- Attachment #4: first-setup.sh --]
[-- Type: application/octet-stream, Size: 3607 bytes --]
#!/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 ruby & rsync
if [ ! -x "`which rsync`" ]; then
echo "You need to install rsync first."
exit 1
fi
if [ ! -x "`which ruby`" ]; then
echo "You might want to install Ruby first if you want to use pdfTeX or XeTeX."
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" ;;
*) 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-64" ;;
*) 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 .
# 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" \
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
if [ ! -x "`which ruby`" ]; then
echo "You might want to install Ruby first if you want to use pdfTeX or XeTeX."
echo
fi
[-- Attachment #5: ATT00002.txt --]
[-- Type: text/plain, Size: 707 bytes --]
and in the directory ~/TeX/context/tex/texmf-local (actually a link to my own stuff).
Installing is done by cd'ing to ~/TeX/context and calling contextbeta.
On 5 nov. 2011, at 12:50, Robert Blackstone wrote:
> Dear All,
> Is there anyone who could help me with the following:
>
> ConTeXt mkiv does not work on my Mac under MacOSX 10.7 (Lion). This holds not only for the minimals installed yesterday (04-11-2011) but also for older versions (september and october, migrated from another Mac under OSX-10.6)
> I attach the log file.
> Could it be that Lion is not yet supported? (mkii seems to work OK)
>
> Thanks in advance,
>
> Robert Blackstone
>
Hans van der Meer
[-- Attachment #6: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2011-11-05 12:43 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-05 11:50 Robert Blackstone
2011-11-05 12:08 ` Wolfgang Schuster
2011-11-05 12:43 ` Meer, H. van der [this message]
2011-11-05 14:10 ` Otared Kavian
2011-11-05 19:57 ` Mojca Miklavec
[not found] <mailman.432.1320504805.4232.ntg-context@ntg.nl>
2011-11-05 17:16 ` Robert Blackstone
2011-11-05 17:24 ` Wolfgang Schuster
2011-11-05 19:31 ` Mojca Miklavec
2011-11-07 20:38 ` Otared Kavian
[not found] <mailman.439.1320569821.4232.ntg-context@ntg.nl>
2011-11-06 11:28 ` Robert Blackstone
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=554ECAB0-ACF2-4CB9-B16B-4DC92663C21B@uva.nl \
--to=h.vandermeer@uva.nl \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).