Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: How add additional include folders (tirpc and rpc)

How add additional include folders (tirpc and rpc) 3 years 6 months ago #10743

  • k96hkh
  • k96hkh's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 0
Hello!

Amazing work and I can't wait to give it a try. Since I'm so much more familiar with arch linux I gave it a try to build it from source, but I ran into some problems. Arch linux appears to have switched from rpc (SUN) to tirpc hence the headers files are under "/usr/include/tirpc/rpc/" as opposed to "/usr/include/rpc/". As always one think one have searched everywhere but I can't find the answer.

How do I add an include path to the configure/build?

Cheers / Henrik

Ps. I know Arch tends to be a little bit of bleeding edge so if it is just too much work and too difficult to get working an Arch let me know.
Last Edit: 3 years 6 months ago by k96hkh.
The administrator has disabled public write access.

How add additional include folders (tirpc and rpc) 3 years 6 months ago #10748

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3170
  • Thank you received: 497
  • Karma: 133
Hi Henrik,

Include paths are set up in src/tools/pwre/src/pwre_configure.sh but the easiest is maybe to make a symbolic link

sudo ln -s /usr/include/tirpc/rpc /usr/include/rpc

/Claes
The administrator has disabled public write access.

How add additional include folders (tirpc and rpc) 3 years 6 months ago #10749

  • k96hkh
  • k96hkh's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 0
Hi Claes!

Thanks for the tip, I though of testing to do symlinking but the rpc folder already had some other files in it so I could not symlink the whole folder. Anyway it worked symlinking each file needed for the build, see below if anyone else need to do the same workaround. Got stuck on another interesting thing though, I'll put in a new post for that one.

Thanks again, cheers!

Ps. I had been looking in "src/tools/pwre/src/pwre_configure.sh" but must admit I could not figure out how and where to add additional include paths, but I'll give it another try.

cd /usr/include
sudo ln -s /usr/include/tirpc/netconfig.h
cd /usr/include/rpc
sudo ln -s /usr/include/tirpc/rpc/types.h
sudo ln -s /usr/include/tirpc/rpc/xdr.h
sudo ln -s /usr/include/tirpc/rpc/auth.h
sudo ln -s /usr/include/tirpc/rpc/clnt_stat.h
sudo ln -s /usr/include/tirpc/rpc/clnt.h
sudo ln -s /usr/include/tirpc/rpc/clnt_soc.h
sudo ln -s /usr/include/tirpc/rpc/rpc_msg.h
sudo ln -s /usr/include/tirpc/rpc/auth_unix.h
sudo ln -s /usr/include/tirpc/rpc/auth_des.h
sudo ln -s /usr/include/tirpc/rpc/svc_auth.h
sudo ln -s /usr/include/tirpc/rpc/svc.h
sudo ln -s /usr/include/tirpc/rpc/svc_soc.h
sudo ln -s /usr/include/tirpc/rpc/pmap_clnt.h
sudo ln -s /usr/include/tirpc/rpc/pmap_prot.h
sudo ln -s /usr/include/tirpc/rpc/rpcb_clnt.h
sudo ln -s /usr/include/tirpc/rpc/rpcb_prot.h
sudo ln -s /usr/include/tirpc/rpc/svc_mt.h
sudo ln -s /usr/include/tirpc/rpc/rpc.h
Last Edit: 3 years 6 months ago by k96hkh. Reason: Forgot to mension something
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 8.589 seconds