LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-02-2020, 11:35 PM   #1
2handband
Member
 
Registered: Jan 2009
Location: Alexandria, Minnesota
Distribution: Manjaro
Posts: 837

Rep: Reputation: 96
make ends in failure


I am attempting to build the Trinity Desktop from the source files. The first dependency to install is tqt3-trinity. When I run make it ends with the following output:

Code:
/usr/include/rpcsvc/yp_prot.h:10:10: fatal error: rpc/rpc.h: No such file or directory
   10 | #include <rpc/rpc.h>
      |          ^~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:11007: .obj/release-shared/qprintdialog.o] Error 1
make[2]: Leaving directory '/home/gene/Build/trinity_desktop/dependencies/tqt3-trinity-14.0.8/src'
make[1]: *** [Makefile:40: sub-src] Error 2
make[1]: Leaving directory '/home/gene/Build/trinity_desktop/dependencies/tqt3-trinity-14.0.8'
make: *** [Makefile:8: init] Error 2
Can somebody help me out with whatever just happened?
 
Old 07-03-2020, 01:09 AM   #2
berndbausch
Senior Member
 
Registered: Nov 2013
Location: Tokyo
Distribution: A few
Posts: 4,998

Rep: Reputation: 1493Reputation: 1493Reputation: 1493Reputation: 1493Reputation: 1493Reputation: 1493Reputation: 1493Reputation: 1493Reputation: 1493Reputation: 1493
Quote:
Originally Posted by 2handband View Post
Code:
/usr/include/rpcsvc/yp_prot.h:10:10: fatal error: rpc/rpc.h: No such file or directory
   10 | #include <rpc/rpc.h>
      |          ^~~~~~~~~~~
compilation terminated.
Can somebody help me out with whatever just happened?
There is no file named /usr/include/rpc/rpc.h. Your system is missing a prerequisite. Since RPC is normally part of NFS, I guess you have to install some NFS development package before compiling.
 
Old 07-03-2020, 03:30 AM   #3
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 1,142

Rep: Reputation: Disabled
Your profile says you're using Manjaro which is based on Arch Linux, so try
Code:
pacman -F /usr/include/rpc/rpc.h
to find out which package that file belongs to.
 
Old 07-03-2020, 07:16 AM   #4
2handband
Member
 
Registered: Jan 2009
Location: Alexandria, Minnesota
Distribution: Manjaro
Posts: 837

Original Poster
Rep: Reputation: 96
Quote:
Originally Posted by shruggy View Post
Your profile says you're using Manjaro which is based on Arch Linux, so try
Code:
pacman -F /usr/include/rpc/rpc.h
to find out which package that file belongs to.

That command returns no output. So far as I know the file should beling to libtirpc, which I have.
 
Old 07-03-2020, 08:19 AM   #5
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: Currently: openSUSE, Raspbian, Slackware. Formerly: CentOS, MacOS, Red Hat. Other: Solaris, Tru64
Posts: 1,980

Rep: Reputation: 325Reputation: 325Reputation: 325Reputation: 325
Quote:
Originally Posted by 2handband View Post
That command returns no output. So far as I know the file should beling to libtirpc, which I have.
Try use find(1) to [ahem] find out where it's located:
Code:
$ find /usr/include -type f -iname '*rpc*'
Does that header file appear in the output?

HTH...
 
Old 07-03-2020, 08:24 AM   #6
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 1,142

Rep: Reputation: Disabled
Quote:
Originally Posted by 2handband View Post
So far as I know the file should belong to libtirpc, which I have.
Nope. The file belonging to libtirpc is /usr/include/tirpc/rpc/rpc.h

E.g. on Debian, there are:
  • /usr/include/rpc/rpc.h provided by libc6-dev,
  • /usr/include/diet/rpc/rpc.h provided by dietlibc-dev,
  • /usr/include/rpcsecgss/rpc/rpc.h provided by librpcsecgss-dev,
  • /usr/include/ntirpc/rpc/rpc.h provided by libntirpc-dev,
  • /usr/include/tirpc/rpc/rpc.h provided by libtirpc-dev

Last edited by shruggy; 07-03-2020 at 08:35 AM.
 
Old 07-03-2020, 09:49 AM   #7
2handband
Member
 
Registered: Jan 2009
Location: Alexandria, Minnesota
Distribution: Manjaro
Posts: 837

Original Poster
Rep: Reputation: 96
Quote:
Originally Posted by rnturn View Post
Try use find(1) to [ahem] find out where it's located:
Code:
$ find /usr/include -type f -iname '*rpc*'
Does that header file appear in the output?

