-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Hi Jamie,

Jamie Griffin <j...@koderize.com> wrote
  in <20091215115301.ga81...@bsdbox.koderize.com>
  on Tue, 15 Dec 2009 11:53:01 +0000:

> Hi there, i'm still using teTeX port and i'm desperate to upgrade to
> something more up-to-date and so made a first attempt yesterday to
> install your binaries but somehow got it wrong, or at least it didn't
> appear to work for me. 
> 
> I extracted them into /usr/local/texlive/2009/bin/i386-freebsd7/ and
> updated my path, which is how I understood it needed to be done from
> reading the README.txt; however, this did not work for me. 

First, make sure that your TeXLive 2009 install is fully done, i.e.
that you installed full distribution from DVD or net. If you did not do
so, please let me know.

Then, your PATH -- as reported by env(1) -- must look like this:

  PATH=/usr/local/texlive/2009/bin/i386-freebsd7:/sbin:/bin:/usr/sbin:
  /usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin

The important thing is to put TeXLive executables before those
installed by ports. This also means that you can safely have both
TeXLive and teTeX on the same system, which is a necessity on many
FreeBSD desktop systems. Also, make sure that PATH is permanently
stored in /etc/csh.cshrc and/or ~/.cshrc (if you use (t)csh), like this:

  setenv PATH /usr/local/texlive/2009/bin/i386-freebsd7:$PATH  

Just to be sure, delete ~/.texlive2009 if you have it.

Then, check if TeXLive executables are visible:

  % which tex
  /usr/local/texlive/2009/bin/i386-freebsd7/tex

  % tex -v
  TeX 3.1415926 (TeX Live 2009)
  kpathsea version 5.0.0
  Copyright 2009 D.E. Knuth.
  [...]

  % ls -la `which xelatex`
  lrwxrwxrwx  1 root  wheel  5 Dec 12
  18:24 /usr/local/texlive/2009/bin/i386-freebsd7/xelatex -> xetex

and if kpsewhich sees main configuration files:

  % kpsewhich fmtutil.cnf
  /usr/local/texlive/2009/texmf-var/web2c/fmtutil.cnf

Then run a basic test like

  % latex small2e
  % dvips small2e.dvi
  % pstopdf small2e.ps

and check small2e.pdf.

Best wishes,
- -- 
Nikola Lečić = Никола Лечић
fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.13 (FreeBSD)

iJwEAQEDAAYFAksnoA0ACgkQ/MM/0rYIoZhMuAQAzlvqYmTaNsgEgHYn2C9N3tm3
Ky2ZmAqLI75j47UajzULXLqbwFYhpyyYnMD3hYt3vbD5r8SDRHkTcBNlFd5VNuoH
+qe6qJ+BGuKxkeBzY4dWMREfahMLNt3EXsLrdAZiSG9rFf4/fM5GMIEtIxn0IzQ2
ixu6C0hkdYuOrPalW7k=
=64mX
-----END PGP SIGNATURE-----
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to