[elinks-users] Can't compile eLinks Debian (PowerMac; Kernel 2.4.22)
fonseca at diku.dk
Mon Jan 30 22:32:10 PST 2006
Phillip Pi <ant at zimage.com> wrote Mon, Jan 30, 2006:
> > > > > Hello, I just downloaded and tried to compile eLinks v0.11.1 but make failed:
> > I must say, I do not have any idea what is wrong, but if you have time
> > to debug here are a few things to try out:
> > - Try to run: ./configure --disable-largefile; make
> I extracted the source to start clean to compile...
> $ ./configure --disable-largefile; make
> checking for off_t... yes
> make: Leaving directory
> [CC] src/document/html/frames.o
> [CC] src/document/html/parser.o
> [CC] src/document/html/renderer.o
> In file included from ../../.././src/cache/cache.h:6,
> from renderer.c:13:
> ../../.././src/util/time.h:44: error: syntax error before 'n'
> In file included from renderer.c:13:
[more of the same errors reported before]
> > - Try to move the line
> > #include "elinks.h"
> > above the line
> > #include <ctype.h>
> > So the system headers cannot control what is included by elinks.h.
> > - Along the same line as the above, try to add the lines:
> > #include <errno.h>
> > #include <stdio.h>
> > #include <stdlib.h>
> > between '#include "config.h"' and '#include <ctype.h>' in
> > src/document/html/renderer.c.
> > src/document/html/frames.c includes cache/cache.h as it's first
> > ELinks header file and compiles ok. Could it be that one of the
> > system header files it includes does some magic?
> Which file(s) are this/these in? And is this right after I extract the contents from the
Sorry, I am sitting here buried in my own incomprehension. I want you to
try and change the file src/document/html/renderer.c on a clean version.
[ "Clean" as the file unpacked from tar.gz or tar.bz2 file. I assume
that is what you mean by extracting the contents from the source. ]
I can make patches if you don't want to edit the source.
More information about the elinks-users