HTH...
Code:
[gene@gene-Manjaro ~]$ find /usr/include -type f -iname '*rpc*'
/usr/include/gssrpc/rpc.h
/usr/include/gssrpc/rpc_msg.h
/usr/include/libsoup-2.4/libsoup/soup-xmlrpc-old.h
/usr/include/libsoup-2.4/libsoup/soup-xmlrpc.h
/usr/include/misc/fastrpc.h
/usr/include/orc-0.4/orc/orcpowerpc.h
/usr/include/wine/windows/rpcasync.h
/usr/include/wine/windows/rpcproxy.h
/usr/include/wine/windows/rpcsal.h
/usr/include/wine/windows/rpc.h
/usr/include/wine/windows/rpcnterr.h
/usr/include/wine/windows/rpcdce.h
/usr/include/wine/windows/rpcndr.h
/usr/include/wine/windows/rpcdcep.h
/usr/include/tirpc/rpc/rpcb_prot.x
/usr/include/tirpc/rpc/rpcb_clnt.h
/usr/include/tirpc/rpc/rpcb_prot.h
/usr/include/tirpc/rpc/rpcsec_gss.h
/usr/include/tirpc/rpc/rpc.h
/usr/include/tirpc/rpc/rpcent.h
/usr/include/tirpc/rpc/rpc_msg.h
/usr/include/tirpc/rpc/rpc_com.h
/usr/include/clang/Serialization/AttrPCHWrite.inc
/usr/include/clang/Serialization/AttrPCHRead.inc
/usr/include/llvm/IR/IntrinsicsPowerPC.td
/usr/include/llvm/IR/IntrinsicsPowerPC.h
/usr/include/llvm/BinaryFormat/ELFRelocs/PowerPC64.def
/usr/include/llvm/BinaryFormat/ELFRelocs/PowerPC.def
/usr/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetRPCAPI.h
/usr/include/llvm/ExecutionEngine/Orc/RPC/RPCSerialization.h
/usr/include/llvm/ExecutionEngine/Orc/RPC/RPCUtils.h
/usr/include/samba-4.0/ndr/ndr_dcerpc.h
/usr/include/samba-4.0/gen_ndr/dcerpc.h
/usr/include/samba-4.0/gen_ndr/ndr_dcerpc.h
/usr/include/samba-4.0/rpc_common.h
/usr/include/samba-4.0/dcerpc_server.h
/usr/include/samba-4.0/dcerpc.h
/usr/include/evrpc.h
/usr/include/event2/rpc_struct.h
/usr/include/event2/rpc.h
/usr/include/event2/rpc_compat.h
/usr/include/linux/rxrpc.h
/usr/include/libtorrent/kademlia/rpc_manager.hpp
/usr/include/KF5/libktorrent/dht/rpccall.h
/usr/include/KF5/libktorrent/dht/rpcserver.h
/usr/include/KF5/libktorrent/dht/rpcserverinterface.h
/usr/include/KF5/libktorrent/dht/rpcmsgfactory.h
/usr/include/KF5/libktorrent/dht/rpcmsg.h
 
Old 07-03-2020, 07:46 PM   #8
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: Currently: openSUSE, Raspbian, Slackware. Formerly: CentOS, MacOS, Red Hat. Other: Solaris, Tru64
Posts: 1,980

Rep: Reputation: 325Reputation: 325Reputation: 325Reputation: 325
Quote:
Originally Posted by 2handband View Post
Code:
[gene@gene-Manjaro ~]$ find /usr/include -type f -iname '*rpc*'
/usr/include/gssrpc/rpc.h

<snip>

/usr/include/wine/windows/rpc.h

<snip>

/usr/include/tirpc/rpc/rpc.h

<snip>

/usr/include/event2/rpc.h
So... no, the one make wants is not listed. Plenty (4) to choose from, though, aren't there. (Shame developers couldn't come up with their own header file names to avoid this confusion.) :^/

Take a look in your package manager and see that you've installed the glibc development package. On OpenSUSE it's called "glibc-devel-blahblah...". Not sure what Manjaro will be calling but it should be similar.


Good luck...
 
Old 07-05-2020, 08:27 AM   #9
2handband
Member
 
Registered: Jan 2009
Location: Alexandria, Minnesota
Distribution: Manjaro
Posts: 837

Original Poster
Rep: Reputation: 96
Quote:
Originally Posted by rnturn View Post
So... no, the one make wants is not listed. Plenty (4) to choose from, though, aren't there. (Shame developers couldn't come up with their own header file names to avoid this confusion.) :^/

Take a look in your package manager and see that you've installed the glibc development package. On OpenSUSE it's called "glibc-devel-blahblah...". Not sure what Manjaro will be calling but it should be similar.


Good luck...
There is no such package in Manjaro, but a search revealed that the functionality was wrapped up into a package called manjaro-tools-base. I installed it, but I'm still getting the same failure.
 
  


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
How to make GNOME MPV close when a video or playlist ends? linustalman Linux - Software 22 07-18-2020 08:50 AM
[SOLVED] Failure after failure after failure.....etc 69Rixter Linux - Laptop and Netbook 5 04-14-2015 09:58 AM
Make command always ends up in trouble ..!! cyberiapost Linux - Newbie 6 01-09-2007 07:22 AM
make bzImage failure: make[1]: *** [init/version.o] Error 1 nmainak Linux - Kernel 2 07-16-2006 05:06 PM
how they make ends meets?? alaios Linux - General 3 04-11-2005 04:19 PM

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

All times are GMT -5. The time now is 11:59 PM.

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