Dear all, I have been trying to install ooRexx on FreeBSD 12. I have found the necessary tools (with the exception of PkgConfig) and the installation is as basic as I can get it.
I can only see one error in the CMake list CMAKE_INSTALL_PREFIX is /usr (should be /usr/bin i think?) but the building stop early in the make step. I have included my manual steps and the execution, what am I doing wrong? Did anyone build on FreeBSD before? Hälsningar/Regards/Grüsse, P.O. Jonsson oor...@jonases.se > Anfang der weitergeleiteten Nachricht: > > Von: FreeBSD Linux <free...@jonases.se> > Betreff: Failing build on FreeBSD12 > Datum: 20. März 2020 um 23:19:08 MEZ > An: oor...@jonases.se > > cd ~/workspace/oorexx-freebsd-build/oorexxSVN > svn update > cd ~/workspace/oorexx-freebsd-build/oorexxbuild > cmake -G "Unix Makefiles" ../oorexxSVN > make clean > make > make install > cpack ./ > > > $ bash buildooRexx.sh > Updating '.': > At revision 12002. > -- CMake version is 3.15.5 > -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) > -- The C compiler identification is Clang 8.0.1 > -- The CXX compiler identification is Clang 8.0.1 > -- Check for working C compiler: /usr/bin/cc > -- Check for working C compiler: /usr/bin/cc -- works > -- Detecting C compiler ABI info > -- Detecting C compiler ABI info - done > -- Detecting C compile features > -- Detecting C compile features - done > -- Check for working CXX compiler: /usr/bin/c++ > -- Check for working CXX compiler: /usr/bin/c++ -- works > -- Detecting CXX compiler ABI info > -- Detecting CXX compiler ABI info - done > -- Detecting CXX compile features > -- Detecting CXX compile features - done > -- Building for a 64-bit architecture > -- OOREXX_SHEBANG_PROGRAM: "/usr/bin/env rexx" (default) > -- Found Subversion: /usr/local/bin/svn (found version "1.13.0") > -- SVN Revision Number is 12002 > -- CMAKE_INSTALL_PREFIX is /usr > -- INSTALL_LIB_DIR is /usr/lib > -- Looking for ctype.h > -- Looking for ctype.h - found > -- Looking for float.h > -- Looking for float.h - found > -- Looking for limits.h > -- Looking for limits.h - found > -- Looking for locale.h > -- Looking for locale.h - found > -- Looking for malloc.h > -- Looking for malloc.h - not found > -- Looking for memory.h > -- Looking for memory.h - found > -- Looking for memset > -- Looking for memset - found > -- Looking for nsleep > -- Looking for nsleep - not found > -- Looking for setlocale > -- Looking for setlocale - found > -- Looking for signal.h > -- Looking for signal.h - found > -- Looking for stdarg.h > -- Looking for stdarg.h - found > -- Looking for stddef.h > -- Looking for stddef.h - found > -- Looking for stdio.h > -- Looking for stdio.h - found > -- Looking for stdlib.h > -- Looking for stdlib.h - found > -- Looking for string.h > -- Looking for string.h - found > -- Looking for time.h > -- Looking for time.h - found > -- Looking for vprintf > -- Looking for vprintf - found > -- Looking for fcntl.h > -- Looking for fcntl.h - found > -- Looking for nanosleep > -- Looking for nanosleep - found > -- Looking for inttypes.h > -- Looking for inttypes.h - found > -- Looking for stdint.h > -- Looking for stdint.h - found > -- Looking for attr/xattr.h > -- Looking for attr/xattr.h - not found > -- Looking for catopen > -- Looking for catopen - found > -- Looking for dlfcn.h > -- Looking for dlfcn.h - found > -- Looking for features.h > -- Looking for features.h - not found > -- Looking for filehdr.h > -- Looking for filehdr.h - not found > -- Looking for fstat > -- Looking for fstat - found > -- Looking for gcvt > -- Looking for gcvt - not found > -- Looking for geteuid > -- Looking for geteuid - found > -- Looking for getpgrp > -- Looking for getpgrp - found > -- Looking for getpwuid > -- Looking for getpwuid - found > -- Looking for gettimeofday > -- Looking for gettimeofday - found > -- Looking for IDtouser > -- Looking for IDtouser - not found > -- Looking for mesg.h > -- Looking for mesg.h - not found > -- Looking for netinet/in.h > -- Looking for netinet/in.h - found > -- Looking for nl_types.h > -- Looking for nl_types.h - found > -- Looking for pthread.h > -- Looking for pthread.h - found > -- Looking for pthread_mutexattr_settype > -- Looking for pthread_mutexattr_settype - found > -- Looking for pthread_mutex_timedlock > -- Looking for pthread_mutex_timedlock - found > -- Performing Test HAVE_PTHREAD_MUTEX_ERRORCHECK > -- Performing Test HAVE_PTHREAD_MUTEX_ERRORCHECK - Success > -- Performing Test HAVE_PTHREAD_MUTEX_RECURSIVE > -- Performing Test HAVE_PTHREAD_MUTEX_RECURSIVE - Success > -- Performing Test HAVE_DLADDR > -- Performing Test HAVE_DLADDR - Success > -- Looking for _PC_CASE_SENSITIVE > -- Looking for _PC_CASE_SENSITIVE - not found > -- Looking for FNM_CASEFOLD > -- Looking for FNM_CASEFOLD - found > -- Looking for KDMKTONE > -- Looking for KDMKTONE - not found > -- Looking for _NSGetExecutablePath > -- Looking for _NSGetExecutablePath - not found > -- Looking for getexecname > -- Looking for getexecname - not found > -- Performing Test HAVE_STAT_ST_MTIM > -- Performing Test HAVE_STAT_ST_MTIM - Success > -- Performing Test HAVE_STAT_ST_MTIMESPEC > -- Performing Test HAVE_STAT_ST_MTIMESPEC - Success > -- Looking for pwd.h > CMake Warning (dev) at > /usr/local/share/cmake/Modules/CheckIncludeFile.cmake:80 (message): > Policy CMP0075 is not set: Include file check macros honor > CMAKE_REQUIRED_LIBRARIES. Run "cmake --help-policy CMP0075" for policy > details. Use the cmake_policy command to set the policy and suppress this > warning. > > CMAKE_REQUIRED_LIBRARIES is set to: > > dl > > For compatibility with CMake 3.11 and below this check is ignoring it. > Call Stack (most recent call first): > CMakeLists.txt:424 (check_include_file) > This warning is for project developers. Use -Wno-dev to suppress it. > > -- Looking for pwd.h - found > -- Looking for sched.h > -- Looking for sched.h - found > -- Looking for sighold > -- Looking for sighold - found > -- Looking for strdup > -- Looking for strdup - found > -- Looking for strings.h > -- Looking for strings.h - found > -- Looking for stropts.h > -- Looking for stropts.h - not found > -- Looking for sys/filio.h > -- Looking for sys/filio.h - found > -- Looking for sys/ldr.h > -- Looking for sys/ldr.h - not found > -- Looking for sys/resource.h > -- Looking for sys/resource.h - found > -- Looking for sys/select.h > -- Looking for sys/select.h - found > -- Looking for sys/sem.h > -- Looking for sys/sem.h - found > -- Looking for sys/signal.h > -- Looking for sys/signal.h - found > -- Looking for sys/socket.h > -- Looking for sys/socket.h - found > -- Looking for sys/stat.h > -- Looking for sys/stat.h - found > -- Looking for sys/syscall.h > -- Looking for sys/syscall.h - found > -- Looking for sys/time.h > -- Looking for sys/time.h - found > -- Looking for sys/types.h > -- Looking for sys/types.h - found > -- Looking for sys/utsname.h > -- Looking for sys/utsname.h - found > -- Looking for sys/wait.h > -- Looking for sys/wait.h - found > -- Performing Test HAVE_UNION_SEMUN > -- Performing Test HAVE_UNION_SEMUN - Failed > -- Looking for unistd.h > -- Looking for unistd.h - found > -- Looking for usersec.h > -- Looking for usersec.h - not found > -- Looking for ncurses.h > -- Looking for ncurses.h - found > -- Configuring done > -- Generating done > -- Build files have been written to: > /home/osboxes/workspace/oorexx-freebsd-build/oorexxbuild > Scanning dependencies of target rexx_man > [ 0%] Generating rexx.1.gz > [ 0%] Built target rexx_man > Scanning dependencies of target rxsubcom_man > [ 0%] Generating rxsubcom.1.gz > [ 0%] Built target rxsubcom_man > Scanning dependencies of target class_files > [ 0%] Generating bin/rxregexp.cls > [ 0%] Generating bin/rxftp.cls > [ 1%] Generating bin/csvStream.cls > [ 1%] Generating bin/json.cls > [ 1%] Generating bin/socket.cls > [ 2%] Generating bin/streamsocket.cls > [ 2%] Generating bin/mime.cls > [ 2%] Generating bin/smtp.cls > [ 2%] Generating bin/dateparser.cls > [ 2%] Built target class_files > Scanning dependencies of target ncurses_cls > [ 3%] Generating bin/ncurses.cls > [ 3%] Built target ncurses_cls > Scanning dependencies of target rexxapi > [ 3%] Building CXX object > CMakeFiles/rexxapi.dir/rexxapi/client/ClientMessage.cpp.o > [ 4%] Building CXX object > CMakeFiles/rexxapi.dir/rexxapi/client/LocalAPIContext.cpp.o > [ 4%] Building CXX object > CMakeFiles/rexxapi.dir/rexxapi/client/LocalAPIManager.cpp.o > [ 4%] Building CXX object > CMakeFiles/rexxapi.dir/rexxapi/client/LocalMacroSpaceManager.cpp.o > /home/osboxes/workspace/oorexx-freebsd-build/oorexxSVN/rexxapi/client/LocalMacroSpaceManager.cpp:200:78: > error: > use of undeclared identifier 'S_IRUSR' > opened = fileInst->open(fileName, RX_O_CREAT | RX_O_TRUNC | RX_O_WRONLY, > RX_S_IRE... > ^ > /home/osboxes/workspace/oorexx-freebsd-build/oorexxSVN/common/platform/unix/SysFile.hpp:70:28: > note: > expanded from macro 'RX_S_IREAD' > #define RX_S_IREAD (S_IRUSR | S_IRGRP | S_IROTH) > ^ > /home/osboxes/workspace/oorexx-freebsd-build/oorexxSVN/rexxapi/client/LocalMacroSpaceManager.cpp:200:78: > error: > use of undeclared identifier 'S_IRGRP' > /home/osboxes/workspace/oorexx-freebsd-build/oorexxSVN/common/platform/unix/SysFile.hpp:70:38: > note: > expanded from macro 'RX_S_IREAD' > #define RX_S_IREAD (S_IRUSR | S_IRGRP | S_IROTH) > ^ > /home/osboxes/workspace/oorexx-freebsd-build/oorexxSVN/rexxapi/client/LocalMacroSpaceManager.cpp:200:78: > error: > use of undeclared identifier 'S_IROTH' > /home/osboxes/workspace/oorexx-freebsd-build/oorexxSVN/common/platform/unix/SysFile.hpp:70:48: > note: > expanded from macro 'RX_S_IREAD' > #define RX_S_IREAD (S_IRUSR | S_IRGRP | S_IROTH) > ^ > /home/osboxes/workspace/oorexx-freebsd-build/oorexxSVN/rexxapi/client/LocalMacroSpaceManager.cpp:200:91: > error: > use of undeclared identifier 'S_IWUSR' > ...RX_O_CREAT | RX_O_TRUNC | RX_O_WRONLY, RX_S_IREAD | RX_S_IWRITE, > RX_SH_DENYRW); > ^ > /home/osboxes/workspace/oorexx-freebsd-build/oorexxSVN/common/platform/unix/SysFile.hpp:69:28: > note: > expanded from macro 'RX_S_IWRITE' > #define RX_S_IWRITE (S_IWUSR | S_IWGRP | S_IWOTH) > ^ > /home/osboxes/workspace/oorexx-freebsd-build/oorexxSVN/rexxapi/client/LocalMacroSpaceManager.cpp:200:91: > error: > use of undeclared identifier 'S_IWGRP' > /home/osboxes/workspace/oorexx-freebsd-build/oorexxSVN/common/platform/unix/SysFile.hpp:69:38: > note: > expanded from macro 'RX_S_IWRITE' > #define RX_S_IWRITE (S_IWUSR | S_IWGRP | S_IWOTH) > ^ > /home/osboxes/workspace/oorexx-freebsd-build/oorexxSVN/rexxapi/client/LocalMacroSpaceManager.cpp:200:91: > error: > use of undeclared identifier 'S_IWOTH' > /home/osboxes/workspace/oorexx-freebsd-build/oorexxSVN/common/platform/unix/SysFile.hpp:69:48: > note: > expanded from macro 'RX_S_IWRITE' > #define RX_S_IWRITE (S_IWUSR | S_IWGRP | S_IWOTH) > ^ > 6 errors generated. > *** Error code 1 > > Stop. > make[2]: stopped in > /usr/home/osboxes/workspace/oorexx-freebsd-build/oorexxbuild > *** Error code 1 > > Stop. > make[1]: stopped in > /usr/home/osboxes/workspace/oorexx-freebsd-build/oorexxbuild > *** Error code 1 > > Stop. > make: stopped in /usr/home/osboxes/workspace/oorexx-freebsd-build/oorexxbuild > [ 0%] Generating rexx.1.gz > [ 0%] Built target rexx_man > [ 0%] Generating rxsubcom.1.gz > [ 0%] Built target rxsubcom_man > [ 2%] Built target class_files > [ 3%] Built target ncurses_cls > [ 3%] Building CXX object > CMakeFiles/rexxapi.dir/rexxapi/client/LocalMacroSpaceManager.cpp.o > /home/osboxes/workspace/oorexx-freebsd-build/oorexxSVN/rexxapi/client/LocalMacroSpaceManager.cpp:200:78: > error: > use of undeclared identifier 'S_IRUSR' > opened = fileInst->open(fileName, RX_O_CREAT | RX_O_TRUNC | RX_O_WRONLY, > RX_S_IRE... > ^ > /home/osboxes/workspace/oorexx-freebsd-build/oorexxSVN/common/platform/unix/SysFile.hpp:70:28: > note: > expanded from macro 'RX_S_IREAD' > #define RX_S_IREAD (S_IRUSR | S_IRGRP | S_IROTH) > ^ > /home/osboxes/workspace/oorexx-freebsd-build/oorexxSVN/rexxapi/client/LocalMacroSpaceManager.cpp:200:78: > error: > use of undeclared identifier 'S_IRGRP' > /home/osboxes/workspace/oorexx-freebsd-build/oorexxSVN/common/platform/unix/SysFile.hpp:70:38: > note: > expanded from macro 'RX_S_IREAD' > #define RX_S_IREAD (S_IRUSR | S_IRGRP | S_IROTH) > ^ > /home/osboxes/workspace/oorexx-freebsd-build/oorexxSVN/rexxapi/client/LocalMacroSpaceManager.cpp:200:78: > error: > use of undeclared identifier 'S_IROTH' > /home/osboxes/workspace/oorexx-freebsd-build/oorexxSVN/common/platform/unix/SysFile.hpp:70:48: > note: > expanded from macro 'RX_S_IREAD' > #define RX_S_IREAD (S_IRUSR | S_IRGRP | S_IROTH) > ^ > /home/osboxes/workspace/oorexx-freebsd-build/oorexxSVN/rexxapi/client/LocalMacroSpaceManager.cpp:200:91: > error: > use of undeclared identifier 'S_IWUSR' > ...RX_O_CREAT | RX_O_TRUNC | RX_O_WRONLY, RX_S_IREAD | RX_S_IWRITE, > RX_SH_DENYRW); > ^ > /home/osboxes/workspace/oorexx-freebsd-build/oorexxSVN/common/platform/unix/SysFile.hpp:69:28: > note: > expanded from macro 'RX_S_IWRITE' > #define RX_S_IWRITE (S_IWUSR | S_IWGRP | S_IWOTH) > ^ > /home/osboxes/workspace/oorexx-freebsd-build/oorexxSVN/rexxapi/client/LocalMacroSpaceManager.cpp:200:91: > error: > use of undeclared identifier 'S_IWGRP' > /home/osboxes/workspace/oorexx-freebsd-build/oorexxSVN/common/platform/unix/SysFile.hpp:69:38: > note: > expanded from macro 'RX_S_IWRITE' > #define RX_S_IWRITE (S_IWUSR | S_IWGRP | S_IWOTH) > ^ > /home/osboxes/workspace/oorexx-freebsd-build/oorexxSVN/rexxapi/client/LocalMacroSpaceManager.cpp:200:91: > error: > use of undeclared identifier 'S_IWOTH' > /home/osboxes/workspace/oorexx-freebsd-build/oorexxSVN/common/platform/unix/SysFile.hpp:69:48: > note: > expanded from macro 'RX_S_IWRITE' > #define RX_S_IWRITE (S_IWUSR | S_IWGRP | S_IWOTH) > ^ > 6 errors generated. > *** Error code 1 > > Stop. > make[2]: stopped in > /usr/home/osboxes/workspace/oorexx-freebsd-build/oorexxbuild > *** Error code 1 > > Stop. > make[1]: stopped in > /usr/home/osboxes/workspace/oorexx-freebsd-build/oorexxbuild > *** Error code 1 > > Stop. > make: stopped in /usr/home/osboxes/workspace/oorexx-freebsd-build/oorexxbuild > buildooRexx.sh: line 65: rexx: command not found > buildooRexx.sh: line 67: rexx: command not found > $ sudo pkg install PkgConfig > Updating FreeBSD repository catalogue... > FreeBSD repository is up to date. > All repositories are up to date. > pkg: No packages available to install matching 'PkgConfig' have been found in > the repositories > $ >
_______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel