Gnus development mailing list
 help / color / mirror / Atom feed
* make[1]: *** [gnus-load.el] Erreur 2
@ 2010-10-04 18:53 Rémi Letot
  2010-10-04 19:06 ` Lars Magne Ingebrigtsen
  2010-10-04 20:27 ` Ted Zlatanov
  0 siblings, 2 replies; 13+ messages in thread
From: Rémi Letot @ 2010-10-04 18:53 UTC (permalink / raw)
  To: ding

Hello,

I switched to git gnus a few days ago so I could report a few issues
that I have and help track them down.

I updated to latest git earlier today, and now it doesn't compile. Here
are the messages that I have when I try to "make":

cd lisp && make EMACS="24.0.50.1 (term:0.96)" lispdir="/share/emacs/site-lisp/gnus" al
make[1]: entrant dans le répertoire « /home/hobbes/.emacs.d/site-lisp/gnus/lisp »
rm -f *.elc gnus-load.el auto-autoloads.* custom-load.*
URLDIR="no" W3DIR="no" lispdir="/share/emacs/site-lisp/gnus" srcdir=. 24.0.50.1 (term:
/bin/sh: Syntax error: "(" unexpected
make[1]: *** [gnus-load.el] Erreur 2
make[1]: quittant le répertoire « /home/hobbes/.emacs.d/site-lisp/gnus/lisp »
make: *** [lick] Erreur 2


As I'm new to git, I don't know if "git pull" is enough to get the
latest developments, so I cloned a fresh full copy and got the same
result.

Thanks,
-- 
Rémi




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

* Re: make[1]: *** [gnus-load.el] Erreur 2
  2010-10-04 18:53 make[1]: *** [gnus-load.el] Erreur 2 Rémi Letot
@ 2010-10-04 19:06 ` Lars Magne Ingebrigtsen
  2010-10-04 19:23   ` Rémi Letot
  2010-10-04 20:27 ` Ted Zlatanov
  1 sibling, 1 reply; 13+ messages in thread
From: Lars Magne Ingebrigtsen @ 2010-10-04 19:06 UTC (permalink / raw)
  To: ding

hobbes@poukram.net (Rémi Letot) writes:

> cd lisp && make EMACS="24.0.50.1 (term:0.96)" lispdir="/share/emacs/site-lisp/gnus" al

EMACS is the emacs executable.  EMACS=/usr/bin/emacs or whatever.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




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

* Re: make[1]: *** [gnus-load.el] Erreur 2
  2010-10-04 19:06 ` Lars Magne Ingebrigtsen
@ 2010-10-04 19:23   ` Rémi Letot
  2010-10-04 19:28     ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 13+ messages in thread
From: Rémi Letot @ 2010-10-04 19:23 UTC (permalink / raw)
  To: ding

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> hobbes@poukram.net (Rémi Letot) writes:
>
>> cd lisp && make EMACS="24.0.50.1 (term:0.96)" lispdir="/share/emacs/site-lisp/gnus" al
>
> EMACS is the emacs executable.  EMACS=/usr/bin/emacs or whatever.

Shoud I set it manually somewhere ? I didn't have that problem
before... wait, emacs-snapshot was updated three days ago... Here is the
output of configure:

checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for makeinfo... makeinfo
checking for emacs... 24.0.50.1 (term:0.96)
checking if 24.0.50.1 (term:0.96) is really XEmacs... cat: ./conftest-31434: No such file or directory

checking prefix for your Emacs... cat: ./conftest-31434: No such file or directory

checking where .elc files should go... $(datadir)/emacs/site-lisp/gnus
checking where etc files should go... $(lispdir)/../../etc
checking where the TeXinfo docs should go... ${datarootdir}/info
checking for acceptable URL version... cat: ./conftest-31434: No such file or directory
"no"
checking for acceptable W3 version... cat: ./conftest-31434: No such file or directory
"no"
checking which options to pass on to (X)Emacs... -batch -q -no-site-file -l $(srcdir)/dgnushack.el
checking for latex... /usr/bin/latex
checking for available fonts... "no"
configure: creating ./config.status
config.status: creating Makefile
config.status: creating etc/Makefile
config.status: creating lisp/Makefile
config.status: creating texi/Makefile
config.status: creating texi/gnusconfig.tex
config.status: creating texi/ps/Makefile

I guess emacs-snapshot is somehow broken... However this is far beyond
my abilities to debug, so I'll have to wait. I guess someone more
competent will be bitten by this too :-)

Thanks,
-- 
Rémi




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

* Re: make[1]: *** [gnus-load.el] Erreur 2
  2010-10-04 19:23   ` Rémi Letot
@ 2010-10-04 19:28     ` Lars Magne Ingebrigtsen
  2010-10-04 19:38       ` Rémi Letot
  0 siblings, 1 reply; 13+ messages in thread
From: Lars Magne Ingebrigtsen @ 2010-10-04 19:28 UTC (permalink / raw)
  To: ding

hobbes@poukram.net (Rémi Letot) writes:

>>> cd lisp && make EMACS="24.0.50.1 (term:0.96)" lispdir="/share/emacs/site-lisp/gnus" al
>>
>> EMACS is the emacs executable.  EMACS=/usr/bin/emacs or whatever.
>
> Shoud I set it manually somewhere ? 

In the "make" statement there you set EMACS to "24.0.50.1 (term:0.96)".
"24.0.50.1 (term:0.96)" is not /usr/bin/emacs.  "24.0.50.1 (term:0.96)"
is a string that's not an executable.

So don't say EMACS="24.0.50.1 (term:0.96)" in the make statement or the
configure statement or however that got there.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




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

* Re: make[1]: *** [gnus-load.el] Erreur 2
  2010-10-04 19:28     ` Lars Magne Ingebrigtsen
@ 2010-10-04 19:38       ` Rémi Letot
  2010-10-04 20:01         ` Adam Sjøgren
                           ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Rémi Letot @ 2010-10-04 19:38 UTC (permalink / raw)
  To: ding

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> hobbes@poukram.net (Rémi Letot) writes:
>
>>>> cd lisp && make EMACS="24.0.50.1 (term:0.96)" lispdir="/share/emacs/site-lisp/gnus" al
>>>
>>> EMACS is the emacs executable.  EMACS=/usr/bin/emacs or whatever.
>>
>> Shoud I set it manually somewhere ? 
>
> In the "make" statement there you set EMACS to "24.0.50.1 (term:0.96)".
> "24.0.50.1 (term:0.96)" is not /usr/bin/emacs.  "24.0.50.1 (term:0.96)"
> is a string that's not an executable.
>
> So don't say EMACS="24.0.50.1 (term:0.96)" in the make statement or the
> configure statement or however that got there.

I don't set it myself, this is automatically detected by
configure. Maybe my emacs setup is borked by the last upgrade, I don't
know and I don't understand configure scripts so I can't say.

However, while trying to understand the configure script, I read that I
could force the emacs executable (--with-emacs=/usr/bin/emacs) and with
that I could make git gnus.

Thanks,
-- 
Rémi




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

* Re: make[1]: *** [gnus-load.el] Erreur 2
  2010-10-04 19:38       ` Rémi Letot
@ 2010-10-04 20:01         ` Adam Sjøgren
  2010-10-04 20:20           ` Rémi Letot
  2010-10-04 20:31         ` Romain Francoise
  2010-10-04 20:56         ` Andreas Schwab
  2 siblings, 1 reply; 13+ messages in thread
From: Adam Sjøgren @ 2010-10-04 20:01 UTC (permalink / raw)
  To: ding

On Mon, 04 Oct 2010 21:38:56 +0200, Rémi wrote:

>> hobbes@poukram.net (Rémi Letot) writes:

>>>>> cd lisp && make EMACS="24.0.50.1 (term:0.96)" lispdir="/share/emacs/site-lisp/gnus" al

[...]

> I don't set it myself, this is automatically detected by
> configure.

So you didn't type the line "cd lisp && make ..."?


  Best regards,

    Adam

-- 
 "None of them kicks go boom                                  Adam Sjøgren
  None of them basslines fill the room"                  asjo@koldfront.dk




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

* Re: make[1]: *** [gnus-load.el] Erreur 2
  2010-10-04 20:01         ` Adam Sjøgren
@ 2010-10-04 20:20           ` Rémi Letot
  2010-10-04 20:35             ` Adam Sjøgren
  0 siblings, 1 reply; 13+ messages in thread
From: Rémi Letot @ 2010-10-04 20:20 UTC (permalink / raw)
  To: ding

asjo@koldfront.dk (Adam Sjøgren) writes:

> On Mon, 04 Oct 2010 21:38:56 +0200, Rémi wrote:
>
>>> hobbes@poukram.net (Rémi Letot) writes:
>
>>>>>> cd lisp && make EMACS="24.0.50.1 (term:0.96)" lispdir="/share/emacs/site-lisp/gnus" al
>
> [...]
>
>> I don't set it myself, this is automatically detected by
>> configure.
>
> So you didn't type the line "cd lisp && make ..."?

no:

git clone http://git.gnus.org/gnus.git
./configure && make

I had to do "./configure --with-emacs=/usr/bin/emacs" to make it work

Thank,
-- 
Rémi




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

* Re: make[1]: *** [gnus-load.el] Erreur 2
  2010-10-04 18:53 make[1]: *** [gnus-load.el] Erreur 2 Rémi Letot
  2010-10-04 19:06 ` Lars Magne Ingebrigtsen
@ 2010-10-04 20:27 ` Ted Zlatanov
  1 sibling, 0 replies; 13+ messages in thread
From: Ted Zlatanov @ 2010-10-04 20:27 UTC (permalink / raw)
  To: ding

On Mon, 04 Oct 2010 20:53:55 +0200 hobbes@poukram.net (Rémi Letot) wrote: 

RL> As I'm new to git, I don't know if "git pull" is enough to get the
RL> latest developments, so I cloned a fresh full copy and got the same
RL> result.

`git pull' will get you the latest unless your local copy has
modifications.  Then you need to merge (I usually save to the stash,
pull, then pop the stash to preserve experimental changes).

To be sure, do `git log' to see the last change and `git st' to check
you don't have local modifications.

Ted




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

* Re: make[1]: *** [gnus-load.el] Erreur 2
  2010-10-04 19:38       ` Rémi Letot
  2010-10-04 20:01         ` Adam Sjøgren
@ 2010-10-04 20:31         ` Romain Francoise
  2010-10-04 20:43           ` Rémi Letot
  2010-10-04 20:56         ` Andreas Schwab
  2 siblings, 1 reply; 13+ messages in thread
From: Romain Francoise @ 2010-10-04 20:31 UTC (permalink / raw)
  To: ding

hobbes@poukram.net (Rémi Letot) writes:

> I don't set it myself, this is automatically detected by
> configure. Maybe my emacs setup is borked by the last upgrade, I
> don't know and I don't understand configure scripts so I can't
> say.

You ran configure inside M-x term, which sets EMACS in the shell's
environment. There's some intelligence in configure.in to detect the
M-x shell case (where EMACS=t), perhaps that should also detect the
term case.

Or maybe it should use EMACS_PROG instead of EMACS.

(It's amazing how people *always* think it's the snapshot's fault.)



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

* Re: make[1]: *** [gnus-load.el] Erreur 2
  2010-10-04 20:20           ` Rémi Letot
@ 2010-10-04 20:35             ` Adam Sjøgren
  0 siblings, 0 replies; 13+ messages in thread
From: Adam Sjøgren @ 2010-10-04 20:35 UTC (permalink / raw)
  To: ding

On Mon, 04 Oct 2010 22:20:50 +0200, Rémi wrote:

> git clone http://git.gnus.org/gnus.git
> ./configure && make

> I had to do "./configure --with-emacs=/usr/bin/emacs" to make it work

Weird; ./configure; make works for me (GNU Emacs 24.0.50.1
(x86_64-pc-linux-gnu, GTK+ Version 2.20.1) of 2010-10-01 on elegiac,
modified by Debian, packaged by Romain).


  Best regards,

    Adam

-- 
 "None of them kicks go boom                                  Adam Sjøgren
  None of them basslines fill the room"                  asjo@koldfront.dk




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

* Re: make[1]: *** [gnus-load.el] Erreur 2
  2010-10-04 20:31         ` Romain Francoise
@ 2010-10-04 20:43           ` Rémi Letot
  2010-10-04 20:57             ` Rémi Letot
  0 siblings, 1 reply; 13+ messages in thread
From: Rémi Letot @ 2010-10-04 20:43 UTC (permalink / raw)
  To: ding

Romain Francoise <romain@orebokech.com> writes:

> hobbes@poukram.net (Rémi Letot) writes:
>
>> I don't set it myself, this is automatically detected by
>> configure. Maybe my emacs setup is borked by the last upgrade, I
>> don't know and I don't understand configure scripts so I can't
>> say.
>
> You ran configure inside M-x term, which sets EMACS in the shell's
> environment. There's some intelligence in configure.in to detect the
> M-x shell case (where EMACS=t), perhaps that should also detect the
> term case.

No, I ran it in an xterm, out of emacs, but indeed :

echo $EMACS
24.0.50.1 (term:0.96)

That's in a fresh xterm launched from my gnome-panel... wow... 

I think I understand what happened, but I'll restart my X session and
check to see if I'm right.

> Or maybe it should use EMACS_PROG instead of EMACS.
>
> (It's amazing how people *always* think it's the snapshot's fault.)

absolutely not :-)

Lars suggested that gnus per se was not at fault, and I remembered
having seen emacs-snapshot recently in my list of upgrades, that was
just brain dumping to try to get a lead.

Thanks,
-- 
Rémi




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

* Re: make[1]: *** [gnus-load.el] Erreur 2
  2010-10-04 19:38       ` Rémi Letot
  2010-10-04 20:01         ` Adam Sjøgren
  2010-10-04 20:31         ` Romain Francoise
@ 2010-10-04 20:56         ` Andreas Schwab
  2 siblings, 0 replies; 13+ messages in thread
From: Andreas Schwab @ 2010-10-04 20:56 UTC (permalink / raw)
  To: Rémi Letot; +Cc: ding

hobbes@poukram.net (Rémi Letot) writes:

> Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
>
>> hobbes@poukram.net (Rémi Letot) writes:
>>
>>>>> cd lisp && make EMACS="24.0.50.1 (term:0.96)" lispdir="/share/emacs/site-lisp/gnus" al
>>>>
>>>> EMACS is the emacs executable.  EMACS=/usr/bin/emacs or whatever.
>>>
>>> Shoud I set it manually somewhere ? 
>>
>> In the "make" statement there you set EMACS to "24.0.50.1 (term:0.96)".
>> "24.0.50.1 (term:0.96)" is not /usr/bin/emacs.  "24.0.50.1 (term:0.96)"
>> is a string that's not an executable.
>>
>> So don't say EMACS="24.0.50.1 (term:0.96)" in the make statement or the
>> configure statement or however that got there.
>
> I don't set it myself, this is automatically detected by
> configure. Maybe my emacs setup is borked by the last upgrade, I don't
> know and I don't understand configure scripts so I can't say.

You have $EMACS set in the environment.  Do you run it under M-x term?

Andreas.

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



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

* Re: make[1]: *** [gnus-load.el] Erreur 2
  2010-10-04 20:43           ` Rémi Letot
@ 2010-10-04 20:57             ` Rémi Letot
  0 siblings, 0 replies; 13+ messages in thread
From: Rémi Letot @ 2010-10-04 20:57 UTC (permalink / raw)
  To: ding

hobbes@poukram.net (Rémi Letot) writes:

> Romain Francoise <romain@orebokech.com> writes:
>
>> hobbes@poukram.net (Rémi Letot) writes:
>>
>>> I don't set it myself, this is automatically detected by
>>> configure. Maybe my emacs setup is borked by the last upgrade, I
>>> don't know and I don't understand configure scripts so I can't
>>> say.
>>
>> You ran configure inside M-x term, which sets EMACS in the shell's
>> environment. There's some intelligence in configure.in to detect the
>> M-x shell case (where EMACS=t), perhaps that should also detect the
>> term case.
>
> No, I ran it in an xterm, out of emacs, but indeed :
>
> echo $EMACS
> 24.0.50.1 (term:0.96)
>
> That's in a fresh xterm launched from my gnome-panel... wow... 
>
> I think I understand what happened, but I'll restart my X session and
> check to see if I'm right.

Ok, I was right, sorry for the noise.

Long storry short, earlier today I had to restart gnome-panel from an
xterm, which itself had earlier been launched from emacs' ansi-term. And
the $EMACS variable was kept all along and passed to any program
launched from gnome-panel.

Don't know if this is preventable in configure, but it's easy to
reproduce: simply launch an xterm from emacs' term and run configure in
that xterm.

Thanks all and again sorry for the noise,
-- 
Rémi




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

end of thread, other threads:[~2010-10-04 20:57 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-04 18:53 make[1]: *** [gnus-load.el] Erreur 2 Rémi Letot
2010-10-04 19:06 ` Lars Magne Ingebrigtsen
2010-10-04 19:23   ` Rémi Letot
2010-10-04 19:28     ` Lars Magne Ingebrigtsen
2010-10-04 19:38       ` Rémi Letot
2010-10-04 20:01         ` Adam Sjøgren
2010-10-04 20:20           ` Rémi Letot
2010-10-04 20:35             ` Adam Sjøgren
2010-10-04 20:31         ` Romain Francoise
2010-10-04 20:43           ` Rémi Letot
2010-10-04 20:57             ` Rémi Letot
2010-10-04 20:56         ` Andreas Schwab
2010-10-04 20:27 ` Ted Zlatanov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).