[HowTo] Build Last Chaos Server (linux)
#1

2

 

#2
Thanks ...

#3

nice

#4
+1 feedback left

#5

Compiled Apache log4cxx error 

Need help please please ....

 


Quote




if /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"log4cxx\" -DVERSION=\"0.10.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_MBSRTOWCS=1 -DHAVE_WCSTOMBS=1 -DHAVE_SYSLOG=1 -DHAVE_FWIDE=1  -I. -I. -I../../../src/main/include -I../../../src/main/include  -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE  -I/usr/local/apr-1.6.3/include/apr-1   -I/usr/local/apr/include/apr-1 -Ibuiltin/include  -g -O2 -MT strftimedateformat.lo -MD -MP -MF ".deps/strftimedateformat.Tpo" -c -o strftimedateformat.lo strftimedateformat.cpp; \

        then mv -f ".deps/strftimedateformat.Tpo" ".deps/strftimedateformat.Plo"; else rm -f ".deps/strftimedateformat.Tpo"; exit 1; fi

 g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"log4cxx\" -DVERSION=\"0.10.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_MBSRTOWCS=1 -DHAVE_WCSTOMBS=1 -DHAVE_SYSLOG=1 -DHAVE_FWIDE=1 -I. -I. -I../../../src/main/include -I../../../src/main/include -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/local/apr-1.6.3/include/apr-1 -I/usr/local/apr/include/apr-1 -Ibuiltin/include -g -O2 -MT sockethubappender.lo -MD -MP -MF .deps/sockethubappender.Tpo -c sockethubappender.cpp -o sockethubappender.o

 g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"log4cxx\" -DVERSION=\"0.10.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_MBSRTOWCS=1 -DHAVE_WCSTOMBS=1 -DHAVE_SYSLOG=1 -DHAVE_FWIDE=1 -I. -I. -I../../../src/main/include -I../../../src/main/include -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/local/apr-1.6.3/include/apr-1 -I/usr/local/apr/include/apr-1 -Ibuiltin/include -g -O2 -MT socketoutputstream.lo -MD -MP -MF .deps/socketoutputstream.Tpo -c socketoutputstream.cpp -o socketoutputstream.o

 g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"log4cxx\" -DVERSION=\"0.10.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_MBSRTOWCS=1 -DHAVE_WCSTOMBS=1 -DHAVE_SYSLOG=1 -DHAVE_FWIDE=1 -I. -I. -I../../../src/main/include -I../../../src/main/include -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/local/apr-1.6.3/include/apr-1 -I/usr/local/apr/include/apr-1 -Ibuiltin/include -g -O2 -MT strftimedateformat.lo -MD -MP -MF .deps/strftimedateformat.Tpo -c strftimedateformat.cpp -o strftimedateformat.o

socketoutputstream.cpp:23:21: error: string.sh: No such file or directory

socketoutputstream.cpp: In member function 'virtual void log4cxx::helpers::SocketOutputStream::write(log4cxx::helpers::ByteBuffer&, log4cxx::helpers:Tongueool&ampWink':

socketoutputstream.cpp:54: error: 'memcpy' was not declared in this scope

make[3]: *** [socketoutputstream.lo] Error 1

make[3]: *** Waiting for unfinished jobs....

make[3]: Leaving directory `/usr/local/apache-log4cxx-0.10.0/src/main/cpp'

make[2]: *** [all-recursive] Error 1

make[2]: Leaving directory `/usr/local/apache-log4cxx-0.10.0/src/main'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/usr/local/apache-log4cxx-0.10.0/src'

make: *** [all-recursive] Error 1

[root@localhost apache-log4cxx-0.10.0]# yum install log4cxx

Loaded plugins: fastestmirror, security

Setting up Install Process

Loading mirror speeds from cached hostfile

 * epel: mirror.math.princeton.edu

No package log4cxx available.

Error: Nothing to do

[root@localhost apache-log4cxx-0.10.0]#




 

 

 

#6

Mirror: 2

#7

lc server build updated

#8

Nice work, I think I may take some of this to just make a full docker instance that can be uploaded to docker hub if you don't mind. Will make it easier for people to run local servers.

#9

this can be run, i mean its all on github u need to set up a server on localhost?

 



Forum Jump:


Users browsing this thread: 1 Guest(s)