[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cgreek:00023] Re: More tlg utilities



    Shinsuke> I did all of these replacements. I have the following
    Shinsuke> error, however.

    Shinsuke>   Error in init file: File error: "Spawning child
    Shinsuke> process", "no such file or directory"

Some attempt at starting an external command is failing because it
can't find the external program to run.  It may be the tlgd program
(there needs to be a file in the cgreek-emacs20/tlg directory (or
wherever you have tlg2emacs, etc.) called 'tlgd'.  Check the value
of the variable tlg-tlgd-program and see if the file indicated
actually exists.  

It's also possible that this error is coming from an attempt to start
tlg2emacs, tlgcites2emacs, tlgidt2emacs, or authtab2emacs.  In fact,
I made another stupid mistake in the Makefile I circulated: I
mistypted the name of the authtab converter (it should have been
compiled as authtab2emacs, but I left off "2emacs"). If you've already
been using it, authtab2emacs should already have been there, and I
haven't changed it in  months.  However, here is a corrected
Makefile (sorry about all these typos: I need to s low down):

---BEGIN Makefile------------
CC = gcc
OFLAGS = -O2

LEX = flex
LFLAGS = -lfl

INSTALL = install
DIST = /usr/local/bin

all: tlg2emacs

tlgutil: tlgd tlgcites2emacs tlgidt2emacs authtab

tlg2emacs: lex.yy.c tlg.h
	$(CC) $(OFLAGS) -o tlg2emacs lex.yy.c $(LFLAGS)

lex.yy.c: tlg.lex
	$(LEX) tlg.lex

tlgidt2emacs: tlgidt2emacs.c 
	$(CC) $(OFLAGS) -o tlgidt2emacs tlgidt2emacs.c $(LFLAGS)

tlgidt2emacs.c: tlg-idt.lex
	$(LEX) -otlgidt2emacs.c tlg-citations.lex

tlgcites2emacs: tlgcites2emacs.c 
	$(CC) $(OFLAGS) -o tlgcites2emacs tlgcites2emacs.c $(LFLAGS)

tlgcites2emacs.c: tlg-citations.lex
	$(LEX) -otlgcites2emacs.c tlg-citations.lex

authtab2emacs: authtab.c
	$(CC) $(OFLAGS) -o authtab2emacs authtab2emacs.c $(LFLAGS)

authtab2emacs.c: authtab.lex
	$(LEX) -oauthtab2emacs.c authtab.lex

tlgd: tlgd.c
	$(CC) $(OFLAGS) -o tlgd tlgd.c $(LFLAGS)

tlgd.c: tlgd.lex
	$(LEX) -otlgd.c tlgd.lex

install: tlg2emacs
	$(INSTALL) -m 755 -s tlg2emacs $(DIST)

clean:
	rm -f lex.yy.c tlg2emacs

----END Makefile


Robin Smith              
Department of Philosophy            rasmith@xxxxxxxx
Texas A&M University                Voice (409) 845-5696
College Station, TX 77843-4237      FAX   (409) 845-0458