Can't compile quota-tools-4.0.1 on current LFS
I have compiled the current SVN of LFS using jhalfs successfully. Most of my packages are compiling just fine, but I am unable to compile the quota-tools package (which gives quotacheck, quota, etc.).
The version I am using is current, quota-tools-4.0.1
The compile fails at what appears to be the linking step (although it's using cc to link). The issue seems to stem from a problem with the rpc library; the problem is that my RPC library seems to be OK but the quota-tools isn't picking it up apparently.
Dont know if this helps here
Thanks, but that is more generic instructions for setting up quotas. I have already compiled a kernel with quota support, the problem is compiling the userspace tools (such as repquota, setquota, etc).
The quota-tools sourceforge page had a single post about this, wherein a person said that they couldn't even pass the configure step because rpc.h was missing. That isn't the case for me, I was able to get all the way through the configure step and most of the way through compiling. The person on Sourceforge was being told that the tirpc library is the "replacement" for the glibc RPC library, but that quota-tools doesn't support tirpc. No solution was offered at all.
My glibc does seem to have RPC as I do have an rpc/rpc.h file and in tracing the calls back through the header files all of the functions and structs seem to be present in the .h files. So I'm honestly stumped as to why I can't compile. The compiler seems like it's just not seeing the rpc headers, but they're clearly there. (in /usr/include)
Any further advice greatly appreciated...I need quotas enabled on this system before it can go into production use...
I solved it.
For others seeking to fix this, here's what you have to do:
1. Install libtirpc according to blfs: http://www.linuxfromscratch.org/blfs.../libtirpc.html
2. Even if you have rpc headers, install the ones BLFS tells you to anyway.
3. Configure quota-tools using ./configure as you desire.
4. Edit the makefile manually. Add "-ltirpc" to BOTH the "EXT2LIBS" and the "LDFLAGS" line.
5. Make and install - it should work now.
|All times are GMT -5. The time now is 03:50 AM.|