Greetings,

I started with a fresh unpack of the source code
I made the suggested changes
Oh, and I removed path references to oorexx, then logged in and insured that 
export | grep oorexx returned nothing

make blows up here:

mv -f .deps/librexx_la-CallbackDispatcher.Tpo 
.deps/librexx_la-CallbackDispatcher.Plo
/bin/sh ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.    
-DORX_VER=4 -DORX_REL=1 -DORX_MOD=2 -DORX_FIX=0 -DORX_SYS_STR=\"LINUX\" 
-DORX_CATDIR=\"/kunden/homepages/35/d157794216/htdocs/opt/oorexx/bin\" 
-DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix 
-I./common -I./common/platform/unix -I./interpreter 
-I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory 
-I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression 
-I./interpreter/instructions 
-I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime 
-I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary 
-I./interpreter/platform/common 
-I./interpreter/platform/unix -g -O2 -g -O2         -Wall         
-funsigned-char         -Wpointer-arith         -Wcast-qual         
-Wcast-align         -Wshadow         -Wwrite-strings 
-D__cplusplus         -Wredundant-decls                              -DNOOPT 
-DPTHREAD_KERNEL                  -D_POSIX_THREAD -D_REENTRANT                  
 -D_GNU_SOURCE               -DLINUX 
         -DOPSYS_LINUX -MT librexx_la-TrappingDispatcher.lo -MD -MP -MF 
.deps/librexx_la-TrappingDispatcher.Tpo -c -o librexx_la-TrappingDispatcher.lo 
`test -f 
'./interpreter/concurrency/TrappingDispatcher.cpp' || echo 
'./'`./interpreter/concurrency/TrappingDispatcher.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=1 -DORX_MOD=2 
-DORX_FIX=0 -DORX_SYS_STR=\"LINUX\" 
-DORX_CATDIR=\"/kunden/homepages/35/d157794216/htdocs/opt/oorexx/bin\" 
-DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix 
-I./common -I./common/platform/unix -I./interpreter -I./interpreter/behaviour 
-I./interpreter/execution -I./interpreter/memory 
-I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression 
-I./interpreter/instructions -I./interpreter/classes 
-I./interpreter/classes/support -I./interpreter/runtime 
-I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary 
-I./interpreter/platform/common -I./interpreter/platform/unix -g -O2 -g -O2 
-Wall -funsigned-char -Wpointer-arith 
-Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus 
-Wredundant-decls -DNOOPT -DPTHREAD_KERNEL -D_POSIX_THREAD -D_REENTRANT 
-D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -MT 
librexx_la-TrappingDispatcher.lo -MD -MP -MF 
.deps/librexx_la-TrappingDispatcher.Tpo -c 
./interpreter/concurrency/TrappingDispatcher.cpp  -fPIC -DPIC -o 
.libs/librexx_la-TrappingDispatcher.o
./libtool: line 1130: 29710 Killed                  g++ -DHAVE_CONFIG_H -I. 
-DORX_VER=4 -DORX_REL=1 -DORX_MOD=2 -DORX_FIX=0 -DORX_SYS_STR=\"LINUX\" 
-DORX_CATDIR=\"/kunden/homepages/35/d157794216/htdocs/opt/oorexx/bin\" 
-DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix 
-I./common -I./common/platform/unix -I./interpreter 
-I./interpreter/behaviour -I./interpreter/execution -I./interpreter/memory 
-I./interpreter/package -I./interpreter/concurrency -I./interpreter/expression 
-I./interpreter/instructions 
-I./interpreter/classes -I./interpreter/classes/support -I./interpreter/runtime 
-I./interpreter/parser -I./interpreter/messages -I./interpreter/streamLibrary 
-I./interpreter/platform/common 
-I./interpreter/platform/unix -g -O2 -g -O2 -Wall -funsigned-char 
-Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings -D__cplusplus 
-Wredundant-decls -DNOOPT -DPTHREAD_KERNEL 
-D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -MT 
librexx_la-TrappingDispatcher.lo -MD -MP -MF 
.deps/librexx_la-TrappingDispatcher.Tpo -c 
./interpreter/concurrency/TrappingDispatcher.cpp -fPIC -DPIC -o 
.libs/librexx_la-TrappingDispatcher.o
make: *** [librexx_la-TrappingDispatcher.lo] Error 1


Changes to the source code were as follows:


// For testing purposes comment out the following line to force RXAPI to
// run as a foreground process.
#define RUN_AS_DAEMON

#ifdef RUN_AS_DAEMON
#define OOREXX_PIDFILE "/var/run/ooRexx.pid"
bool run_as_daemon = true;
#else
#define OOREXX_PIDFILE 
"/kunden/homepages/35/d157794216/htdocs/opt/oorexx/var/run/ooRexx.pid"
bool run_as_daemon = false;
#endif

APIServer apiServer;             // the real server instance


Configure command was:
./configure --disable-static 
--prefix=/kunden/homepages/35/d157794216/htdocs/opt/oorexx

Suggestions?

What exactly was having it select the logic path not to run as daemon? The 
usual way would be to run as daemon, correct? Obviously with the LOC I changed, 
since it now blows up I would think that is 
the logic path which was selected... I just do not understand why that path 
would be selected based on my running the standard build commands. Perhaps was 
it already keying off of the fact that I 
supplied prefix in the configure?

Sincerely,

-- 
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to