matchuck 0 Опубликовано: 2006-04-01 08:02:07 Share Опубликовано: 2006-04-01 08:02:07 Доброго времени суток, Установил старгайзер 2.4.8.6 под ОС Линукс Мандрива 2006. Всё выполнил по инструкции. А запустить сервер не могу! Где его искать? Куда он устанавливается? Или у меня что-то не правильно установилось? вот процес установки: [root@as expat-2.0.0]# ./configure checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 ANSI C... none needed checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) 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... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking for a BSD-compatible install... /usr/bin/install -c checking whether gcc accepts -fexceptions... yes checking for ANSI C header files... (cached) yes checking whether byte ordering is bigendian... no checking for an ANSI C-conforming const... yes checking for size_t... yes checking for memmove... yes checking for bcopy... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for unistd.h... (cached) yes checking for off_t... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking for an ANSI C99-conforming __func__... yes configure: creating ./config.status config.status: creating Makefile config.status: creating expat_config.h [root@as expat-2.0.0]# meke bash: meke: command not found [root@as expat-2.0.0]# make install gcc -I./lib -I. -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptio ns -DHAVE_EXPAT_CONFIG_H -o xmlwf/xmlwf.o -c xmlwf/xmlwf.c gcc -I./lib -I. -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptio ns -DHAVE_EXPAT_CONFIG_H -o xmlwf/xmlfile.o -c xmlwf/xmlfile.c gcc -I./lib -I. -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptio ns -DHAVE_EXPAT_CONFIG_H -o xmlwf/codepage.o -c xmlwf/codepage.c gcc -I./lib -I. -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptio ns -DHAVE_EXPAT_CONFIG_H -o xmlwf/unixfilemap.o -c xmlwf/unixfilemap.c /bin/sh ./libtool --silent --mode=compile gcc -I./lib -I. -g -O2 -Wall -Wmissing -prototypes -Wstrict-prototypes -fexceptions -DHAVE_EXPAT_CONFIG_H -o lib/xmlp arse.lo -c lib/xmlparse.c /bin/sh ./libtool --silent --mode=compile gcc -I./lib -I. -g -O2 -Wall -Wmissing -prototypes -Wstrict-prototypes -fexceptions -DHAVE_EXPAT_CONFIG_H -o lib/xmlt ok.lo -c lib/xmltok.c /bin/sh ./libtool --silent --mode=compile gcc -I./lib -I. -g -O2 -Wall -Wmissing -prototypes -Wstrict-prototypes -fexceptions -DHAVE_EXPAT_CONFIG_H -o lib/xmlr ole.lo -c lib/xmlrole.c /bin/sh ./libtool --silent --mode=link gcc -I./lib -I. -g -O2 -Wall -Wmissing-pr ototypes -Wstrict-prototypes -fexceptions -DHAVE_EXPAT_CONFIG_H -no-undefined -version-info 6:0:5 -rpath /usr/local/lib -o libexpat.la lib/xmlparse.lo lib/xm ltok.lo lib/xmlrole.lo /bin/sh ./libtool --silent --mode=link gcc -I./lib -I. -g -O2 -Wall -Wmissing-pr ototypes -Wstrict-prototypes -fexceptions -DHAVE_EXPAT_CONFIG_H -o xmlwf/xmlw f xmlwf/xmlwf.o xmlwf/xmlfile.o xmlwf/codepage.o xmlwf/unixfilemap.o libexpat.la /bin/sh ./conftools/mkinstalldirs /usr/local/lib /usr/local/include /bin/sh ./libtool --mode=install /usr/bin/install -c libexpat.la /usr/local/lib/ libexpat.la /usr/bin/install -c .libs/libexpat.so.1.5.0 /usr/local/lib/libexpat.so.1.5.0 (cd /usr/local/lib && { ln -s -f libexpat.so.1.5.0 libexpat.so.1 || { rm -f libe xpat.so.1 && ln -s libexpat.so.1.5.0 libexpat.so.1; }; }) (cd /usr/local/lib && { ln -s -f libexpat.so.1.5.0 libexpat.so || { rm -f libexp at.so && ln -s libexpat.so.1.5.0 libexpat.so; }; }) /usr/bin/install -c .libs/libexpat.lai /usr/local/lib/libexpat.la /usr/bin/install -c .libs/libexpat.a /usr/local/lib/libexpat.a chmod 644 /usr/local/lib/libexpat.a ranlib /usr/local/lib/libexpat.a PATH="$PATH:/sbin" ldconfig -n /usr/local/lib ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/lib If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- for FN in ./lib/expat.h ./lib/expat_external.h ; do /usr/bin/install -c -m 644 $ FN /usr/local/include ; done /bin/sh ./conftools/mkinstalldirs /usr/local/bin /usr/local/man/man1 mkdir /usr/local/man mkdir /usr/local/man/man1 /bin/sh ./libtool --mode=install /usr/bin/install -c xmlwf/xmlwf /usr/local/bin/ xmlwf /usr/bin/install -c xmlwf/.libs/xmlwf /usr/local/bin/xmlwf /usr/bin/install -c -m 644 ./doc/xmlwf.1 /usr/local/man/man1 [root@as expat-2.0.0]# /configure --prefix=/usr bash: /configure: No such file or directory [root@as expat-2.0.0]# cd.. [root@as biblioteca]# cd.. [root@as /]# /configure --prefix=/usr bash: /configure: No such file or directory [root@as /]# [root@as stargazer]# ./build ############################################################################# Building STG 2.4 for Linux ############################################################################# Makeing stg_logger.lib cp stg_logger.h ../../include/ cp libstg_logger.a ../../lib/ Makeing crypto.lib cp ag_md5.h blowfish.h ../../include/ cp libcrypto.a ../../lib/ Makeing common.lib g++ -g -Wall -I ../../include/ -I ./ -DLINUX -DSTG_TIME -c common.cpp ar rc libstg_common.a debug.o stg_error.o common.o ranlib libstg_common.a cp debug.h stg_error.h common.h ../../include/ cp libstg_common.a ../../lib/ Makeing conffiles.lib cp conffiles.h ../../include/ cp libconffiles.a ../../lib/ Makeing hostallow.lib cp hostallow.h ../../include/ cp libhostallow.a ../../lib/ Makeing pinger.lib cp pinger.h ../../include/ cp libstg_pinger.a ../../lib/ Makeing dotconfpp.lib cp dotconfpp.h mempool.h ../../include/ cp libdotconfpp.a ../../lib/ g++ -c admin.cpp -g3 -Wall -I ../../include -DLINUX ../../include/base_store.h:24: warning: 'class BASE_STORE' has virtual functions but non-virtual destructor g++ -c admins.cpp -g3 -Wall -I ../../include -DLINUX ../../include/base_store.h:24: warning: 'class BASE_STORE' has virtual functions but non-virtual destructor g++ -c main.cpp -g3 -Wall -I ../../include -DLINUX ../../include/base_store.h:24: warning: 'class BASE_STORE' has virtual functions but non-virtual destructor ../../include/base_plugin.h:30: warning: 'class BASE_PLUGIN' has virtual functions but non-virtual destructor ../../include/notifer.h: In instantiation of 'PROPERTY_NOTIFIER_BASE<int>': user.h:80: instantiated from here ../../include/notifer.h:12: warning: 'class PROPERTY_NOTIFIER_BASE<int>' has virtual functions but non-virtual destructor user.h:81: warning: 'class CHG_PASSIVE_NOTIFIER' has virtual functions but non-virtual destructor ../../include/notifer.h: In instantiation of 'PROPERTY_NOTIFIER_BASE<std::string>': user.h:90: instantiated from here ../../include/notifer.h:12: warning: 'class PROPERTY_NOTIFIER_BASE<std::string>' has virtual functions but non-virtual destructor user.h:91: warning: 'class CHG_TARIFF_NOTIFIER' has virtual functions but non-virtual destructor ../../include/notifer.h: In instantiation of 'PROPERTY_NOTIFIER_BASE<double>': user.h:100: instantiated from here ../../include/notifer.h:12: warning: 'class PROPERTY_NOTIFIER_BASE<double>' has virtual functions but non-virtual destructor user.h:101: warning: 'class CHG_CASH_NOTIFIER' has virtual functions but non-virtual destructor ../../include/notifer.h: In instantiation of 'PROPERTY_NOTIFIER_BASE<uint32_t>': users.h:69: instantiated from here ../../include/notifer.h:12: warning: 'class PROPERTY_NOTIFIER_BASE<uint32_t>' has virtual functions but non-virtual destructor users.h:70: warning: 'class PROPERTY_NOTIFER_IP_BEFORE' has virtual functions but non-virtual destructor users.h:81: warning: 'class PROPERTY_NOTIFER_IP_AFTER' has virtual functions but non-virtual destructor traffcounter.h:105: warning: 'class TRF_IP_BEFORE' has virtual functions but non-virtual destructor traffcounter.h:118: warning: 'class TRF_IP_AFTER' has virtual functions but non-virtual destructor ../../include/notifer.h: In instantiation of 'NOTIFIER_BASE<user_iter>': traffcounter.h:129: instantiated from here ../../include/notifer.h:19: warning: 'class NOTIFIER_BASE<user_iter>' has virtual functions but non-virtual destructor g++ -c curr_ip.cpp -g3 -Wall -I ../../include -DLINUX g++ -c settings.cpp -g3 -Wall -I ../../include -DLINUX g++ -c stg_timer.cpp -g3 -Wall -I ../../include -DLINUX g++ -c tariff2.cpp -g3 -Wall -I ../../include -DLINUX ../../include/base_store.h:24: warning: 'class BASE_STORE' has virtual functions but non-virtual destructor ../../include/base_plugin.h:30: warning: 'class BASE_PLUGIN' has virtual functions but non-virtual destructor ../../include/notifer.h: In instantiation of 'PROPERTY_NOTIFIER_BASE<int>': user.h:80: instantiated from here ../../include/notifer.h:12: warning: 'class PROPERTY_NOTIFIER_BASE<int>' has virtual functions but non-virtual destructor user.h:81: warning: 'class CHG_PASSIVE_NOTIFIER' has virtual functions but non-virtual destructor ../../include/notifer.h: In instantiation of 'PROPERTY_NOTIFIER_BASE<std::string>': user.h:90: instantiated from here ../../include/notifer.h:12: warning: 'class PROPERTY_NOTIFIER_BASE<std::string>' has virtual functions but non-virtual destructor user.h:91: warning: 'class CHG_TARIFF_NOTIFIER' has virtual functions but non-virtual destructor ../../include/notifer.h: In instantiation of 'PROPERTY_NOTIFIER_BASE<double>': user.h:100: instantiated from here ../../include/notifer.h:12: warning: 'class PROPERTY_NOTIFIER_BASE<double>' has virtual functions but non-virtual destructor user.h:101: warning: 'class CHG_CASH_NOTIFIER' has virtual functions but non-virtual destructor ../../include/notifer.h: In instantiation of 'PROPERTY_NOTIFIER_BASE<uint32_t>': users.h:69: instantiated from here ../../include/notifer.h:12: warning: 'class PROPERTY_NOTIFIER_BASE<uint32_t>' has virtual functions but non-virtual destructor users.h:70: warning: 'class PROPERTY_NOTIFER_IP_BEFORE' has virtual functions but non-virtual destructor users.h:81: warning: 'class PROPERTY_NOTIFER_IP_AFTER' has virtual functions but non-virtual destructor g++ -c traffcounter.cpp -g3 -Wall -I ../../include -DLINUX ../../include/base_store.h:24: warning: 'class BASE_STORE' has virtual functions but non-virtual destructor ../../include/base_plugin.h:30: warning: 'class BASE_PLUGIN' has virtual functions but non-virtual destructor ../../include/notifer.h: In instantiation of 'PROPERTY_NOTIFIER_BASE<int>': user.h:80: instantiated from here ../../include/notifer.h:12: warning: 'class PROPERTY_NOTIFIER_BASE<int>' has virtual functions but non-virtual destructor user.h:81: warning: 'class CHG_PASSIVE_NOTIFIER' has virtual functions but non-virtual destructor ../../include/notifer.h: In instantiation of 'PROPERTY_NOTIFIER_BASE<std::string>': user.h:90: instantiated from here ../../include/notifer.h:12: warning: 'class PROPERTY_NOTIFIER_BASE<std::string>' has virtual functions but non-virtual destructor user.h:91: warning: 'class CHG_TARIFF_NOTIFIER' has virtual functions but non-virtual destructor ../../include/notifer.h: In instantiation of 'PROPERTY_NOTIFIER_BASE<double>': user.h:100: instantiated from here ../../include/notifer.h:12: warning: 'class PROPERTY_NOTIFIER_BASE<double>' has virtual functions but non-virtual destructor user.h:101: warning: 'class CHG_CASH_NOTIFIER' has virtual functions but non-virtual destructor ../../include/notifer.h: In instantiation of 'PROPERTY_NOTIFIER_BASE<uint32_t>': users.h:69: instantiated from here ../../include/notifer.h:12: warning: 'class PROPERTY_NOTIFIER_BASE<uint32_t>' has virtual functions but non-virtual destructor users.h:70: warning: 'class PROPERTY_NOTIFER_IP_BEFORE' has virtual functions but non-virtual destructor users.h:81: warning: 'class PROPERTY_NOTIFER_IP_AFTER' has virtual functions but non-virtual destructor traffcounter.h:105: warning: 'class TRF_IP_BEFORE' has virtual functions but non-virtual destructor traffcounter.h:118: warning: 'class TRF_IP_AFTER' has virtual functions but non-virtual destructor ../../include/notifer.h: In instantiation of 'NOTIFIER_BASE<user_iter>': traffcounter.h:129: instantiated from here ../../include/notifer.h:19: warning: 'class NOTIFIER_BASE<user_iter>' has virtual functions but non-virtual destructor g++ -c user.cpp -g3 -Wall -I ../../include -DLINUX ../../include/base_store.h:24: warning: 'class BASE_STORE' has virtual functions but non-virtual destructor ../../include/base_plugin.h:30: warning: 'class BASE_PLUGIN' has virtual functions but non-virtual destructor ../../include/notifer.h: In instantiation of 'PROPERTY_NOTIFIER_BASE<int>': user.h:80: instantiated from here ../../include/notifer.h:12: warning: 'class PROPERTY_NOTIFIER_BASE<int>' has virtual functions but non-virtual destructor user.h:81: warning: 'class CHG_PASSIVE_NOTIFIER' has virtual functions but non-virtual destructor ../../include/notifer.h: In instantiation of 'PROPERTY_NOTIFIER_BASE<std::string>': user.h:90: instantiated from here ../../include/notifer.h:12: warning: 'class PROPERTY_NOTIFIER_BASE<std::string>' has virtual functions but non-virtual destructor user.h:91: warning: 'class CHG_TARIFF_NOTIFIER' has virtual functions but non-virtual destructor ../../include/notifer.h: In instantiation of 'PROPERTY_NOTIFIER_BASE<double>': user.h:100: instantiated from here ../../include/notifer.h:12: warning: 'class PROPERTY_NOTIFIER_BASE<double>' has virtual functions but non-virtual destructor user.h:101: warning: 'class CHG_CASH_NOTIFIER' has virtual functions but non-virtual destructor ../../include/notifer.h: In instantiation of 'PROPERTY_NOTIFIER_BASE<uint32_t>': users.h:69: instantiated from here ../../include/notifer.h:12: warning: 'class PROPERTY_NOTIFIER_BASE<uint32_t>' has virtual functions but non-virtual destructor users.h:70: warning: 'class PROPERTY_NOTIFER_IP_BEFORE' has virtual functions but non-virtual destructor users.h:81: warning: 'class PROPERTY_NOTIFER_IP_AFTER' has virtual functions but non-virtual destructor user.cpp: In member function 'void USER::Run()': user.cpp:646: error: no match for 'operator=' in '((USER*)this)->USER::lastActivityTime = stgTime' user_property.h:39: note: candidates are: USER_PROPERTY<varT>& USER_PROPERTY<varT>::operator=(const varT&) [with varT = time_t] user_property.h:36: note: USER_PROPERTY<time_t>& USER_PROPERTY<time_t>::operator=(const USER_PROPERTY<time_t>&) user.cpp: In member function 'virtual void CHG_CASH_NOTIFIER::Notify(const double&, const double&)': user.cpp:1116: error: no match for 'operator=' in '((CHG_CASH_NOTIFIER*)this)->CHG_CASH_NOTIFIER::user->USER::lastCashAddTime = stgTime' user_property.h:39: note: candidates are: USER_PROPERTY<varT>& USER_PROPERTY<varT>::operator=(const varT&) [with varT = time_t] user_property.h:36: note: USER_PROPERTY<time_t>& USER_PROPERTY<time_t>::operator=(const USER_PROPERTY<time_t>&) ../../include/notifer.h: At global scope: ../../include/notifer.h: In instantiation of 'PROPERTY_NOTIFIER_BASE<USER_IPS>': user_property.h:196: instantiated from 'USER_PROPERTY<varT>& USER_PROPERTY<varT>::operator=(const varT&) [with varT = USER_IPS]' user.cpp:119: instantiated from here ../../include/notifer.h:12: warning: 'class PROPERTY_NOTIFIER_BASE<USER_IPS>' has virtual functions but non-virtual destructor ../../include/notifer.h: In instantiation of 'PROPERTY_NOTIFIER_BASE<DIR_TRAFF>': user_property.h:196: instantiated from 'USER_PROPERTY<varT>& USER_PROPERTY<varT>::operator=(const varT&) [with varT = DIR_TRAFF]' user.cpp:188: instantiated from here ../../include/notifer.h:12: warning: 'class PROPERTY_NOTIFIER_BASE<DIR_TRAFF>' has virtual functions but non-virtual destructor ../../include/notifer.h: In instantiation of 'PROPERTY_NOTIFIER_BASE<time_t>': user_property.h:196: instantiated from 'USER_PROPERTY<varT>& USER_PROPERTY<varT>::operator=(const varT&) [with varT = time_t]' user.cpp:191: instantiated from here ../../include/notifer.h:12: warning: 'class PROPERTY_NOTIFIER_BASE<time_t>' has virtual functions but non-virtual destructor gmake: *** [user.o] Ошибка 1 [root@as stargazer]# ./configure --prefix=/usr bash: ./configure: No such file or directory [root@as stargazer]# ./install install: невозможно выполнить stat для `./stargazer': No such file or directory ################################################################################ # Installed # # /usr/sbin/stargazer - daemon # # /usr/lib/stg/ - stg modules # # /usr/etc/stargazer/ - settings # # /var/stargazer/ - DB # ################################################################################ [root@as stargazer]# С Уважением, Матвейчук Владимир Ссылка на сообщение Поделиться на других сайтах
egor2fsys 5 Опубліковано: 2006-04-01 09:42:17 Share Опубліковано: 2006-04-01 09:42:17 сказано же что expаt надо ставить не в /usr/local, а в /usr !!!! сколько можно повторять об этом. причем написано об этом и в доке Ссылка на сообщение Поделиться на других сайтах
matchuck 0 Опубліковано: 2006-04-03 06:14:57 Автор Share Опубліковано: 2006-04-03 06:14:57 Установил expat в дерикторию /usr/local но всё равно результат однин и тот же... вот процесс установки: [root@as expat-2.0.0]# ./configure --prefix=/usr/local checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 ANSI C... none needed checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) 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... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking for a BSD-compatible install... /usr/bin/install -c checking whether gcc accepts -fexceptions... yes checking for ANSI C header files... (cached) yes checking whether byte ordering is bigendian... no checking for an ANSI C-conforming const... yes checking for size_t... yes checking for memmove... yes checking for bcopy... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for unistd.h... (cached) yes checking for off_t... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking for an ANSI C99-conforming __func__... yes configure: creating ./config.status config.status: creating Makefile config.status: creating expat_config.h config.status: expat_config.h is unchanged [root@as expat-2.0.0]# [root@as stargazer]# ./build ############################################################################# Building STG 2.4 for Linux ############################################################################# Makeing stg_logger.lib cp stg_logger.h ../../include/ cp libstg_logger.a ../../lib/ Makeing crypto.lib cp ag_md5.h blowfish.h ../../include/ cp libcrypto.a ../../lib/ Makeing common.lib g++ -g -Wall -I ../../include/ -I ./ -DLINUX -DSTG_TIME -c common.cpp ar rc libstg_common.a debug.o stg_error.o common.o ranlib libstg_common.a cp debug.h stg_error.h common.h ../../include/ cp libstg_common.a ../../lib/ Makeing conffiles.lib cp conffiles.h ../../include/ cp libconffiles.a ../../lib/ Makeing hostallow.lib cp hostallow.h ../../include/ cp libhostallow.a ../../lib/ Makeing pinger.lib cp pinger.h ../../include/ cp libstg_pinger.a ../../lib/ Makeing dotconfpp.lib cp dotconfpp.h mempool.h ../../include/ cp libdotconfpp.a ../../lib/ g++ -c admin.cpp -g3 -Wall -I ../../include -DLINUX ../../include/base_store.h:24: warning: 'class BASE_STORE' has virtual functions but non-virtual destructor g++ -c admins.cpp -g3 -Wall -I ../../include -DLINUX ../../include/base_store.h:24: warning: 'class BASE_STORE' has virtual functions but non-virtual destructor g++ -c main.cpp -g3 -Wall -I ../../include -DLINUX ../../include/base_store.h:24: warning: 'class BASE_STORE' has virtual functions but non-virtual destructor ../../include/base_plugin.h:30: warning: 'class BASE_PLUGIN' has virtual functions but non-virtual destructor ../../include/notifer.h: In instantiation of 'PROPERTY_NOTIFIER_BASE<int>': user.h:80: instantiated from here ../../include/notifer.h:12: warning: 'class PROPERTY_NOTIFIER_BASE<int>' has virtual functions but non-virtual destructor user.h:81: warning: 'class CHG_PASSIVE_NOTIFIER' has virtual functions but non-virtual destructor ../../include/notifer.h: In instantiation of 'PROPERTY_NOTIFIER_BASE<std::string>': user.h:90: instantiated from here ../../include/notifer.h:12: warning: 'class PROPERTY_NOTIFIER_BASE<std::string>' has virtual functions but non-virtual destructor user.h:91: warning: 'class CHG_TARIFF_NOTIFIER' has virtual functions but non-virtual destructor ../../include/notifer.h: In instantiation of 'PROPERTY_NOTIFIER_BASE<double>': user.h:100: instantiated from here ../../include/notifer.h:12: warning: 'class PROPERTY_NOTIFIER_BASE<double>' has virtual functions but non-virtual destructor user.h:101: warning: 'class CHG_CASH_NOTIFIER' has virtual functions but non-virtual destructor ../../include/notifer.h: In instantiation of 'PROPERTY_NOTIFIER_BASE<uint32_t>': users.h:69: instantiated from here ../../include/notifer.h:12: warning: 'class PROPERTY_NOTIFIER_BASE<uint32_t>' has virtual functions but non-virtual destructor users.h:70: warning: 'class PROPERTY_NOTIFER_IP_BEFORE' has virtual functions but non-virtual destructor users.h:81: warning: 'class PROPERTY_NOTIFER_IP_AFTER' has virtual functions but non-virtual destructor traffcounter.h:105: warning: 'class TRF_IP_BEFORE' has virtual functions but non-virtual destructor traffcounter.h:118: warning: 'class TRF_IP_AFTER' has virtual functions but non-virtual destructor ../../include/notifer.h: In instantiation of 'NOTIFIER_BASE<user_iter>': traffcounter.h:129: instantiated from here ../../include/notifer.h:19: warning: 'class NOTIFIER_BASE<user_iter>' has virtual functions but non-virtual destructor g++ -c curr_ip.cpp -g3 -Wall -I ../../include -DLINUX g++ -c settings.cpp -g3 -Wall -I ../../include -DLINUX g++ -c stg_timer.cpp -g3 -Wall -I ../../include -DLINUX g++ -c tariff2.cpp -g3 -Wall -I ../../include -DLINUX ../../include/base_store.h:24: warning: 'class BASE_STORE' has virtual functions but non-virtual destructor ../../include/base_plugin.h:30: warning: 'class BASE_PLUGIN' has virtual functions but non-virtual destructor ../../include/notifer.h: In instantiation of 'PROPERTY_NOTIFIER_BASE<int>': user.h:80: instantiated from here ../../include/notifer.h:12: warning: 'class PROPERTY_NOTIFIER_BASE<int>' has virtual functions but non-virtual destructor user.h:81: warning: 'class CHG_PASSIVE_NOTIFIER' has virtual functions but non-virtual destructor ../../include/notifer.h: In instantiation of 'PROPERTY_NOTIFIER_BASE<std::string>': user.h:90: instantiated from here ../../include/notifer.h:12: warning: 'class PROPERTY_NOTIFIER_BASE<std::string>' has virtual functions but non-virtual destructor user.h:91: warning: 'class CHG_TARIFF_NOTIFIER' has virtual functions but non-virtual destructor ../../include/notifer.h: In instantiation of 'PROPERTY_NOTIFIER_BASE<double>': user.h:100: instantiated from here ../../include/notifer.h:12: warning: 'class PROPERTY_NOTIFIER_BASE<double>' has virtual functions but non-virtual destructor user.h:101: warning: 'class CHG_CASH_NOTIFIER' has virtual functions but non-virtual destructor ../../include/notifer.h: In instantiation of 'PROPERTY_NOTIFIER_BASE<uint32_t>': users.h:69: instantiated from here ../../include/notifer.h:12: warning: 'class PROPERTY_NOTIFIER_BASE<uint32_t>' has virtual functions but non-virtual destructor users.h:70: warning: 'class PROPERTY_NOTIFER_IP_BEFORE' has virtual functions but non-virtual destructor users.h:81: warning: 'class PROPERTY_NOTIFER_IP_AFTER' has virtual functions but non-virtual destructor g++ -c traffcounter.cpp -g3 -Wall -I ../../include -DLINUX ../../include/base_store.h:24: warning: 'class BASE_STORE' has virtual functions but non-virtual destructor ../../include/base_plugin.h:30: warning: 'class BASE_PLUGIN' has virtual functions but non-virtual destructor ../../include/notifer.h: In instantiation of 'PROPERTY_NOTIFIER_BASE<int>': user.h:80: instantiated from here ../../include/notifer.h:12: warning: 'class PROPERTY_NOTIFIER_BASE<int>' has virtual functions but non-virtual destructor user.h:81: warning: 'class CHG_PASSIVE_NOTIFIER' has virtual functions but non-virtual destructor ../../include/notifer.h: In instantiation of 'PROPERTY_NOTIFIER_BASE<std::string>': user.h:90: instantiated from here ../../include/notifer.h:12: warning: 'class PROPERTY_NOTIFIER_BASE<std::string>' has virtual functions but non-virtual destructor user.h:91: warning: 'class CHG_TARIFF_NOTIFIER' has virtual functions but non-virtual destructor ../../include/notifer.h: In instantiation of 'PROPERTY_NOTIFIER_BASE<double>': user.h:100: instantiated from here ../../include/notifer.h:12: warning: 'class PROPERTY_NOTIFIER_BASE<double>' has virtual functions but non-virtual destructor user.h:101: warning: 'class CHG_CASH_NOTIFIER' has virtual functions but non-virtual destructor ../../include/notifer.h: In instantiation of 'PROPERTY_NOTIFIER_BASE<uint32_t>': users.h:69: instantiated from here ../../include/notifer.h:12: warning: 'class PROPERTY_NOTIFIER_BASE<uint32_t>' has virtual functions but non-virtual destructor users.h:70: warning: 'class PROPERTY_NOTIFER_IP_BEFORE' has virtual functions but non-virtual destructor users.h:81: warning: 'class PROPERTY_NOTIFER_IP_AFTER' has virtual functions but non-virtual destructor traffcounter.h:105: warning: 'class TRF_IP_BEFORE' has virtual functions but non-virtual destructor traffcounter.h:118: warning: 'class TRF_IP_AFTER' has virtual functions but non-virtual destructor ../../include/notifer.h: In instantiation of 'NOTIFIER_BASE<user_iter>': traffcounter.h:129: instantiated from here ../../include/notifer.h:19: warning: 'class NOTIFIER_BASE<user_iter>' has virtual functions but non-virtual destructor g++ -c user.cpp -g3 -Wall -I ../../include -DLINUX ../../include/base_store.h:24: warning: 'class BASE_STORE' has virtual functions but non-virtual destructor ../../include/base_plugin.h:30: warning: 'class BASE_PLUGIN' has virtual functions but non-virtual destructor ../../include/notifer.h: In instantiation of 'PROPERTY_NOTIFIER_BASE<int>': user.h:80: instantiated from here ../../include/notifer.h:12: warning: 'class PROPERTY_NOTIFIER_BASE<int>' has virtual functions but non-virtual destructor user.h:81: warning: 'class CHG_PASSIVE_NOTIFIER' has virtual functions but non-virtual destructor ../../include/notifer.h: In instantiation of 'PROPERTY_NOTIFIER_BASE<std::string>': user.h:90: instantiated from here ../../include/notifer.h:12: warning: 'class PROPERTY_NOTIFIER_BASE<std::string>' has virtual functions but non-virtual destructor user.h:91: warning: 'class CHG_TARIFF_NOTIFIER' has virtual functions but non-virtual destructor ../../include/notifer.h: In instantiation of 'PROPERTY_NOTIFIER_BASE<double>': user.h:100: instantiated from here ../../include/notifer.h:12: warning: 'class PROPERTY_NOTIFIER_BASE<double>' has virtual functions but non-virtual destructor user.h:101: warning: 'class CHG_CASH_NOTIFIER' has virtual functions but non-virtual destructor ../../include/notifer.h: In instantiation of 'PROPERTY_NOTIFIER_BASE<uint32_t>': users.h:69: instantiated from here ../../include/notifer.h:12: warning: 'class PROPERTY_NOTIFIER_BASE<uint32_t>' has virtual functions but non-virtual destructor users.h:70: warning: 'class PROPERTY_NOTIFER_IP_BEFORE' has virtual functions but non-virtual destructor users.h:81: warning: 'class PROPERTY_NOTIFER_IP_AFTER' has virtual functions but non-virtual destructor user.cpp: In member function 'void USER::Run()': user.cpp:646: error: no match for 'operator=' in '((USER*)this)->USER::lastActivityTime = stgTime' user_property.h:39: note: candidates are: USER_PROPERTY<varT>& USER_PROPERTY<varT>::operator=(const varT&) [with varT = time_t] user_property.h:36: note: USER_PROPERTY<time_t>& USER_PROPERTY<time_t>::operator=(const USER_PROPERTY<time_t>&) user.cpp: In member function 'virtual void CHG_CASH_NOTIFIER::Notify(const double&, const double&)': user.cpp:1116: error: no match for 'operator=' in '((CHG_CASH_NOTIFIER*)this)->CHG_CASH_NOTIFIER::user->USER::lastCashAddTime = stgTime' user_property.h:39: note: candidates are: USER_PROPERTY<varT>& USER_PROPERTY<varT>::operator=(const varT&) [with varT = time_t] user_property.h:36: note: USER_PROPERTY<time_t>& USER_PROPERTY<time_t>::operator=(const USER_PROPERTY<time_t>&) ../../include/notifer.h: At global scope: ../../include/notifer.h: In instantiation of 'PROPERTY_NOTIFIER_BASE<USER_IPS>': user_property.h:196: instantiated from 'USER_PROPERTY<varT>& USER_PROPERTY<varT>::operator=(const varT&) [with varT = USER_IPS]' user.cpp:119: instantiated from here ../../include/notifer.h:12: warning: 'class PROPERTY_NOTIFIER_BASE<USER_IPS>' has virtual functions but non-virtual destructor ../../include/notifer.h: In instantiation of 'PROPERTY_NOTIFIER_BASE<DIR_TRAFF>': user_property.h:196: instantiated from 'USER_PROPERTY<varT>& USER_PROPERTY<varT>::operator=(const varT&) [with varT = DIR_TRAFF]' user.cpp:188: instantiated from here ../../include/notifer.h:12: warning: 'class PROPERTY_NOTIFIER_BASE<DIR_TRAFF>' has virtual functions but non-virtual destructor ../../include/notifer.h: In instantiation of 'PROPERTY_NOTIFIER_BASE<time_t>': user_property.h:196: instantiated from 'USER_PROPERTY<varT>& USER_PROPERTY<varT>::operator=(const varT&) [with varT = time_t]' user.cpp:191: instantiated from here ../../include/notifer.h:12: warning: 'class PROPERTY_NOTIFIER_BASE<time_t>' has virtual functions but non-virtual destructor gmake: *** [user.o] Ошибка 1 [root@as stargazer]# ./install install: невозможно выполнить stat для `./stargazer': No such file or directory ################################################################################ # Installed # # /usr/sbin/stargazer - daemon # # /usr/lib/stg/ - stg modules # # /usr/etc/stargazer/ - settings # # /var/stargazer/ - DB # ################################################################################ [root@as stargazer]# Обратите внимание в конце установки сервера появляется ошибка - что это за ошибка? Ссылка на сообщение Поделиться на других сайтах
matchuck 0 Опубліковано: 2006-04-03 07:18:59 Автор Share Опубліковано: 2006-04-03 07:18:59 Ещё есть одна вещь - фаил /sbin/stargazer имеет размер 0 байт. И при запуске Старгазера выводится сообщение о том что в доступе отказано. вот сообщение: [root@as stargazer]# /sbin/stargazer bash: /sbin/stargazer: Permission denied [root@as stargazer]# Ссылка на сообщение Поделиться на других сайтах
snake9 0 Опубліковано: 2006-04-03 07:29:32 Share Опубліковано: 2006-04-03 07:29:32 Stargazer не собирается под GCC 4.0 которым укомплектована Mandriva 2006. У самого такая же проблема. Ссылка на сообщение Поделиться на других сайтах
matchuck 0 Опубліковано: 2006-04-03 08:01:24 Автор Share Опубліковано: 2006-04-03 08:01:24 Stargazer не собирается под GCC 4.0 которым укомплектована Mandriva 2006. У самого такая же проблема. Вы решили эту проблему? Если да то как? Если нет - то есть ли какие-нить соображения по этому вопросу? Ссылка на сообщение Поделиться на других сайтах
snake9 0 Опубліковано: 2006-04-03 08:05:19 Share Опубліковано: 2006-04-03 08:05:19 Проблемы не решил. Жду патча от разработчика. На форуме создавал аналогичную тему. http://local.com.ua/forum/index.php?showtopic=4127 Ссылка на сообщение Поделиться на других сайтах
matchuck 0 Опубліковано: 2006-04-03 08:09:56 Автор Share Опубліковано: 2006-04-03 08:09:56 Благодарю за информацию! А автору надо бы разобраться с этой проблемой.... с Уважением, Матвейчук Владимир Ссылка на сообщение Поделиться на других сайтах
XoRe 0 Опубліковано: 2006-04-03 11:16:17 Share Опубліковано: 2006-04-03 11:16:17 2matchuck: если перечитаешь сообщение egor2fsys ещё раз, то вкуришь, что он говорит, что надо ставить в /usr А то прочитал его сообщения и пишешь "Установил expat в дерикторию /usr/local но всё равно результат однин и тот же..." snake9: А под GCC 4.0 stg 2.4 вроде вообще не собирается ) Ссылка на сообщение Поделиться на других сайтах
egor2fsys 5 Опубліковано: 2006-04-03 11:40:47 Share Опубліковано: 2006-04-03 11:40:47 под gcc 4 собирается, но не под семи билдами ГСС вот и думай чей глюк, СТГ или ГСС Ссылка на сообщение Поделиться на других сайтах
XoRe 0 Опубліковано: 2006-04-03 20:34:17 Share Опубліковано: 2006-04-03 20:34:17 2egor2fsys: советую перечислить билды, под которыми собирается. А то как венгерские саперы, перебирать все билды....) Ссылка на сообщение Поделиться на других сайтах
Рекомендованные сообщения
Создайте аккаунт или войдите в него для комментирования
Вы должны быть пользователем, чтобы оставить комментарий
Создать аккаунт
Зарегистрируйтесь для получения аккаунта. Это просто!
Зарегистрировать аккаунтВхід
Уже зарегистрированы? Войдите здесь.
Войти сейчас