[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ./make-package fails
From: |
Peter Dyballa |
Subject: |
Re: ./make-package fails |
Date: |
Thu, 10 Mar 2005 18:13:47 +0100 |
Am 08.03.2005 um 16:15 schrieb Jake Bowers:
I made make-package get beyond the getopt error by copying getopt.*
Hello!
I remember again that case! It's that end in make-package:
gcc -I/sw/include -L/sw/lib -fpascal-strings -fno-common -DMAC_OSX
-I../mac/src -DHAVE_CONFIG_H -I. -I../src
-I/Users/pete/Quellen/Emacs_CVS/emacs/mac/../lib-src
-I/Users/pete/Quellen/Emacs_CVS/emacs/mac/../lib-src/../src
-L/Users/pete/Quellen/Emacs_CVS/emacs/mac/../lib-src -I/sw/include
movemail.o pop.o getopt.o getopt1.o -o movemail
gcc: getopt.o: No such file or directory
gcc: getopt1.o: No such file or directory
make[1]: *** [movemail] Error 1
make: *** [lib-src] Error 2
Make failed... Aborting make-package.
Although there is the switch
-L/Users/pete/Quellen/Emacs_CVS/emacs/mac/../lib-src *and* we are in
lib-src *and* getopt.c and getop1.c were compiled to become getopt.o
and getopt1.o gcc can't find them. Since it does not help to set any
helpful environment variables for that script from
LANGUAGE=C
LC_ALL=C
LC_MESSAGES=
LANG=
export LANGUAGE LC_ALL LC_MESSAGES LANG
to
LANGUAGE=C
LC_ALL=C
LC_MESSAGES=
LANG=
LDFLAGS="-L`pwd`/../lib-src -L."
export LANGUAGE LC_ALL LC_MESSAGES LANG LDFLAGS
you'll have to go to emacs/lib-src and change Makefile.in here at line
#431 from
movemail${EXEEXT}: movemail.o pop.o $(GETOPTDEPS)
$(CC) ${LINK_CFLAGS} ${MOVE_FLAGS} movemail.o pop.o $(GETOPTOBJS)
$(LOADLIBES) $(LIBS_MAIL) $(LIBS_MOVE) -o movemail
to
movemail${EXEEXT}: movemail.o pop.o $(GETOPTDEPS)
$(CC) ${MOVE_FLAGS} movemail.o pop.o $(GETOPTOBJS) $(LOADLIBES)
$(LIBS_MAIL) $(LIBS_MOVE) -o movemail
In that same directory lib-src invoke 'make clean' that the Makefile
too is removed and it's been rebuilt during the next make-package run!
It took some hours to find out ... but it's now it's out and public!
--
Greetings
Pete