Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge libwww fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
fir3fly
n00b
n00b


Joined: 05 Sep 2002
Posts: 60

PostPosted: Wed Mar 17, 2004 2:16 pm    Post subject: emerge libwww fails Reply with quote

My system:
Code:

sh-2.05b# emerge info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22-gentoo-r5      )
=================================================================
System uname: 2.4.22-gentoo-r5 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.4.3.13
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabl      ed]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.      1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozil      la/defaults/pref /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/sh      are/texmf/tex/platex/config/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=athlon -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox"
GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://gentoo.inode      .at/source/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://sunsite.informa      tik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.easynet.nl/mirror/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib apm arts avi berkdb bonobo cdr crypt cups dga dvd encode esd       evo foomaticdb gd gdbm ggi gif gnome gpm gtk gtk2 gtkhtml guile imlib java jpe      g kde libg++ libgd libwww mad mikmod motif mozilla mpeg mysql ncurses nls oggvo      rbis opengl oss pam pdflib perl php png python qt quicktime readline sdl slang       spell ssl svga tcltk tcpd tetex truetype x86 xml2 xmms xv zlib"


My error:
Code:

cd . && /bin/sh /var/tmp/portage/libwww-5.4.0-r2/work/w3c-libwww-5.4.0/config/missing --run automake-1.7 --foreign --include-deps Makefile
warning: `configure.ac' and `configure.in' both present.
 at /usr/bin/automake-1.7 line 5411
warning: proceeding with `configure.ac'.
 at /usr/bin/automake-1.7 line 5411
Makefile.am:45: `#' comment at start of rule is unportable
WARNING: `automake-1.7' is needed, and you do not seem to have it handy on your
         system.  You might have modified some files without having the
         proper tools for further handling them.  Check the `README' file,
         it often tells you about the needed prerequirements for installing
         this package.  You may also peek at any GNU archive site, in case
         some other package would contain this missing `automake-1.7' program.
make: *** [Makefile.in] Fehler 1

!!! ERROR: net-libs/libwww-5.4.0-r2 failed.
!!! Function src_compile, Line 50, Exitcode 2
!!! (no error message)


I tried: reemerging libwww, autoconf, libtools -> doesn't help
I tried: env-update (you never know) -> doesn't help

Now I'm out of ideas.

Please suggest somthing. :)

Fir3fly
Back to top
View user's profile Send private message
fennec
l33t
l33t


Joined: 30 Aug 2003
Posts: 613
Location: Montreal

PostPosted: Wed Mar 17, 2004 8:14 pm    Post subject: Reply with quote

Quote:
WARNING: `automake-1.7' is needed, and you do not seem to have it handy on your
system. You might have modified some files without having the
proper tools for further handling them. Check the `README' file,
it often tells you about the needed prerequirements for installing
this package. You may also peek at any GNU archive site, in case
some other package would contain this missing `automake-1.7' program.


You probably want to re-emerge automake.
Back to top
View user's profile Send private message
fir3fly
n00b
n00b


Joined: 05 Sep 2002
Posts: 60

PostPosted: Thu Mar 18, 2004 4:12 am    Post subject: Reply with quote

Did so... didn't help either.

Fir3fly
Back to top
View user's profile Send private message
fennec
l33t
l33t


Joined: 30 Aug 2003
Posts: 613
Location: Montreal

PostPosted: Thu Mar 18, 2004 6:40 am    Post subject: Reply with quote

i had problems compiling since new gcc was emerged to my computer... you maybe want to look into your CFLAGS...
Back to top
View user's profile Send private message
fir3fly
n00b
n00b


Joined: 05 Sep 2002
Posts: 60

PostPosted: Thu Mar 18, 2004 7:25 pm    Post subject: Reply with quote

Hi,

checked my CFLAGS.. seems ok. Experimented with USE Flags.. didnt Help..

Im running out of ideas


Fir3fly
Back to top
View user's profile Send private message
fennec
l33t
l33t


Joined: 30 Aug 2003
Posts: 613
Location: Montreal

PostPosted: Thu Mar 18, 2004 7:30 pm    Post subject: Reply with quote

what are your CFLAGS ?
Back to top
View user's profile Send private message
fir3fly
n00b
n00b


Joined: 05 Sep 2002
Posts: 60

