compile Build Forge Agent on z/OS using OpenSSL
Hi all - first post, hope someone can help.
I'm trying to compile/link the build forge agent on z/OS. No problem with the steps as documented, everything works. What I need to know is a more fundamental Unix question I suspect: I want to compile/link against the supplied OpenSSL libraries. Has anyone documented the steps to get this working? Cheers - Mike |
6 answers
Hi all - first post, hope someone can help. Mike, It might be possible to use the standard ./configure script with the --with-ssl option for creating the makefile on z/OS. The configure-zos script currently does not support SSL compilations. This is not something we've done in-house at this point in time. There's no reason why it shouldn't work on z/OS given a valid OpenSSL to compile and link against. If you want to give it a try, we might be able to assist to some degree. I need to check if there's an RFE open currently to modify the configure-zos to support SSL compiles. Regards, Pete |
Thanks Pete - I will look into this approach.
I believe their should be an RFE for this, we're behind it. This comes from a customer in Australia. Cheers - Mike |
First error from the configure script:
configure:2612: checking whether we are using the GNU C compiler configure:2641: c89 -c conftest.c >&5 ERROR CCN3275 ./conftest.c:13 Unexpected text me encountered. ERROR CCN3045 ./conftest.c:13 Undeclared identifier choke. CCN0793(I) Compilation failed for file ./conftest.c. Object file not created. FSUM3065 The COMPILE step ended with return code 12. FSUM3017 Could not compile conftest.c. Correct the errors and try again. configure:2647: $? = 3 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "IBM Rational Build Forge Agent" | #define PACKAGE_TARNAME "ibm-rational-build-forge-agent" | #define PACKAGE_VERSION "7.1.1.0-0-0022" | #define PACKAGE_STRING "IBM Rational Build Forge Agent 7.1.1.0-0-0022" | #define PACKAGE_BUGREPORT "sw_support@us.ibm.com (1-800-IBM-SERV)" | /* end confdefs.h. */ | | int | main () | { | #ifndef __GNUC__ | choke me | #endif | | ; | return 0; | } |
The compile error above is actually normal when using c89. The purpose is to detect whether you have GCC or some other compiler. This should not have caused your entire configure script to fail. Are there other errors that occurred? Can you attach the full output from the configure script?
Thanks, Pete |
Thanks - here's the entire config.log from the configure
This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by IBM Rational Build Forge Agent configure 7.1.1.0-0-0022, which was generated by GNU Autoconf 2.61. Invocation command line was $ ./configure --with-ssl ## --------- ## ## Platform. ## ## --------- ## hostname = ZOS110B.SKYESPIRES.COM uname -m = 1090 uname -r = 20.00 uname -s = OS/390 uname -v = 03 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/lpp/Printsrv/bin PATH: /bin PATH: . PATH: /usr/lpp/java/J1.4/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2071: checking for gcc configure:2098: result: c89 configure:2336: checking for C compiler version configure:2343: c89 --version >&5 FSUM3007 -- is not a valid option. configure:2346: $? = 1 configure:2353: c89 -v >&5 FSUM3012 Specify at least one source, archive, or object operand to be processed. configure:2356: $? = 1 configure:2363: c89 -V >&5 FSUM3012 Specify at least one source, archive, or object operand to be processed. configure:2366: $? = 1 configure:2389: checking for C compiler default output file name configure:2416: c89 conftest.c >&5 configure:2419: $? = 0 configure:2457: result: a.out configure:2474: checking whether the C compiler works configure:2484: ./a.out configure:2487: $? = 0 configure:2504: result: yes configure:2511: checking whether we are cross compiling configure:2513: result: no configure:2516: checking for suffix of executables configure:2523: c89 -o conftest conftest.c >&5 configure:2526: $? = 0 configure:2550: result: configure:2556: checking for suffix of object files configure:2582: c89 -c conftest.c >&5 configure:2585: $? = 0 configure:2608: result: o configure:2612: checking whether we are using the GNU C compiler configure:2641: c89 -c conftest.c >&5 ERROR CCN3275 ./conftest.c:13 Unexpected text me encountered. ERROR CCN3045 ./conftest.c:13 Undeclared identifier choke. CCN0793(I) Compilation failed for file ./conftest.c. Object file not created. FSUM3065 The COMPILE step ended with return code 12. FSUM3017 Could not compile conftest.c. Correct the errors and try again. configure:2647: $? = 3 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "IBM Rational Build Forge Agent" | #define PACKAGE_TARNAME "ibm-rational-build-forge-agent" | #define PACKAGE_VERSION "7.1.1.0-0-0022" | #define PACKAGE_STRING "IBM Rational Build Forge Agent 7.1.1.0-0-0022" | #define PACKAGE_BUGREPORT "sw_support@us.ibm.com (1-800-IBM-SERV)" | /* end confdefs.h. */ | | int | main () | { | #ifndef __GNUC__ | choke me | #endif | | ; | return 0; | } configure:2664: result: no configure:2669: checking whether c89 accepts -g configure:2699: c89 -c -g conftest.c >&5 configure:2705: $? = 0 configure:2804: result: yes configure:2821: checking for c89 option to accept ISO C89 configure:2895: c89 -c -g conftest.c >&5 configure:2901: $? = 0 configure:2924: result: none needed configure:2954: checking how to run the C preprocessor configure:2994: c89 -E conftest.c configure:3000: $? = 0 configure:3031: c89 -E conftest.c WARNING CCN3296 ./conftest.c:8 #include file <ac_nonexistent> not found. FSUM3065 The COMPILE step ended with return code 4. configure:3037: $? = 0 configure:2994: c89 -E conftest.c configure:3000: $? = 0 configure:3031: c89 -E conftest.c WARNING CCN3296 ./conftest.c:8 #include file <ac_nonexistent> not found. FSUM3065 The COMPILE step ended with return code 4. configure:3037: $? = 0 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "IBM Rational Build Forge Agent" | #define PACKAGE_TARNAME "ibm-rational-build-forge-agent" | #define PACKAGE_VERSION "7.1.1.0-0-0022" | #define PACKAGE_STRING "IBM Rational Build Forge Agent 7.1.1.0-0-0022" | #define PACKAGE_BUGREPORT "sw_support@us.ibm.com (1-800-IBM-SERV)" | /* end confdefs.h. */ | #include <ac_nonexistent> configure:3070: result: c89 -E configure:3099: c89 -E conftest.c configure:3105: $? = 0 configure:3136: c89 -E conftest.c WARNING CCN3296 ./conftest.c:8 #include file <ac_nonexistent> not found. FSUM3065 The COMPILE step ended with return code 4. configure:3142: $? = 0 configure:3099: c89 -E conftest.c configure:3105: $? = 0 configure:3136: c89 -E conftest.c WARNING CCN3296 ./conftest.c:8 #include file <ac_nonexistent> not found. FSUM3065 The COMPILE step ended with return code 4. configure:3142: $? = 0 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "IBM Rational Build Forge Agent" | #define PACKAGE_TARNAME "ibm-rational-build-forge-agent" | #define PACKAGE_VERSION "7.1.1.0-0-0022" | #define PACKAGE_STRING "IBM Rational Build Forge Agent 7.1.1.0-0-0022" | #define PACKAGE_BUGREPORT "sw_support@us.ibm.com (1-800-IBM-SERV)" | /* end confdefs.h. */ | #include <ac_nonexistent> configure:3180: checking for grep that handles long lines and -e configure:3254: result: /bin/grep configure:3259: checking for egrep configure:3337: result: /bin/grep -E configure:3343: checking for AIX configure:3365: result: no configure:3377: checking for ANSI C header files configure:3407: c89 -c conftest.c >&5 configure:3413: $? = 0 configure:3512: c89 -o conftest conftest.c >&5 configure:3515: $? = 0 configure:3521: ./conftest configure:3524: $? = 0 configure:3541: result: yes configure:3565: checking for sys/types.h configure:3586: c89 -c conftest.c >&5 configure:3592: $? = 0 configure:3608: result: yes configure:3565: checking for sys/stat.h configure:3586: c89 -c conftest.c >&5 configure:3592: $? = 0 configure:3608: result: yes configure:3565: checking for stdlib.h configure:3586: c89 -c conftest.c >&5 configure:3592: $? = 0 configure:3608: result: yes configure:3565: checking for string.h configure:3586: c89 -c conftest.c >&5 configure:3592: $? = 0 configure:3608: result: yes configure:3565: checking for memory.h configure:3586: c89 -c conftest.c >&5 configure:3592: $? = 0 configure:3608: result: yes configure:3565: checking for strings.h configure:3586: c89 -c conftest.c >&5 configure:3592: $? = 0 configure:3608: result: yes configure:3565: checking for inttypes.h configure:3586: c89 -c conftest.c >&5 configure:3592: $? = 0 configure:3608: result: yes configure:3565: checking for stdint.h configure:3586: c89 -c conftest.c >&5 configure:3592: $? = 0 configure:3608: result: yes configure:3565: checking for unistd.h configure:3586: c89 -c conftest.c >&5 configure:3592: $? = 0 configure:3608: result: yes configure:3621: checking whether byte ordering is bigendian configure:3654: c89 -c conftest.c >&5 WARNING CCN3296 ./conftest.c:20 #include file <sys> not found. ERROR CCN3277 ./conftest.c:26 Syntax error: possible missing ';' or ','? ERROR CCN3045 ./conftest.c:26 Undeclared identifier bogus. CCN0793(I) Compilation failed for file ./conftest.c. Object file not created. FSUM3065 The COMPILE step ended with return code 12. FSUM3017 Could not compile conftest.c. Correct the errors and try again. configure:3660: $? = 3 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "IBM Rational Build Forge Agent" | #define PACKAGE_TARNAME "ibm-rational-build-forge-agent" | #define PACKAGE_VERSION "7.1.1.0-0-0022" | #define PACKAGE_STRING "IBM Rational Build Forge Agent 7.1.1.0-0-0022" | #define PACKAGE_BUGREPORT "sw_support@us.ibm.com (1-800-IBM-SERV)" | #define _GNU_SOURCE 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include <sys> | #include <sys> | | int | main () | { | #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) | bogus endian macros | #endif | | ; | return 0; | } configure:3807: c89 -o conftest conftest.c >&5 configure:3810: $? = 0 configure:3816: ./conftest configure:3819: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "IBM Rational Build Forge Agent" | #define PACKAGE_TARNAME "ibm-rational-build-forge-agent" | #define PACKAGE_VERSION "7.1.1.0-0-0022" | #define PACKAGE_STRING "IBM Rational Build Forge Agent 7.1.1.0-0-0022" | #define PACKAGE_BUGREPORT "sw_support@us.ibm.com (1-800-IBM-SERV)" | #define _GNU_SOURCE 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include <stdio> | #ifdef HAVE_SYS_TYPES_H | # include <sys> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys> | #endif | #ifdef STDC_HEADERS | # include <stdlib> | # include <stddef> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory> | # endif | # include <string> | #endif | #ifdef HAVE_STRINGS_H | # include <strings> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes> | #endif | #ifdef HAVE_STDINT_H | # include <stdint> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd> | #endif | int | main () | { | | /* Are we little or big endian? From Harbison&Steele. */ | union | { | long int l; | char c; | } u; | u.l = 1; | return u.c == 1; | | ; | return 0; | } configure:3838: result: yes configure:3870: checking operating system type configure:3875: result: OS/390 configure:3905: checking whether the compiler accepts -F:cc configure:3936: c89 -o conftest -F:cc conftest.c >&5 FSUM3007 -F is not a valid option. configure:3942: $? = 1 configure: failed program was: | | /* confdefs.h. */ | #define PACKAGE_NAME "IBM Rational Build Forge Agent" | #define PACKAGE_TARNAME "ibm-rational-build-forge-agent" | #define PACKAGE_VERSION "7.1.1.0-0-0022" | #define PACKAGE_STRING "IBM Rational Build Forge Agent 7.1.1.0-0-0022" | #define PACKAGE_BUGREPORT "sw_support@us.ibm.com (1-800-IBM-SERV)" | #define _GNU_SOURCE 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define ARCH_IS_BIG_ENDIAN 1 | #define ZOS 1 | #define _ALL_SOURCE 1 | #define _UNIX03_SOURCE 1 | #define _XOPEN_SOURCE 1 | #define _XOPEN_SOURCE_EXTENDED 1 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } | configure:3967: result: no configure:3978: checking for IBM c89/xlC configure:4006: c89 -c conftest.c >&5 ERROR CCN3205 ./conftest.c:27 not xlC CCN0793(I) Compilation failed for file ./conftest.c. Object file not created. FSUM3065 The COMPILE step ended with return code 12. FSUM3017 Could not compile conftest.c. Correct the errors and try again. configure:4012: $? = 3 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "IBM Rational Build Forge Agent" | #define PACKAGE_TARNAME "ibm-rational-build-forge-agent" | #define PACKAGE_VERSION "7.1.1.0-0-0022" | #define PACKAGE_STRING "IBM Rational Build Forge Agent 7.1.1.0-0-0022" | #define PACKAGE_BUGREPORT "sw_support@us.ibm.com (1-800-IBM-SERV)" | #define _GNU_SOURCE 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define ARCH_IS_BIG_ENDIAN 1 | #define ZOS 1 | #define _ALL_SOURCE 1 | #define _UNIX03_SOURCE 1 | #define _XOPEN_SOURCE 1 | #define _XOPEN_SOURCE_EXTENDED 1 | /* end confdefs.h. */ | | #if !defined(__IBMC__) && !defined(__IBMCPP__) || !defined(__xlC__) | # error not xlC | #endif | | | int | main () | { | | ; | return 0; | } configure:4052: c89 -c conftest.c >&5 configure:4058: $? = 0 configure:4088: result: c89 configure:4092: checking whether optimization is desired configure:4101: result: yes configure:4106: checking whether the compiler accepts -O2 configure:4137: c89 -o conftest -O2 conftest.c >&5 configure:4143: $? = 0 configure:4168: result: yes configure:4246: checking whether debugging symbols are desired configure:4255: result: yes configure:4260: checking whether the compiler accepts -ggdb configure:4291: c89 -o conftest -ggdb -O2 conftest.c >&5 FSUM3007 -d is not a valid option. configure:4297: $? = 1 configure: failed program was: | | /* confdefs.h. */ | #define PACKAGE_NAME "IBM Rational Build Forge Agent" | #define PACKAGE_TARNAME "ibm-rational-build-forge-agent" | #define PACKAGE_VERSION "7.1.1.0-0-0022" | #define PACKAGE_STRING "IBM Rational Build Forge Agent 7.1.1.0-0-0022" | #define PACKAGE_BUGREPORT "sw_support@us.ibm.com (1-800-IBM-SERV)" | #define _GNU_SOURCE 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define ARCH_IS_BIG_ENDIAN 1 | #define ZOS 1 | #define _ALL_SOURCE 1 | #define _UNIX03_SOURCE 1 | #define _XOPEN_SOURCE 1 | #define _XOPEN_SOURCE_EXTENDED 1 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } | configure:4322: result: no configure:4327: checking whether the compiler accepts -g configure:4358: c89 -o conftest -g -O2 conftest.c >&5 configure:4364: $? = 0 configure:4389: result: yes configure:4400: checking whether compilation warnings are desired configure:4409: result: no configure:4638: checking build system type configure:4656: result: i370-ibm-openedition configure:4678: checking host system type configure:4693: result: i370-ibm-openedition configure:4715: checking for a sed that does not truncate output configure:4771: result: /bin/sed configure:4818: checking for non-GNU ld configure:4852: result: /bin/ld configure:4861: checking if the linker (/bin/ld) is GNU ld configure:4876: result: no configure:4881: checking for /bin/ld option to reload object files configure:4888: result: -r configure:4906: checking for BSD-compatible nm configure:4955: result: /bin/nm -p configure:4959: checking whether ln -s works configure:4963: result: yes configure:4970: checking how to recognize dependent libraries configure:5156: result: unknown configure:5410: checking dlfcn.h usability configure:5427: c89 -c -g -O2 conftest.c >&5 configure:5433: $? = 0 configure:5447: result: yes configure:5451: checking dlfcn.h presence configure:5466: c89 -E conftest.c configure:5472: $? = 0 configure:5486: result: yes configure:5519: checking for dlfcn.h configure:5527: result: yes configure:5598: checking for g++ configure:5628: result: no configure:5598: checking for c++ configure:5614: found /bin/c++ configure:5625: result: c++ configure:5656: checking for C++ compiler version configure:5663: c++ --version >&5 FSUM3007 -- is not a valid option. configure:5666: $? = 1 configure:5673: c++ -v >&5 FSUM3012 Specify at least one source, archive, or object operand to be processed. configure:5676: $? = 1 configure:5683: c++ -V >&5 FSUM3012 Specify at least one source, archive, or object operand to be processed. configure:5686: $? = 1 configure:5689: checking whether we are using the GNU C++ compiler configure:5718: c++ -c conftest.cpp >&5 FSUM3010 Specify a file with the correct suffix (.C, .hh, .i, .c, .i, .s, .o, .x, .p, .I, or .a), or a corresponding data set name, instead of conftest.cpp. configure:5724: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "IBM Rational Build Forge Agent" | #define PACKAGE_TARNAME "ibm-rational-build-forge-agent" | #define PACKAGE_VERSION "7.1.1.0-0-0022" | #define PACKAGE_STRING "IBM Rational Build Forge Agent 7.1.1.0-0-0022" | #define PACKAGE_BUGREPORT "sw_support@us.ibm.com (1-800-IBM-SERV)" | #define _GNU_SOURCE 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define ARCH_IS_BIG_ENDIAN 1 | #define ZOS 1 | #define _ALL_SOURCE 1 | #define _UNIX03_SOURCE 1 | #define _XOPEN_SOURCE 1 | #define _XOPEN_SOURCE_EXTENDED 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | | int | main () | { | #ifndef __GNUC__ | choke me | #endif | | ; | return 0; | } configure:5741: result: no configure:5746: checking whether c++ accepts -g configure:5776: c++ -c -g conftest.cpp >&5 FSUM3010 Specify a file with the correct suffix (.C, .hh, .i, .c, .i, .s, .o, .x, .p, .I, or .a), or a corresponding data set name, instead of conftest.cpp. configure:5782: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "IBM Rational Build Forge Agent" | #define PACKAGE_TARNAME "ibm-rational-build-forge-agent" | #define PACKAGE_VERSION "7.1.1.0-0-0022" | #define PACKAGE_STRING "IBM Rational Build Forge Agent 7.1.1.0-0-0022" | #define PACKAGE_BUGREPORT "sw_support@us.ibm.com (1-800-IBM-SERV)" | #define _GNU_SOURCE 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define ARCH_IS_BIG_ENDIAN 1 | #define ZOS 1 | #define _ALL_SOURCE 1 | #define _UNIX03_SOURCE 1 | #define _XOPEN_SOURCE 1 | #define _XOPEN_SOURCE_EXTENDED 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:5814: c++ -c conftest.cpp >&5 FSUM3010 Specify a file with the correct suffix (.C, .hh, .i, .c, .i, .s, .o, .x, .p, .I, or .a), or a corresponding data set name, instead of conftest.cpp. configure:5820: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "IBM Rational Build Forge Agent" | #define PACKAGE_TARNAME "ibm-rational-build-forge-agent" | #define PACKAGE_VERSION "7.1.1.0-0-0022" | #define PACKAGE_STRING "IBM Rational Build Forge Agent 7.1.1.0-0-0022" | #define PACKAGE_BUGREPORT "sw_support@us.ibm.com (1-800-IBM-SERV)" | #define _GNU_SOURCE 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define ARCH_IS_BIG_ENDIAN 1 | #define ZOS 1 | #define _ALL_SOURCE 1 | #define _UNIX03_SOURCE 1 | #define _XOPEN_SOURCE 1 | #define _XOPEN_SOURCE_EXTENDED 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:5853: c++ -c -g conftest.cpp >&5 FSUM3010 Specify a file with the correct suffix (.C, .hh, .i, .c, .i, .s, .o, .x, .p, .I, or .a), or a corresponding data set name, instead of conftest.cpp. configure:5859: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "IBM Rational Build Forge Agent" | #define PACKAGE_TARNAME "ibm-rational-build-forge-agent" | #define PACKAGE_VERSION "7.1.1.0-0-0022" | #define PACKAGE_STRING "IBM Rational Build Forge Agent 7.1.1.0-0-0022" | #define PACKAGE_BUGREPORT "sw_support@us.ibm.com (1-800-IBM-SERV)" | #define _GNU_SOURCE 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define ARCH_IS_BIG_ENDIAN 1 | #define ZOS 1 | #define _ALL_SOURCE 1 | #define _UNIX03_SOURCE 1 | #define _XOPEN_SOURCE 1 | #define _XOPEN_SOURCE_EXTENDED 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:5881: result: no configure:5914: checking how to run the C++ preprocessor configure:5950: c++ -E conftest.cpp FSUM3010 Specify a file with the correct suffix (.C, .hh, .i, .c, .i, .s, .o, .x, .p, .I, or .a), or a corresponding data set name, instead of conftest.cpp. configure:5956: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "IBM Rational Build Forge Agent" | #define PACKAGE_TARNAME "ibm-rational-build-forge-agent" | #define PACKAGE_VERSION "7.1.1.0-0-0022" | #define PACKAGE_STRING "IBM Rational Build Forge Agent 7.1.1.0-0-0022" | #define PACKAGE_BUGREPORT "sw_support@us.ibm.com (1-800-IBM-SERV)" | #define _GNU_SOURCE 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define ARCH_IS_BIG_ENDIAN 1 | #define ZOS 1 | #define _ALL_SOURCE 1 | #define _UNIX03_SOURCE 1 | #define _XOPEN_SOURCE 1 | #define _XOPEN_SOURCE_EXTENDED 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | #ifdef __STDC__ | # include <limits> | #else | # include <assert> | #endif | Syntax error configure:5950: c++ -E conftest.cpp FSUM3010 Specify a file with the correct suffix (.C, .hh, .i, .c, .i, .s, .o, .x, .p, .I, or .a), or a corresponding data set name, instead of conftest.cpp. configure:5956: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "IBM Rational Build Forge Agent" | #define PACKAGE_TARNAME "ibm-rational-build-forge-agent" | #define PACKAGE_VERSION "7.1.1.0-0-0022" | #define PACKAGE_STRING "IBM Rational Build Forge Agent 7.1.1.0-0-0022" | #define PACKAGE_BUGREPORT "sw_support@us.ibm.com (1-800-IBM-SERV)" | #define _GNU_SOURCE 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define ARCH_IS_BIG_ENDIAN 1 | #define ZOS 1 | #define _ALL_SOURCE 1 | #define _UNIX03_SOURCE 1 | #define _XOPEN_SOURCE 1 | #define _XOPEN_SOURCE_EXTENDED 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | #ifdef __STDC__ | # include <limits> | #else | # include <assert> | #endif | Syntax error configure:5950: /lib/cpp conftest.cpp /lib/cpp: eval: ./configure 5951: FSUM7351 not found configure:5956: $? = 127 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "IBM Rational Build Forge Agent" | #define PACKAGE_TARNAME "ibm-rational-build-forge-agent" | #define PACKAGE_VERSION "7.1.1.0-0-0022" | #define PACKAGE_STRING "IBM Rational Build Forge Agent 7.1.1.0-0-0022" | #define PACKAGE_BUGREPORT "sw_support@us.ibm.com (1-800-IBM-SERV)" | #define _GNU_SOURCE 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define ARCH_IS_BIG_ENDIAN 1 | #define ZOS 1 | #define _ALL_SOURCE 1 | #define _UNIX03_SOURCE 1 | #define _XOPEN_SOURCE 1 | #define _XOPEN_SOURCE_EXTENDED 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | #ifdef __STDC__ | # include <limits> | #else | # include <assert> | #endif | Syntax error configure:5950: /lib/cpp conftest.cpp /lib/cpp: eval: ./configure 5951: FSUM7351 not found configure:5956: $? = 127 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "IBM Rational Build Forge Agent" | #define PACKAGE_TARNAME "ibm-rational-build-forge-agent" | #define PACKAGE_VERSION "7.1.1.0-0-0022" | #define PACKAGE_STRING "IBM Rational Build Forge Agent 7.1.1.0-0-0022" | #define PACKAGE_BUGREPORT "sw_support@us.ibm.com (1-800-IBM-SERV)" | #define _GNU_SOURCE 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define ARCH_IS_BIG_ENDIAN 1 | #define ZOS 1 | #define _ALL_SOURCE 1 | #define _UNIX03_SOURCE 1 | #define _XOPEN_SOURCE 1 | #define _XOPEN_SOURCE_EXTENDED 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | #ifdef __STDC__ | # include <limits> | #else | # include <assert> | #endif | Syntax error configure:6026: result: /lib/cpp configure:6055: /lib/cpp conftest.cpp /lib/cpp: eval: ./configure 6056: FSUM7351 not found configure:6061: $? = 127 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "IBM Rational Build Forge Agent" | #define PACKAGE_TARNAME "ibm-rational-build-forge-agent" | #define PACKAGE_VERSION "7.1.1.0-0-0022" | #define PACKAGE_STRING "IBM Rational Build Forge Agent 7.1.1.0-0-0022" | #define PACKAGE_BUGREPORT "sw_support@us.ibm.com (1-800-IBM-SERV)" | #define _GNU_SOURCE 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define ARCH_IS_BIG_ENDIAN 1 | #define ZOS 1 | #define _ALL_SOURCE 1 | #define _UNIX03_SOURCE 1 | #define _XOPEN_SOURCE 1 | #define _XOPEN_SOURCE_EXTENDED 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | #ifdef __STDC__ | # include <limits> | #else | # include <assert> | #endif | Syntax error configure:6055: /lib/cpp conftest.cpp /lib/cpp: eval: ./configure 6056: FSUM7351 not found configure:6061: $? = 127 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "IBM Rational Build Forge Agent" | #define PACKAGE_TARNAME "ibm-rational-build-forge-agent" | #define PACKAGE_VERSION "7.1.1.0-0-0022" | #define PACKAGE_STRING "IBM Rational Build Forge Agent 7.1.1.0-0-0022" | #define PACKAGE_BUGREPORT "sw_support@us.ibm.com (1-800-IBM-SERV)" | #define _GNU_SOURCE 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define ARCH_IS_BIG_ENDIAN 1 | #define ZOS 1 | #define _ALL_SOURCE 1 | #define _UNIX03_SOURCE 1 | #define _XOPEN_SOURCE 1 | #define _XOPEN_SOURCE_EXTENDED 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | #ifdef __STDC__ | # include <limits> | #else | # include <assert> | #endif | Syntax error configure:6123: error: C++ preprocessor "/lib/cpp" fails sanity check See `config.log' for more details. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build="i370-ibm-openedition" ac_cv_c_bigendian="yes" ac_cv_c_compiler_gnu="no" ac_cv_cxx_compiler_gnu="no" ac_cv_env_CCC_set="" ac_cv_env_CCC_value="" ac_cv_env_CC_set="set" ac_cv_env_CC_value="c89" ac_cv_env_CFLAGS_set="" ac_cv_env_CFLAGS_value="" ac_cv_env_CPPFLAGS_set="" ac_cv_env_CPPFLAGS_value="" ac_cv_env_CPP_set="" ac_cv_env_CPP_value="" ac_cv_env_CXXCPP_set="" ac_cv_env_CXXCPP_value="" ac_cv_env_CXXFLAGS_set="" ac_cv_env_CXXFLAGS_value="" ac_cv_env_CXX_set="" ac_cv_env_CXX_value="" ac_cv_env_F77_set="" ac_cv_env_F77_value="" ac_cv_env_FFLAGS_set="" ac_cv_env_FFLAGS_value="" ac_cv_env_LDFLAGS_set="" ac_cv_env_LDFLAGS_value="" ac_cv_env_LIBS_set="" ac_cv_env_LIBS_value="" ac_cv_env_build_alias_set="" ac_cv_env_build_alias_value="" ac_cv_env_host_alias_set="" ac_cv_env_host_alias_value="" ac_cv_env_target_alias_set="" ac_cv_env_target_alias_value="" ac_cv_header_dlfcn_h="yes" ac_cv_header_inttypes_h="yes" ac_cv_header_memory_h="yes" ac_cv_header_stdc="yes" ac_cv_header_stdint_h="yes" ac_cv_header_stdlib_h="yes" ac_cv_header_string_h="yes" ac_cv_header_strings_h="yes" ac_cv_header_sys_stat_h="yes" ac_cv_header_sys_types_h="yes" ac_cv_header_unistd_h="yes" ac_cv_host="i370-ibm-openedition" ac_cv_objext="o" ac_cv_path_EGREP="/bin/grep -E" ac_cv_path_GREP="/bin/grep" ac_cv_prog_CPP="c89 -E" ac_cv_prog_CXXCPP="/lib/cpp" ac_cv_prog_ac_ct_CC="c89" ac_cv_prog_ac_ct_CXX="c++" ac_cv_prog_cc_c89="" ac_cv_prog_cc_g="yes" ac_cv_prog_cxx_g="no" lt_cv_deplibs_check_method="unknown" lt_cv_file_magic_cmd="\$MAGIC_CMD" lt_cv_file_magic_test_file="" lt_cv_ld_reload_flag="-r" lt_cv_path_LD="/bin/ld" lt_cv_path_NM="/bin/nm -p" lt_cv_path_SED="/bin/sed" lt_cv_prog_gnu_ld="no" ## ----------------- ## ## Output variables. ## ## ----------------- ## AR='' BFCRYPT_DLL='' CC='c89' CFLAGS='-g -O2 ' CPP='c89 -E' CPPFLAGS='' CXX='c++' CXXCPP='/lib/cpp' CXXFLAGS='' DEFS='' DSYMUTIL='' ECHO='print -r' ECHO_C='ECHO_N='' ECHO_T='' EGREP='/bin/grep -E' EXEEXT='' F77='' FFLAGS='' GREP='/bin/grep' LDFLAGS='' LIBOBJS='' LIBS='' LIBTOOL='' LIBTOOL_DEPS='' LIBTOOL_DL='' LN_S='ln -s' LTLIBOBJS='' NMEDIT='' OBJEXT='o' PACKAGE_BUGREPORT='sw_support@us.ibm.com (1-800-IBM-SERV)' PACKAGE_NAME='IBM Rational Build Forge Agent' PACKAGE_STRING='IBM Rational Build Forge Agent 7.1.1.0-0-0022' PACKAGE_TARNAME='ibm-rational-build-forge-agent' PACKAGE_VERSION='7.1.1.0-0-0022' PATH_SEPARATOR=':' PCRE_DEPS='' RANLIB='' SED='/bin/sed' SHELL='/bin/sh' SSL_DEPS='' SSL_LIBS='' STRIP='' ac_ct_CC='c89' ac_ct_CXX='c++' ac_ct_F77='' bindir='${exec_prefix}/bin' build='i370-ibm-openedition' build_alias='' build_cpu='i370' build_os='openedition' build_vendor='ibm' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' host='i370-ibm-openedition' host_alias='' host_cpu='i370' host_os='openedition' host_vendor='ibm' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='NONE' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_NAME "IBM Rational Build Forge Agent" #define PACKAGE_TARNAME "ibm-rational-build-forge-agent" #define PACKAGE_VERSION "7.1.1.0-0-0022" #define PACKAGE_STRING "IBM Rational Build Forge Agent 7.1.1.0-0-0022" #define PACKAGE_BUGREPORT "sw_support@us.ibm.com (1-800-IBM-SERV)" #define _GNU_SOURCE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define ARCH_IS_BIG_ENDIAN 1 #define ZOS 1 #define _ALL_SOURCE 1 #define _UNIX03_SOURCE 1 #define _XOPEN_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_DLFCN_H 1 configure: exit 1 |
Mike,
Might try the configure by referencing the location of the OpenSSL export directory after --with-ssl. ./configure --with-ssl=/usr/local/bin/openssl/export Once you are done with this, let me know if there's a makefile and if you can build with it. Regards, Pete |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.