[gentoo-user] emerge wget failed - help

2005-03-29 Thread JASON JESSO
I am trying an emerge on wget.  I get a compile error:

In file included from ftp.c:52:
ftp.h:81: error: parse error before numeric constant
make[1]: *** [ftp.o] Error 1
cd po && make CC='i686-pc-linux-gnu-gcc' CPPFLAGS=''
DEFS='-DHAVE_CONFIG_H
-DSYSTEM_WGETRC=\"/etc/wget/wgetrc\"
-DLOCALEDIR=\"/usr/share/locale\"' CFLAGS='-O2
-march=pentium3 -fomit-frame-pointer
-I/usr/include/openssl' LDFLAGS='' LIBS='-lssl
-lcrypto -ldl ' prefix='/usr' exec_prefix='/usr'
bindir='/usr/bin' infodir='/usr/share/info'
mandir='/usr/share/man' manext='1'
make[1]: *** Waiting for unfinished jobs
make[1]: Entering directory
`/var/tmp/portage/wget-1.9.1-r3/work/wget-1.9.1/po'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/var/tmp/portage/wget-1.9.1-r3/work/wget-1.9.1/po'
cd util && make CC='i686-pc-linux-gnu-gcc' CPPFLAGS=''
DEFS='-DHAVE_CONFIG_H
-DSYSTEM_WGETRC=\"/etc/wget/wgetrc\"
-DLOCALEDIR=\"/usr/share/locale\"' CFLAGS='-O2
-march=pentium3 -fomit-frame-pointer
-I/usr/include/openssl' LDFLAGS='' LIBS='-lssl
-lcrypto -ldl ' prefix='/usr' exec_prefix='/usr'
bindir='/usr/bin' infodir='/usr/share/info'
mandir='/usr/share/man' manext='1'
make[1]: Entering directory
`/var/tmp/portage/wget-1.9.1-r3/work/wget-1.9.1/util'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/var/tmp/portage/wget-1.9.1-r3/work/wget-1.9.1/util'
cd windows && make CC='i686-pc-linux-gnu-gcc'
CPPFLAGS='' DEFS='-DHAVE_CONFIG_H
-DSYSTEM_WGETRC=\"/etc/wget/wgetrc\"
-DLOCALEDIR=\"/usr/share/locale\"' CFLAGS='-O2
-march=pentium3 -fomit-frame-pointer
-I/usr/include/openssl' LDFLAGS='' LIBS='-lssl
-lcrypto -ldl ' prefix='/usr' exec_prefix='/usr'
bindir='/usr/bin' infodir='/usr/share/info'
mandir='/usr/share/man' manext='1'
make[1]: Entering directory
`/var/tmp/portage/wget-1.9.1-r3/work/wget-1.9.1/windows'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/var/tmp/portage/wget-1.9.1-r3/work/wget-1.9.1/windows'
make[1]: Leaving directory
`/var/tmp/portage/wget-1.9.1-r3/work/wget-1.9.1/src'
make: *** [src] Error 2

!!! ERROR: net-misc/wget-1.9.1-r3 failed.
!!! Function src_compile, Line 54, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error,
NOT this status message.

--
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] emerge wget failed - help

2005-03-29 Thread Dave Nebinger
> I am trying an emerge on wget.  I get a compile error:
> 
> In file included from ftp.c:52:
> ftp.h:81: error: parse error before numeric constant
> make[1]: *** [ftp.o] Error 1

Jason, wget-1.9.1-r3 builds fine on my system.  Perhaps you could send the
output from a few lines before this error rather than the ones following it?

The line in ftp.h (81) is an enum construct where several symbolic names are
used to represent constant values.  I'm not sure where the values are
located (i.e. a system include file or a local include file), but I'm
hunting...



--
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] emerge wget failed - help

2005-03-29 Thread JASON JESSO
OK..  That was my hunch and I am hunting also.

I also downloaded the tar file from GNU and get the
same error.

GETALL is the culprit.  But why am I the only one
tripping on this?

[EMAIL PROTECTED] wget-1.9.1 $ find /usr/include/ -name
'*.h' -exec grep -l GETALL {} \;
/usr/include/linux/sem.h
/usr/include/bits/sem.h
[EMAIL PROTECTED] wget-1.9.1 $ cksum
/usr/include/bits/sem.h
1741411475 2648 /usr/include/bits/sem.h
[EMAIL PROTECTED] wget-1.9.1 $ cksum
/usr/include/linux/sem.h
851410447 5038 /usr/include/linux/sem.h
[EMAIL PROTECTED] wget-1.9.1 $ 


--- Dave Nebinger <[EMAIL PROTECTED]> wrote:
> > I am trying an emerge on wget.  I get a compile
> error:
> > 
> > In file included from ftp.c:52:
> > ftp.h:81: error: parse error before numeric
> constant
> > make[1]: *** [ftp.o] Error 1
> 
> Jason, wget-1.9.1-r3 builds fine on my system. 
> Perhaps you could send the
> output from a few lines before this error rather
> than the ones following it?
> 
> The line in ftp.h (81) is an enum construct where
> several symbolic names are
> used to represent constant values.  I'm not sure
> where the values are
> located (i.e. a system include file or a local
> include file), but I'm
> hunting...
> 
> 
> 
--
gentoo-user@gentoo.org mailing list