From: o h. <oh...@ya...> - 2019-04-15 15:30:12
|
Hi Martin, I was able to build the libpki using the source from the bugfixes branch. However, I ran into a problem when I tried to do the 'make' for the ocspd. [orcladmin@ip-192-168-0-95 openca-ocspd-3.1.2]$ make Making all in src make[1]: Entering directory `/apps/STAGING/BUGFIXES-TEST-BUILD-ON-RHEL-6.10/openca-ocspd-3.1.2/src' Making all in ocspd make[2]: Entering directory `/apps/STAGING/BUGFIXES-TEST-BUILD-ON-RHEL-6.10/openca-ocspd-3.1.2/src/ocspd' gcc -DHAVE_CONFIG_H -I. -I../../src/ocspd/includes -I. -I/usr/include/libxml2 -g -O2 -fstack-check -maccumulate-outgoing-args -Werror -Wfatal-errors -MT ocspd-ocspd.o -MD -MP -MF .deps/ocspd-ocspd.Tpo -c -o ocspd-ocspd.o `test -f 'ocspd.c' || echo './'`ocspd.c In file included from ../../src/ocspd/includes/general.h:313, from ocspd.c:9: ../../src/ocspd/includes/cache.h:52: error: redefinition of typedef ‘OCSPD_CACHE’ compilation terminated due to -Wfatal-errors. make[2]: *** [ocspd-ocspd.o] Error 1 make[2]: Leaving directory `/apps/STAGING/BUGFIXES-TEST-BUILD-ON-RHEL-6.10/openca-ocspd-3.1.2/src/ocspd' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/apps/STAGING/BUGFIXES-TEST-BUILD-ON-RHEL-6.10/openca-ocspd-3.1.2/src' make: *** [all-recursive] Error 1 NOTE, I was doing both the libpki and ocspd builds in a directory"/apps/STAGING/BUGFIXES-TEST-BUILD-ON-RHEL-6.10/". For the libpki, I used "./configure --prefix=/apps/oracle/libpki-bugfixes". Then, for ocspd, I used: "./configure --prefix=/apps/oracle/ocspd-bugfixes --with-libpki-prefix=/apps/oracle/libpki-bugfixes". Then, I did: export CPATH=/apps/oracle/libpki-bugfixes/include export LD_LIBRARY_PATH=/apps/oracle/libpki-bugfixes/lib64 make and then I got the above error(s). Jim On Monday, April 15, 2019, 2:49:19 PM UTC, o haya via Openca-ocspd <ope...@li...> wrote: Hi Martin, Ok, I will try that (build from the bugfixes branch download) on RHEL 6.10 and let you know (either way). Jim On Monday, April 15, 2019, 8:22:44 AM UTC, Martin Hecht <he...@hl...> wrote: Jim, you can also try out the bugfixes branch of my fork of libpki at github: https://github.com/mrbaseman/libpki/tree/bugfixes if you encounter any further difficulties with that branch, please let me know, so I can push commits with the fixes directly to the pull request that I have opened in the official repo. Martin _______________________________________________ Openca-ocspd mailing list Ope...@li... https://lists.sourceforge.net/lists/listinfo/openca-ocspd _______________________________________________ Openca-ocspd mailing list Ope...@li... https://lists.sourceforge.net/lists/listinfo/openca-ocspd |