Jump to content

проблемы со сборкой


Recommended Posts

freebsd 6.0

stg-2.405.9.8

 

при сборке ругается:

 

#############################################################################

Building STG 2.4 for FreeBSD 6

#############################################################################

Checking for -lexpat... yes

Checking for -lfbclient... no

Checking for -lmysqlclient... no

Makefile:136: deps: No such file or directory

gmake -C /usr/home/asphix/distr/stargazer/standart/stg-2.405.9.8/projects/stargazer/../../stglibs includes

gmake[1]: Entering directory `/usr/home/asphix/distr/stargazer/standart/stg-2.405.9.8/stglibs'

gmake includes -C stg_logger.lib

gmake[2]: Entering directory `/usr/home/asphix/distr/stargazer/standart/stg-2.405.9.8/stglibs/stg_logger.lib'

cp -p stg_logger.h /usr/home/asphix/distr/stargazer/standart/stg-2.405.9.8/projects/stargazer/../../include

gmake[2]: Leaving directory `/usr/home/asphix/distr/stargazer/standart/stg-2.405.9.8/stglibs/stg_logger.lib'

gmake includes -C stg_locker.lib

gmake[2]: Entering directory `/usr/home/asphix/distr/stargazer/standart/stg-2.405.9.8/stglibs/stg_locker.lib'

cp -p stg_locker.h /usr/home/asphix/distr/stargazer/standart/stg-2.405.9.8/projects/stargazer/../../include

gmake[2]: Leaving directory `/usr/home/asphix/distr/stargazer/standart/stg-2.405.9.8/stglibs/stg_locker.lib'

gmake includes -C crypto.lib

gmake[2]: Entering directory `/usr/home/asphix/distr/stargazer/standart/stg-2.405.9.8/stglibs/crypto.lib'

cp -p ag_md5.h blowfish.h /usr/home/asphix/distr/stargazer/standart/stg-2.405.9.8/projects/stargazer/../../include

gmake[2]: Leaving directory `/usr/home/asphix/distr/stargazer/standart/stg-2.405.9.8/stglibs/crypto.lib'

gmake includes -C common.lib

gmake[2]: Entering directory `/usr/home/asphix/distr/stargazer/standart/stg-2.405.9.8/stglibs/common.lib'

cp -p debug.h stg_error.h common.h /usr/home/asphix/distr/stargazer/standart/stg-2.405.9.8/projects/stargazer/../../include

gmake[2]: Leaving directory `/usr/home/asphix/distr/stargazer/standart/stg-2.405.9.8/stglibs/common.lib'

gmake includes -C script_executer.lib

gmake[2]: Entering directory `/usr/home/asphix/distr/stargazer/standart/stg-2.405.9.8/stglibs/script_executer.lib'

cp -p script_executer.h /usr/home/asphix/distr/stargazer/standart/stg-2.405.9.8/projects/stargazer/../../include

gmake[2]: Leaving directory `/usr/home/asphix/distr/stargazer/standart/stg-2.405.9.8/stglibs/script_executer.lib'

gmake includes -C conffiles.lib

gmake[2]: Entering directory `/usr/home/asphix/distr/stargazer/standart/stg-2.405.9.8/stglibs/conffiles.lib'

cp -p conffiles.h /usr/home/asphix/distr/stargazer/standart/stg-2.405.9.8/projects/stargazer/../../include

gmake[2]: Leaving directory `/usr/home/asphix/distr/stargazer/standart/stg-2.405.9.8/stglibs/conffiles.lib'

gmake includes -C hostallow.lib

gmake[2]: Entering directory `/usr/home/asphix/distr/stargazer/standart/stg-2.405.9.8/stglibs/hostallow.lib'

cp -p hostallow.h /usr/home/asphix/distr/stargazer/standart/stg-2.405.9.8/projects/stargazer/../../include

gmake[2]: Leaving directory `/usr/home/asphix/distr/stargazer/standart/stg-2.405.9.8/stglibs/hostallow.lib'

gmake includes -C pinger.lib

gmake[2]: Entering directory `/usr/home/asphix/distr/stargazer/standart/stg-2.405.9.8/stglibs/pinger.lib'

cp -p pinger.h /usr/home/asphix/distr/stargazer/standart/stg-2.405.9.8/projects/stargazer/../../include

gmake[2]: Leaving directory `/usr/home/asphix/distr/stargazer/standart/stg-2.405.9.8/stglibs/pinger.lib'

gmake includes -C dotconfpp.lib

gmake[2]: Entering directory `/usr/home/asphix/distr/stargazer/standart/stg-2.405.9.8/stglibs/dotconfpp.lib'

