LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-30-2009, 11:39 PM   #1
stympman
LQ Newbie
 
Registered: Oct 2008
Posts: 16

Rep: Reputation: 0
rpcbind help


I'm trying to install rpcbind on CentOS 5.3 using "yum install rpcbind" but it says it can't find it. I new to linux so some detailed help would be appreciated.
 
Old 05-01-2009, 04:00 AM   #2
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
If you can't find it, download the source code and compile it.

http://sourceforge.net/projects/rpcbind/

Compiling may be a bit daunting at first but give it a shot and let us know what problems you see and we'll help you from there. Good luck.

-twantrd
 
Old 05-01-2009, 08:31 AM   #3
stympman
LQ Newbie
 
Registered: Oct 2008
Posts: 16

Original Poster
Rep: Reputation: 0
I downloaded it and am trying to use the command "rpmbuild --rebuild rpc-0.1.7.tar.bz2" but it says that it cannot be installed.
 
Old 05-01-2009, 08:57 AM   #4
stympman
LQ Newbie
 
Registered: Oct 2008
Posts: 16

Original Poster
Rep: Reputation: 0
I've also tried to do what the INSTALL text file said by using "./configure" but that also doesn't work.
 
Old 05-01-2009, 01:04 PM   #5
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
Quote:
I downloaded it and am trying to use the command "rpmbuild --rebuild rpc-0.1.7.tar.bz2" but it says that it cannot be installed.
You would use that rpmbuild command if you were downloading the source code of the rpm package. The file would look something like rpc-0.1.7.src.rpm.

Quote:
I've also tried to do what the INSTALL text file said by using "./configure" but that also doesn't work.
What was the problem? Please include the error message so that we can help you. Without knowing the error message, we have no idea what is wrong.

-twantrd
 
Old 05-01-2009, 01:51 PM   #6
stympman
LQ Newbie
 
Registered: Oct 2008
Posts: 16

