[elinks-users] Can't compile eLinks Debian (PowerMac; Kernel 2.4.22)

Phillip Pi ant at zimage.com
Mon Jan 30 23:02:51 PST 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. :)
> 
> Ok, please try the attached patch (which does what I wrote in the two
> last 'long shots'). First cd into the top-level elinks directory (in
> your case it looks like that is /u00/home/ant/download/elinks-0.11.1/).
> Then apply it by running the following command:
> 
> 	patch -p1 < /path/to/attached.patch

Um, where's the attached file? :)
-- 
"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: philpi at earthlink.net or ant at zimage.com
    ( )



More information about the elinks-users mailing list