Jump to content

Проблема с "make Install"


Recommended Posts

Всем привет! Устанавливал на FreeBSD stg, дошел до того момента, когда нужно говорить "make install", и вот что мне в ответ выдаёт:

 

Super-foX# make install
"Makefile", line 29: Missing dependency operator
"Makefile", line 33: Need an operator
"Makefile", line 35: Missing dependency operator
"Makefile", line 39: Need an operator
"Makefile", line 41: Missing dependency operator
"Makefile", line 45: Need an operator
"Makefile", line 55: Need an operator
Error expanding embedded variable.

 

Немогу понять в чём дело!

Link to post
Share on other sites

Есть GNU make - используется практически во всех дистрибутивах Linux (по крайней мере я не знаю исключений). У FreeBSD несколько специфичный make.

В Linux make - GNU make, и, часто, есть алиас: gmake.

В FreeBSD make - свой make. GNU make - gmake.

Такие пироги...

Link to post
Share on other sites

Ну смысл понял! А вот теперь немогу разобратся, вроде установил всё, но ничего не заработало! Первое что я заметил, дак ето то что у меня в /sbin/ не появился stargazer, я вот думаю может из-за того что когда я делал ./build то я в етом файле изменил в строке номер 140 ето

SHELL="/usr/local/bin/bash"

на

SHELL="/usr/compat/linux/bin/bash"

? Изменил из-за того что выдавало ошибку, а я через поисковик нашел етот файл в другом месте и соответственно изменил путь!

Link to post
Share on other sites

bash нужен для другого.

Раз в /usr/sbin не появился stargazer - значит установка не получилась. Кинь лог работы gmake install

Link to post
Share on other sites

Надеюсь ето оно:

 

OS=bsd5
STG_TIME=yes
DIR_BUILD=/usr/home/superfox/stg-2.404.9.7/projects/stargazer
DIR_LIB=$(DIR_BUILD)/../../lib
DIR_LIBSRC=$(DIR_BUILD)/../../stglibs
DIR_INCLUDE=$(DIR_BUILD)/../../include
DIR_MOD=$(DIR_BUILD)/modules
DIR_PLUGINS=$(DIR_BUILD)/plugins
CHECK_EXPAT=yes
CHECK_FBCLIENT=no
CHECK_MYSQLCLIENT=no
DEFS= -DFREE_BSD5
STG_LIBS=stg_logger.lib stg_locker.lib crypto.lib common.lib script_executer.lib conffiles.lib
PLUGINS=authorization/ao authorization/inetaccess configuration/sgconfig other/ping other/rscr
SHELL=/usr/compat/linux/bin/bash
CFLAGS= -O2 -I/usr/local/include
LDFLAGS= -L/usr/local/lib
PREFIX=
BIN_MODE=0755
DATA_MODE=0644
OWNER=root
VAR_DIR=./inst/var/stargazer
ETC_DIR=./inst/freebsd/etc/stargazer
DB_ADDRESS=localhost:/var/stargazer/stargazer.fdb
DB_USER=stg
DB_PASSWORD=123456
FIREBIRD_ISQL=/opt/firebird/bin/isql
FIREBIRD_GROUP=firebird

Link to post
Share on other sites

Нет, содержимое Makefile.conf я не просил.

Мне нужно то, что gmake install выводит в процессе работы в консоль.

