Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
The package containing poptQV is RPM. But, that's not the error. This is the error message
Code:
error: 'POPT_READFILE_TRIMNEWLINES' undeclared (first use in this function)
However, you don't provide enough output to determine which header RPM is looking for POPT_READFILE_TRIMNEWLINES. I could presume it is looking in popt.h, but my popt.h doesn't define this variable. So maybe RPM is looking for this variable in an internal header or your version of popt is too old/new.
Edit: OK, I was bored enough to troubleshoot this a little. POPT_READFILE_TRIMNEWLINES is defined in popt version 1.15 or greater. Try updating your popt and see if that works. It did on my machine.
Last edited by weibullguy; 04-17-2009 at 08:06 AM.
librpmbuild is provided by the rpm package. It should be installed in /usr/lib, /usr/local/lib, /usr/lib64, /usr/local/lib64, etc. depending on the prefix you used and the ABI you built. If it's not there, something went wrong with your install. If it is, you shouldn't have to, but you can try to execute ldconfig as root.
Last edited by weibullguy; 04-17-2009 at 12:17 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.