![](https://secure.gravatar.com/avatar/7498ccf62702c405e4e3e7b5fe64ad11.jpg?s=120&d=mm&r=g)
Hi, Just upgraded the first of my crux boxes to 2.7 today. While most of the problems encountered are pretty easily solved I just cannot get emacs to compile. The configure step succeeds fine, but the make step fails almost instantly with the following output: + make cd lib-src; make all \ CC='gcc' CFLAGS='-O2 -march=i686 -pipe' CPPFLAGS='-D_BSD_SOURCE ' \ LDFLAGS='-Wl,-znocombreloc ' MAKE='make' make[1]: Entering directory `/usr/ports/opt/emacs/work/src/emacs-23.1/lib-src' Makefile:144: *** commands commence before first target. Stop. make[1]: Leaving directory `/usr/ports/opt/emacs/work/src/emacs-23.1/lib-src' make: *** [lib-src] Error 2 =======> ERROR: Building '/usr/ports/opt/emacs/emacs#23.1-1.pkg.tar.gz' failed. Looking at the lib-src/Makefile at the indicated line (144) it is no wonder it fails: # ========================== start of cpp stuff ======================= LIBS_MOVE=$(KRB4LIB) $(DESLIB) $(KRB5LIB) $(CRYPTOLIB) $(COM_ERRLIB) $(HESIODLIB) LOADLIBES= ALL_CFLAGS = -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I${srcdir} -I${srcdir}/../src ${LDFLAGS} ${CPPFLAGS} ${CFLAGS} <-- this is line 144 LINK_CFLAGS = -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I${srcdir} -I${srcdir}/../src ${LDFLAGS} ${CFLAGS} CPP_CFLAGS = -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I${srcdir} -I${srcdir}/../src ${CPPFLAGS} ${CFLAGS} BASE_CFLAGS = -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I${srcdir} -I${srcdir}/../src ${CPPFLAGS} ${CFLAGS} For some reason the configure step now seems to think it is appropriate to break lines in a severly broken way. It is now past midnight, and I would rather go to bed than diving into a multi-hour debugging session, so I wonder, has anyone compiled emacs successfully under 2.7, and in that case how? -- Hälsningar/Best regards, Tom ________________________________________________________________________ Tom Rindborg Phone: +46-8-599 984 40 Stockholm, Sweden MailTo:Tom.Rindborg@fatburen.org "If you have to hate, hate gently."