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