public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] emerge w3m failed
@ 2012-04-24 10:29 wenpin cui
  2012-04-24 22:28 ` [gentoo-user] " walt
  0 siblings, 1 reply; 2+ messages in thread
From: wenpin cui @ 2012-04-24 10:29 UTC (permalink / raw
  To: gentoo-user; +Cc: 张秀文

hi, all,
    
    I tried to emerge www-client/w3m but failed, does anybody have met this
    problem?

    This is build log:
            istream.h:23:8: error: redefinition of ‘struct file_handle’
            /usr/include/bits/fcntl.h:254:8: note: originally defined here
            main.c: In function ‘cmd_loadURL’:
            main.c:4016:8: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
            main.c: In function ‘followA’:
            main.c:2979:8: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
            main.c: In function ‘editScr’:
            main.c:2648:11: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
            main.c: In function ‘editBf’:
            main.c:2625:11: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
            main.c: In function ‘execsh’:
            main.c:2104:8: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
            make: *** [main.o] Error 1
            emake failed
             * ERROR: www-client/w3m-0.5.2-r4 failed (compile phase):
             *   emake failed
             * 
             * Call stack:
             *     ebuild.sh, line  85:  Called src_compile
             *   environment, line 1879:  Called die
             * The specific snippet of code:
             *       emake -j1 || die "emake failed"
-- 

Best regards



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

* [gentoo-user] Re: emerge w3m failed
  2012-04-24 10:29 [gentoo-user] emerge w3m failed wenpin cui
@ 2012-04-24 22:28 ` walt
  0 siblings, 0 replies; 2+ messages in thread
From: walt @ 2012-04-24 22:28 UTC (permalink / raw
  To: gentoo-user

On 04/24/2012 03:29 AM, wenpin cui wrote:
> hi, all,
>     
>     I tried to emerge www-client/w3m but failed, does anybody have met this
>     problem?
> 
>     This is build log:
>             istream.h:23:8: error: redefinition of ‘struct file_handle’

I get exactly the same error, so the stable version of w3m must be broken.
(Only temporarily, of course ;)

However, I just emerged the unstable version (0.5.3-r1) which works well.
You can try adding this line to /etc/portage/package.keywords and emerge
w3m again:

www-client/w3m	~amd64 (or ~x86, or whatever is appropriate for you)




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

end of thread, other threads:[~2012-04-24 22:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-24 10:29 [gentoo-user] emerge w3m failed wenpin cui
2012-04-24 22:28 ` [gentoo-user] " walt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox