bind-devel package problem?

General support questions including new installations

bind-devel package problem?

Postby cjabrantes » 2011/06/21 12:22:15

hi all,

I m trying to write a program that use omapi but when put the include dhcpctl.h and isc/result.h i m but able to compile the source.

In file included from /usr/include/dhcpctl.h:38,
from rece.c:11:
/usr/local/include/omapip/omapip.h:40:22: error: dns/tsec.h: No such file or directory
In file included from /usr/include/dhcpctl.h:38,
from rece.c:11:
/usr/local/include/omapip/omapip.h:158: error: expected specifier-qualifier-list before 'dns_tsec_t'
rece.c: In function 'main':
rece.c:455: warning: return type of 'main' is not 'int'


I look and there is no tsec.h...as far as i know that file should be putted by bind-devel...
i found also this:
https://bugzilla.redhat.com/show_bug.cgi?id=637017


I tried to install bind-devel-9.3.6 and 9.3.4...and still no file...


How can i solve this?

Thanks
cjabrantes
 
Posts: 3
Joined: 2011/06/21 12:06:18

Re: bind-devel package problem?

Postby lystor » 2011/06/21 13:03:30

cjabrantes wrote:
/usr/local/include/omapip/omapip.h:40:22: error: dns/tsec.h: No such file or directory


Hi
tsec.h is absent on bind 9.3.6.
I found /usr/include/dns/tsec.h on bind-lite-devel 9.8.0 rpm from Fedora 15 distribution.
lystor
 
Posts: 187
Joined: 2008/09/10 15:46:12
Location: Ukraine, Donetsk

Re: bind-devel package problem?

Postby cjabrantes » 2011/06/21 13:43:47

Hi Thanks for the reply,

Can i install that rpm and all dependencies in CentOs5.6?
And can i do it with yum? like configure a new repository?
what is the best way?
cjabrantes
 
Posts: 3
Joined: 2011/06/21 12:06:18

Re: bind-devel package problem?

Postby cjabrantes » 2011/06/21 15:12:03

lystor,

I download the package that you said and opened it with 7zip to get the tsec.h.
I put it in the place /usr/include/dns/, can/should i do it?

when compiling i have these errors:

In file included from /usr/local/include/omapip/omapip.h:40,
from /usr/include/dhcpctl.h:38,
from rece.c:11:
/usr/include/dns/tsec.h:69: error: expected declaration specifiers or ?...? before ?dns_tsec_t?
/usr/include/dns/tsec.h:96: error: expected ?)? before ?*? token
/usr/include/dns/tsec.h:111: error: expected ?)? before ?*? token
/usr/include/dns/tsec.h:122: error: expected ?)? before ?*? token
In file included from /usr/include/dhcpctl.h:38,
from rece.c:11:
/usr/local/include/omapip/omapip.h:158: error: expected specifier-qualifier-list before ?dns_tsec_t?
rece.c: In function ?main?:
rece.c:455: warning: return type of ?main? is not ?int?


Can you help?

Thanks
cjabrantes
 
Posts: 3
Joined: 2011/06/21 12:06:18

Re: bind-devel package problem?

Postby lystor » 2011/06/21 15:55:58

cjabrantes wrote:
Can i install that rpm and all dependencies in CentOs5.6?

No

And can i do it with yum? like configure a new repository?

No

what is the best way?

Rebuilding src.rpm on CentOS 5.6.
lystor
 
Posts: 187
Joined: 2008/09/10 15:46:12
Location: Ukraine, Donetsk

bind-devel package problem?

Postby pschaff » 2011/06/24 12:23:39

Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.

cjabrantes wrote:
...
I look and there is no tsec.h...as far as i know that file should be putted by bind-devel...
i found also this:
https://bugzilla.redhat.com/show_bug.cgi?id=637017
...

That is a Fedora 14 bug and CentOS is based (approximately) on Fedora Core 6. Installing development header/library packages for a later version of bind, as advised elsewhere, is not likely to work as they will not match the capabilities of CentOS bind.

Seems like you are trying to use features too recent for CentOS 5. You might want to wait for the forthcoming CentOS 6, try Scientific Linux 6 in the interim, or use Fedora.
pschaff
Retired Moderator
 
Posts: 18277
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America


Return to CentOS 5 - General Support

Who is online

Users browsing this forum: No registered users and 2 guests