nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] problem compiling nmh 1.6 on linux gentoo

2015-11-29 09:39:46
I did ./configure and make -- then I tried autogen before the ./configure
with same results.

Here is my ./configure script or rather a shell script to invoke ./configure

./configure --prefix=/usr --build=x86_64-pc-linux-gnu
--host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info
--datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib
--prefix=/usr --mandir=/usr/share/man  --sysconfdir=/etc/nmh
--libdir=/usr/lib64/nmh --with-ndbmheader=gdbm/ndbm.h
--with-ndbm=gdbm_compat



-----Original Message-----
From: Ken Hornstein [mailto:kenh(_at_)pobox(_dot_)com] 
Sent: Sunday, November 29, 2015 10:32 AM
To: John Covici <covici(_at_)ccs(_dot_)covici(_dot_)com>
Cc: nmh-workers(_at_)nongnu(_dot_)org
Subject: Re: [Nmh-workers] problem compiling nmh 1.6 on linux gentoo

sbr/dtimep.c: In function ???yyensure_buffer_stack???:
sbr/dtimep.c:2296:21: error: expected expression before ???/??? token
  num_to_alloc = 1; // After all that talk, this was set to 1 anyways...

Huh ... did you compile directly from the 1.6 tarball?  I ask because that
line does not appear in the distributed sbr/dtimep.c.

sbr/dtimep.c is generated by lex/flex from sbr/dtimep.l, but the
distribution ships with a pre-generated dtimep.c so you shouldn't need
to run lex/flex unless something unusual is happening.  Judging by the
above error, your dtimep.c contains a C99-style comment line (//) and
your compiler doesn't support that, but I don't really know how that could
have happened unless you rebuilt the distribution.

--Ken



_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>