Problem with Standalone
I am trying to load the standalone but have ran into a problem. Platform: cygwin on Windows XP Here is what I did to try to get it all loaded and setup: #1 rsync -av rsync://contextgarden.net/minimals/setup/first-setup.sh . sh ./first-setup.sh || exit 3 The following files are loaded: receiving incremental file list bin/ bin/cygiconv-2.dll bin/cygwin1.dll bin/kpathsea620.dll bin/lua52.dll bin/luatex.dll bin/mtx-update.lua bin/mtxrun.dll bin/mtxrun.exe bin/mtxrun.lua bin/rsync.exe bin/texlua.exe When you want to use context, you need to initialize the tree by typing: . /opt/context/tex/setuptex NOTE: there is no /opt/context/!! It doesn't get loaded. Any ideas of what is wrong? Any work around to get the proper tex directory contents? Regards --------------------------------
I am trying to load the standalone but have ran into a problem.
Platform: cygwin on Windows XP
Here is what I did to try to get it all loaded and setup:
#1 rsync -av rsync://contextgarden.net/minimals/setup/first-setup.sh . sh ./first-setup.sh || exit 3
The following files are loaded: receiving incremental file list bin/ bin/cygiconv-2.dll bin/cygwin1.dll bin/kpathsea620.dll bin/lua52.dll bin/luatex.dll bin/mtx-update.lua bin/mtxrun.dll bin/mtxrun.exe bin/mtxrun.lua bin/rsync.exe bin/texlua.exe
The above only populated /opt/context/bin
Re: When you want to use context, you need to initialize the tree by typing: . /opt/context/tex/setuptex
NOTE: there is no /opt/context/!! It doesn't get loaded.
I mean there is no /opt/context/tex so no /opt/context/tex/setuptex..
Any ideas of what is wrong? Any work around to get the proper tex directory contents?
Any suggestions are apprecaited. Regards
On 1/15/2014 7:56 AM, hwitloc@gmail.com wrote:
I am trying to load the standalone but have ran into a problem.
Platform: cygwin on Windows XP
Here is what I did to try to get it all loaded and setup:
#1 rsync -av rsync://contextgarden.net/minimals/setup/first-setup.sh . sh ./first-setup.sh || exit 3
The following files are loaded: receiving incremental file list bin/ bin/cygiconv-2.dll bin/cygwin1.dll bin/kpathsea620.dll bin/lua52.dll bin/luatex.dll bin/mtx-update.lua bin/mtxrun.dll bin/mtxrun.exe bin/mtxrun.lua bin/rsync.exe bin/texlua.exe
The above only populated /opt/context/bin
Re: When you want to use context, you need to initialize the tree by typing: . /opt/context/tex/setuptex
NOTE: there is no /opt/context/!! It doesn't get loaded.
I mean there is no /opt/context/tex so no /opt/context/tex/setuptex..
Any ideas of what is wrong? Any work around to get the proper tex directory contents?
Any suggestions are apprecaited.
can you run ./firstsetup ? ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Hans Hagen
On 1/15/2014 7:56 AM, hwitloc@gmail.com wrote:
I am trying to load the standalone but have ran into a problem.
Platform: cygwin on Windows XP
Here is what I did to try to get it all loaded and setup:
#1 rsync -av rsync://contextgarden.net/minimals/setup/first-setup.sh . sh ./first-setup.sh || exit 3
The following files are loaded: receiving incremental file list bin/ bin/cygiconv-2.dll bin/cygwin1.dll bin/kpathsea620.dll bin/lua52.dll bin/luatex.dll bin/mtx-update.lua bin/mtxrun.dll bin/mtxrun.exe bin/mtxrun.lua bin/rsync.exe bin/texlua.exe
The above only populated /opt/context/bin
Re: When you want to use context, you need to initialize the tree by typing: . /opt/context/tex/setuptex
NOTE: there is no /opt/context/!! It doesn't get loaded.
I mean there is no /opt/context/tex so no /opt/context/tex/setuptex..
Any ideas of what is wrong? Any work around to get the proper tex directory contents?
Any suggestions are apprecaited.
can you run ./firstsetup ?
./firstsetup.sh was ran and it was first setup that created and populated the bin directory. But nothing was done for a tex directory. Regards
On 1/15/2014 12:06 PM, hwitloc@gmail.com wrote:
Hans Hagen
wrote: On 1/15/2014 7:56 AM, hwitloc@gmail.com wrote:
I am trying to load the standalone but have ran into a problem.
Platform: cygwin on Windows XP
Here is what I did to try to get it all loaded and setup:
#1 rsync -av rsync://contextgarden.net/minimals/setup/first-setup.sh . sh ./first-setup.sh || exit 3
The following files are loaded: receiving incremental file list bin/ bin/cygiconv-2.dll bin/cygwin1.dll bin/kpathsea620.dll bin/lua52.dll bin/luatex.dll bin/mtx-update.lua bin/mtxrun.dll bin/mtxrun.exe bin/mtxrun.lua bin/rsync.exe bin/texlua.exe
The above only populated /opt/context/bin
Re: When you want to use context, you need to initialize the tree by typing: . /opt/context/tex/setuptex
NOTE: there is no /opt/context/!! It doesn't get loaded.
I mean there is no /opt/context/tex so no /opt/context/tex/setuptex..
Any ideas of what is wrong? Any work around to get the proper tex directory contents?
Any suggestions are apprecaited.
can you run ./firstsetup ?
../firstsetup.sh was ran and it was first setup that created and populated the bin directory. But nothing was done for a tex directory.
then you need to figure out why it failed ... messages and so ... maybe an rsync issue (you can try to add prints to mtx-update.lua (but then also comment the first rsync in firstsetup so that it doesn't get overwritten)
Regards ___________________________________________________________________________________ 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 ___________________________________________________________________________________
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Hans Hagen
On 1/15/2014 12:06 PM, hwitloc@gmail.com wrote:
Hans Hagen
wrote: On 1/15/2014 7:56 AM, hwitloc@gmail.com wrote:
I am trying to load the standalone but have ran into a problem.
Platform: cygwin on Windows XP
Here is what I did to try to get it all loaded and setup:
#1 rsync -av rsync://contextgarden.net/minimals/setup/first-setup.sh . sh ./first-setup.sh || exit 3
The following files are loaded: receiving incremental file list bin/ bin/cygiconv-2.dll bin/cygwin1.dll bin/kpathsea620.dll bin/lua52.dll bin/luatex.dll bin/mtx-update.lua bin/mtxrun.dll bin/mtxrun.exe bin/mtxrun.lua bin/rsync.exe bin/texlua.exe
The above only populated /opt/context/bin
Re: When you want to use context, you need to initialize the tree by typing: . /opt/context/tex/setuptex
NOTE: there is no /opt/context/!! It doesn't get loaded.
I mean there is no /opt/context/tex so no /opt/context/tex/setuptex..
Any ideas of what is wrong? Any work around to get the proper tex directory contents?
Any suggestions are apprecaited.
can you run ./firstsetup ?
../firstsetup.sh was ran and it was first setup that created and populated the bin directory. But nothing was done for a tex directory.
then you need to figure out why it failed ... messages and so ... maybe an rsync issue (you can try to add prints to mtx-update.lua (but then also comment the first rsync in firstsetup so that it doesn't get overwritten)
Yes I am trying to find out. That's why I sent the message in the first place. I will endeaver to find out more inforation. Is there a way to download a three without using rsync? Perhaps a tarball or other archive format? Regards
On 1/16/2014 10:23 AM, hwitloc@gmail.com wrote:
Hans Hagen
wrote: On 1/15/2014 12:06 PM, hwitloc@gmail.com wrote:
Hans Hagen
wrote: On 1/15/2014 7:56 AM, hwitloc@gmail.com wrote:
I am trying to load the standalone but have ran into a problem.
Platform: cygwin on Windows XP
Here is what I did to try to get it all loaded and setup:
#1 rsync -av rsync://contextgarden.net/minimals/setup/first-setup.sh . sh ./first-setup.sh || exit 3
The following files are loaded: receiving incremental file list bin/ bin/cygiconv-2.dll bin/cygwin1.dll bin/kpathsea620.dll bin/lua52.dll bin/luatex.dll bin/mtx-update.lua bin/mtxrun.dll bin/mtxrun.exe bin/mtxrun.lua bin/rsync.exe bin/texlua.exe
The above only populated /opt/context/bin
Re: When you want to use context, you need to initialize the tree by typing: . /opt/context/tex/setuptex
NOTE: there is no /opt/context/!! It doesn't get loaded.
I mean there is no /opt/context/tex so no /opt/context/tex/setuptex..
Any ideas of what is wrong? Any work around to get the proper tex directory contents?
Any suggestions are apprecaited.
can you run ./firstsetup ?
../firstsetup.sh was ran and it was first setup that created and populated the bin directory. But nothing was done for a tex directory.
then you need to figure out why it failed ... messages and so ... maybe an rsync issue (you can try to add prints to mtx-update.lua (but then also comment the first rsync in firstsetup so that it doesn't get overwritten)
Yes I am trying to find out. That's why I sent the message in the first place. I will endeaver to find out more inforation.
Is there a way to download a three without using rsync? Perhaps a tarball or other archive format?
just download the regular (non cygwin) windows tree -- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Wed, Jan 15, 2014 at 6:17 AM, Henman wrote:
I am trying to load the standalone but have ran into a problem.
Platform: cygwin on Windows XP
Here is what I did to try to get it all loaded and setup:
#1 rsync -av rsync://contextgarden.net/minimals/setup/first-setup.sh . sh ./first-setup.sh || exit 3
The following files are loaded: receiving incremental file list bin/ bin/cygiconv-2.dll bin/cygwin1.dll bin/kpathsea620.dll bin/lua52.dll bin/luatex.dll bin/mtx-update.lua bin/mtxrun.dll bin/mtxrun.exe bin/mtxrun.lua bin/rsync.exe bin/texlua.exe
When you want to use context, you need to initialize the tree by typing:
. /opt/context/tex/setuptex
NOTE: there is no /opt/context/!! It doesn't get loaded.
Any ideas of what is wrong? Any work around to get the proper tex directory contents?
We used to have cygwin-specific binaries, but dropped them after the volunteer who built them has lost the interest. Actually I would surprised if the distribution worked with cygwin out-of-the-box now that those binaries have been removed (probably a few years ago already) because we never tried to adapt any code, but I guess that Akira's native windows binaries should work just as well under cygwin's shell, so fixing this should be doable. There are two steps involved in syncronisation. The script first-setup.sh first determines the platform. In the good old days we used: # cygwin CYGWIN*) case "$cpu" in i*86) platform="cygwin" ;; x86_64|ia64) platform="cygwin-64" ;; *) platform="unknown" ;; esac ;; and recently switched to: CYGWIN*) case "$cpu" in i*86) platform="mswin" ;; # cygwin, if we ever get "native cygwin binaries" x86_64|ia64) platform="mswin" ;; # cygwin-64, likewise *) platform="unknown" ;; esac ;; The script then fetches files from rsync -rlptv rsync://contextgarden.net/minimals/setup/$platform/bin . which apparently succeeds, but then the following step fails: mtxrun --script ./bin/mtx-update.lua --force --update --context=beta --platform=$platform --texroot="$CONTEXTROOT" $@ If this step actually ever worked, it might be that Hans' recent fixes to determine whether Windows is 64-bit or not, might have broken the functionality. In any case I'm almost sure that mtxrun fails to deliver proper binaries. Is there really no other output to be seen? Mojca
Mojca, thank you very much for the detailed and informative information. Regarding the "native" for cygwin Context, I am currently using TeXLive for Unix-ish Platforms. So the Context In TeXLive for Unix platforms works or has been made to work on Cygwin at some step in the process by someone. How is the TexLive version of ConTeXt prepared? Using the same technique for the standalone to render it runnable on Cygwin like the TexLive version of Context, I should think. What do you think? Regards Mojca Miklavec wrote:
On Wed, Jan 15, 2014 at 6:17 AM, Henman wrote:
I am trying to load the standalone but have ran into a problem.
Platform: cygwin on Windows XP
Here is what I did to try to get it all loaded and setup:
#1 rsync -av rsync://contextgarden.net/minimals/setup/first-setup.sh . sh ./first-setup.sh || exit 3
The following files are loaded: receiving incremental file list bin/ bin/cygiconv-2.dll bin/cygwin1.dll bin/kpathsea620.dll bin/lua52.dll bin/luatex.dll bin/mtx-update.lua bin/mtxrun.dll bin/mtxrun.exe bin/mtxrun.lua bin/rsync.exe bin/texlua.exe
When you want to use context, you need to initialize the tree by typing:
. /opt/context/tex/setuptex
NOTE: there is no /opt/context/!! It doesn't get loaded.
Any ideas of what is wrong? Any work around to get the proper tex directory contents?
We used to have cygwin-specific binaries, but dropped them after the volunteer who built them has lost the interest.
Actually I would surprised if the distribution worked with cygwin out-of-the-box now that those binaries have been removed (probably a few years ago already) because we never tried to adapt any code, but I guess that Akira's native windows binaries should work just as well under cygwin's shell, so fixing this should be doable.
There are two steps involved in syncronisation. The script first-setup.sh first determines the platform. In the good old days we used:
# cygwin CYGWIN*) case "$cpu" in i*86) platform="cygwin" ;; x86_64|ia64) platform="cygwin-64" ;; *) platform="unknown" ;; esac ;;
and recently switched to:
CYGWIN*) case "$cpu" in i*86) platform="mswin" ;; # cygwin, if we ever get "native cygwin binaries" x86_64|ia64) platform="mswin" ;; # cygwin-64, likewise *) platform="unknown" ;; esac ;;
The script then fetches files from rsync -rlptv rsync://contextgarden.net/minimals/setup/$platform/bin . which apparently succeeds, but then the following step fails:
mtxrun --script ./bin/mtx-update.lua --force --update --context=beta --platform=$platform --texroot="$CONTEXTROOT" $@
If this step actually ever worked, it might be that Hans' recent fixes to determine whether Windows is 64-bit or not, might have broken the functionality.
In any case I'm almost sure that mtxrun fails to deliver proper binaries. Is there really no other output to be seen?
Mojca
On Thu, Jan 16, 2014 at 10:20 AM,
Mojca, thank you very much for the detailed and informative information.
Regarding the "native" for cygwin Context, I am currently using TeXLive for Unix-ish Platforms. So the Context In TeXLive for Unix platforms works or has been made to work on Cygwin at some step in the process by someone. How is the TexLive version of ConTeXt prepared?
The same as for all other platforms. Someone (http://www.tug.org/texlive/build.html) had to compile the binaries on cygwin. You can see the binaries here: http://tug.org/svn/texlive/trunk/Master/bin/i386-cygwin/ The binaries are compiled once per year (actually a couple of times withing a short period of time since there are always bugs or problems revealed in the process).
Using the same technique for the standalone to render it runnable on Cygwin like the TexLive version of Context, I should think. What do you think?
Someone would have to compile the binaries then. In addition to what's already in TeX Live that means that whenever a new LuaTeX or MetaPost gets released, the volunteer needs to run the compilation. Is there any performance penalty when using native Windows binaries rather than those for cygwin? Or doesn't it work at all? (Please not a difference between "broken" binaries and broken installation process. I'm asking for the case when installation would succeed.)
Is there a way to download a tree without using rsync? Perhaps a tarball or other archive format?
Not any longer / not yet. But I could try to set it up again. But given that your rsync works fine and it's just the update script that's failing, I could also send you a bash scipt to run a bunch of rsync commands instead of going through texlua. Can you please try to download http://minimals.contextgarden.net/setup/context-setup-mswin.zip, unzip it, run first-setup.bat from cmd, move the files to where your cygwin installation is and check whether it works at all from within the cygwin shell? That is: if normal windows binaries work inside cygwin. Depending on that we can act further. The easiest way would be to fix the installation. The other less trivial way means that either you or someone else with sufficient motivation needs to be ready to keep compiling each new release of luatex when it gets released. And I would need to adapt the scripts (cygwin is more tricky because it's neither windows nor unix and always needs an exception ;). If you want to try building the binaries, do the following: svn co http://svn.contextgarden.net/suite/build-binaries cd build-binaries ./bin_update_src.sh ./bin_update_svn.sh ./bin_build.sh (I would expect problems in the last step of ./bin_build.sh, when copying the files due to the additional *.exe extension, but you may ignore those. The main question is whether the binaries compile at all.) Mojca
participants (4)
-
Hans Hagen
-
Henman
-
hwitloc@gmail.com
-
Mojca Miklavec