# [OS X TeX] pdftex error

Lorant Olasz lorant at kth.se
Thu Mar 18 19:47:45 EST 2004

```For the past day I've been trying to get a working latex installation,
first with fink and then with I-installer. Installation process
produces no errors. However, when trying to compile a file with pdftex
I get the following error:

! Undefined control sequence.
l.3 \documentclass
[10pt] {article}

Also I could not run
pdftex example
Running
texconfing conf
gives the following (things seem to be in order, or?)

==================== binaries found by searching \$PATH
===================
tex:    /usr/local/teTeX/bin/powerpc-apple-darwin-current/tex
etex:   /usr/local/teTeX/bin/powerpc-apple-darwin-current/etex
dvipdfm:
/usr/local/teTeX/bin/powerpc-apple-darwin-current/dvipdfm
pdftex: /usr/local/teTeX/bin/powerpc-apple-darwin-current/pdftex
omega:  /usr/local/teTeX/bin/powerpc-apple-darwin-current/omega
mf:     /usr/local/teTeX/bin/powerpc-apple-darwin-current/mf
mpost:  /usr/local/teTeX/bin/powerpc-apple-darwin-current/mpost
tcdialog:
/usr/local/teTeX/bin/powerpc-apple-darwin-current/tcdialog
dvips:  /usr/local/teTeX/bin/powerpc-apple-darwin-current/dvips
xdvi:   /usr/local/teTeX/bin/powerpc-apple-darwin-current/xdvi
kpsewhich:
/usr/local/teTeX/bin/powerpc-apple-darwin-current/kpsewhich
mktexpk:
/usr/local/teTeX/bin/powerpc-apple-darwin-current/mktexpk
mktextfm:
/usr/local/teTeX/bin/powerpc-apple-darwin-current/mktextfm

=========================== Kpathsea variables
===========================
TEXMF={/Users/lorant/Library/texmf,!!/usr/local/teTeX/share/
texmf.local,!!/usr/local/teTeX/share/texmf.gwtex,!!/usr/local/teTeX/
share/texmf.tetex,!!/usr/local/teTeX/share/texmf}

=============== environment variables (ok if no output here)
=============

As I could not find any solution on to my problem by searching FAQ
pages or forums I would much appreciate any suggestions on what to do.