ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Building and installing pdftex 1.30 on teTeX 3.0
@ 2005-11-28 18:03 Nikolai Weibull
  2005-11-28 18:13 ` Taco Hoekwater
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Nikolai Weibull @ 2005-11-28 18:03 UTC (permalink / raw)


I've followed the instructions listed at
http://wiki.contextgarden.net/TeTeX_3.0_installation, but it won't quite
give.  The problem is that I use the Gentoo installation setup as a base
and have the latest ConTeXt installed in /usr/local/share.  Does anyone
know what options to pass to pdftex's configure-script to match the
setup on a Gentoo system (where stuff is stored in /etc/texmf and
/var/lib/texmf)?

Thanks.

        nikolai

-- 
Nikolai Weibull: now available free of charge at http://bitwi.se/!
Born in Chicago, IL USA; currently residing in Gothenburg, Sweden.
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}

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

* Re: Building and installing pdftex 1.30 on teTeX 3.0
  2005-11-28 18:03 Building and installing pdftex 1.30 on teTeX 3.0 Nikolai Weibull
@ 2005-11-28 18:13 ` Taco Hoekwater
  2005-11-28 20:05   ` Nikolai Weibull
  2005-11-28 18:17 ` Hans Hagen
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 14+ messages in thread
From: Taco Hoekwater @ 2005-11-28 18:13 UTC (permalink / raw)


Nikolai Weibull wrote:
> I've followed the instructions listed at
> http://wiki.contextgarden.net/TeTeX_3.0_installation, but it won't quite
> give.  The problem is that I use the Gentoo installation setup as a base
> and have the latest ConTeXt installed in /usr/local/share.  Does anyone
> know what options to pass to pdftex's configure-script to match the
> setup on a Gentoo system (where stuff is stored in /etc/texmf and
> /var/lib/texmf)?

It would be simplest (and definately justified) to ask this to the 
Gentoo maintainer, because (s)he has apparently succeeded in setting
that up (Gentoo's trees seem to bear only a passing resemblance to
teTeX and would be more accurately called Gentoo-TeX).

My best guess: find the non-etc version of texmf.cnf (I'm fairly
certain there is one), and attempt to pass the root of texmf tree
that contains it as  --datadir to the configure script.

Good luck,

Taco

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

* Re: Building and installing pdftex 1.30 on teTeX 3.0
  2005-11-28 18:03 Building and installing pdftex 1.30 on teTeX 3.0 Nikolai Weibull
  2005-11-28 18:13 ` Taco Hoekwater
@ 2005-11-28 18:17 ` Hans Hagen
  2005-11-28 19:26 ` VnPenguin
  2005-11-29 16:38 ` Jose Antonio Rodriguez
  3 siblings, 0 replies; 14+ messages in thread
From: Hans Hagen @ 2005-11-28 18:17 UTC (permalink / raw)


Nikolai Weibull wrote:

>I've followed the instructions listed at
>http://wiki.contextgarden.net/TeTeX_3.0_installation, but it won't quite
>give.  The problem is that I use the Gentoo installation setup as a base
>and have the latest ConTeXt installed in /usr/local/share.  Does anyone
>know what options to pass to pdftex's configure-script to match the
>setup on a Gentoo system (where stuff is stored in /etc/texmf and
>/var/lib/texmf)?
>  
>
well, since it's the gentoo people who use a structure different from 
tds, it's up to them to provide support for that; btw, this 
var/lib/texmf path looks unfamiliar to me (i wonder what libs tex ships 
with/provides -)

the problem is that there are so many texmf paths nowadays (not 
texmf-xxx under one root, but multiple texmf (main) paths in different 
locations that the change for clashes is pretty big)

Hans

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

* Re: Building and installing pdftex 1.30 on teTeX 3.0
  2005-11-28 18:03 Building and installing pdftex 1.30 on teTeX 3.0 Nikolai Weibull
  2005-11-28 18:13 ` Taco Hoekwater
  2005-11-28 18:17 ` Hans Hagen
@ 2005-11-28 19:26 ` VnPenguin
  2005-11-29 16:38 ` Jose Antonio Rodriguez
  3 siblings, 0 replies; 14+ messages in thread
From: VnPenguin @ 2005-11-28 19:26 UTC (permalink / raw)


On 11/28/05, Nikolai Weibull
<mailing-lists.context-users@rawuncut.elitemail.org> wrote:
> I've followed the instructions listed at
> http://wiki.contextgarden.net/TeTeX_3.0_installation, but it won't quite
> give.  The problem is that I use the Gentoo installation setup as a base
> and have the latest ConTeXt installed in /usr/local/share.  Does anyone
> know what options to pass to pdftex's configure-script to match the
> setup on a Gentoo system (where stuff is stored in /etc/texmf and
> /var/lib/texmf)?

The simple way, IMHO, is to build teTeX into /usr/local/teTeX.
After finished all, you need put "/usr/local/teTeX/bin" at top of your
$PATH and that should ok.

PATH=/usr/local/teTeX/bin:/usr/bin:.....

By this way I have always teTeX/pdfetex/ConTeXt up-to-date on my FC4 box.

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

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

* Re: Building and installing pdftex 1.30 on teTeX 3.0
  2005-11-28 18:13 ` Taco Hoekwater
@ 2005-11-28 20:05   ` Nikolai Weibull
  2005-11-28 20:51     ` Thomas A. Schmitz
  0 siblings, 1 reply; 14+ messages in thread
From: Nikolai Weibull @ 2005-11-28 20:05 UTC (permalink / raw)


Taco Hoekwater wrote:

> Nikolai Weibull wrote:

> > I've followed the instructions listed at
> > http://wiki.contextgarden.net/TeTeX_3.0_installation, but it won't
> > quite give.  The problem is that I use the Gentoo installation setup
> > as a base and have the latest ConTeXt installed in /usr/local/share.
> > Does anyone know what options to pass to pdftex's configure-script
> > to match the setup on a Gentoo system (where stuff is stored in
> > /etc/texmf and /var/lib/texmf)?

> It would be simplest (and definately justified) to ask this to the 
> Gentoo maintainer, because (s)he has apparently succeeded in setting
> that up (Gentoo's trees seem to bear only a passing resemblance to
> teTeX and would be more accurately called Gentoo-TeX).

Sadly, there's no separate pdfetex ebuild for Gentoo.  If there was, I
wouldn't have to mess with this :-).

> My best guess: find the non-etc version of texmf.cnf (I'm fairly
> certain there is one), and attempt to pass the root of texmf tree
> that contains it as  --datadir to the configure script.

Yes, there's one in /var/lib/texmf/web2c.  The reason for this layout is
to separate architecture-dependent files and non-architecture-dependent
files.  I can't say that the added complexity justify this separation.

        nikolai

-- 
Nikolai Weibull: now available free of charge at http://bitwi.se/!
Born in Chicago, IL USA; currently residing in Gothenburg, Sweden.
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}

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

* Re: Building and installing pdftex 1.30 on teTeX 3.0
  2005-11-28 20:05   ` Nikolai Weibull
@ 2005-11-28 20:51     ` Thomas A. Schmitz
  2005-11-29 19:39       ` Hans van der Meer
  0 siblings, 1 reply; 14+ messages in thread
From: Thomas A. Schmitz @ 2005-11-28 20:51 UTC (permalink / raw)


