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
bind-devel package problem?
Re: bind-devel package problem?
[quote]
cjabrantes wrote:
/usr/local/include/omapip/omapip.h:40:22: error: dns/tsec.h: No such file or directory
[/quote]
Hi
tsec.h is absent on [url=http://pkgs.org/package/bind]bind 9.3.6[/url].
I found /usr/include/dns/tsec.h on [url=http://pkgs.org/package/bind-lite-devel]bind-lite-devel 9.8.0 rpm[/url] from Fedora 15 distribution.
cjabrantes wrote:
/usr/local/include/omapip/omapip.h:40:22: error: dns/tsec.h: No such file or directory
[/quote]
Hi
tsec.h is absent on [url=http://pkgs.org/package/bind]bind 9.3.6[/url].
I found /usr/include/dns/tsec.h on [url=http://pkgs.org/package/bind-lite-devel]bind-lite-devel 9.8.0 rpm[/url] from Fedora 15 distribution.
-
- Posts: 3
- Joined: 2011/06/21 12:06:18
Re: bind-devel package problem?
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?
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?
-
- Posts: 3
- Joined: 2011/06/21 12:06:18
Re: bind-devel package problem?
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
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
Re: bind-devel package problem?
[quote]
cjabrantes wrote:
Can i install that rpm and all dependencies in CentOs5.6?[/quote]
No
[quote]And can i do it with yum? like configure a new repository?[/quote]
No
[quote]what is the best way?[/quote]
Rebuilding src.rpm on CentOS 5.6.
cjabrantes wrote:
Can i install that rpm and all dependencies in CentOs5.6?[/quote]
No
[quote]And can i do it with yum? like configure a new repository?[/quote]
No
[quote]what is the best way?[/quote]
Rebuilding src.rpm on CentOS 5.6.
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
bind-devel package problem?
Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.
[quote]
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
...[/quote]
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 [url=http://qaweb.dev.centos.org/qa/node/89]CentOS 6[/url], try [url=http://www.scientificlinux.org/download/]Scientific Linux 6[/url] in the interim, or use Fedora.
[quote]
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
...[/quote]
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 [url=http://qaweb.dev.centos.org/qa/node/89]CentOS 6[/url], try [url=http://www.scientificlinux.org/download/]Scientific Linux 6[/url] in the interim, or use Fedora.