context minimals on OpenSolaris 2008.11
Hello list members and ConTeXt gods, this question is more technical than TeXnical but none the less ConTeXt releated. Today I am investigating if I can replace linux with OpenSolaris, so I am testing every, even exotic, software that I use on my linux box on OpenSolaris. Looking into first-setup.sh there seem to be support for Solaris on Intel hardware called "sunos-intel". But if I try to install ConTeXt it doesn't work: mickraus@gandalf:~/context$ ./first-setup.sh /usr/bin/rsync /usr/bin/ruby receiving file list ... rsync: link_stat "/setup/sunos-intel/bin" (in minimals) failed: No such file or directory (2) done sent 4 bytes received 9 bytes 26.00 bytes/sec total size is 0 speedup is 0.00 rsync error: some files could not be transferred (code 23) at main.c(1385) [receiver=2.6.9] ./first-setup.sh: line 68: mtxrun: not found Next I tried to build the binaries myself by checking out the sources from Subversion: svn co http://svn.contextgarden.net/minimals-src/build-binaries And running ./build-binaries.sh afterwards. But this doesn't work either: mickraus@gandalf:~/context/build-binaries$ ./build-binaries.sh [ ... tons of make output removed ... ] ar cru ../kpathsea/.libs/libkpathsea.a tex-file.o absolute.o atou.o cnf.o concat.o concat3.o concatn.o db.o debug.o dir.o elt-dirs.o expand.o extend-fname.o file-p.o find-suffix.o fn.o fontmap.o getopt.o getopt1.o hash.o kdefault.o line.o magstep.o make-suffix.o path-elt.o pathsearch.o proginit.o progname.o readable.o rm-suffix.o str-list.o str-llist.o tex-glyph.o tex-hush.o tex-make.o tilde.o truncate.o uppercasify.o variable.o version.o xbasename.o xcalloc.o xdirname.o xfopen.o xfseek.o xfseeko.o xftell.o xftello.o xgetcwd.o xmalloc.o xopendir.o xputenv.o xrealloc.o xstat.o xstrdup.o error.o filename.o home.o lookcmd.o string.o system.o time.o user.o volume.o ranlib ../kpathsea/.libs/libkpathsea.a creating ../kpathsea/libkpathsea.la (cd ../kpathsea/.libs && rm -f libkpathsea.la && ln -s ../libkpathsea.la libkpathsea.la) ./ctangle ctangle make: ./ctangle: Command not found make: *** [ctangle.c] Error 127 cp: cannot stat `build/texk/web2c/mpdir/mpost': No such file or directory Reverted 'VERSIONS' -e Sorry, there have been some failures: - build of xetex on sunos-intel - build of luatex on sunos-intel - build of metapost on sunos-intel -n No svn commit! Please press enter to continue! There are three executables named ctangle in the minimals directory: mickraus@gandalf:~/context/build-binaries$ find . -name ctangle ./src/current/pdftex/build/texk/web2c/ctangle ./src/current/luatex/build/texk/web2c/ctangle ./src/current/xetex/Work/texk/web2c/ctangle How should I proceed from here? What is the status of Solaris support for context minimals? Kind regards, Michael Krauss -- Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
2008/11/24 "Michael Krauß"
mickraus@gandalf:~/context/build-binaries$ ./build-binaries.sh [ ... tons of make output removed ... ] ar cru ../kpathsea/.libs/libkpathsea.a tex-file.o absolute.o atou.o cnf.o concat.o concat3.o concatn.o db.o debug.o dir.o elt-dirs.o expand.o extend-fname.o file-p.o find-suffix.o fn.o fontmap.o getopt.o getopt1.o hash.o kdefault.o line.o magstep.o make-suffix.o path-elt.o pathsearch.o proginit.o progname.o readable.o rm-suffix.o str-list.o str-llist.o tex-glyph.o tex-hush.o tex-make.o tilde.o truncate.o uppercasify.o variable.o version.o xbasename.o xcalloc.o xdirname.o xfopen.o xfseek.o xfseeko.o xftell.o xftello.o xgetcwd.o xmalloc.o xopendir.o xputenv.o xrealloc.o xstat.o xstrdup.o error.o filename.o home.o lookcmd.o string.o system.o time.o user.o volume.o ranlib ../kpathsea/.libs/libkpathsea.a creating ../kpathsea/libkpathsea.la (cd ../kpathsea/.libs && rm -f libkpathsea.la && ln -s ../libkpathsea.la libkpathsea.la) ./ctangle ctangle make: ./ctangle: Command not found make: *** [ctangle.c] Error 127 cp: cannot stat `build/texk/web2c/mpdir/mpost': No such file or directory Reverted 'VERSIONS' -e Sorry, there have been some failures: - build of xetex on sunos-intel - build of luatex on sunos-intel - build of metapost on sunos-intel -n No svn commit! Please press enter to continue!
There are three executables named ctangle in the minimals directory: mickraus@gandalf:~/context/build-binaries$ find . -name ctangle ./src/current/pdftex/build/texk/web2c/ctangle ./src/current/luatex/build/texk/web2c/ctangle ./src/current/xetex/Work/texk/web2c/ctangle
How should I proceed from here? What is the status of Solaris support for context minimals? You need ctangle in your path. Install texlive or tetex.
Cheers -- Diego Depaoli
Von: "Diego Depaoli"
You need ctangle in your path. Install texlive or tetex.
Done. Installed texlive by the net installer and set PATH:
mickraus@gandalf:~/context/build-binaries$ which ctangle
/export/home/mickraus/texlive/bin/i386-solaris/ctangle
mickraus@gandalf:~/context/build-binaries$ echo $PATH
/export/home/mickraus/texlive/bin/i386-solaris/:/usr/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin
But I am still getting the same error message:
./ctangle ctangle
make: ./ctangle: Command not found
make: *** [ctangle.c] Error 127
To me make rather tries to start a local version of ctangle (>>./<
On Mon, Nov 24, 2008 at 5:00 PM, "Michael Krauß"
Von: "Diego Depaoli"
You need ctangle in your path. Install texlive or tetex.
Done. Installed texlive by the net installer and set PATH:
mickraus@gandalf:~/context/build-binaries$ which ctangle /export/home/mickraus/texlive/bin/i386-solaris/ctangle mickraus@gandalf:~/context/build-binaries$ echo $PATH
/export/home/mickraus/texlive/bin/i386-solaris/:/usr/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin
But I am still getting the same error message:
./ctangle ctangle make: ./ctangle: Command not found make: *** [ctangle.c] Error 127
To me make rather tries to start a local version of ctangle (>>./<
try first to copy in your current dir. I have had a similar problem under linux -- luigi
Von: "luigi scarso"
try first to copy in your current dir. I have had a similar problem under linux
Do you mean adding the dot in front of the PATH? I did so mickraus@gandalf:~/context/build-binaries$ echo $PATH .:/export/home/mickraus/texlive/bin/i386-solaris/:/usr/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin but unfortunately nothing has changed. Kind regards. Michael Krauss -- Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
On Mon, Nov 24, 2008 at 5:48 PM, "Michael Krauß"
Von: "luigi scarso"
try first to copy in your current dir. I have had a similar problem under linux
Do you mean adding the dot in front of the PATH? I did so
mickraus@gandalf:~/context/build-binaries$ echo $PATH
.:/export/home/mickraus/texlive/bin/i386-solaris/:/usr/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin
no, copy ctangle in current dir where build-binaries.sh lives -- luigi
On Mon, Nov 24, 2008 at 2:52 PM, "Michael Krauß" wrote:
Hello list members and ConTeXt gods,
this question is more technical than TeXnical but none the less ConTeXt releated. Today I am investigating if I can replace linux with OpenSolaris, so I am testing every, even exotic, software that I use on my linux box on OpenSolaris.
Looking into first-setup.sh there seem to be support for Solaris on Intel hardware called "sunos-intel". But if I try to install ConTeXt it doesn't work:
Well, Hans wanted to try it out, but gave up too soon because of some compilation problems. I didn't remove the few lines that I added, but there are no binaries available either. If you are willing to compile them (or rather keep compiling them every now to keep dependencies satisfied), we can finish adding support for open solaris.
mickraus@gandalf:~/context$ ./first-setup.sh /usr/bin/rsync /usr/bin/ruby receiving file list ... rsync: link_stat "/setup/sunos-intel/bin" (in minimals) failed: No such file or directory (2) done
Sure. We have no binaries at the moment.
Next I tried to build the binaries myself by checking out the sources from Subversion:
svn co http://svn.contextgarden.net/minimals-src/build-binaries
And running ./build-binaries.sh afterwards. But this doesn't work either:
mickraus@gandalf:~/context/build-binaries$ ./build-binaries.sh [ ... tons of make output removed ... ] ar cru ../kpathsea/.libs/libkpathsea.a tex-file.o absolute.o atou.o cnf.o concat.o concat3.o concatn.o db.o debug.o dir.o elt-dirs.o expand.o extend-fname.o file-p.o find-suffix.o fn.o fontmap.o getopt.o getopt1.o hash.o kdefault.o line.o magstep.o make-suffix.o path-elt.o pathsearch.o proginit.o progname.o readable.o rm-suffix.o str-list.o str-llist.o tex-glyph.o tex-hush.o tex-make.o tilde.o truncate.o uppercasify.o variable.o version.o xbasename.o xcalloc.o xdirname.o xfopen.o xfseek.o xfseeko.o xftell.o xftello.o xgetcwd.o xmalloc.o xopendir.o xputenv.o xrealloc.o xstat.o xstrdup.o error.o filename.o home.o lookcmd.o string.o system.o time.o user.o volume.o ranlib ../kpathsea/.libs/libkpathsea.a creating ../kpathsea/libkpathsea.la (cd ../kpathsea/.libs && rm -f libkpathsea.la && ln -s ../libkpathsea.la libkpathsea.la) ./ctangle ctangle make: ./ctangle: Command not found make: *** [ctangle.c] Error 127 cp: cannot stat `build/texk/web2c/mpdir/mpost': No such file or directory
If I'm not mistaken then pdftex, xetex and luatex have been compiled without problems? The process would probably not run out of the box before a new svn repository gets created and you would need an account in order to be able to commit anyway, but you can check if files like: - src/current/pdftex/build/texk/web2c/pdftex - src/current/xetex/Work/texk/web2c/xetex - src/current/luatex/build/texk/web2c/luatex exist.
There are three executables named ctangle in the minimals directory: mickraus@gandalf:~/context/build-binaries$ find . -name ctangle ./src/current/pdftex/build/texk/web2c/ctangle ./src/current/luatex/build/texk/web2c/ctangle ./src/current/xetex/Work/texk/web2c/ctangle
Taco has been modifying the make scripts some time ago. I would ask him. I did have some problems to build binaries on contextgarden, but I thought that these problems have been solved. In general adding any ctangle to build path should help (at the time when you build metapost it doesn't see the ctangle binary of pdftex/xetex/luatex), but maybe there was a tiny overlook somewhere. Taco has ctangle all over on his machine, so he would not notice if that was a problem.
How should I proceed from here? What is the status of Solaris support for context minimals?
None exists, but we can add it if one (you?) promisses to run the building script every now and then. Mojca
Von: "Mojca Miklavec"
If you are willing to compile them (or rather keep compiling them every now to keep dependencies satisfied), we can finish adding support for open solaris.
Until now I am just evaluating OpenSolaris as a Linux replacement. 10 Years of fun with a constantly morphing kernel are enough. There are two issues left: One is Context and the other is OCaml. The mainstream software is running just fine.
If I'm not mistaken then pdftex, xetex and luatex have been compiled without problems?
Not really: make: ./ctangle: Command not found make: *** [ctangle.c] Error 127 cp: cannot stat `build/texk/web2c/mpdir/mpost': No such file or directory Reverted 'VERSIONS' -e Sorry, there have been some failures: - build of xetex on sunos-intel - build of luatex on sunos-intel - build of metapost on sunos-intel -n No svn commit! Please press enter to continue!
The process would probably not run out of the box before a new svn repository gets created and you would need an account in order to be able to commit anyway, but you can check if files like: - src/current/pdftex/build/texk/web2c/pdftex
Yes, this program was compiled and I can run it (missing texmf.cnf aside).
- src/current/xetex/Work/texk/web2c/xetex - src/current/luatex/build/texk/web2c/luatex
Those two files don't exist. There are a bunch of source files in this web2c directories but not the searched executables.
Taco has been modifying the make scripts some time ago. I would ask him. I did have some problems to build binaries on contextgarden, but I thought that these problems have been solved. In general adding any ctangle to build path should help (at the time when you build metapost it doesn't see the ctangle binary of pdftex/xetex/luatex), but maybe there was a tiny overlook somewhere. Taco has ctangle all over on his machine, so he would not notice if that was a problem.
I will try to figure out in what directory gmake is getting the "command not found" error and place a copy of ctangle there. Kind regards, Michael Krauss -- Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
Von: Arthur Reutenauer
make: ./ctangle: Command not found
As has already been said, you need a working TeX installation in order to compile new binaries. Try TeX Live 2008, which has a i386-solaris binary distribution.
Yes I know. I installed it a few hours ago and included the directory containing the binaries into PATH: mickraus@gandalf:~/context/build-binaries$ echo $PATH /export/home/mickraus/texlive/bin/i386-solaris:/usr/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin mickraus@gandalf:~/context/build-binaries$ which pdflatex /export/home/mickraus/texlive/bin/i386-solaris/pdflatex mickraus@gandalf:~/texlive$ find . -name ctangle ./bin/i386-solaris/ctangle But now I am going to bed. I will work through Mojcas post tomorrow. Good Night, Michael Krauss -- Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
On Mon, Nov 24, 2008 at 2:52 PM, "Michael Krauß" wrote:
How should I proceed from here? What is the status of Solaris support for context minimals?
Hello, just to let the others know ... minimals should now work on both Solaris Intel & Sparc (thanks to Michael Krauß, Apostolos & Vladimir Volovich). Mojca
participants (5)
-
"Michael Krauß"
-
Arthur Reutenauer
-
Diego Depaoli
-
luigi scarso
-
Mojca Miklavec