Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
djbdns doesn't compile
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
krogoth
n00b
n00b


Joined: 15 Aug 2002
Posts: 38

PostPosted: Mon Aug 19, 2002 1:45 pm    Post subject: djbdns doesn't compile Reply with quote

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
View user's profile Send private message
krogoth
n00b
n00b


Joined: 15 Aug 2002
Posts: 38

PostPosted: Mon Aug 19, 2002 2:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Mon Aug 19, 2002 7:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
krogoth
n00b
n00b


Joined: 15 Aug 2002
Posts: 38

PostPosted: Mon Aug 19, 2002 7:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
Larde
Guru
Guru


Joined: 07 Jun 2002
Posts: 313
Location: Duesseldorf, Germany

PostPosted: Tue Aug 20, 2002 6:06 am    Post subject: Reply with quote

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
View user's profile Send private message
krogoth
n00b
n00b


Joined: 15 Aug 2002
Posts: 38

PostPosted: Tue Aug 20, 2002 11:05 am    Post subject: Reply with quote

Same compiler here.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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