GNU bug report logs - #9856
Emacs build from source error

Previous Next

Package: emacs;

Reported by: Alexander Kuleshov <kuleshovmail <at> gmail.com>

Date: Mon, 24 Oct 2011 12:39:01 UTC

Severity: normal

Done: Andreas Schwab <schwab <at> linux-m68k.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 9856 in the body.
You can then email your comments to 9856 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#9856; Package emacs. (Mon, 24 Oct 2011 12:39:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Alexander Kuleshov <kuleshovmail <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 24 Oct 2011 12:39:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Alexander Kuleshov <kuleshovmail <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Emacs build from source error
Date: Mon, 24 Oct 2011 08:05:43 +0000
[Message part 1 (text/plain, inline)]
I try to build emacs-23.1 from source.

First :

./configure

Then i try to

make

But get error at the start:

$ make

cd lib-src; make all \
CC='gcc' CFLAGS='-g -O2 -Wno-pointer-sign ' CPPFLAGS='-D_BSD_SOURCE ' \
LDFLAGS='-Wl,-znocombreloc ' MAKE='make'
make[1]: Entering directory `/home/emacs-23.1/lib-src'
Makefile:144: *** commands commence before first target. Stop.
make[1]: Leaving directory `/home/emacs-23.1/lib-src'
make: *** [lib-src] Error 2

How can i fix it? I try many emacs versions and every time i get this error.

Thank you.
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#9856; Package emacs. (Mon, 24 Oct 2011 12:55:02 GMT) Full text and rfc822 format available.

Message #8 received at 9856 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Alexander Kuleshov <kuleshovmail <at> gmail.com>
Cc: 9856 <at> debbugs.gnu.org
Subject: Re: bug#9856: Emacs build from source error
Date: Mon, 24 Oct 2011 08:53:06 -0400
> Date: Mon, 24 Oct 2011 08:05:43 +0000
> From: Alexander Kuleshov <kuleshovmail <at> gmail.com>
> 
> I try to build emacs-23.1 from source.
> 
> First :
> 
> ./configure
> 
> Then i try to
> 
> make
> 
> But get error at the start:
> 
> $ make
> 
> cd lib-src; make all \
> CC='gcc' CFLAGS='-g -O2 -Wno-pointer-sign ' CPPFLAGS='-D_BSD_SOURCE ' \
> LDFLAGS='-Wl,-znocombreloc ' MAKE='make'
> make[1]: Entering directory `/home/emacs-23.1/lib-src'
> Makefile:144: *** commands commence before first target. Stop.
> make[1]: Leaving directory `/home/emacs-23.1/lib-src'
> make: *** [lib-src] Error 2
> 
> How can i fix it? I try many emacs versions and every time i get this error.

Please post here the contents of lib-src/Makefile




Reply sent to Andreas Schwab <schwab <at> linux-m68k.org>:
You have taken responsibility. (Mon, 24 Oct 2011 13:14:02 GMT) Full text and rfc822 format available.

Notification sent to Alexander Kuleshov <kuleshovmail <at> gmail.com>:
bug acknowledged by developer. (Mon, 24 Oct 2011 13:14:02 GMT) Full text and rfc822 format available.

Message #13 received at 9856-done <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Alexander Kuleshov <kuleshovmail <at> gmail.com>
Cc: 9856-done <at> debbugs.gnu.org
Subject: Re: bug#9856: Emacs build from source error
Date: Mon, 24 Oct 2011 15:12:13 +0200
Alexander Kuleshov <kuleshovmail <at> gmail.com> writes:

> I try to build emacs-23.1 from source.

The current version is 23.3.  This was fixed in
16abbbf51d9ae4cefd41abdcc0940e94a188a028.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#9856; Package emacs. (Mon, 24 Oct 2011 16:05:01 GMT) Full text and rfc822 format available.

Message #16 received at 9856 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 9856 <at> debbugs.gnu.org, Alexander Kuleshov <kuleshovmail <at> gmail.com>
Subject: Re: bug#9856: Emacs build from source error
Date: Mon, 24 Oct 2011 12:02:30 -0400
Eli Zaretskii wrote:

> Please post here the contents of lib-src/Makefile

IIRC this is the CPPFLAGS=-P issue.

CPPFLAGS=-P ./configure




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 22 Nov 2011 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 264 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.