ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* installing tetex on ubuntu : basics log
@ 2005-12-02 11:27 olivier Turlier
  2005-12-02 15:32 ` Hans Hagen
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: olivier Turlier @ 2005-12-02 11:27 UTC (permalink / raw)


Hi everybody,
Starting to try installing correctly tetex3 on ubuntu, I wanted to ask
tons of questions. While formatting this mail, I've succeed in
installing tetex3. Maybe what follows can be worth fore somebody more
noooobie than me (is that possible?), or for a pre-beginner doc.

Following http://wiki.contextgarden.net/TeTeX_3.0_installation
and beginning of http://tug.org/teTeX/tetex-src/QuickInstall, i've :

	dwld     * tetex-src.tar.gz & tetex-texmf.tar.gz
	sudo mkdir -p /usr/local/teTeX/share/texmf 
	sudo mkdir -p /usr/local/teTeX/share/texmf-dist

SHIT HAPPENS HERE : it's like i'm missing some basic commands,
because if I type what next, term conplains : gzip -dc
tetex-texmf.tar.gz \| (umask 0; cd /usr/local/teTeX/share/texmf-dist;
tar xvf -)
My guess is 

	cd  /usr/local/teTeX/share/texmf-dist
	sudo tar xvf /home/olivier/dl/tetex-texmf.tar.gz
	sudo tar xvf /home/olivier/dl/tetex-src.tar.gz
	cd tetex-src-3.0/
	sudo bash (if not, term complains about configure.log)
	./configure --prefix=/usr/local/teTeX >& configure.log
	make world >& world.log (quite long)
	exit (from root)
	cd ~
	sudo vim .bash_profile
		add to it :
PATH=/usr/local/teTeX/bin/i686-pc-linux-gnu:$PATH; export PATH 
	
	texexec --version : not working, so

	PATH=/usr/local/teTeX/bin/i686-pc-linux-gnu:$PATH; export PATH
	texexec --version
		TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005

               texexec : TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005
               texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
                   tex : pdfeTeX, 3.141592-1.21a-2.2 (Web2C 7.5.4)
               context : ver: 2005.01.31
               cont-en : ver: 2005.01.31  fmt: 2005.12.2  mes: english

        	total run time : 1 seconds

	 texconfig conf
		=========================== version information ==========================
teTeX-src release:   3.0
teTeX-texmf release: 3.0

==================== binaries found by searching $PATH ===================
PATH=/usr/local/teTeX/bin/i686-pc-linux-gnu:/usr/local/bin:/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/bin/X11:/usr/games
kpsewhich: /usr/local/teTeX/bin/i686-pc-linux-gnu/kpsewhich
updmap: /usr/local/teTeX/bin/i686-pc-linux-gnu/updmap
fmtutil: /usr/local/teTeX/bin/i686-pc-linux-gnu/fmtutil
texconfig: /usr/local/teTeX/bin/i686-pc-linux-gnu/texconfig
tex: /usr/local/teTeX/bin/i686-pc-linux-gnu/tex
pdfetex: /usr/local/teTeX/bin/i686-pc-linux-gnu/pdfetex
mktexpk: /usr/local/teTeX/bin/i686-pc-linux-gnu/mktexpk
dvips: /usr/local/teTeX/bin/i686-pc-linux-gnu/dvips
dvipdfm: /usr/local/teTeX/bin/i686-pc-linux-gnu/dvipdfm

=========================== active config files ==========================
/usr/local/teTeX/share/texmf-dist/dvipdfm/config/config
/usr/local/teTeX/share/texmf-dist/dvips/config/config.ps
/usr/local/teTeX/share/texmf-dist/tex/generic/config/pdftexconfig.tex
/usr/local/teTeX/share/texmf-dist/web2c/mktex.cnf
/usr/local/teTeX/share/texmf-dist/web2c/updmap.cfg
/usr/local/teTeX/share/texmf/web2c/fmtutil.cnf
/usr/local/teTeX/share/texmf/web2c/texmf.cnf
XDvi: not found

============================= font map files =============================
psfonts.map: /usr/local/teTeX/share/texmf-var/fonts/map/dvips/updmap/psfonts.mappdftex.map: /usr/local/teTeX/share/texmf-var/fonts/map/pdftex/updmap/pdftex.map
ps2pk.map: /usr/local/teTeX/share/texmf-var/fonts/map/dvips/updmap/ps2pk.map
dvipdfm.map: /usr/local/teTeX/share/texmf-var/fonts/map/dvipdfm/updmap/dvipdfm.map

=========================== kpathsea variables ===========================
TEXMFMAIN=/usr/local/teTeX/share/texmf
TEXMFDIST=/usr/local/teTeX/share/texmf-dist
TEXMFLOCAL=/usr/local/teTeX/share/texmf-local
TEXMFSYSVAR=/usr/local/teTeX/share/texmf-var
TEXMFSYSCONFIG=/usr/local/teTeX/share/texmf-config
TEXMFVAR=/home/olivier/.texmf-var
TEXMFCONFIG=/home/olivier/.texmf-config
TEXMFHOME=/home/olivier/texmf
VARTEXFONTS=/var/tmp/texfonts
TEXMF={!!/home/olivier/.texmf-config,!!/home/olivier/.texmf-var,/home/olivier/texmf,!!/usr/local/teTeX/share/texmf-config,!!/usr/local/teTeX/share/texmf-var,!!/usr/local/teTeX/share/texmf,!!/usr/local/teTeX/share/texmf-local,!!/usr/local/teTeX/share/texmf-dist}
SYSTEXMF=/usr/local/teTeX/share/texmf-local:/usr/local/teTeX/share/texmf:/usr/local/teTeX/share/texmf-dist
TEXMFDBS={!!/home/olivier/.texmf-config,!!/home/olivier/.texmf-var,/home/olivier/texmf,!!/usr/local/teTeX/share/texmf-config,!!/usr/local/teTeX/share/texmf-var,!!/usr/local/teTeX/share/texmf,!!/usr/local/teTeX/share/texmf-local,!!/usr/local/teTeX/share/texmf-dist}:/var/tmp/texfonts
WEB2C={!!/home/olivier/.texmf-config,!!/home/olivier/.texmf-var,/home/olivier/texmf,!!/usr/local/teTeX/share/texmf-config,!!/usr/local/teTeX/share/texmf-var,!!/usr/local/teTeX/share/texmf,!!/usr/local/teTeX/share/texmf-local,!!/usr/local/teTeX/share/texmf-dist}/web2c
TEXPSHEADERS=.:{!!/home/olivier/.texmf-config,!!/home/olivier/.texmf-var,/home/olivier/texmf,!!/usr/local/teTeX/share/texmf-config,!!/usr/local/teTeX/share/texmf-var,!!/usr/local/teTeX/share/texmf,!!/usr/local/teTeX/share/texmf-local,!!/usr/local/teTeX/share/texmf-dist}/{dvips,fonts/{enc,type1,type3}}//
TEXCONFIG={!!/home/olivier/.texmf-config,!!/home/olivier/.texmf-var,/home/olivier/texmf,!!/usr/local/teTeX/share/texmf-config,!!/usr/local/teTeX/share/texmf-var,!!/usr/local/teTeX/share/texmf,!!/usr/local/teTeX/share/texmf-local,!!/usr/local/teTeX/share/texmf-dist}/dvips//
ENCFONTS=.:{!!/home/olivier/.texmf-config,!!/home/olivier/.texmf-var,/home/olivier/texmf,!!/usr/local/teTeX/share/texmf-config,!!/usr/local/teTeX/share/texmf-var,!!/usr/local/teTeX/share/texmf,!!/usr/local/teTeX/share/texmf-local,!!/usr/local/teTeX/share/texmf-dist}/fonts/enc//
TEXFONTMAPS=.:{!!/home/olivier/.texmf-config,!!/home/olivier/.texmf-var,/home/olivier/texmf,!!/usr/local/teTeX/share/texmf-config,!!/usr/local/teTeX/share/texmf-var,!!/usr/local/teTeX/share/texmf,!!/usr/local/teTeX/share/texmf-local,!!/usr/local/teTeX/share/texmf-dist}/fonts/map//

==== kpathsea variables (from environment only; ok if no output here) ====

	 kpsewhich texmf.cnf
		/usr/local/teTeX/share/texmf/web2c/texmf.cnf


Thanks for reading



-- 
olivier TURLIER
CRP La Rouguière
101 Bd des Libérateurs - BP 21
13367 MARSEILLE Cedex 11
FRANCE
tel : 04 91 66 58 10
fax : 04 91 45 14 48

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: installing tetex on ubuntu : basics log
  2005-12-02 11:27 installing tetex on ubuntu : basics log olivier Turlier
@ 2005-12-02 15:32 ` Hans Hagen
  2005-12-02 18:36 ` Taco Hoekwater
  2005-12-04 16:32 ` Taco Hoekwater
  2 siblings, 0 replies; 7+ messages in thread
From: Hans Hagen @ 2005-12-02 15:32 UTC (permalink / raw)


olivier Turlier wrote:

>Hi everybody,
>Starting to try installing correctly tetex3 on ubuntu, I wanted to ask
>tons of questions. While formatting this mail, I've succeed in
>installing tetex3. Maybe what follows can be worth fore somebody more
>noooobie than me (is that possible?), or for a pre-beginner doc.
>  
>
well, add this to the wiki then, an ubuntu section

Hans

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: installing tetex on ubuntu : basics log
  2005-12-02 11:27 installing tetex on ubuntu : basics log olivier Turlier
  2005-12-02 15:32 ` Hans Hagen
@ 2005-12-02 18:36 ` Taco Hoekwater
  2005-12-02 21:58   ` olivier Turlier
  2005-12-04 16:32 ` Taco Hoekwater
  2 siblings, 1 reply; 7+ messages in thread
From: Taco Hoekwater @ 2005-12-02 18:36 UTC (permalink / raw)


olivier Turlier wrote:
> Hi everybody,
> Starting to try installing correctly tetex3 on ubuntu, I wanted to ask
> tons of questions. While formatting this mail, I've succeed in
> installing tetex3. Maybe what follows can be worth fore somebody more
> noooobie than me (is that possible?), or for a pre-beginner doc.
> 
> Following http://wiki.contextgarden.net/TeTeX_3.0_installation
> and beginning of http://tug.org/teTeX/tetex-src/QuickInstall, i've :
> 
> 	dwld     * tetex-src.tar.gz & tetex-texmf.tar.gz
> 	sudo mkdir -p /usr/local/teTeX/share/texmf 
> 	sudo mkdir -p /usr/local/teTeX/share/texmf-dist
> 
> SHIT HAPPENS HERE : it's like i'm missing some basic commands,
> because if I type what next, term conplains : gzip -dc
> tetex-texmf.tar.gz \| (umask 0; cd /usr/local/teTeX/share/texmf-dist;
> tar xvf -)

Can you try to discover what command is missing? (That is interesting
information for Thomas Esser as well)

Cheers, Taco

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: installing tetex on ubuntu : basics log
  2005-12-02 18:36 ` Taco Hoekwater
@ 2005-12-02 21:58   ` olivier Turlier
  2005-12-03 10:12     ` VnPenguin
  0 siblings, 1 reply; 7+ messages in thread
From: olivier Turlier @ 2005-12-02 21:58 UTC (permalink / raw)


Le Fri, 02 Dec 2005 19:36:55 +0100, Taco Hoekwater a écrit :

> olivier Turlier wrote:
>> Hi everybody,
>> Starting to try installing correctly tetex3 on ubuntu, I wanted to ask
>> tons of questions. While formatting this mail, I've succeed in
>> installing tetex3. Maybe what follows can be worth fore somebody more
>> noooobie than me (is that possible?), or for a pre-beginner doc.
>> 
>> Following http://wiki.contextgarden.net/TeTeX_3.0_installation
>> and beginning of http://tug.org/teTeX/tetex-src/QuickInstall, i've :
>> 
>> 	dwld     * tetex-src.tar.gz & tetex-texmf.tar.gz
>> 	sudo mkdir -p /usr/local/teTeX/share/texmf 
>> 	sudo mkdir -p /usr/local/teTeX/share/texmf-dist
>> 
>> SHIT HAPPENS HERE : it's like i'm missing some basic commands,
>> because if I type what next, term conplains : gzip -dc
>> tetex-texmf.tar.gz \| (umask 0; cd /usr/local/teTeX/share/texmf-dist;
>> tar xvf -)
> 
> Can you try to discover what command is missing? (That is interesting
> information for Thomas Esser as well)
> 
> Cheers, Taco

The command # gzip -dc tetex-texmf.tar.gz \| (umask 0; cd /usr/local/teTeX/share/texmf-dist;tar xvf -)

	was impossible : bash: syntax error near unexpected token `('

I've tried , as a blind experiment : remove parenthesis, umask 022,
remove \, but still same kind of syntax error.

Will try to add this experience to ubuntu section, I've done the same
install @t home, everything was fine till to the end of the tetex3
installation page. I was only obliged to install twice cont-tmf.zip,
because I was not seing the line :  used engineformatpath :
/usr/local/teTeX/share/texmf-config/web2c/pdfetex/ (notice difference of
paths from wiki and mine)
echo $PATH
My only remaining pb is adding *tex* executables to the path. I've tried
several ways with no success, and emacs nor scite are tex aware :
	 $echo $SHELL : /bin/bash
so : 	$vim .bash_profile and add :
PATH=/usr/local/teTeX/bin/i686-pc-linux-gnu:$PATH; export PATH
 on top of the file + reboot

	texlive 2005 doc method :
	$touch .profile
	$ echo "export PATH=/usr/local/teTeX/bin/i686-pc-linux-gnu:$PATH" >>
	.profile
	$source .profile 

	redone the same for .bash_profile

will try to do it as root. I can only compile in a terminal, if I've typed
PATH=/usr/local/teTeX/bin/i686-pc-linux-gnu:$PATH; export PATH before in
the same session. What a pity !

Thanks a lot, Taco, for all your good info






-- 
olivier TURLIER

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Re: installing tetex on ubuntu : basics log
  2005-12-02 21:58   ` olivier Turlier
@ 2005-12-03 10:12     ` VnPenguin
  2005-12-03 12:10       ` olivier Turlier
  0 siblings, 1 reply; 7+ messages in thread
From: VnPenguin @ 2005-12-03 10:12 UTC (permalink / raw)


On 12/2/05, olivier Turlier <o.turlier@free.fr> wrote:
>
> The command # gzip -dc tetex-texmf.tar.gz \| (umask 0; cd /usr/local/teTeX/share/texmf-dist;tar xvf -)
>
>         was impossible : bash: syntax error near unexpected token `('
>
> I've tried , as a blind experiment : remove parenthesis, umask 022,
> remove \, but still same kind of syntax error.
>

With GNU tar :

# cd /usr/local/teTeX/share/texmf-dist
# tar xvzf /path/to/tetex-texmf.tar.gz

--
http://vnoss.org
Vietnamese Open Source Software Community

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Re: installing tetex on ubuntu : basics log
  2005-12-03 10:12     ` VnPenguin
@ 2005-12-03 12:10       ` olivier Turlier
  0 siblings, 0 replies; 7+ messages in thread
From: olivier Turlier @ 2005-12-03 12:10 UTC (permalink / raw)


Le Sat, 03 Dec 2005 11:12:39 +0100, VnPenguin a écrit :

> On 12/2/05, olivier Turlier <o.turlier@free.fr> wrote:
>>
>> The command # gzip -dc tetex-texmf.tar.gz \| (umask 0; cd /usr/local/teTeX/share/texmf-dist;tar xvf -)
>>
>>         was impossible : bash: syntax error near unexpected token `('
>>
>> I've tried , as a blind experiment : remove parenthesis, umask 022,
>> remove \, but still same kind of syntax error.
>>
> 
> With GNU tar :
> 
> # cd /usr/local/teTeX/share/texmf-dist
> # tar xvzf /path/to/tetex-texmf.tar.gz

It's what I've done (see begin of thread, after "shit happens ...)

Thanks


-- 
olivier TURLIER

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: installing tetex on ubuntu : basics log
  2005-12-02 11:27 installing tetex on ubuntu : basics log olivier Turlier
  2005-12-02 15:32 ` Hans Hagen
  2005-12-02 18:36 ` Taco Hoekwater
@ 2005-12-04 16:32 ` Taco Hoekwater
  2 siblings, 0 replies; 7+ messages in thread
From: Taco Hoekwater @ 2005-12-04 16:32 UTC (permalink / raw)


olivier Turlier wrote:
> Hi everybody,
> Starting to try installing correctly tetex3 on ubuntu, I wanted to ask
> tons of questions. While formatting this mail, I've succeed in
> installing tetex3. Maybe what follows can be worth fore somebody more
> noooobie than me (is that possible?), or for a pre-beginner doc.
> 
> Following http://wiki.contextgarden.net/TeTeX_3.0_installation
> and beginning of http://tug.org/teTeX/tetex-src/QuickInstall, i've :
> 
> 	dwld     * tetex-src.tar.gz & tetex-texmf.tar.gz
> 	sudo mkdir -p /usr/local/teTeX/share/texmf 
> 	sudo mkdir -p /usr/local/teTeX/share/texmf-dist
> 
> SHIT HAPPENS HERE : it's like i'm missing some basic commands,
> because if I type what next, term conplains : gzip -dc
> tetex-texmf.tar.gz \| (umask 0; cd /usr/local/teTeX/share/texmf-dist;
> tar xvf -)

I think I've solved this: I just realized you have \| here,
where it should have been just a |, without backslash.

The backslash on the line above it in the quickinstall is there
to "hide" the newline that follows it from the shell (look
up 'backslash' in bash-s man page)


Cheers, Taco

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-12-04 16:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-02 11:27 installing tetex on ubuntu : basics log olivier Turlier
2005-12-02 15:32 ` Hans Hagen
2005-12-02 18:36 ` Taco Hoekwater
2005-12-02 21:58   ` olivier Turlier
2005-12-03 10:12     ` VnPenguin
2005-12-03 12:10       ` olivier Turlier
2005-12-04 16:32 ` Taco Hoekwater

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).