Original Poster
Rep: Reputation: 0
Code:
[root@localhost rpcbind-0.1.7]# make
make  all-recursive
make[1]: Entering directory `/root/Desktop/rpcbind-0.1.7'
Making all in src
make[2]: Entering directory `/root/Desktop/rpcbind-0.1.7/src'
make  all-am
make[3]: Entering directory `/root/Desktop/rpcbind-0.1.7/src'
gcc -DHAVE_CONFIG_H -I. -I.. -I./tirpc -DPORTMAP -DINET6 -DVERSION="\"0.1.7\"" -D_GNU_SOURCE -Wall -pipe    -I/usr/include/tirpc -DCHECK_LOCAL -DPORTMAP -DFACILITY=LOG_MAIL -DSEVERITY=LOG_INFO   -g -O2 -MT check_bound.o -MD -MP -MF .deps/check_bound.Tpo -c -o check_bound.o check_bound.c
check_bound.c:55:23: error: netconfig.h: No such file or directory
In file included from check_bound.c:61:
rpcbind.h:49:27: error: rpc/rpcb_prot.h: No such file or directory
In file included from check_bound.c:61:
rpcbind.h:73: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘list_rbl’
rpcbind.h:83: warning: ‘struct netbuf’ declared inside parameter list
rpcbind.h:83: warning: its scope is only this definition or declaration, which is probably not what you want
rpcbind.h:83: warning: ‘struct netconfig’ declared inside parameter list
rpcbind.h:94: error: expected declaration specifiers or ‘...’ before ‘rpcblist_ptr’
rpcbind.h:103: error: expected ‘)’ before ‘*’ token
rpcbind.h:104: error: expected ‘)’ before ‘*’ token
rpcbind.h:106: error: expected ‘)’ before ‘*’ token
rpcbind.h:126: warning: ‘struct netbuf’ declared inside parameter list
rpcbind.h:127: warning: ‘struct netbuf’ declared inside parameter list
rpcbind.h:136: warning: ‘struct netbuf’ declared inside parameter list
check_bound.c: In function ‘check_bound’:
check_bound.c:91: warning: implicit declaration of function ‘uaddr2taddr’
check_bound.c:91: warning: assignment makes pointer from integer without a cast
check_bound.c:95: warning: implicit declaration of function ‘__rpc_nconf2fd’
check_bound.c:97: error: dereferencing pointer to incomplete type
check_bound.c:102: error: dereferencing pointer to incomplete type
check_bound.c:102: error: dereferencing pointer to incomplete type
check_bound.c:105: error: dereferencing pointer to incomplete type
check_bound.c: At top level:
check_bound.c:112: warning: ‘struct netbuf’ declared inside parameter list
check_bound.c:113: error: conflicting types for ‘add_bndlist’
rpcbind.h:83: error: previous declaration of ‘add_bndlist’ was here
check_bound.c: In function ‘add_bndlist’:
check_bound.c:117: warning: implicit declaration of function ‘getnetconfigent’
check_bound.c:117: error: dereferencing pointer to incomplete type
check_bound.c:117: warning: assignment makes pointer from integer without a cast
check_bound.c:122: warning: implicit declaration of function ‘freenetconfigent’
check_bound.c: In function ‘is_bound’:
check_bound.c:147: error: dereferencing pointer to incomplete type
check_bound.c:147: error: dereferencing pointer to incomplete type
check_bound.c:147: error: dereferencing pointer to incomplete type
check_bound.c:147: error: dereferencing pointer to incomplete type
check_bound.c:147: error: dereferencing pointer to incomplete type
check_bound.c:147: error: dereferencing pointer to incomplete type
check_bound.c:147: error: dereferencing pointer to incomplete type
check_bound.c:147: error: dereferencing pointer to incomplete type
check_bound.c:147: error: dereferencing pointer to incomplete type
check_bound.c:147: error: dereferencing pointer to incomplete type
check_bound.c:147: error: dereferencing pointer to incomplete type
check_bound.c:147: error: dereferencing pointer to incomplete type
check_bound.c:147: error: dereferencing pointer to incomplete type
check_bound.c:147: error: dereferencing pointer to incomplete type
check_bound.c:147: error: dereferencing pointer to incomplete type
check_bound.c:147: error: dereferencing pointer to incomplete type
check_bound.c:147: error: dereferencing pointer to incomplete type
check_bound.c:147: error: dereferencing pointer to incomplete type
check_bound.c:147: error: dereferencing pointer to incomplete type
check_bound.c:147: error: dereferencing pointer to incomplete type
check_bound.c: In function ‘mergeaddr’:
check_bound.c:166: error: dereferencing pointer to incomplete type
check_bound.c:166: error: dereferencing pointer to incomplete type
check_bound.c:166: error: dereferencing pointer to incomplete type
check_bound.c:166: error: dereferencing pointer to incomplete type
check_bound.c:166: error: dereferencing pointer to incomplete type
check_bound.c:166: error: dereferencing pointer to incomplete type
check_bound.c:166: error: dereferencing pointer to incomplete type
check_bound.c:166: error: dereferencing pointer to incomplete type
check_bound.c:166: error: dereferencing pointer to incomplete type
check_bound.c:166: error: dereferencing pointer to incomplete type
check_bound.c:166: error: dereferencing pointer to incomplete type
check_bound.c:166: error: dereferencing pointer to incomplete type
check_bound.c:166: error: dereferencing pointer to incomplete type
check_bound.c:166: error: dereferencing pointer to incomplete type
check_bound.c:166: error: dereferencing pointer to incomplete type
check_bound.c:166: error: dereferencing pointer to incomplete type
check_bound.c:166: error: dereferencing pointer to incomplete type
check_bound.c:166: error: dereferencing pointer to incomplete type
check_bound.c:166: error: dereferencing pointer to incomplete type
check_bound.c:166: error: dereferencing pointer to incomplete type
check_bound.c:181: warning: implicit declaration of function ‘taddr2uaddr’
check_bound.c:181: warning: implicit declaration of function ‘svc_getrpccaller’
check_bound.c:181: warning: assignment makes pointer from integer without a cast
check_bound.c:184: error: dereferencing pointer to incomplete type
check_bound.c:205: warning: passing argument 1 of ‘addrmerge’ makes pointer from integer without a cast
check_bound.c: In function ‘rpcbind_get_conf’:
check_bound.c:226: error: dereferencing pointer to incomplete type
check_bound.c:226: error: dereferencing pointer to incomplete type
check_bound.c:226: error: dereferencing pointer to incomplete type
check_bound.c:226: error: dereferencing pointer to incomplete type
check_bound.c:226: error: dereferencing pointer to incomplete type
check_bound.c:226: error: dereferencing pointer to incomplete type
check_bound.c:226: error: dereferencing pointer to incomplete type
check_bound.c:226: error: dereferencing pointer to incomplete type
check_bound.c:226: error: dereferencing pointer to incomplete type
check_bound.c:226: error: dereferencing pointer to incomplete type
check_bound.c:226: error: dereferencing pointer to incomplete type
check_bound.c:226: error: dereferencing pointer to incomplete type
check_bound.c:226: error: dereferencing pointer to incomplete type
check_bound.c:226: error: dereferencing pointer to incomplete type
check_bound.c:226: error: dereferencing pointer to incomplete type
check_bound.c:226: error: dereferencing pointer to incomplete type
check_bound.c:226: error: dereferencing pointer to incomplete type
check_bound.c:226: error: dereferencing pointer to incomplete type
check_bound.c:226: error: dereferencing pointer to incomplete type
check_bound.c:226: error: dereferencing pointer to incomplete type
make[3]: *** [check_bound.o] Error 1
make[3]: Leaving directory `/root/Desktop/rpcbind-0.1.7/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/Desktop/rpcbind-0.1.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/Desktop/rpcbind-0.1.7'
make: *** [all] Error 2
I got the "./configure" to work. Turns out I needed to install gcc. Anyway the next step is to compile and when I type "make" it spews all of this out at me. I don't know what I have to do now.
 
