Centos 6 / 7 NEW guides "compiling"
#5

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:Tongueool&ampWink':

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>



Messages In This Thread
[No subject] - by pwesty - 05-23-2021, 10:41 PM
[No subject] - by Scura - 05-23-2021, 10:51 PM
[No subject] - by BayBay - 05-25-2021, 12:51 AM
[No subject] - by pwesty - 05-27-2021, 07:12 AM
[No subject] - by Vladi - 05-29-2021, 04:30 PM
[No subject] - by Scura - 05-30-2021, 11:08 AM
[No subject] - by Vladi - 05-31-2021, 01:49 AM
[No subject] - by Scura - 05-31-2021, 08:32 AM
[No subject] - by Matheus - 06-11-2021, 03:45 AM
[No subject] - by merl0@ - 08-31-2021, 12:02 PM
[No subject] - by dannymel - 06-02-2023, 04:40 PM
[No subject] - by Desarija - 06-06-2023, 08:21 PM
[No subject] - by Sutz - 12-19-2023, 04:39 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)