GNOME Bugzilla – Bug 569938
Non-source-dir build failure
Last modified: 2009-01-31 09:02:51 UTC
When building gnome-keyring outside source tree, the following error was found: - In pkcs11/gck, asn1Parser cannot find pk.asn, which is in $(srcdir), not $(builddir). The same applies to pkix.asn: ---8<--- make[3]: Entering directory `/home/thep/build/gnome_svn/gnome-keyring/pkcs11/gck' asn1Parser -o asn1-def-pk.h pk.asn asn1Parser: FILE pk.asn NOT FOUND make[3]: *** [asn1-def-pk.h] Error 1 make[3]: Leaving directory `/home/thep/build/gnome_svn/gnome-keyring/pkcs11/gck' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/thep/build/gnome_svn/gnome-keyring/pkcs11' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/thep/build/gnome_svn/gnome-keyring' make: *** [all] Error 2 ---8<---
Created attachment 127604 [details] [review] Add $(srcdir) in Makefile.am This patch makes it build.
Thanks for the patch. Looks good. Please commit with a ChangeLog.
Created attachment 127610 [details] [review] Adjusted rule I adjusted the patch a little bit, using source variable instead of adding $(srcdir)/ prefix.
2009-01-31 Theppitak Karoonboonyanan <thep@linux.thai.net> * pkcs11/gck/Makefile.am: Fix rules to allow non-source-dir builds. Fixes bug #569938