I have once tried to set up TeX on gentoo, and found this to be the  
most complicated and least user-friendly distribution I have ever  
seen. There's a bunch of texmf-trees in all kinds of bizarre  
locations, and a symlink farm in /etc like you wouldn't believe, and  
there's not a shred of documentation to be seen anywhere. So they  
make everything as complex as possible, but the TeX binaries are  
simply dumped into /usr/bin, so the only way to update is via the  
emerge system. But enough of this rant: be careful to figure out what  
cnf file is a symlink and which one is "real." They have an entire  
web2c tree in /etc/conf.d/texmf, if memory serves right, and the cnf  
files are regenerated from texmf.d/00texmf.cnf or somesuch, so this  
is the file you need to modify. But in the end, you may find it's not  
worth the trouble: just unmerge tetex and install a vanilla teTeX  
system.

Best

Thomas

On Nov 28, 2005, at 9:05 PM, Nikolai Weibull wrote:

> Taco Hoekwater wrote:
>
>> Nikolai Weibull wrote:
>
>>> I've followed the instructions listed at
>>> http://wiki.contextgarden.net/TeTeX_3.0_installation, but it won't
>>> quite give.  The problem is that I use the Gentoo installation setup
>>> as a base and have the latest ConTeXt installed in /usr/local/share.
>>> Does anyone know what options to pass to pdftex's configure-script
>>> to match the setup on a Gentoo system (where stuff is stored in
>>> /etc/texmf and /var/lib/texmf)?
>
>> It would be simplest (and definately justified) to ask this to the
>> Gentoo maintainer, because (s)he has apparently succeeded in setting
>> that up (Gentoo's trees seem to bear only a passing resemblance to
>> teTeX and would be more accurately called Gentoo-TeX).
>
> Sadly, there's no separate pdfetex ebuild for Gentoo.  If there was, I
> wouldn't have to mess with this :-).
>
>> My best guess: find the non-etc version of texmf.cnf (I'm fairly
>> certain there is one), and attempt to pass the root of texmf tree
>> that contains it as  --datadir to the configure script.
>
> Yes, there's one in /var/lib/texmf/web2c.  The reason for this  
> layout is
> to separate architecture-dependent files and non-architecture- 
> dependent
> files.  I can't say that the added complexity justify this separation.
>
>         nikolai
>
> -- 
> Nikolai Weibull: now available free of charge at http://bitwi.se/!
> Born in Chicago, IL USA; currently residing in Gothenburg, Sweden.
> main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

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

* Re: Building and installing pdftex 1.30 on teTeX 3.0
  2005-11-28 18:03 Building and installing pdftex 1.30 on teTeX 3.0 Nikolai Weibull
                   ` (2 preceding siblings ...)
  2005-11-28 19:26 ` VnPenguin
@ 2005-11-29 16:38 ` Jose Antonio Rodriguez
  2005-11-29 18:43   ` Nikolai Weibull
  3 siblings, 1 reply; 14+ messages in thread
From: Jose Antonio Rodriguez @ 2005-11-29 16:38 UTC (permalink / raw)


A las 19:03 del lun 28 nov, Nikolai Weibull tuvo a bien escribir:
> I've followed the instructions listed at
> http://wiki.contextgarden.net/TeTeX_3.0_installation, but it won't quite
> give.  The problem is that I use the Gentoo installation setup as a base
> and have the latest ConTeXt installed in /usr/local/share.  Does anyone
> know what options to pass to pdftex's configure-script to match the
> setup on a Gentoo system (where stuff is stored in /etc/texmf and
> /var/lib/texmf)?
> 
> Thanks.
> 
>         nikolai
> 

I have built pdftex-1.30.3 following the wiki on a Gentoo box - which is
what I use. After some try and swear, changing this line in the Build
script of the pdftex dist, made it work:

$ diff Build Build~
69c69
< (cd texk/web2c; $MAKE texmf=${TEXMF_PATH:-/usr/share/texmf} pdftex pdfetex) || exit 1
---
> (cd texk/web2c; $MAKE pdftex pdfetex || exit 1) || exit 1

When it compiles, just copy pdfetex to /usr/bin, and the *.fmt and
*.pool to /var/lib/texmf/web2c - this is where formats live.

