On Tue, Jan 31, 2006 at 07:32:10AM +0100, Jonas Fonseca wrote:
> Phillip Pi <[EMAIL PROTECTED]> 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
> [snip]
> > checking for off_t... yes
> [snip]
> > make[4]: Leaving directory 
> > `/u00/home/ant/download/elinks-0.11.1/src/document/html/parser'
> >       [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 
> > source?
> 
> 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. ]

Correct. I didn't want to work on containmented files. :)


> I can make patches if you don't want to edit the source.

Sure, patches would be fine. Please do tell me how to use them since I am not a 
coder/prgorammer/developer. :)
-- 
"It is not enough to be industrious; so are the ants. What are you industrious 
about?" --Henry David Thoreau
  /\___/\
 / /\ /\ \     Phillip (Ant) @ http://antfarm.ma.cx (Personal Web Site)
| |o   o| |         Ant's Quality Foraged Links (AQFL): http://aqfl.net
   \ _ /                 E-mail: [EMAIL PROTECTED] or [EMAIL PROTECTED]
    ( )
_______________________________________________
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users

Reply via email to