OT? Help to compile program - ac_nonexitent.h

Todd Zullinger tmz at pobox.com
Wed Mar 19 19:57:06 UTC 2008


Robin Laing wrote:
> While it compiled after some finger problems and ran okay.  I didn't
> fix the vfork warning.  Now to start looking at making rpm's.

Cool.  Post back if you have questions on that part.  If you haven't
got better links, there's a draft on the fedoraproject.org wiki for
building packages:

http://fedoraproject.org/wiki/Docs/Drafts/BuildingPackagesGuide

I can't say I've followed it to learn to package (since it was created
long after I'd struggled to learn to build rpms :), but it does seem
to cover many of the things you'll need to know.

> It would be nice to find out a definitive answer on ac_nonexitent.h
> though.  Seeing many, many posts on this error with no definitive
> answer is an issue.  What list/forum would be a good place to ask?

I looked harder and this is definitely an autoconf test.  The purpose
it to determine whether the preprocessor can detect missing headers.
You can find it in /usr/share/autoconf/autoconf/c.m4:

  # OK, works on sane cases.  Now check whether nonexistent headers
  # can be detected and how.
  _AC_PREPROC_IFELSE([AC_LANG_SOURCE([[@%:@include <ac_nonexistent.h>]])],
                     [# Broken: success on invalid input.
continue],
                     [# Passes both tests.
ac_preproc_ok=:

No need to really worry about it.  If it shows up in the configure
output, perhaps that could be fixed in the upstream configure.ac (or
configure.in), but it's not an error that should affect the build
AFAICT.

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Everyone should know of all information that others have deemed unfit
for public knowledge.
    -- Author Unknown

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20080319/0a886f31/attachment-0001.sig>


More information about the fedora-list mailing list