The only texmf.cnf lives in /etc/texmf.cnf; other are symlinks to it.

-- 
José Antonio Rodríguez
jar@eideia.net
------------------------
'El Fuego vive en los corazones de quienes aman el futuro' (Agni Yoga)

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

* Re: Building and installing pdftex 1.30 on teTeX 3.0
  2005-11-29 16:38 ` Jose Antonio Rodriguez
@ 2005-11-29 18:43   ` Nikolai Weibull
  2005-11-29 19:08     ` Jose Antonio Rodriguez
  2005-11-29 19:15     ` Tobias Burnus
  0 siblings, 2 replies; 14+ messages in thread
From: Nikolai Weibull @ 2005-11-29 18:43 UTC (permalink / raw)


Jose Antonio Rodriguez wrote:

> After some try and swear...

I know how that goes :-(

> $ diff Build Build~
> 69c69
> < (cd texk/web2c; $MAKE texmf=${TEXMF_PATH:-/usr/share/texmf} pdftex pdfetex) || exit 1
> ---
> > (cd texk/web2c; $MAKE pdftex pdfetex || exit 1) || exit 1
> 
> When it compiles, just copy pdfetex to /usr/bin, and the *.fmt and
> *.pool to /var/lib/texmf/web2c - this is where formats live.

OK, thanks, I'll try that.

> The only texmf.cnf lives in /etc/texmf.cnf; other are symlinks to it.

Do you have a symlink in /etc/share/texmf/web2c as well?

        nikolai

-- 
Nikolai Weibull: now available free of charge at http://bitwi.se/!
Born in Chicago, IL USA; currently residing in Gothenburg, Sweden.
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}

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

* Re: Building and installing pdftex 1.30 on teTeX 3.0
  2005-11-29 18:43   ` Nikolai Weibull
@ 2005-11-29 19:08     ` Jose Antonio Rodriguez
  2005-11-29 19:15     ` Tobias Burnus
  1 sibling, 0 replies; 14+ messages in thread
From: Jose Antonio Rodriguez @ 2005-11-29 19:08 UTC (permalink / raw)


A las 19:43 del mar 29 nov, Nikolai Weibull tuvo a bien escribir:
> Jose Antonio Rodriguez wrote:
> 
> > After some try and swear...
> 
> I know how that goes :-(
> 
> > $ diff Build Build~
> > 69c69
> > < (cd texk/web2c; $MAKE texmf=${TEXMF_PATH:-/usr/share/texmf} pdftex pdfetex) || exit 1
> > ---
> > > (cd texk/web2c; $MAKE pdftex pdfetex || exit 1) || exit 1
> > 
> > When it compiles, just copy pdfetex to /usr/bin, and the *.fmt and
> > *.pool to /var/lib/texmf/web2c - this is where formats live.
> 
> OK, thanks, I'll try that.
> 
> > The only texmf.cnf lives in /etc/texmf.cnf; other are symlinks to it.
> 
> Do you have a symlink in /etc/share/texmf/web2c as well?
> 
>         nikolai
> 
Sorry, I made a typo:

$ locate texmf.cnf
/etc/texmf/web2c/texmf.cnf		# real; make a backup!
/etc/texmf/texmf.d/00texmf.cnf		
		-- forget it - just a template, it'll overwrite your when
		updating
/usr/share/texmf/web2c/texmf.cnf	-- link
/var/lib/texmf/web2c/texmf.cnf		-- link

I just compiled and installed pdftex 1.30.4 without problems.
But to be safe, in the Build script include "--prefix=/usr" in the
config options if you have the main tree in /usr/share/texmf.
You'll also have a ~/.texmf-var - this is where I put the ConTeXt files.
As in the wiki, you have to run fmtutil-sys --refresh afterwards

Luck

-- 
José Antonio Rodríguez
jar@eideia.net
------------------------
'El Fuego vive en los corazones de quienes aman el futuro' (Agni Yoga)

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

* Re: Building and installing pdftex 1.30 on teTeX 3.0
  2005-11-29 18:43   ` Nikolai Weibull
  2005-11-29 19:08     ` Jose Antonio Rodriguez
@ 2005-11-29 19:15     ` Tobias Burnus
  1 sibling, 0 replies; 14+ messages in thread
