LCKB
[HowTo] Build Last Chaos Server (linux) - Printable Version

+- LCKB (https://lckb.dev/forum)
+-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109)
+--- Forum: Release Zone (https://lckb.dev/forum/forumdisplay.php?fid=190)
+---- Forum: Episode 4 Releases (https://lckb.dev/forum/forumdisplay.php?fid=156)
+----- Forum: Server Side (https://lckb.dev/forum/forumdisplay.php?fid=138)
+----- Thread: [HowTo] Build Last Chaos Server (linux) (/showthread.php?tid=1090)



- Karmel - 04-16-2015


2

 




- b4rr4cud4 - 12-19-2015

Thanks ...




- Kennx - 12-25-2015


nice




- Sutz - 01-31-2016

+1 feedback left




- Rsujix - 01-12-2021


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]#




 

 

 




- Sutz - 12-19-2023


Mirror: 2




- Karmel - 11-19-2024


lc server build updated




- Sickness - 11-22-2024


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.




- Shxni - 03-05-2025


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