Link to post
Share on other sites
Super-foX# gmake install
Makefile:136: deps: No such file or directory
gmake -C /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../stglibs includes
gmake[1]: Entering directory `/usr/home/superfox/stg-2.404.9.7/stglibs'
gmake includes -C stg_logger.lib
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/stglibs/stg_logger.lib'
cp stg_logger.h /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../include
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/stglibs/stg_logger.lib'
gmake includes -C stg_locker.lib
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/stglibs/stg_locker.lib'
cp stg_locker.h /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../include
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/stglibs/stg_locker.lib'
gmake includes -C crypto.lib
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/stglibs/crypto.lib'
cp ag_md5.h blowfish.h /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../include
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/stglibs/crypto.lib'
gmake includes -C common.lib
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/stglibs/common.lib'
cp debug.h stg_error.h common.h /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../include
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/stglibs/common.lib'
gmake includes -C script_executer.lib
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/stglibs/script_executer.lib'
cp script_executer.h /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../include
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/stglibs/script_executer.lib'
gmake includes -C conffiles.lib
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/stglibs/conffiles.lib'
cp conffiles.h /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../include
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/stglibs/conffiles.lib'
gmake includes -C hostallow.lib
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/stglibs/hostallow.lib'
cp hostallow.h /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../include
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/stglibs/hostallow.lib'
gmake includes -C pinger.lib
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/stglibs/pinger.lib'
cp pinger.h /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../include
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/stglibs/pinger.lib'
gmake includes -C dotconfpp.lib
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/stglibs/dotconfpp.lib'
cp dotconfpp.h mempool.h /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../include
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/stglibs/dotconfpp.lib'
gmake[1]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/stglibs'
mkdir -m 0755 -p /usr/sbin
install -m 0755 -o root -s stargazer /usr/sbin/stargazer
strip: '/usr/sbin/stargazer': No such file
gmake -C /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../stglibs install
gmake[1]: Entering directory `/usr/home/superfox/stg-2.404.9.7/stglibs'
gmake install -C stg_logger.lib
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/stglibs/stg_logger.lib'
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/stglibs/stg_logger.lib'
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/stglibs/stg_logger.lib'
mkdir -m 0755 -p /usr/lib/stg
install -m 0755 -o root -s libstg_logger.so /usr/lib/stg/libstg_logger.so
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/stglibs/stg_logger.lib'
gmake install -C stg_locker.lib
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/stglibs/stg_locker.lib'
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/stglibs/stg_locker.lib'
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/stglibs/stg_locker.lib'
mkdir -m 0755 -p /usr/lib/stg
install -m 0755 -o root -s libstg_locker.so /usr/lib/stg/libstg_locker.so
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/stglibs/stg_locker.lib'
gmake install -C crypto.lib
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/stglibs/crypto.lib'
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/stglibs/crypto.lib'
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/stglibs/crypto.lib'
mkdir -m 0755 -p /usr/lib/stg
install -m 0755 -o root -s libstg_crypto.so /usr/lib/stg/libstg_crypto.so
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/stglibs/crypto.lib'
gmake install -C common.lib
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/stglibs/common.lib'
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/stglibs/common.lib'
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/stglibs/common.lib'
g++ -O2 -I/usr/local/include -Wall -fPIC -I /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../include -I ./ -DFREE_BSD5 -DSTG_TIME -c common.cpp
g++ -L/usr/local/lib -shared -Wl,-rpath,/usr/lib/stg -Wl,-soname,libstg_common.so debug.o stg_error.o common.o stg_strptime.o -lstg_crypto -o libstg_common.so -L /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../lib
ar rc libstg_common.a debug.o stg_error.o common.o stg_strptime.o
ranlib libstg_common.a
cp *.so /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../lib
cp *.a /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../lib
mkdir -m 0755 -p /usr/lib/stg
install -m 0755 -o root -s libstg_common.so /usr/lib/stg/libstg_common.so
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/stglibs/common.lib'
gmake install -C script_executer.lib
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/stglibs/script_executer.lib'
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/stglibs/script_executer.lib'
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/stglibs/script_executer.lib'
g++ -O2 -I/usr/local/include -Wall -fPIC -I /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../include -I ./ -DFREE_BSD5 -DSTG_TIME -c script_executer.cpp
g++ -L/usr/local/lib -shared -Wl,-rpath,/usr/lib/stg -Wl,-soname,libscript_executer.so script_executer.o  -o libscript_executer.so -L /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../lib
ar rc libscript_executer.a script_executer.o
ranlib libscript_executer.a
cp *.so /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../lib
cp *.a /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../lib
mkdir -m 0755 -p /usr/lib/stg
install -m 0755 -o root -s libscript_executer.so /usr/lib/stg/libscript_executer.so
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/stglibs/script_executer.lib'
gmake install -C conffiles.lib
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/stglibs/conffiles.lib'
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/stglibs/conffiles.lib'
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/stglibs/conffiles.lib'
g++ -O2 -I/usr/local/include -Wall -fPIC -I /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../include -I ./ -DFREE_BSD5 -DSTG_TIME -c conffiles.cpp
g++ -L/usr/local/lib -shared -Wl,-rpath,/usr/lib/stg -Wl,-soname,libconffiles.so conffiles.o  -o libconffiles.so -L /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../lib
ar rc libconffiles.a conffiles.o
ranlib libconffiles.a
cp *.so /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../lib
cp *.a /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../lib
mkdir -m 0755 -p /usr/lib/stg
install -m 0755 -o root -s libconffiles.so /usr/lib/stg/libconffiles.so
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/stglibs/conffiles.lib'
gmake install -C hostallow.lib
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/stglibs/hostallow.lib'
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/stglibs/hostallow.lib'
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/stglibs/hostallow.lib'
mkdir -m 0755 -p /usr/lib/stg
install -m 0755 -o root -s libhostallow.so /usr/lib/stg/libhostallow.so
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/stglibs/hostallow.lib'
gmake install -C pinger.lib
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/stglibs/pinger.lib'
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/stglibs/pinger.lib'
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/stglibs/pinger.lib'
g++ -O2 -I/usr/local/include -Wall -fPIC -I /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../include -I ./ -DFREE_BSD5 -DSTG_TIME -c pinger.cpp
g++ -L/usr/local/lib -shared -Wl,-rpath,/usr/lib/stg -Wl,-soname,libstg_pinger.so pinger.o  -o libstg_pinger.so -L /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../lib
ar rc libstg_pinger.a pinger.o
ranlib libstg_pinger.a
cp *.so /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../lib
cp *.a /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../lib
mkdir -m 0755 -p /usr/lib/stg
install -m 0755 -o root -s libstg_pinger.so /usr/lib/stg/libstg_pinger.so
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/stglibs/pinger.lib'
gmake install -C dotconfpp.lib
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/stglibs/dotconfpp.lib'
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/stglibs/dotconfpp.lib'
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/stglibs/dotconfpp.lib'
mkdir -m 0755 -p /usr/lib/stg
install -m 0755 -o root -s libdotconfpp.so /usr/lib/stg/libdotconfpp.so
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/stglibs/dotconfpp.lib'
gmake[1]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/stglibs'
gmake -C /usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins install
gmake[1]: Entering directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins'
gmake install -C authorization/ao
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/authorization/ao'
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/authorization/ao'
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/authorization/ao'
mkdir -m 0755 -p /usr/lib/stg
install -m 0755 -o root -s mod_auth_ao.so /usr/lib/stg/mod_auth_ao.so
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/authorization/ao'
gmake install -C authorization/inetaccess
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/authorization/inetaccess'
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/authorization/inetaccess'
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/authorization/inetaccess'
mkdir -m 0755 -p /usr/lib/stg
install -m 0755 -o root -s mod_auth_ia.so /usr/lib/stg/mod_auth_ia.so
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/authorization/inetaccess'
gmake install -C configuration/sgconfig
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/configuration/sgconfig'
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/configuration/sgconfig'
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/configuration/sgconfig'
mkdir -m 0755 -p /usr/lib/stg
install -m 0755 -o root -s mod_conf_sg.so /usr/lib/stg/mod_conf_sg.so
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/configuration/sgconfig'
gmake install -C other/ping
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/other/ping'
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/other/ping'
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/other/ping'
mkdir -m 0755 -p /usr/lib/stg
install -m 0755 -o root -s mod_ping.so /usr/lib/stg/mod_ping.so
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/other/ping'
gmake install -C other/rscript
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/other/rscript'
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/other/rscript'
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/other/rscript'
mkdir -m 0755 -p /usr/lib/stg
install -m 0755 -o root -s mod_remote_script.so /usr/lib/stg/mod_remote_script.so
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/other/rscript'
gmake install -C store/files
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/store/files'
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/store/files'
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/store/files'
mkdir -m 0755 -p /usr/lib/stg
install -m 0755 -o root -s mod_store_files.so /usr/lib/stg/mod_store_files.so
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/store/files'
gmake install -C capture/ether_freebsd
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/capture/ether_freebsd'
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/capture/ether_freebsd'
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/capture/ether_freebsd'
mkdir -m 0755 -p /usr/lib/stg
install -m 0755 -o root -s mod_cap_bpf.so /usr/lib/stg/mod_cap_bpf.so
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/capture/ether_freebsd'
gmake install -C capture/divert_freebsd
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/capture/divert_freebsd'
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/capture/divert_freebsd'
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/capture/divert_freebsd'
mkdir -m 0755 -p /usr/lib/stg
install -m 0755 -o root -s mod_cap_divert.so /usr/lib/stg/mod_cap_divert.so
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/capture/divert_freebsd'
gmake[1]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins'
# Install etc
mkdir -m 0644 -p /etc/stargazer
install -m 0644 -o root ./inst/freebsd/etc/stargazer/stargazer.conf /etc/stargazer/stargazer.conf
install -m 0644 -o root ./inst/freebsd/etc/stargazer/rules /etc/stargazer/rules
install -m 0755 -o root ./inst/freebsd/etc/stargazer/On* /etc/stargazer/
# Install file db
mkdir -m 0644 -p /var/stargazer/admins
mkdir -m 0644 -p /var/stargazer/tariffs
mkdir -m 0644 -p /var/stargazer/users/test
install -m 0644 -o root ./inst/var/stargazer/admins/admin.adm /var/stargazer/admins/admin.adm
install -m 0644 -o root ./inst/var/stargazer/tariffs/tariff.tf /var/stargazer/tariffs/tariff.tf
install -m 0644 -o root ./inst/var/stargazer/users/test/conf /var/stargazer/users/test/conf
install -m 0644 -o root ./inst/var/stargazer/users/test/stat /var/stargazer/users/test/stat

Link to post
Share on other sites

Нет.

Похоже, build отработал неправильно.

Попробуй gmake clean, а потом ./build

и приведи последние 20-30 строчек того, что скажет build

Link to post
Share on other sites

gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/other/rscript'
../../Makefile.in:35: deps: No such file or directory
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/other/rscript'
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/other/rscript'
g++ -c rscript.cpp -O2 -I/usr/local/include -Wall -fPIC -I /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../include -DFREE_BSD5
g++ rscript.o /usr/lib/libc_r.so /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../lib/libstg_common.so -L/usr/local/lib -shared -L/usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../lib -Wl,-rpath,/usr/lib/stg -lc_r -lstg_common -o mod_remote_script.so
ln -fs "`pwd`/mod_remote_script.so" /usr/home/superfox/stg-2.404.9.7/projects/stargazer/modules/mod_remote_script.so
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/other/rscript'
gmake  -C store/files
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/store/files'
../../Makefile.in:35: deps: No such file or directory
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/store/files'
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/store/files'
g++ -c file_store.cpp -O2 -I/usr/local/include -Wall -fPIC -I /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../include -DFREE_BSD5
g++ file_store.o /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../lib/libconffiles.so /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../lib/libstg_common.so -L/usr/local/lib -shared -L/usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../lib -Wl,-rpath,/usr/lib/stg -lconffiles -lstg_common -o mod_store_files.so
ln -fs "`pwd`/mod_store_files.so" /usr/home/superfox/stg-2.404.9.7/projects/stargazer/modules/mod_store_files.so
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/store/files'
gmake  -C capture/ether_freebsd
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/capture/ether_freebsd'
../../Makefile.in:35: deps: No such file or directory
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/capture/ether_freebsd'
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/capture/ether_freebsd'
g++ -c ether_cap.cpp -O2 -I/usr/local/include -Wall -fPIC -I /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../include -DFREE_BSD5
g++ ether_cap.o /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../lib/libstg_common.so -L/usr/local/lib -shared -L/usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../lib -Wl,-rpath,/usr/lib/stg -lstg_common -o mod_cap_bpf.so
ln -fs "`pwd`/mod_cap_bpf.so" /usr/home/superfox/stg-2.404.9.7/projects/stargazer/modules/mod_cap_bpf.so
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/capture/ether_freebsd'
gmake  -C capture/divert_freebsd
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/capture/divert_freebsd'
../../Makefile.in:35: deps: No such file or directory
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/capture/divert_freebsd'
gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/capture/divert_freebsd'
g++ -c divert_cap.cpp -O2 -I/usr/local/include -Wall -fPIC -I /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../include -DFREE_BSD5
g++ divert_cap.o /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../lib/libstg_common.so -L/usr/local/lib -shared -L/usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../lib -Wl,-rpath,/usr/lib/stg -lstg_common -o mod_cap_divert.so
ln -fs "`pwd`/mod_cap_divert.so" /usr/home/superfox/stg-2.404.9.7/projects/stargazer/modules/mod_cap_divert.so
gmake[2]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/capture/divert_freebsd'
gmake[1]: Leaving directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins'
g++ -c admin.cpp -O2 -I/usr/local/include -Wall -I /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../include -DFREE_BSD5
g++ -c admins.cpp -O2 -I/usr/local/include -Wall -I /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../include -DFREE_BSD5
g++ -c main.cpp -O2 -I/usr/local/include -Wall -I /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../include -DFREE_BSD5
g++ -c curr_ip.cpp -O2 -I/usr/local/include -Wall -I /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../include -DFREE_BSD5
g++ -c settings.cpp -O2 -I/usr/local/include -Wall -I /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../include -DFREE_BSD5
g++ -c stg_timer.cpp -O2 -I/usr/local/include -Wall -I /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../include -DFREE_BSD5
g++ -c tariff.cpp -O2 -I/usr/local/include -Wall -I /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../include -DFREE_BSD5
g++ -c tariffs.cpp -O2 -I/usr/local/include -Wall -I /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../include -DFREE_BSD5
g++ -c traffcounter.cpp -O2 -I/usr/local/include -Wall -I /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../include -DFREE_BSD5
traffcounter.cpp: In member function `int TRAFFCOUNTER::ParseAddress(const char*, RULE*)':
traffcounter.cpp:862: warning: 'n' might be used uninitialized in this function
g++ -c user.cpp -O2 -I/usr/local/include -Wall -I /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../include -DFREE_BSD5
user.cpp:1344:11: warning: #warning "TODO: gcc v. 4.x generate ICE on x86_64"
user.cpp:1432:23: warning: #warning "TODO: gcc v. 4.x generate ICE on x86_64"
g++ -c user_property.cpp -O2 -I/usr/local/include -Wall -I /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../include -DFREE_BSD5
g++ -c users.cpp -O2 -I/usr/local/include -Wall -I /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../include -DFREE_BSD5
g++ -c plugin_runner.cpp -O2 -I/usr/local/include -Wall -I /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../include -DFREE_BSD5
g++ admin.o admins.o main.o curr_ip.o settings.o stg_timer.o tariff.o tariffs.o traffcounter.o user.o user_property.o users.o plugin_runner.o /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../lib/libstg_logger.so /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../lib/libstg_locker.so /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../lib/libstg_common.so /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../lib/libscript_executer.so /usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../lib/libdotconfpp.so /usr/lib/libexpat.so /usr/lib/libc_r.so /usr/lib/libc.so -O2 -I/usr/local/include -Wall -L/usr/local/lib -Wl,-E -L/usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../lib -Wl,-rpath,/usr/lib/stg -Wl,-rpath-link,/usr/home/superfox/stg-2.404.9.7/projects/stargazer/../../lib  -o stargazer

 

Причём что я заметил вот таких ошибок

gmake[2]: Entering directory `/usr/home/superfox/stg-2.404.9.7/projects/stargazer/plugins/other/rscript'
../../Makefile.in:35: deps: No such file or directory

было немало, хотя я в ети директории могу зайти вручную и в них лежат файлики, млжет просто права доступа коряво стоят?

Link to post
Share on other sites

deps: No such file or directory

- это нормальная работа скрипта build. Все в порядке, stargazer собрался успешно.

Теперь он не менее успешно должен проинсталлиться по gmake install. Если опять не получится - тогда я даже и не знаю. Раскидай вручную: stargazer в /usr/sbin, содержимое lib и modules - в /usr/lib/stg. Из каталога inst etc - в /etc, var/stargazer - в /var/stargazer.

Link to post
Share on other sites

Ну вроде всё по местам! Запускаю:

 

Super-foX# /usr/sbin/stargazer
Super-foX# ps -x | grep stargazer
13254  p2  R+     0:00.00 grep stargazer

 

Чегото незапустился! Хотя всё чесно по местам стало!

Link to post
Share on other sites

Раскидай вручную: stargazer в /usr/sbin

 

Я немного непонял, ты имеешь в виду целую папку stargazer/ запихнуть туда? Потому что у меня там лежит только один файлик stargazer.

Link to post
Share on other sites

Раскидай вручную: stargazer в /usr/sbin

 

Я немного непонял, ты имеешь в виду целую папку stargazer/ запихнуть туда? Потому что у меня там лежит только один файлик stargazer.

 

