I'm not sure, but I suspect there may be something wrong with your
configuration. You don't show any output for your cmake command, but
normally it would put out a lot of messages about checking for symbols that
are used to generate the config.h file. Either a) something about your
platform caused cmake to skip all of those checks or b) it could not find
any combination of the symbols in the include files to have a valid
semaphore configuration. The config.h file should be in the root of your
target build directory, so you can check to see what was generated.

Rick

On Sat, Mar 17, 2018 at 1:51 PM, Michael Lueck <[email protected]>
wrote:

> Greetings,
>
> I already had the following packages installed/added to my build VM:
>
> Building ooRexx 4.2
> sudo apt-get install automake build-essential bison debhelper libtool
> subversion xalan
>
> So just needed to add two of the v5.0 dependencies.
>
> Building ooRexx 5.0
>
> sudo apt install subversion cmake g++ libncurses5-dev
>
> cd ~/Documents
> mkdir oorexxsvn
> cd oorexxsvn
>
> svn co svn://svn.code.sf.net/p/oorexx/code-0/main/trunk main/trunk
>
> cd ~/Documents
> mkdir oorexxbuild
> cd oorexxbuild
> mkdir release
> cd release
>
> cmake -DBUILD_DEB=1 -DOS_DIST=ubuntu1604 -DCMAKE_BUILD_TYPE=RELEASE
> ../../oorexxsvn/main/trunk
> make
>
> mdlueck@buildxd1604x64:~/Documents/oorexxbuild/release$ make
> Scanning dependencies of target rxsubcom_man
> [  0%] Generating rxsubcom.1.gz
> [  0%] Built target rxsubcom_man
> Scanning dependencies of target rexxapi
> [  0%] Building CXX object CMakeFiles/rexxapi.dir/rexxapi
> /client/ClientMessage.cpp.o
> [  1%] Building CXX object CMakeFiles/rexxapi.dir/rexxapi
> /client/LocalAPIContext.cpp.o
> [  1%] Building CXX object CMakeFiles/rexxapi.dir/rexxapi
> /client/LocalAPIManager.cpp.o
> [  1%] Building CXX object CMakeFiles/rexxapi.dir/rexxapi
> /client/LocalMacroSpaceManager.cpp.o
> [  1%] Building CXX object CMakeFiles/rexxapi.dir/rexxapi
> /client/LocalQueueManager.cpp.o
> [  2%] Building CXX object CMakeFiles/rexxapi.dir/rexxapi
> /client/LocalRegistrationManager.cpp.o
> [  2%] Building CXX object CMakeFiles/rexxapi.dir/rexxapi
> /client/MacroSpaceApi.cpp.o
> [  2%] Building CXX object CMakeFiles/rexxapi.dir/rexxapi
> /client/QueuesAPI.cpp.o
> [  3%] Building CXX object CMakeFiles/rexxapi.dir/rexxapi
> /client/RegistrationAPI.cpp.o
> [  3%] Building CXX object CMakeFiles/rexxapi.dir/rexxapi
> /client/platform/unix/SysLegacyAPI.cpp.o
> [  3%] Building CXX object CMakeFiles/rexxapi.dir/rexxapi
> /client/platform/unix/SysLocalAPIManager.cpp.o
> [  4%] Building CXX object CMakeFiles/rexxapi.dir/rexxapi
> /common/RegistrationTable.cpp.o
> [  4%] Building CXX object CMakeFiles/rexxapi.dir/rexxapi
> /common/ServiceMessage.cpp.o
> [  4%] Building CXX object CMakeFiles/rexxapi.dir/rexxapi
> /common/platform/unix/SysAPIManager.cpp.o
> [  5%] Building CXX object CMakeFiles/rexxapi.dir/rexxapi
> /common/platform/unix/SysCSStream.cpp.o
> [  5%] Building CXX object CMakeFiles/rexxapi.dir/rexxapi
> /common/platform/unix/SysProcess.cpp.o
> [  5%] Building CXX object CMakeFiles/rexxapi.dir/common/Utilities.cpp.o
> [  5%] Building CXX object CMakeFiles/rexxapi.dir/common/
> platform/unix/SysSemaphore.cpp.o
> /home/mdlueck/Documents/oorexxsvn/main/trunk/common/platform/unix/SysSemaphore.cpp:118:14:
> error: #error Configuration error for pthread semaphores. Check the defines
> in config.h
>              #error Configuration error for pthread semaphores.  Check the
> defines in config.h
>               ^
> CMakeFiles/rexxapi.dir/build.make:470: recipe for target
> 'CMakeFiles/rexxapi.dir/common/platform/unix/SysSemaphore.cpp.o' failed
> make[2]: *** [CMakeFiles/rexxapi.dir/common/platform/unix/SysSemaphore.cpp.o]
> Error 1
> CMakeFiles/Makefile2:407: recipe for target 'CMakeFiles/rexxapi.dir/all'
> failed
> make[1]: *** [CMakeFiles/rexxapi.dir/all] Error 2
> Makefile:149: recipe for target 'all' failed
> make: *** [all] Error 2
> mdlueck@buildxd1604x64:~/Documents/oorexxbuild/release$
>
>
> Suggestions?
>
> I am thankful,
>
> --
> Michael Lueck
> Lueck Data Systems
> http://www.lueckdatasystems.com/
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Oorexx-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to