View previous topic :: View next topic |
Author |
Message |
krogoth n00b
Joined: 15 Aug 2002 Posts: 38
|
Posted: Mon Aug 19, 2002 1:45 pm Post subject: djbdns doesn't compile |
|
|
I just installed Gentoo 1.2 on a server, and when I emerge djbdns it fails. The build seems to rely on headers from the ucspi-tcp package that aren't installed. It breaks after trying to use uint32.h, but it might require others. Is there some way to install these with portage, or is the ebuild broken? |
|
Back to top |
|
|
krogoth n00b
Joined: 15 Aug 2002 Posts: 38
|
Posted: Mon Aug 19, 2002 2:55 pm Post subject: |
|
|
I put uint32.h and uint16.h in /usr/include, but make still exits after these errors:
In file included from dns_transmit.c:4:
socket.h:13: parse error before `uint32'
socket.h:17: parse error before `uint32'
socket.h:18: parse error before `uint32'
socket.h:21: parse error before `uint32'
socket.h:24: parse error before `uint32'
socket.h:25: parse error before `uint32'
socket.h:28: parse error before `uint32'
socket.h:29: parse error before `uint32'
socket.h:33: parse error before `interface'
socket.h:34: parse error before `socket_getifidx'
socket.h:34: warning: data definition has no type or storage class
make: *** [dns_transmit.o] Error 1
make: *** Waiting for unfinished jobs....
rm -f tryulong32.o tryulong32
make: *** Waiting for unfinished jobs....
!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 4, Exitcode 2
!!! emake failed |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Mon Aug 19, 2002 7:14 pm Post subject: |
|
|
sys-apps/ucspi-tcp is available as an ebuild - is there a reason you would prefer not to install it? _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
krogoth n00b
Joined: 15 Aug 2002 Posts: 38
|
Posted: Mon Aug 19, 2002 7:34 pm Post subject: |
|
|
I'm sure portage installed it the first time I tried, and I emeged it myself to make sure, but it still doesn't work. |
|
Back to top |
|
|
Larde Guru
Joined: 07 Jun 2002 Posts: 313 Location: Duesseldorf, Germany
|
Posted: Tue Aug 20, 2002 6:06 am Post subject: |
|
|
That's strange. I just tested it here: Builds and installs without any problem. Perhaps it's a compiler issue? I am still using gcc 2.95.3.
Yours,
Larde. _________________ Someday this will be my home... http://moonage.net/
I'll make you a deal
I'll say I came from Earth and my tongue is taped
|
|
Back to top |
|
|
krogoth n00b
Joined: 15 Aug 2002 Posts: 38
|
Posted: Tue Aug 20, 2002 11:05 am Post subject: |
|
|
Same compiler here. |
|
Back to top |
|
|
|