cp -p dotconfpp.h mempool.h /usr/home/asphix/distr/stargazer/standart/stg-2.405.9.8/projects/stargazer/../../include

gmake[2]: Leaving directory `/usr/home/asphix/distr/stargazer/standart/stg-2.405.9.8/stglibs/dotconfpp.lib'

gmake[1]: Leaving directory `/usr/home/asphix/distr/stargazer/standart/stg-2.405.9.8/stglibs'

Invalid null command.

gmake: *** [deps] Error 1

 

Подскажите, что не так?

Link to post
Share on other sites
тчорт, никакой универсальности :argh:

 

да, /bin/csh

 

 

Придёццо ставить башу :)

Ничего, я уже от этого избавляюсь. В следующей версии, скорее всего, этой зависимости не будет.

Link to post
Share on other sites

ну это радывает нас :)

 

билд сраборал, но при попытке сделать make install выдал:

 

root@router# 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

только теперь проблема со сборкой модуля mysql_store 0.67

 

# ./build

#############################################################################

Building STG Mysql Module 0.62 for FreeBSD 6

^^^ версия не поправлена

#############################################################################

g++ -c mysql_store.cpp -g3 -Wall -fPIC -I ../../../../../include -I /usr/local/mysql/include/mysql -DFREE_BSD5

mysql_store.cpp: In member function `virtual int MYSQL_STORE::GetMessage(uint64_t, STG_MSG*, const std::string&) const':

mysql_store.cpp:1867: error: `strtou2' undeclared (first use this function)

mysql_store.cpp:1867: error: (Each undeclared identifier is reported only once for each function it appears in.)

mysql_store.cpp:1899: error: `strtoi2' undeclared (first use this function)

mysql_store.cpp: In member function `virtual int MYSQL_STORE::GetMessageHdrs(std::vector<STG_MSG_HDR, std::allocator<STG_MSG_HDR> >*, const std::string&) const':

mysql_store.cpp:1967: error: `strtoull2' undeclared (first use this function)

mysql_store.cpp:1972: error: `strtou2' undeclared (first use this function)

mysql_store.cpp:1988: error: `strtoi2' undeclared (first use this function)

gmake: *** [mysql_store.o] Error 1

 

а с этим что делать? :)

 

З.Ы.: со старым модулем при запуске выдаёт:

2008-06-08 19:01:32 -- Storage plugin loading failed: /usr/lib/stg/mod_store_mysql.so: Undefined symbol "_Z9strtoull2PKcRy"

Link to post
Share on other sites
только теперь проблема со сборкой модуля mysql_store 0.67

 

# ./build

#############################################################################

Building STG Mysql Module 0.62 for FreeBSD 6

^^^ версия не поправлена

#############################################################################

g++ -c mysql_store.cpp -g3 -Wall -fPIC -I ../../../../../include -I /usr/local/mysql/include/mysql -DFREE_BSD5

mysql_store.cpp: In member function `virtual int MYSQL_STORE::GetMessage(uint64_t, STG_MSG*, const std::string&) const':

mysql_store.cpp:1867: error: `strtou2' undeclared (first use this function)

mysql_store.cpp:1867: error: (Each undeclared identifier is reported only once for each function it appears in.)

mysql_store.cpp:1899: error: `strtoi2' undeclared (first use this function)

mysql_store.cpp: In member function `virtual int MYSQL_STORE::GetMessageHdrs(std::vector<STG_MSG_HDR, std::allocator<STG_MSG_HDR> >*, const std::string&) const':

mysql_store.cpp:1967: error: `strtoull2' undeclared (first use this function)

mysql_store.cpp:1972: error: `strtou2' undeclared (first use this function)

mysql_store.cpp:1988: error: `strtoi2' undeclared (first use this function)

gmake: *** [mysql_store.o] Error 1

 

а с этим что делать? :)

 

З.Ы.: со старым модулем при запуске выдаёт:

2008-06-08 19:01:32 -- Storage plugin loading failed: /usr/lib/stg/mod_store_mysql.so: Undefined symbol "_Z9strtoull2PKcRy"

приведите полные версии сервера и модулей которые вы пользуете

Link to post
Share on other sites

Модуль для мускула идет в составе 405-й версии. А, судя по компиляции, используется старый сторонний.

Link to post
Share on other sites

Ты зачем мускул качал?

Где написано что мускул качать?

Нельзя мускул качать!

Надо читать документацию!

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...