This is how I did it.
1) I downloaded the .zip file from the github and extracted it.
2) I change the directory in my terminal to where I extracted above zip file.
3) According to the given instructions by the creator type following commands on the terminal.
>make
(After execution of that command all the required files will be generated since the project creator has created a makefile including all the commands to generate required files like client, server stubs etc. )
>sudo ./server
(If an error occurred, it means you may have not installed the portmapper. You can check it by >rpcinfo
)
>./client localhost
(Type above command in a separate terminal) 4) Hello World output will be generated.
thx udara.
ReplyDelete