PostPosted: Fri Mar 19, 2004 4:14 am    Post subject: Reply with quote

CFLAGS="-mcpu=athlon-xp -O3 -pipe"

USE="X gtk perl mad gnome -alsa gd dga evo 3dnow opengl cups oss dvd mysql php ssl libgd pam"


Thanks for helping

Fir3fly
Back to top
View user's profile Send private message
TwistedSquare
n00b
n00b


Joined: 24 Sep 2003
Posts: 9

PostPosted: Sun Mar 21, 2004 4:18 pm    Post subject: I've got the same thing Reply with quote

Hi,

I've got exactly the same problem. It seems to be that annoying #. If I go look at the makefile (/var/tmp/portage/libwww-5.4.0-r2/work/w3c-libwww-5.4.0/Makefile.am) I can see it there (its tabbed, I think automake wants it at the beginning of a line), but when I change it, of course emerge libwww overwrites that whole directory again. I get the same error messages as fir3fly, but /usr/bin/automake-1.7 exists so its not an automake thing. Is there any one-time hack I can do to change this makefile to make the package compile?
Back to top
View user's profile Send private message
fir3fly
n00b
n00b


Joined: 05 Sep 2002
Posts: 60

PostPosted: Mon Mar 22, 2004 5:38 am    Post subject: Reply with quote

Thank god im not alone :)

P.S.: Problem still not solved
Back to top
View user's profile Send private message
TwistedSquare
n00b
n00b


Joined: 24 Sep 2003
Posts: 9

PostPosted: Mon Mar 22, 2004 2:17 pm    Post subject: Bug report Reply with quote

I found this bug report for our problem: https://bugs.gentoo.org/show_bug.cgi?id=41959 - but they seem to say its closed now with -r2, will see if I work out how to say it isnt ;)
Back to top
View user's profile Send private message
blubbfisch
n00b
n00b


Joined: 19 Oct 2003
Posts: 55
Location: World->Pacific->New Zealand->Hamilton

PostPosted: Wed Mar 24, 2004 5:09 am    Post subject: Reply with quote

Do you happen to have net/libs in your portage-overlay?
I did. removing the ebuild from there lead to the "real" -r2.ebuild being used and solved the problem. strange ways this portage has, indeed...

EDIT: oops, wrong, doesn't build as above, but builds, if you add a simple autoheader to the autoconf, etc. in the ebuild.
ENDEDIT

Have fun*

Niklas
Back to top
View user's profile Send private message
TwistedSquare
n00b
n00b


Joined: 24 Sep 2003
Posts: 9

PostPosted: Wed Mar 24, 2004 11:41 am    Post subject: Reply with quote

I'm afraid you lost me a bit there with your post blubbfisch - what should I be checking for? I'm none too familiar with the details of portage - where do I look to check my portage-overlay? Thanks for the suggestion though.
Back to top
View user's profile Send private message
blubbfisch
n00b
n00b


Joined: 19 Oct 2003
Posts: 55
Location: World->Pacific->New Zealand->Hamilton

PostPosted: Wed Mar 24, 2004 9:39 pm    Post subject: Reply with quote

TwistedSquare wrote:
I'm afraid you lost me a bit there with your post blubbfisch - what should I be checking for? I'm none too familiar with the details of portage - where do I look to check my portage-overlay? Thanks for the suggestion though.


sorry, I was suggesting that you maybe have the libwww-5.4.0-r2.ebuild copied to /usr/local/portage/net-libs/, because you needed something else to edit there. But if you don't know what the PORTAGE_OVERLAY is for, then you probably haven't...

Cheers

Niklas
Back to top
View user's profile Send private message
TwistedSquare
n00b
n00b


Joined: 24 Sep 2003
Posts: 9

PostPosted: Wed Mar 24, 2004 11:30 pm    Post subject: Fixed! Reply with quote

Hi,

Just to give closure to this, thanks to the gentoo team, this bug has now been fixed. run emerge sync && emerge libwww, and everything should be fine!
Back to top
View user's profile Send private message
fir3fly
n00b
n00b


Joined: 05 Sep 2002
Posts: 60

PostPosted: Tue Mar 30, 2004 4:58 am    Post subject: Reply with quote

Everything compiles fine now. Thanx a lot.


Fir3fly
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum