all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* pmax build problem
@ 2004-01-23 15:01 Skylar Thompson
  2004-01-29  8:47 ` Kai Grossjohann
  0 siblings, 1 reply; 6+ messages in thread
From: Skylar Thompson @ 2004-01-23 15:01 UTC (permalink / raw)


I'm trying to build GNU Emacs 21.3 on my DECsystem 5000/240 pmax machine,
which runs NetBSD 1.6.1. I've tried building it from both pkgsrc and direct
from source, and run into this error:

../lib-src/make-docfile -d /mnt/newquarkprime/netbsd_pkgsrc/editors/emacs/work/emacs-21.3/src sunfns.o dosfns.o msdos.o   xterm.o xfns.o xmenu.o xselect.o xrdb.o fontset.o dispnew.o frame.o scroll.o xdisp.o xmenu.o window.o         charset.o coding.o category.o ccl.o     cm.o term.o xfaces.o xterm.o xfns.o xselect.o xrdb.o fontset.o  emacs.o keyboard.o macros.o keymap.o sysdep.o   buffer.o filelock.o insdel.o marker.o   minibuf.o fileio.o dired.o filemode.o   cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o  alloc.o data.o doc.o editfns.o callint.o        eval.o floatfns.o fns.o print.o lread.o         abbrev.o syntax.o unexelf.o  mocklisp.o bytecode.o      process.o callproc.o    region-cache.o sound.o atimer.o         doprnt.o strftime.o intervals.o textprop.o composite.o md5.o     > ../etc/DOC
../lib-src/make-docfile -a ../etc/DOC -d /mnt/newquarkprime/netbsd_pkgsrc/editors/emacs/work/emacs-21.3/src ../lisp/mouse.elc   ../lisp/select.elc ../lisp/scroll-bar.elc   ../lisp/vmsproc.elc ../lisp/vms-patch.elc   ../lisp/ls-lisp.elc ../lisp/dos-fns.elc   ../lisp/w32-fns.elc ../lisp/dos-w32.elc   ../lisp/disp-table.elc ../lisp/dos-vars.elc   ../lisp/international/ccl.elc   ../lisp/international/codepage.elc ../lisp/abbrev.elc         ../lisp/buff-menu.elc   ../lisp/byte-run.elc    ../lisp/cus-start.el    ../lisp/custom.elc      ../lisp/emacs-lisp/backquote.elc        ../lisp/emacs-lisp/lisp-mode.elc        ../lisp/emacs-lisp/lisp.elc     ../lisp/facemenu.elc    ../lisp/faces.elc       ../lisp/files.elc       ../lisp/float-sup.elc   ../lisp/format.elc      ../lisp/frame.elc       ../lisp/help.elc        ../lisp/indent.elc      ../lisp/isearch.elc     ../lisp/loadup.el       ../lisp/load
 defs.el     ../lisp/bindings.elc    ../lisp/map-ynp.elc     ../lisp/env.elc         ../lisp/international/mule.elc  ../lisp/international/mule-conf.el      ../lisp/international/mule-cmds.elc     ../lisp/international/characters.elc    ../lisp/international/utf-8.elc         ../lisp/international/utf-16.elc        ../lisp/international/latin-1.el        ../lisp/international/latin-2.el        ../lisp/international/latin-3.el        ../lisp/international/latin-4.el        ../lisp/international/latin-5.el        ../lisp/international/latin-8.el        ../lisp/international/latin-9.el        ../lisp/case-table.elc  ../lisp/language/chinese.elc    ../lisp/language/cyrillic.elc   ../lisp/language/indian.elc     ../lisp/language/devanagari.elc         ../lisp/language/english.elc    ../lisp/language/ethiopic.elc   ../lisp/language/european.elc   ../lisp/language/czech.elc      ../lisp/langua
 ge/slovak.elc     ../lisp/language/romanian.elc   ../lisp/language/greek.elc      ../lisp/language/hebrew.elc     ../lisp/language/japanese.elc   ../lisp/language/korean.elc     ../lisp/language/lao.elc        ../lisp/language/thai.elc       ../lis
p/language/tibetan.elc    ../lisp/language/vietnamese.elc         ../lisp/language/misc-lang.elc  ../lisp/international/ucs-tables.elc    ../lisp/menu-bar.elc    ../lisp/paths.el        ../lisp/register.elc    ../lisp/replace.elc     ../lisp/simple.elc      ../lisp/startup.elc     ../lisp/subr.elc        ../lisp/term/tty-colors.elc     ../lisp/textmodes/fill.elc      ../lisp/textmodes/page.elc      ../lisp/textmodes/paragraphs.elc        ../lisp/textmodes/text-mode.elc         ../lisp/vc-hooks.elc    ../lisp/ediff-hook.elc  ../lisp/widget.elc      ../lisp/window.elc      ../lisp/version.el
LC_ALL=C ./temacs -batch -l loadup dump
./temacs: 1: Syntax error: "(" unexpected
gmake[1]: *** [emacs] Error 2
gmake[1]: Leaving directory `/mnt/newquarkprime/netbsd_pkgsrc/editors/emacs/work/emacs-21.3/src'
gmake: *** [src] Error 2
*** Error code 2

Does anyone know what might cause this error? This is from pkgsrc, and I've
tried pulling a new pkgsrc from CVS, but it gives the same error.

-- 
-- Skylar Thompson (skylar@cs.earlham.edu)
-- http://cs.earlham.edu/~skylar/

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

* Re: pmax build problem
  2004-01-23 15:01 pmax build problem Skylar Thompson
@ 2004-01-29  8:47 ` Kai Grossjohann
  2004-02-04  6:02   ` Skylar Thompson
  0 siblings, 1 reply; 6+ messages in thread
From: Kai Grossjohann @ 2004-01-29  8:47 UTC (permalink / raw)


Skylar Thompson <skylar@os2.dhs.org> writes:

> LC_ALL=C ./temacs -batch -l loadup dump
> ./temacs: 1: Syntax error: "(" unexpected

I've never seen this.  Can you go to the directory containing temacs
(probably src) and invoke the following command?

LC_ALL=C ./temacs -batch --eval '(setq debug-on-error t)' -l loadup dump

What happens?

Kai

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

* Re: pmax build problem
  2004-01-29  8:47 ` Kai Grossjohann
@ 2004-02-04  6:02   ` Skylar Thompson
  2004-02-05  9:35     ` Kai Grossjohann
  0 siblings, 1 reply; 6+ messages in thread
From: Skylar Thompson @ 2004-02-04  6:02 UTC (permalink / raw)


On Thu, 29 Jan 2004 09:47:08 +0100, Kai Grossjohann <kai@emptydomain.de> wrote:
> Skylar Thompson <skylar@os2.dhs.org> writes:
>
>> LC_ALL=C ./temacs -batch -l loadup dump
>> ./temacs: 1: Syntax error: "(" unexpected
>
> I've never seen this.  Can you go to the directory containing temacs
> (probably src) and invoke the following command?
>
> LC_ALL=C ./temacs -batch --eval '(setq debug-on-error t)' -l loadup dump
>
> What happens?

Sorry it took so long to get back; it's been a busy week so far. Anyways,
here's the output:

 % LC_ALL=C ./temacs -batch --eval '(setq debug-on-error t)' -l loadup dump
zsh: exec format error: ./temacs

I'm not sure if this is useful but here's the output of running file on
temacs:

 % file temacs                                                             0:08
temacs: ELF 32-bit LSB MIPS-I executable, MIPS, version 1 (SYSV), dynamically linked (uses shared libs), not stripped

I also ran file on /bin/ls, which gave back this:

 % file /bin/ls                                                            0:09
/bin/ls: ELF 32-bit LSB MIPS-I executable, MIPS, version 1 (SYSV), for NetBSD, statically linked, stripped

Is the lack of "for NetBSD" significant? Perhaps the compiler isn't
compiling for the right operating system?

-- 
-- Skylar Thompson (skylar@cs.earlham.edu)
-- http://www.cs.earlham.edu/~skylar/

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

* Re: pmax build problem
  2004-02-04  6:02   ` Skylar Thompson
@ 2004-02-05  9:35     ` Kai Grossjohann
  2004-02-05 16:33       ` Skylar Thompson
  0 siblings, 1 reply; 6+ messages in thread
From: Kai Grossjohann @ 2004-02-05  9:35 UTC (permalink / raw)


Skylar Thompson <skylar@os2.dhs.org> writes:

> Is the lack of "for NetBSD" significant? 

I think so.

> Perhaps the compiler isn't compiling for the right operating system?

That's what I think, too.  Is your compiler a cross-compiler?  Maybe
you have more than one compiler on your system, and Emacs is picking
the wrong one.

Kai

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

* Re: pmax build problem
  2004-02-05  9:35     ` Kai Grossjohann
@ 2004-02-05 16:33       ` Skylar Thompson
  2004-02-06 11:35         ` Kai Grossjohann
  0 siblings, 1 reply; 6+ messages in thread
From: Skylar Thompson @ 2004-02-05 16:33 UTC (permalink / raw)


On Thu, 05 Feb 2004 10:35:14 +0100, Kai Grossjohann <kai@emptydomain.de> wrote:
> Skylar Thompson <skylar@os2.dhs.org> writes:
>
>> Is the lack of "for NetBSD" significant? 
>
> I think so.
>
>> Perhaps the compiler isn't compiling for the right operating system?
>
> That's what I think, too.  Is your compiler a cross-compiler?  Maybe
> you have more than one compiler on your system, and Emacs is picking
> the wrong one.

I have gcc 2.95.3 from the base system. I also built gcc 3.3 from pkgsrc,
which is installed in /usr/pkg/gcc-3.3. I would think both of them should
fine, though.

-- 
-- Skylar Thompson (skylar@cs.earlham.edu)
-- http://www.cs.earlham.edu/~skylar/

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

* Re: pmax build problem
  2004-02-05 16:33       ` Skylar Thompson
@ 2004-02-06 11:35         ` Kai Grossjohann
  0 siblings, 0 replies; 6+ messages in thread
From: Kai Grossjohann @ 2004-02-06 11:35 UTC (permalink / raw)


Skylar Thompson <skylar@os2.dhs.org> writes:

> I have gcc 2.95.3 from the base system. I also built gcc 3.3 from pkgsrc,
> which is installed in /usr/pkg/gcc-3.3. I would think both of them should
> fine, though.

Well, I would have a look at the command line used to invoke the
compiler (when building Emacs), then I'd see whether that command line
can compile hello.c.  And whether the resulting executable works.

If that wasn't it, then I'm at the end of my rope.

Kai

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

end of thread, other threads:[~2004-02-06 11:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-23 15:01 pmax build problem Skylar Thompson
2004-01-29  8:47 ` Kai Grossjohann
2004-02-04  6:02   ` Skylar Thompson
2004-02-05  9:35     ` Kai Grossjohann
2004-02-05 16:33       ` Skylar Thompson
2004-02-06 11:35         ` Kai Grossjohann

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.