Old 05-01-2009, 05:37 PM   #7
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
Before we go any further, I forgot to point out that the equivalent of rpcbind on Centos5.3 is portmap.

Code:
which portmap
You should already have that on your system.

-twantrd
 
Old 08-25-2010, 12:13 AM   #8
sundararaja88
LQ Newbie
 
Registered: Aug 2010
Posts: 2

Rep: Reputation: 0
Smile rpc connection

I have done some rpc program in c.but it connected in one side only
client to server but i want server also access the client side procedure
what will i do.plz help me
 
Old 12-26-2011, 11:39 PM   #9
jubitaneja
LQ Newbie
 
Registered: Dec 2011
Posts: 5

Rep: Reputation: Disabled
building rpcbind fails

I also got the same error while building the package.
In file included from check_bound.c:60:
rpcbind.h:72: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'list_rbl'
rpcbind.h:82: warning: 'struct netbuf' declared inside parameter list
rpcbind.h:82: warning: its scope is only this definition or declaration, which is probably not what you want
rpcbind.h:82: warning: 'struct netconfig' declared inside parameter list
rpcbind.h:93: error: expected declaration specifiers or '...' before 'rpcblist_ptr'
rpcbind.h:102: error: expected ')' before '*' token
rpcbind.h:103: error: expected ')' before '*' token
rpcbind.h:105: error: expected ')' before '*' token

I have cross checked the rpcbind.h file many times but I could not locate any ';' '=' missing in the file.
I have also installed portmap utlity.

Can anyone please suggest how it is fixed?

Thanks,
Jubi

Last edited by jubitaneja; 12-26-2011 at 11:41 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Do i need rpcbind/portmapper? exceed1 Linux - General 1 11-09-2008 12:09 AM
nfs and rpcbind fancylad Linux - Server 1 10-27-2008 01:17 AM
rpcbind / portmap not actually reachable on the network? whysyn Linux - Server 2 01-06-2008 09:37 AM
111/tcp open rpcbind carcassonne Linux - Networking 1 07-23-2006 09:20 PM
how to run rpcbind? anuode Solaris / OpenSolaris 5 10-17-2005 09:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration