मैं emacsformaccx.com से एक एमएसी बाइनरी (संस्करण 24.0.50) पर AucTeX 1.86 स्थापित करने की कोशिश कर रहा हूं। पहले प्रयास में ./configureआउटपुट:
configure: error: Cannot find the texmf directory!
Please use --with-texmf-dir=dir to specify where the preview tex files goconfigure: error: ./configure failed for preview
मैं जोड़ता हूं --with-texmf-dir=/usr/local/texlive/texmf-local, जिसमें ./configureकई बधाई के साथ खुशी से जवाब देता हूं। मैं एक गड़बड़ के साथ makeऔर sudo make installबिना संकलन करता हूं ।
मैं Emacs पर एक .tex फ़ाइल खोलता हूं और AucTeX लोड नहीं करता है। मैं (load auctex.el nil t t)* खरोंच * बफर और Emacs outputs में Cj जारी :
Debugger entered--Lisp error:(file-error "Cannot open load file" "auctex.el")
कुछ ऊपर है। मुझे लगा कि Emacs को फ़ाइल नहीं मिल रही है, इसलिए यह स्थापित नहीं होना चाहिए कि यह कहाँ होना चाहिए था। मैं AucTeX फ़ाइलों को ट्रैक करता हूँ /usr/share/emacs/site-lisp, जहाँ Emacs 22.1 रहता है।
मेरे पास यहाँ दो विकल्प थे: 1. Emacs को बताएं कि AucTeX को कहां ढूंढें (जो मुझे नहीं पता कि कैसे करना है); 2. अधिक कॉन्फ़िगरेशन विकल्पों के साथ AucTeX को फिर से खोलें (जो आगे सीधे लगता था)।
पिछली स्थापना से सभी AucTeX फ़ाइलों को हटाने के बाद, मैंने recompile को चुना। इस बार मैं स्रोत को कॉन्फ़िगर कर रहा हूं, यह बता रहा है कि एमएसीएस का उपयोग कहां करना चाहिए:
./configure -with-emacs=/Applications/Emacs.app/Contents/MacOS/Emacs --with-lisp-dir=/Applications/Emacs.app/Contents/Resources/site-lisp --with-texmf-dir=/usr/local/texlive/texmf-local
इस बार यह शिकायत है:
`configure: error: Cannot locate lisp directory,`
`use --with-lispdir, --datadir, or possibly --prefix to rectify this`
हालांकि मैंने --with-lisp-dir=dirविकल्प को शामिल किया । यदि मैं इसे बाहर निकालता हूं, तो यह अभी भी लिस्प निर्देशिका को खोजने में सक्षम नहीं होने के बारे में शिकायत करता है। AucTeX एप्लिकेशन फ़ोल्डर में Emacs.app पसंद नहीं करता है।
मेरा सवाल यह है कि मुझे यह कैसे काम करना है?