Одним словом снес я одну программу, а мне написало что вот такие то пакеты больше не используются мол удалите их авторемувом. Я удалил. А потом когда программу установил заново с нуля - мне она написала что
log4cplus:ERROR No appenders could be found for logger (alpr).
log4cplus:ERROR Please initialize the log4cplus system properly.
Segmentation fault (core dumped)
Оказалось что удалился log4cplus и теперь сообщения не могут быть выведены потому и ошибка. Как я понял. Нужно установить заново log4cplus. Я выкачал сырцы делаю sudo ./configure - как то изначально глючило сразу, но я там увидел чего не хватает и доустановил. И сейчас кажется все завершается без явных ошибок, но делая sudo make - получаю:
sudo make
make all-recursive
make[1]: Entering directory `/home/sundolina/log4cplus-1.2.0'
Making all in include
make[2]: Entering directory `/home/sundolina/log4cplus-1.2.0/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/sundolina/log4cplus-1.2.0/include'
make[2]: Entering directory `/home/sundolina/log4cplus-1.2.0'
make[2]: Leaving directory `/home/sundolina/log4cplus-1.2.0'
make[1]: Leaving directory `/home/sundolina/log4cplus-1.2.0'
Если честно все перерыл, что делать и вчем проблема не могу понять.
sudo ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for ar... ar
checking the archiver (ar) interface... ar
configure: WARNING: Neither C++ locale support nor C locale support nor iconv() support requested, using poor man's locale conversion.
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for a sed that does not truncate output... /bin/sed
checking for C++ compiler vendor... gnu
checking CXXFLAGS for maximum warnings... -Wall
checking for grep that handles long lines and -e... /bin/grep
checking CXXFLAGS for gcc -fdiagnostics-show-caret... -fdiagnostics-show-caret
checking CXXFLAGS for gcc -ftrack-macro-expansion... -ftrack-macro-expansion
checking CXXFLAGS for gcc -fdiagnostics-color=auto... no, unknown
checking CXXFLAGS for gcc -Wextra... -Wextra
checking CXXFLAGS for gcc -pedantic... -pedantic
checking CXXFLAGS for gcc -Wstrict-aliasing... -Wstrict-aliasing
checking CXXFLAGS for gcc -Wstrict-overflow... -Wstrict-overflow
checking CXXFLAGS for gcc -Woverloaded-virtual... -Woverloaded-virtual
checking CXXFLAGS for gcc -Wold-style-cast... -Wold-style-cast
checking CXXFLAGS for gcc -Wc++0x-compat... -Wc++0x-compat
checking CXXFLAGS for gcc -Wc++11-compat... -Wc++11-compat
checking CXXFLAGS for gcc -Wundef... -Wundef
checking CXXFLAGS for gcc -Wshadow... -Wshadow
checking CXXFLAGS for gcc -Wformat... -Wformat
checking CXXFLAGS for gcc -Wsuggest-attribute=format... -Wsuggest-attribute=format
checking CXXFLAGS for gcc -Wsuggest-attribute=noreturn... -Wsuggest-attribute=noreturn
checking CXXFLAGS for gcc -Wno-variadic-macros... -Wno-variadic-macros
checking for __global and __hidden... no
checking for __declspec(dllexport) and __declspec(dllimport)... no
checking for __attribute__((visibility("default"))) and __attribute__((visibility("hidden")))... yes
checking CXXFLAGS for gcc -fvisibility=hidden... -fvisibility=hidden
checking for C99 variadic macros... yes
checking for GNU style variadic macros... yes
checking for __FUNCTION__ macro... yes
checking for __PRETTY_FUNCTION__ macro... yes
checking for __func__ symbol... yes
checking for __attribute__((constructor_priority))... yes
checking for __attribute__((constructor))... yes
checking for __attribute__((init_priority))... yes
checking for library containing strerror... none required
checking for library containing nanosleep... none required
checking for library containing clock_nanosleep... none required
checking for library containing clock_gettime... none required
checking for library containing gethostbyname... none required
checking for library containing setsockopt... none required
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for sys/types.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking for sys/stat.h... (cached) yes
checking sys/syscall.h usability... yes
checking sys/syscall.h presence... yes
checking for sys/syscall.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking for unistd.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for stdlib.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking atomic.h usability... no
checking atomic.h presence... no
checking for atomic.h... no
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking for socklen_t... yes
configure: Creating a multi-threaded library.
configure: Threads support:
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for library containing sem_init... none required
checking for __sync_add_and_fetch... yes
checking for __sync_sub_and_fetch... yes
checking for C++11 atomics... no
checking for __atomic_add_fetch... yes
checking for __atomic_sub_fetch... yes
checking for atomic_inc_uint... no
checking for atomic_dec_uint_nv... no
checking for thread_local... no
checking for __thread... yes
checking for gmtime_r... yes
checking for localtime_r... yes
checking for gettimeofday... yes
checking for nanosleep... yes
checking for clock_nanosleep... yes
checking for clock_gettime... yes
checking for getpid... yes
checking for poll... yes
checking for pipe... yes
checking for pipe2... yes
checking for ftime... yes
checking for stat... yes
checking for lstat... yes
checking for fcntl... yes
checking for lockf... yes
checking for flock... yes
checking for htons... yes
checking for ntohs... yes
checking for htonl... yes
checking for ntohl... yes
checking for shutdown... yes
checking for mbstowcs... yes
checking for wcstombs... yes
checking for vsnprintf... yes
checking for _vsnprintf... no
checking for vsnwprintf... no
checking for _vsnwprintf... no
checking for vsprintf_s... no
checking for vswprintf_s... no
checking for vfprintf_s... no
checking for vfwprintf_s... no
checking for _vsnprintf_s... no
checking for _vsnwprintf_s... no
checking for ENAMETOOLONG... yes
checking for getaddrinfo... yes
checking for gethostbyname_r... yes
checking for gettid... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating tests/atlocal
config.status: creating tests/configandwatch_test/log4cplus.properties
config.status: creating tests/filter_test/log4cplus.properties
config.status: creating tests/performance_test/log4cplus.properties
config.status: creating tests/propertyconfig_test/log4cplus.properties
config.status: creating tests/propertyconfig_test/log4cplus.tail.properties
config.status: creating log4cplus.pc
config.status: creating include/log4cplus/config.h
config.status: include/log4cplus/config.h is unchanged
config.status: creating include/log4cplus/config/defines.hxx
config.status: include/log4cplus/config/defines.hxx is unchanged
config.status: executing tests/atconfig commands
config.status: executing depfiles commands
config.status: executing libtool commands
Пользователь добавил сообщение 06 Мая 2016, 23:00:11:
Удалил директорию и начал все с нуля и кажется процесс пошел. Смотрю что будет далее.
ТС, как видно по состоянию на 30/01/2020 потерял интерес к созданной им теме (пометка Решено в теме отсутствует, тема оставлена не закрытой, сообщений в теме давно не было). На реплики форумчан реакции со стороны ТС нет. Тема стародавняя (последнее сообщение в топике: 07/05/2016; последнее сообщение от ТС в топике: 06/05/2016). Модератором раздела принято решение закрыть тему.
--zg_nico