Все правильно - только бинарный файл. А незапускается если что-то - нужно пробовать смотреть его логи. Старгайзер пишет в лог ругань, если что-то его не устраивает. У меня лог - это /var/log/stargazer.log вроде

Link to post
Share on other sites

А вот собственно говоря ругань:

 

2008-03-19 19:36:42 -- Stg v. Stg 2.404
2008-03-19 19:36:42 -- Message queue created successfully. msgKey=5555 msgID=65
2008-03-19 19:36:42 -- Timer thread started successfully.
2008-03-19 19:36:42 -- Storage plugin: file_store v.1.02. Loading successfull.
2008-03-19 19:36:43 -- Users started successfully.
2008-03-19 19:36:43 -- Traffcounter started successfully.
2008-03-19 19:36:43 -- Error: rl1 BIOCSETIF Device not configured
2008-03-19 19:36:43 -- +++++++++++++++++++++++++++++++++++++++++++++
2008-03-19 19:36:43 -- Module: 'Stg configurator v.0.07'. Stop successfull.
2008-03-19 19:36:43 -- Module: 'Pinger v.1.01'. Stop successfull.
2008-03-19 19:36:43 -- Module: 'Always Online authorizator v.1.0'. Stop success
2008-03-19 19:36:43 -- Module: 'InetAccess authorizator v.1.2'. Stop successful
2008-03-19 19:36:43 -- Module: 'bpf_cap v.1.0'. Stop successfull.
2008-03-19 19:36:43 -- Traffcounter: Stop successfull.
2008-03-19 19:36:43 -- Users: Stop successfull.
2008-03-19 19:36:44 -- Queue removed successfully.
2008-03-19 19:36:44 -- StgTimer: Stop successfull.
2008-03-19 19:36:44 -- Stg stopped successfully.
2008-03-19 19:36:44 -- ---------------------------------------------

 

Помогите розобратся!

Link to post
Share on other sites

Всё, запустил! Всем спасибо! Проблема была в несуществующем интерфейсе "rl1". Поправил, всё работает! Всем большое спасибо!

Link to post
Share on other sites
  • 2 weeks later...
Всё, запустил! Всем спасибо! Проблема была в несуществующем интерфейсе "rl1". Поправил, всё работает! Всем большое спасибо!

Логи - твои первейшие друзья в мире unix-систем :tongue:

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...