From: "Dmytro O. Redchuk" <dor@ldc.net> To: community@lists.altlinux.org Subject: Re: [Comm] Пересборка freeradius ? Date: Thu, 20 Mar 2008 09:58:54 +0200 Message-ID: <20080320075854.GY25698@volz.ua> (raw) In-Reply-To: <m3y78ea5fm.fsf@home.vvk.pp.ru> On Thu, Mar 20, 2008 at 12:18:21AM +0500, Vladimir V. Kamarzin wrote: > >>>>> On 19 Мар 2008 at 18:10 "DOR" == Dmytro O Redchuk writes: > > DOR> Добрый день. > DOR> Захотелось пересобрать freeradius на 2.0.3 (никто не пересобирал? > DOR> в сизифе ж тоже 1.1.7), пробую, получаю такие ошибки (на этом > DOR> заканчивается): > > Угу, в сизифе 1.1.7. В данный момент freeradius мне практически не нужен, так А в рассыле фрирадиуса "все сразу посылают" (слегка утрирую) ставить второй, а уже потом вопросы задавать ;-) > Если у вас получится успешно его собрать, не стесняйтесь поделиться > наработками, глядишь и в сизифе обновим тогда ;) Я вчера таки допёр --without-openssl сказать и попробовать ещё раз; заканчивается так: ---------------------------------------------------------------------- gcc -pipe -Wall -O2 -march=i586 -mtune=i686 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/usr/src/RPM/BUILD/freeradius-2.0.3/src -I/usr/src/RPM/BUILD/freeradius-2.0.3/libltdl -c sql.c -fPIC -DPIC -o .libs/sql.o sql.c:48:21: error: radiusd.h: No such file or directory sql.c:49:22: error: conffile.h: No such file or directory In file included from conf.h:17, from rlm_nibs.h:18, from sql.c:50: nibs.h:23: error: expected declaration specifiers or '...' before 'REQUEST' nibs.h:24: error: expected declaration specifiers or '...' before 'REQUEST' nibs.h:26: error: expected declaration specifiers or '...' before 'REQUEST' nibs.h:27: error: expected declaration specifiers or '...' before 'REQUEST' nibs.h:28: error: expected declaration specifiers or '...' before 'REQUEST' nibs.h:29: error: expected declaration specifiers or '...' before 'REQUEST' nibs.h:30: error: expected declaration specifiers or '...' before 'REQUEST' nibs.h:31: error: expected declaration specifiers or '...' before 'REQUEST' nibs.h:39: error: expected declaration specifiers or '...' before 'REQUEST' In file included from sql.c:50: rlm_nibs.h:79: error: expected ')' before '*' token rlm_nibs.h:84: error: expected ')' before '*' token rlm_nibs.h:85: error: expected ')' before '*' token rlm_nibs.h:86: error: expected ')' before '*' token sql.c: In function 'connect_single_socket': sql.c:69: warning: implicit declaration of function 'radlog' sql.c:69: error: 'L_DBG' undeclared (first use in this function) sql.c:69: error: (Each undeclared identifier is reported only once sql.c:69: error: for each function it appears in.) sql.c:85: error: 'L_CONS' undeclared (first use in this function) sql.c:85: error: 'L_ERR' undeclared (first use in this function) sql.c: In function 'als_init_socketpool': sql.c:112: error: 'L_DBG' undeclared (first use in this function) sql.c:114: warning: implicit declaration of function 'rad_malloc' sql.c:114: warning: assignment makes pointer from integer without a cast sql.c: In function 'als_close_socket': sql.c:184: error: 'L_DBG' undeclared (first use in this function) sql.c: In function 'als_get_socket': sql.c:243: error: 'L_INFO' undeclared (first use in this function) sql.c:251: error: 'L_DBG' undeclared (first use in this function) sql.c: In function 'als_release_socket': sql.c:318: error: 'L_DBG' undeclared (first use in this function) sql.c: In function 'rlm_nibs_fetch_row': sql.c:350: error: 'L_ERR' undeclared (first use in this function) sql.c: In function 'rlm_nibs_query': sql.c:394: error: 'L_ERR' undeclared (first use in this function) sql.c: In function 'rlm_nibs_select_query': sql.c:438: error: 'L_ERR' undeclared (first use in this function) sql.c: At top level: sql.c:455: error: expected ')' before '*' token gmake[6]: *** [sql.lo] Error 1 gmake[6]: Leaving directory `/usr/src/RPM/BUILD/freeradius-2.0.3/src/modules/rlm_nibs' gmake[5]: *** [common] Error 2 gmake[5]: Leaving directory `/usr/src/RPM/BUILD/freeradius-2.0.3/src/modules' gmake[4]: *** [all] Error 2 gmake[4]: Leaving directory `/usr/src/RPM/BUILD/freeradius-2.0.3/src/modules' gmake[3]: *** [common] Error 2 gmake[3]: Leaving directory `/usr/src/RPM/BUILD/freeradius-2.0.3/src' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/src/RPM/BUILD/freeradius-2.0.3/src' gmake[1]: *** [common] Error 2 gmake[1]: Leaving directory `/usr/src/RPM/BUILD/freeradius-2.0.3' make: *** [all] Error 2 make: Leaving directory `/usr/src/RPM/BUILD/freeradius-2.0.3' error: Bad exit status from /usr/src/tmp/rpm-tmp.3312 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.3312 (%build) Command exited with non-zero status 1 36.36user 7.10system 3:53.13elapsed 18%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (24major+12022466minor)pagefaults 0swaps hsh-rebuild: rebuild of `freeradius-2.0.3-dor1.src.rpm' failed. ---------------------------------------------------------------------- Во-первых, глупо как-то собирать с --without-openssl; во-вторых, что дальше задизэйблить?-) Там в sql.c есть #include <freeradius-devel/radiusd.h> "оно его не находит", я так понимаю -- но если просто make, то собирается. Даже Build-Requires: freeradius-devel пробовал добавлять... В-третьих, как это делать правильно? Если неграмотный? .) > > -- > You don't get out much, do you :-)? Lighten up a little, this > is supposed to be fun.......We could argue all day, but there was > lots of computer work done before PCI and PCs. I'm more than old > enough to know, so just leave it at that....... > > - Dan Malek on the linuxppc-embedded list -- _,-=._ /|_/| `-.} `=._,.-=-._., @ @._, `._ _,-. ) _,.-' ` G.m-"^m`m' Dmytro O. Redchuk
next prev parent reply other threads:[~2008-03-20 7:58 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-03-19 13:10 Dmytro O. Redchuk 2008-03-19 18:04 ` Andrey Rahmatullin 2008-03-19 19:18 ` Vladimir V. Kamarzin 2008-03-20 7:58 ` Dmytro O. Redchuk [this message] 2008-03-20 19:18 ` Vladimir V. Kamarzin 2008-03-21 7:40 ` Dmytro O. Redchuk 2008-03-21 15:48 ` Vladimir V. Kamarzin 2008-03-24 7:12 ` Dmytro O. Redchuk 2008-03-24 9:58 ` Dmitry Lebkov 2008-03-24 13:52 ` Dmytro O. Redchuk 2008-03-24 14:36 ` Dmytro O. Redchuk 2008-03-24 22:50 ` Dmitry Lebkov 2008-03-25 6:36 ` Dmytro O. Redchuk
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20080320075854.GY25698@volz.ua \ --to=dor@ldc.net \ --cc=community@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git