LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-25-2010, 10:36 AM   #1
benjamin_whitehead
LQ Newbie
 
Registered: Oct 2010
Posts: 2

Rep: Reputation: 0
NFS Question


I have a question. Do you need rpcbind to make a NFS Server or can you just use portmapper? I install rpcbind on one of my servers and it asked for a gcc rpm to be installed. While I installed the gcc, it spits out this message:


Can only get to redhat yum depository from one system
Check_bound.c: 225: error: dereferencingpointer to incomplete type
Check_bound.c: 165: error: dereferencingpointer to incomplete type
Check_bound.c: 225: error: dereferencingpointer to incomplete type
Check_bound.c: 146: error: dereferencingpointer to incomplete type
Check_bound.c: 96: error: dereferencingpointer to incomplete type
Check_bound.c: 101: error: dereferencingpointer to incomplete type
Check_bound.c: 104: error: dereferencingpointer to incomplete type
Rpcbind.h:93: error: expected declaration specifiers
Rpcbind.h:102: error: expected ‘)’ before ‘*’ token

Can someone help me?
 
Old 10-25-2010, 11:19 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
First, I suggest that you read How to Ask a Question. It will be a great help to you and anyone who wishes to try to answer your questions.

Second, you say nothing about which GNU/Linux distro you are using. Is it an .rpm based distro? Is it RedHat? An rpm from RedHat wonk work in a non-RedHat distro.

From the nature of the error messages, I suspect you are missing header files. But I can't say whether it is kernel header or gcc devel package or what else it might be.

PS: welcome to LQ. www.google.com/linux is your friend and the place to research questions about GNU/Linux. Most problems have already been encountered and reported somewhere on the internet. Try search first, before posting. You will usually find your answer faster that way.

Last edited by bigrigdriver; 10-25-2010 at 11:21 AM.
 
Old 10-25-2010, 03:38 PM   #3
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Something as common as NFS should come as an installable package for your distro, if the distro is one of the mainsteam ones. Use the package manager to install the NFS server, and it should know what related/prerequisite packages are required, and allow you to install them at the same time.

--- rod.
 
Old 10-26-2010, 11:46 AM   #4
benjamin_whitehead
LQ Newbie
 
Registered: Oct 2010
Posts: 2

Original Poster
Rep: Reputation: 0
A Clearer quetion to this thread.

I think I need to be a little clearer on my problem. I am trying to install rcpbind on two different servers, red hat 5.4 and centos 5.5. Neither of the servers will let me use the yum directory. The first thing I did was install the trial version of Likewise Open Integrated Secure Authentication on the servers. Since I tried to install rcpbind on centos before installing Likewise, I don’t think it has anything to do with it. Then I downloaded rcpbind from the net, (http://sourceforge.net/projects/rpcbind/files/), and then extracted the.tar file. After which I tried ./configure and make for the rpcbind file. When I tried ./configure it said that I needed the gcc.rpm file. I retried that file from yum, One of the few that I can retrieve, and loaded up. The ./configure seem to work, but when I ran make or make install I get these errors:

Check_bound.c: 225: error: dereferencingpointer to incomplete type
Check_bound.c: 165: error: dereferencingpointer to incomplete type
Check_bound.c: 225: error: dereferencingpointer to incomplete type
Check_bound.c: 146: error: dereferencingpointer to incomplete type
Check_bound.c: 96: error: dereferencingpointer to incomplete type
Check_bound.c: 101: error: dereferencingpointer to incomplete type
Check_bound.c: 104: error: dereferencingpointer to incomplete type
Rpcbind.h:93: error: expected declaration specifiers
Rpcbind.h:102: error: expected ‘)’ before ‘*’ token

I am very new to linux and will appreciate any help given to me. An earlier post suggested that I might be missing the header files and I am checking on that right now. I also tried to download an older version and it still didn’t work. Is there any other help someone can offer?

Last edited by benjamin_whitehead; 10-26-2010 at 11:50 AM.
 
Old 10-27-2010, 09:34 AM   #5
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Since you are using Redhat distros, why don't you locate an RPM file containing the required packages, and use that? You only need rpm to do that; yum not required. That way, you should get a system that was tailored to your installation. Building packages from source is fun and all, but sometimes it makes more sense to go with what the vendor configures for you.

--- rod.
 
  


Reply



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
[SOLVED] NFS mount fails (times out): NFS server is in DMZ, NFS client is in intranet Hiroshi Linux - Networking 2 05-24-2010 10:22 AM
NFS Question kdelover Linux - Server 1 02-27-2010 06:49 AM
NFS question spivy66 Linux - Networking 1 10-15-2007 03:47 PM
nfs question phonecian Linux - Security 3 10-02-2005 09:34 PM
NFS question sassman Linux - Networking 4 11-17-2004 12:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:51 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