From: Tobias Burnus @ 2005-11-29 19:15 UTC (permalink / raw)


Hi,

Nikolai Weibull wrote:
>> The only texmf.cnf lives in /etc/texmf.cnf; other are symlinks to it.
>>     
> Do you have a symlink in /etc/share/texmf/web2c as well?
>   
Well, I have with a standard-SUSE-10.0 teTeX only 
/etc/texmf/web2c/texmf.cnf and neither of those others.

To find the texmf.cnf, which TeX uses, enter:
   kpsewhich texmf.cnf
(gives here: /usr/share/texmf/web2c/texmf.cnf)

to find the real file (you can also edit the symlink, actually), use 
readlink:
  readlink -f `kpsewhich texmf.cnf`
(gives here: "/etc/texmf/web2c/texmf.cnf", the symlink above is actually 
"../../../../etc/texmf/web2c/texmf.cnf")

Tobias

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

* Re: Building and installing pdftex 1.30 on teTeX 3.0
  2005-11-28 20:51     ` Thomas A. Schmitz
@ 2005-11-29 19:39       ` Hans van der Meer
  2005-11-29 20:04         ` VnPenguin
  2005-11-30  8:28         ` Hans Hagen
  0 siblings, 2 replies; 14+ messages in thread
From: Hans van der Meer @ 2005-11-29 19:39 UTC (permalink / raw)


I use (as root: sudo) the following shell script to install the  
latest pdfetex. For me it works. It might be of use to you.

#!/bin/sh
echo "Installing Pdftex..."
umask 022
unzip pdftex-1.30.4.zip
cd pdftex-1.30.4
sh ./Build
cp -f build/texk/web2c/pdftex `which pdftex`
cp -f build/texk/web2c/pdftex.pool `kpsewhich pdftex.pool`
cp -f build/texk/web2c/pdfetex `which pdfetex`
cp -f build/texk/web2c/pdfetex.pool `kpsewhich pdfetex.pool`
chown -R root:wheel /usr/local/teTeX
chmod -R u+w /usr/local/teTeX
chmod -R a+r /usr/local/teTeX
umask 027
cd ..
echo "Installing Pdftex done."
exit

yours sincerely,
dr. H. van der Meer



On Nov 28, 2005, at 21:51, Thomas A. Schmitz wrote:

> I have once tried to set up TeX on gentoo, and found this to be the  
> most complicated and least user-friendly distribution I have ever  
> seen. There's a bunch of texmf-trees in all kinds of bizarre  
> locations, and a symlink farm in /etc like you wouldn't believe,  
> and there's not a shred of documentation to be seen anywhere. So  
> they make everything as complex as possible, but the TeX binaries  
> are simply dumped into /usr/bin, so the only way to update is via  
> the emerge system. But enough of this rant: be careful to figure  
> out what cnf file is a symlink and which one is "real." They have  
> an entire web2c tree in /etc/conf.d/texmf, if memory serves right,  
> and the cnf files are regenerated from texmf.d/00texmf.cnf or  
> somesuch, so this is the file you need to modify. But in the end,  
> you may find it's not worth the trouble: just unmerge tetex and  
> install a vanilla teTeX system.
>
> Best
>
> Thomas
>
> On Nov 28, 2005, at 9:05 PM, Nikolai Weibull wrote:
>
>
>> Taco Hoekwater wrote:
>>
>>
>>> Nikolai Weibull wrote:
>>>
>>
>>
>>>> I've followed the instructions listed at
>>>> http://wiki.contextgarden.net/TeTeX_3.0_installation, but it won't
>>>> quite give.  The problem is that I use the Gentoo installation  
>>>> setup
>>>> as a base and have the latest ConTeXt installed in /usr/local/ 
>>>> share.
>>>> Does anyone know what options to pass to pdftex's configure-script
>>>> to match the setup on a Gentoo system (where stuff is stored in
>>>> /etc/texmf and /var/lib/texmf)?
>>>>
>>
>>
>>> It would be simplest (and definately justified) to ask this to the
>>> Gentoo maintainer, because (s)he has apparently succeeded in setting
>>> that up (Gentoo's trees seem to bear only a passing resemblance to
>>> teTeX and would be more accurately called Gentoo-TeX).
>>>
>>
>> Sadly, there's no separate pdfetex ebuild for Gentoo.  If there  
>> was, I
>> wouldn't have to mess with this :-).
>>
>>
>>> My best guess: find the non-etc version of texmf.cnf (I'm fairly
>>> certain there is one), and attempt to pass the root of texmf tree
>>> that contains it as  --datadir to the configure script.
>>>
>>
>> Yes, there's one in /var/lib/texmf/web2c.  The reason for this  
>> layout is
>> to separate architecture-dependent files and non-architecture- 
>> dependent
>> files.  I can't say that the added complexity justify this  
>> separation.
>>
>>         nikolai
>>
>> -- 
>> Nikolai Weibull: now available free of charge at http://bitwi.se/!
>> Born in Chicago, IL USA; currently residing in Gothenburg, Sweden.
>> main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}
>> _______________________________________________
>> ntg-context mailing list
>> ntg-context@ntg.nl
>> http://www.ntg.nl/mailman/listinfo/ntg-context
>>
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>

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

* Re: Building and installing pdftex 1.30 on teTeX 3.0
  2005-11-29 19:39       ` Hans van der Meer
@ 2005-11-29 20:04         ` VnPenguin
  2005-11-30  8:28         ` Hans Hagen
  1 sibling, 0 replies; 14+ messages in thread
From: VnPenguin @ 2005-11-29 20:04 UTC (permalink / raw)


On 11/29/05, Hans van der Meer <hansm@science.uva.nl> wrote:
> I use (as root: sudo) the following shell script to install the
> latest pdfetex. For me it works. It might be of use to you.
>
> #!/bin/sh
> echo "Installing Pdftex..."
> umask 022
> unzip pdftex-1.30.4.zip
> cd pdftex-1.30.4
> sh ./Build
> cp -f build/texk/web2c/pdftex `which pdftex`
> cp -f build/texk/web2c/pdftex.pool `kpsewhich pdftex.pool`
> cp -f build/texk/web2c/pdfetex `which pdfetex`
> cp -f build/texk/web2c/pdfetex.pool `kpsewhich pdfetex.pool`

ok

> chown -R root:wheel /usr/local/teTeX
> chmod -R u+w /usr/local/teTeX
> chmod -R a+r /usr/local/teTeX
> umask 027

I can not understand these commands. Why need that ?

> cd ..
> echo "Installing Pdftex done."
> exit

Why not add command "fmtutil-sys --refresh" at end of your script ?


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

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

* Re: Building and installing pdftex 1.30 on teTeX 3.0
  2005-11-29 19:39       ` Hans van der Meer
  2005-11-29 20:04         ` VnPenguin
@ 2005-11-30  8:28         ` Hans Hagen
  2005-11-30  8:47           ` Taco Hoekwater
  1 sibling, 1 reply; 14+ messages in thread
From: Hans Hagen @ 2005-11-30  8:28 UTC (permalink / raw)


Hans van der Meer wrote:

> I use (as root: sudo) the following shell script to install the  
> latest pdfetex. For me it works. It might be of use to you.
>
> #!/bin/sh
> echo "Installing Pdftex..."
> umask 022
> unzip pdftex-1.30.4.zip
> cd pdftex-1.30.4
> sh ./Build
> cp -f build/texk/web2c/pdftex `which pdftex`
> cp -f build/texk/web2c/pdftex.pool `kpsewhich pdftex.pool`

no need for pdftex, is kind of obsolete, and afaik pdfetex is always the 
default

> cp -f build/texk/web2c/pdfetex `which pdfetex`

which -> kpsewhich

> cp -f build/texk/web2c/pdfetex.pool `kpsewhich pdfetex.pool`
> chown -R root:wheel /usr/local/teTeX

what is this wheel thing?

> chmod -R u+w /usr/local/teTeX
> chmod -R a+r /usr/local/teTeX

why not make that place independent as well?

chmod -R u+w `which pdfetex` `which pdfetex.pool`

> umask 027
> cd ..
> echo "Installing Pdftex done."
> exit


wikiable

Hans

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

* Re: Building and installing pdftex 1.30 on teTeX 3.0
  2005-11-30  8:28         ` Hans Hagen
@ 2005-11-30  8:47           ` Taco Hoekwater
  0 siblings, 0 replies; 14+ messages in thread
From: Taco Hoekwater @ 2005-11-30  8:47 UTC (permalink / raw)



Hi Hans and Hans,

Hans Hagen wrote:
> Hans van der Meer wrote:
> 
>> I use (as root: sudo) the following shell script to install the  
>> latest pdfetex. For me it works. It might be of use to you.
>>
>> #!/bin/sh
>> echo "Installing Pdftex..."
>> umask 022
>> unzip pdftex-1.30.4.zip
>> cd pdftex-1.30.4
>> sh ./Build
>> cp -f build/texk/web2c/pdftex `which pdftex`
>> cp -f build/texk/web2c/pdftex.pool `kpsewhich pdftex.pool`
> 
> 
> no need for pdftex, is kind of obsolete, and afaik pdfetex is always the 
> default

Yes. I will remove these two lines from the wiki page as well.

>> cp -f build/texk/web2c/pdfetex `which pdfetex`
> 
> 
> which -> kpsewhich

No, "which" is correct.  You want to replace the executable pdfetex
that is in the path.

On all distributions (except the minimal zips), the bin tree is
outside of kpsewhich scope.

>> cp -f build/texk/web2c/pdfetex.pool `kpsewhich pdfetex.pool`
>> chown -R root:wheel /usr/local/teTeX
> 
> 
> what is this wheel thing?

The "wheel" user group is a unix security measure (of sorts).

>> chmod -R u+w /usr/local/teTeX
>> chmod -R a+r /usr/local/teTeX
> 
> why not make that place independent as well?

Hans is chmodding the directory, not the executable.

I'm doubt these chown/chmod lines are really needed after
each update of pdfetex (the will only do something the first
time the script is run).

It looks to me like you had a rather peculiar umask in effect
when you installed teTeX 3.0.

Cheers, Taco

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

end of thread, other threads:[~2005-11-30  8:47 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-28 18:03 Building and installing pdftex 1.30 on teTeX 3.0 Nikolai Weibull
2005-11-28 18:13 ` Taco Hoekwater
2005-11-28 20:05   ` Nikolai Weibull
2005-11-28 20:51     ` Thomas A. Schmitz
2005-11-29 19:39       ` Hans van der Meer
2005-11-29 20:04         ` VnPenguin
2005-11-30  8:28         ` Hans Hagen
2005-11-30  8:47           ` Taco Hoekwater
2005-11-28 18:17 ` Hans Hagen
2005-11-28 19:26 ` VnPenguin
2005-11-29 16:38 ` Jose Antonio Rodriguez
2005-11-29 18:43   ` Nikolai Weibull
2005-11-29 19:08     ` Jose Antonio Rodriguez
2005-11-29 19:15     ` Tobias Burnus

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