05-29-2021, 04:30 PM
Hi, I'm getting errors. I do everything according to the guide. Can you tell me what's going on?
Logs:
g++ -m32 -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 -I/usr/include/apr-1 -I/usr/include/apr-1 -g -O2 -MT inputstreamreader.lo -MD -MP -MF .deps/inputstreamreader.Tpo -c inputstreamreader.cpp -o inputstreamreader.o
then mv -f ".deps/integerpatternconverter.Tpo" ".deps/integerpatternconverter.Plo"; else rm -f ".deps/integerpatternconverter.Tpo"; exit 1; fi
g++ -m32 -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 -I/usr/include/apr-1 -I/usr/include/apr-1 -g -O2 -MT integer.lo -MD -MP -MF .deps/integer.Tpo -c integer.cpp -o integer.o
inputstreamreader.cpp: In member function 'virtual log4cxx::LogString log4cxx::helpers::InputStreamReader::read(log4cxx::helpers:
ool&
':inputstreamreader.cpp:66:64: error: 'memmove' was not declared in this scope
memmove(buf.data(), buf.current(), buf.remaining());
^
make[3]: *** [inputstreamreader.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
g++ -m32 -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 -I/usr/include/apr-1 -I/usr/include/apr-1 -g -O2 -MT integerpatternconverter.lo -MD -MP -MF .deps/integerpatternconverter.Tpo -c integerpatternconverter.cpp -o integerpatternconverter.o
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]#
And this:
...failed gcc.compile.c++ bin.v2/libs/log/build/gcc-4.8.5/release/link-static/runtime-link-static/threading-multi/format_parser.o...
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.8.5/debug/link-static/threading-multi/list.o
In file included from ./boost/python/detail/prefix.hpp:13:0,
from ./boost/python/list.hpp:8,
from libs/python/src/list.cpp:5:
./boost/python/detail/wrap_python.hpp:50:23: fatal error: pyconfig.h: No such file or directory
# include <pyconfig.h>
^
compilation terminated.
"g++" -O0 -fno-inline -Wall -g -march=i686 -pthread -m32 -m32 -DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE -DBOOST_PYTHON_STATIC_LIB -I"." -I"/usr/include/python2.7" -c -o "bin.v2/libs/python/build/gcc-4.8.5/debug/link-static/threading-multi/list.o" "libs/python/src/list.cpp"
...failed gcc.compile.c++ bin.v2/libs/python/build/gcc-4.8.5/debug/link-static/threading-multi/list.o...
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.8.5/debug/link-static/threading-multi/long.o
In file included from ./boost/python/detail/prefix.hpp:13:0,
from ./boost/python/long.hpp:8,
from libs/python/src/long.cpp:5:
./boost/python/detail/wrap_python.hpp:50:23: fatal error: pyconfig.h: No such file or directory
# include <pyconfig.h>
^
compilation terminated.
"g++" -O0 -fno-inline -Wall -g -march=i686 -pthread -m32 -m32 -DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE -DBOOST_PYTHON_STATIC_LIB -I"." -I"/usr/include/python2.7" -c -o "bin.v2/libs/python/build/gcc-4.8.5/debug/link-static/threading-multi/long.o" "libs/python/src/long.cpp"
...failed gcc.compile.c++ bin.v2/libs/python/build/gcc-4.8.5/debug/link-static/threading-multi/long.o...
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.8.5/debug/link-static/threading-multi/dict.o
In file included from ./boost/python/detail/prefix.hpp:13:0,
from ./boost/python/dict.hpp:8,
from libs/python/src/dict.cpp:4:
./boost/python/detail/wrap_python.hpp:50:23: fatal error: pyconfig.h: No such file or directory
# include <pyconfig.h>
^
compilation terminated.
"g++" -O0 -fno-inline -Wall -g -march=i686 -pthread -m32 -m32 -DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE -DBOOST_PYTHON_STATIC_LIB -I"." -I"/usr/include/python2.7" -c -o "bin.v2/libs/python/build/gcc-4.8.5/debug/link-static/threading-multi/dict.o" "libs/python/src/dict.cpp"
...failed gcc.compile.c++ bin.v2/libs/python/build/gcc-4.8.5/debug/link-static/threading-multi/dict.o...
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.8.5/debug/link-static/threading-multi/str.o
In file included from ./boost/python/detail/prefix.hpp:13:0,
from ./boost/python/str.hpp:8,
from libs/python/src/str.cpp:4:
./boost/python/detail/wrap_python.hpp:50:23: fatal error: pyconfig.h: No such file or directory
# include <pyconfig.h>
^
compilation terminated.
"g++" -O0 -fno-inline -Wall -g -march=i686 -pthread -m32 -m32 -DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE -DBOOST_PYTHON_STATIC_LIB -I"." -I"/usr/include/python2.7" -c -o "bin.v2/libs/python/build/gcc-4.8.5/debug/link-static/threading-multi/str.o" "libs/python/src/str.cpp"
...failed gcc.compile.c++ bin.v2/libs/python/build/gcc-4.8.5/debug/link-static/threading-multi/str.o...
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.8.5/debug/link-static/threading-multi/tuple.o
In file included from ./boost/python/detail/prefix.hpp:13:0,
from ./boost/python/tuple.hpp:8,
from libs/python/src/tuple.cpp:5:
./boost/python/detail/wrap_python.hpp:50:23: fatal error: pyconfig.h: No such file or directory
# include <pyconfig.h>

