Discussion:
Cannot open load file: term/mac-win
David Arnold
2005-01-17 20:53:28 UTC
Permalink
All,

I have a DarwinPorts emacs installed.

David-Arnolds-Computer:~ davidarnold$ port installed emacs
The following ports are currently installed:
emacs 21.3.50_0+carbon+devel (active)

I installed Auctex 11.54 with:

./configure
--with-emacs=/Applications/DarwinPorts/Emacs.app/Contents/MacOS/Emacs
--with-lispdir=/Applications/DarwinPorts/Emacs.app/Contents/Resources/
site-lisp --prefix=/usr/local/teTeX

make

sudo make install

Now my DarwinPorts Emacs won't run. I get:

David-Arnolds-Computer:/Applications/DarwinPorts/Emacs.app/Contents/
MacOS davidarnold$ ./Emacs
Cannot open load file: term/mac-win

Any suggestions?
David Arnold
2005-01-18 03:28:55 UTC
Permalink
All,

Not sure if this got through. Having some intermittent trouble with
email. Let me try again, but I apologize if it has already been
received.

I have a DarwinPorts emacs installed.

David-Arnolds-Computer:~ davidarnold$ port installed emacs
The following ports are currently installed:
emacs 21.3.50_0+carbon+devel (active)

I installed Auctex 11.54 with:

./configure
--with-emacs=/Applications/DarwinPorts/Emacs.app/Contents/MacOS/Emacs
--with-lispdir=/Applications/DarwinPorts/Emacs.app/Contents/Resources/
site-lisp --prefix=/usr/local/teTeX

make

sudo make install

Now my DarwinPorts Emacs won't run. I get:

David-Arnolds-Computer:/Applications/DarwinPorts/Emacs.app/Contents/
MacOS davidarnold$ ./Emacs
Cannot open load file: term/mac-win

Any suggestions?
David Arnold
2005-01-20 07:24:09 UTC
Permalink
All,

Let me try this again.

I have a DarwinPorts emacs installed.

David-Arnolds-Computer:~ davidarnold$ port installed emacs
The following ports are currently installed:
emacs 21.3.50_0+carbon+devel (active)

I installed Auctex 11.54 with:

./configure
--with-emacs=/Applications/DarwinPorts/Emacs.app/Contents/MacOS/Emacs
--with-lispdir=/Applications/DarwinPorts/Emacs.app/Contents/Resources/
site-lisp --prefix=/usr/local/teTeX

make

sudo make install

Now my DarwinPorts Emacs won't run. I get:

David-Arnolds-Computer:/Applications/DarwinPorts/Emacs.app/Contents/
MacOS davidarnold$ ./Emacs
Cannot open load file: term/mac-win

Any suggestions?
David Kastrup
2005-01-20 07:58:40 UTC
Permalink
Post by David Arnold
Let me try this again.
I have a DarwinPorts emacs installed.
David-Arnolds-Computer:~ davidarnold$ port installed emacs
emacs 21.3.50_0+carbon+devel (active)
./configure
--with-emacs=/Applications/DarwinPorts/Emacs.app/Contents/MacOS/Emacs
--with-lispdir=/Applications/DarwinPorts/Emacs.app/Contents/Resources/
site-lisp --prefix=/usr/local/teTeX
make
sudo make install
David-Arnolds-Computer:/Applications/DarwinPorts/Emacs.app/Contents/
MacOS davidarnold$ ./Emacs
Cannot open load file: term/mac-win
Any suggestions?
I can't see how this problem could be related to AUCTeX. Are you
definitely sure that if you do exactly the same but without the sudo
make install, it will work?

There are only few things that I could think could happen.

a) you are running configure/install from somewhere inside of your
Lisp directories. This is always good for trouble.

b) our Makefile creates a .nosearch file in a bad location.

c) we create or touch a file that then shadows an important file for
your Emacs installation.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
David Arnold
2005-01-21 00:39:46 UTC
Permalink
All,

Sorry for this plug and paste. I don't seem to be getting all mail from
the auctex list.

David, I tried deleting the auctex folder and starting again. This is
the result.

David-Arnolds-Computer:~/auctex-11.54 davidarnold$ ./configure
--with-emacs=/Applications/DarwinPorts/Emacs.app/Contents/MacOS/Emacs
--with-lispdir=/Applications/DarwinPorts/Emacs.app/Contents/Resources/
site-lisp --prefix=/usr/local/teTeX
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for
/Applications/DarwinPorts/Emacs.app/Contents/MacOS/Emacs...
/Applications/DarwinPorts/Emacs.app/Contents/MacOS/Emacs
checking if /Applications/DarwinPorts/Emacs.app/Contents/MacOS/Emacs is
XEmacs... no
checking if (X)Emacs is recent enough... yes
checking for mule support... yes
checking if build directory is valid... yes
checking where lisp files go...
/Applications/DarwinPorts/Emacs.app/Contents/Resources/site-lisp,
expanded to
/Applications/DarwinPorts/Emacs.app/Contents/Resources/site-lisp
checking for directories holding TeX input files...
("/usr/local/teTeX/share/texmf.local/tex/"
"/usr/local/teTeX/share/texmf.gwtex/tex/"
"/usr/local/teTeX/share/texmf.tetex/tex/"
"/usr/local/teTeX/share/texmf.tetex/bibtex/bst/")
checking where automatically generated global style hooks go...
${localstatedir}/auctex, expanded to /usr/local/teTeX/var/auctex
checking for tex...
/usr/local/teTeX/bin/powerpc-apple-darwin-current/tex
checking for pdftex...
/usr/local/teTeX/bin/powerpc-apple-darwin-current/pdftex
checking for dvips...
/usr/local/teTeX/bin/powerpc-apple-darwin-current/dvips
checking for makeinfo... /usr/bin/makeinfo
checking for texi2html... /usr/bin/texi2html
checking for texi2dvi... /usr/bin/texi2dvi
checking for texi2pdf...
/usr/local/teTeX/bin/powerpc-apple-darwin-current/texi2pdf
checking if /usr/bin/makeinfo understands @acronym{}... yes
checking if /usr/bin/makeinfo understands @env{}... yes
checking if /usr/bin/makeinfo understands @option{}... yes
checking if /usr/bin/makeinfo understands @command{}... yes
checking for install-info... /usr/bin/install-info
configure: creating ./config.status
config.status: creating Makefile
config.status: creating tex-site.el
config.status: creating doc/Makefile

Congratulations! Configuration is complete.

Type "make" at the prompt to build AUCTeX
David-Arnolds-Computer:~/auctex-11.54 davidarnold$ make
/Applications/DarwinPorts/Emacs.app/Contents/MacOS/Emacs -batch -q
-no-site-file -l lpath.el -f batch-byte-compile tex.el tex-buf.el
latex.el tex-info.el texmathp.el multi-prompt.el tex-mik.el
font-latex.el tex-font.el context.el context-en.el context-nl.el
tex-fold.el toolbar-x.el tex-bar.el style/prosper.el style/slides.el
style/foils.el style/amstex.el style/article.el style/book.el
style/letter.el style/report.el style/amsart.el style/amsbook.el
style/epsf.el style/psfig.el style/latexinfo.el style/dutch.el
style/german.el style/dk.el style/j-article.el style/j-book.el
style/j-report.el style/jarticle.el style/jbook.el
style/jreport.el style/dinbrief.el style/virtex.el style/plfonts.el
style/plhb.el style/harvard.el style/swedish.el style/danish.el
style/slovak.el style/czech.el style/amsmath.el
style/amstext.el style/amsbsy.el style/amsopn.el style/amsthm.el
style/natbib.el style/index.el style/makeidx.el
style/multind.el style/varioref.el style/fancyref.el style/mdwlist.el
style/ngerman.el style/graphicx.el style/graphics.el
style/verbatim.el style/scrbase.el style/scrartcl.el
style/scrbook.el style/scrreprt.el style/scrlttr2.el
style/scrpage2.el style/captcont.el style/subfigure.el
style/paralist.el style/booktabs.el style/emp.el style/jura.el
style/alphanum.el style/beamer.el style/alltt.el style/italian.el
style/doc.el style/ltxdoc.el style/ltx-base.el style/units.el
style/nicefrac.el style/url.el style/listings.el
style/jurabib.el style/csquotes.el
Cannot open load file: bytecomp
make: *** [lisp] Error 255
David-Arnolds-Computer:~/auctex-11.54 davidarnold$

So, now I am stuck with a different error. Any ideas?
Post by David Arnold
Let me try this again.
I have a DarwinPorts emacs installed.
David-Arnolds-Computer:~ davidarnold$ port installed emacs
emacs 21.3.50_0+carbon+devel (active)
./configure
--with-emacs=/Applications/DarwinPorts/Emacs.app/Contents/MacOS/Emacs
--with-lispdir=/Applications/DarwinPorts/Emacs.app/Contents/Resources/
site-lisp --prefix=/usr/local/teTeX
make
sudo make install
David-Arnolds-Computer:/Applications/DarwinPorts/Emacs.app/Contents/
MacOS davidarnold$ ./Emacs
Cannot open load file: term/mac-win
Any suggestions?
I can't see how this problem could be related to AUCTeX. Are you
definitely sure that if you do exactly the same but without the sudo
make install, it will work?

There are only few things that I could think could happen.

a) you are running configure/install from somewhere inside of your
Lisp directories. This is always good for trouble.

b) our Makefile creates a .nosearch file in a bad location.

c) we create or touch a file that then shadows an important file for
your Emacs installation.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
David Kastrup
2005-01-21 12:58:13 UTC
Permalink
Post by David Arnold
Sorry for this plug and paste. I don't seem to be getting all mail
from the auctex list.
David, I tried deleting the auctex folder and starting again. This is
the result.
David-Arnolds-Computer:~/auctex-11.54 davidarnold$ ./configure
--with-emacs=/Applications/DarwinPorts/Emacs.app/Contents/MacOS/Emacs
--with-lispdir=/Applications/DarwinPorts/Emacs.app/Contents/Resources/
site-lisp --prefix=/usr/local/teTeX
[...]
Post by David Arnold
Type "make" at the prompt to build AUCTeX
David-Arnolds-Computer:~/auctex-11.54 davidarnold$ make
/Applications/DarwinPorts/Emacs.app/Contents/MacOS/Emacs -batch -q
-no-site-file -l lpath.el -f batch-byte-compile tex.el tex-buf.el
latex.el tex-info.el texmathp.el multi-prompt.el tex-mik.el
font-latex.el tex-font.el context.el context-en.el context-nl.el
tex-fold.el toolbar-x.el tex-bar.el style/prosper.el style/slides.el
style/foils.el style/amstex.el style/article.el style/book.el
[...]
Post by David Arnold
Cannot open load file: bytecomp
make: *** [lisp] Error 255
David-Arnolds-Computer:~/auctex-11.54 davidarnold$
So, now I am stuck with a different error. Any ideas?
I repeat: this does not look like an AUCTeX problem. Your Emacs is
unable to find the files that are necessary for its operation. At
least, when your Emacs is started with an explicit path (which
probably is not in your PATH variable) from the command line using:

/Applications/DarwinPorts/Emacs.app/Contents/MacOS/Emacs -q -no-site-file

Please try starting Emacs in that manner from a command line manually:
it would appear that, say, editing a C file would not then be able to
switch on C mode, either.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Loading...