serovss 0 Posted 2010-03-05 10:53:49 Share Posted 2010-03-05 10:53:49 gw# ./build bsd8 ############################################################################# Building STG 2.4 for FreeBSD 8 ############################################################################# Checking endianess... Little Endian Checking for -lexpat... yes Checking for -lfbclient... no Checking for mysql_config... mysql_config: not found no Checking for -lmysqlclient... no Checking for pg_config... pg_config: not found no Checking for -lpq... no gmake -C /usr/home/shurick/stg-2.406/projects/stargazer/../../stglibs includes gmake[1]: Entering directory `/usr/home/shurick/stg-2.406/stglibs' далее всё норм, потом выдает вот чё /usr/bin/ld: cannot find -lc_r gmake[2]: *** [libstg_locker.so] Error 1 gmake[2]: Leaving directory `/usr/home/shurick/stg-2.406/stglibs/stg_locker.lib' gmake[1]: *** [stg_locker.lib] Error 2 gmake[1]: Leaving directory `/usr/home/shurick/stg-2.406/stglibs' gmake: *** [libs] Error 2 Порылся, вроди бы ошибка связана с библиотекой libpthread, но хде её взять так и не понял. ЗЫ: На 7.0 всё норм собиралось. Link to post Share on other sites
madf 279 Posted 2010-03-05 11:07:06 Share Posted 2010-03-05 11:07:06 gw# ./build bsd8 ############################################################################# Building STG 2.4 for FreeBSD 8 ############################################################################# Checking endianess... Little Endian Checking for -lexpat... yes Checking for -lfbclient... no Checking for mysql_config... mysql_config: not found no Checking for -lmysqlclient... no Checking for pg_config... pg_config: not found no Checking for -lpq... no gmake -C /usr/home/shurick/stg-2.406/projects/stargazer/../../stglibs includes gmake[1]: Entering directory `/usr/home/shurick/stg-2.406/stglibs' далее всё норм, потом выдает вот чё /usr/bin/ld: cannot find -lc_r gmake[2]: *** [libstg_locker.so] Error 1 gmake[2]: Leaving directory `/usr/home/shurick/stg-2.406/stglibs/stg_locker.lib' gmake[1]: *** [stg_locker.lib] Error 2 gmake[1]: Leaving directory `/usr/home/shurick/stg-2.406/stglibs' gmake: *** [libs] Error 2 Порылся, вроди бы ошибка связана с библиотекой libpthread, но хде её взять так и не понял. ЗЫ: На 7.0 всё норм собиралось. Какие-то левые патчи у вас Link to post Share on other sites
serovss 0 Posted 2010-03-05 11:21:34 Author Share Posted 2010-03-05 11:21:34 Что значит левые? По существу можно? Link to post Share on other sites
madf 279 Posted 2010-03-05 13:24:01 Share Posted 2010-03-05 13:24:01 Что значит левые? По существу можно? По существу: - оригинальный build от 2.406 ничего не знает про FreeBSD 8; - раз ваш задетектил FreeBSD 8 значит вы его патчили; - раз он вместо -lpthread пытается подцепить -lc_r значит вы его пропатчили не так как надо. А надо просто вот в этом куске кода: if [ "$sys" = "FreeBSD" ] then case $release in 4) OS=bsd;; 5) OS=bsd5;; 6) OS=bsd5;; 7) OS=bsd7;; *) OS=unknown;; esac ETC_DIR="./inst/freebsd/etc/stargazer" MAKE="gmake" fi вставить строчку: if [ "$sys" = "FreeBSD" ] then case $release in 4) OS=bsd;; 5) OS=bsd5;; 6) OS=bsd5;; 7) OS=bsd7;; 8) OS=bsd7;; *) OS=unknown;; esac ETC_DIR="./inst/freebsd/etc/stargazer" MAKE="gmake" fi Кроме того, build принимает на вход только один параметр: debug. По этому передавать ему что-то отличное от этого бессмысленно. Link to post Share on other sites
serovss 0 Posted 2010-03-05 15:36:04 Author Share Posted 2010-03-05 15:36:04 Спасибо! Получилось всё! Link to post Share on other sites
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now