|
|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Andrey N. Oktyabrski 2:5020/400 01 Nov 2002 14:59:27 To : Andrey Kharchenko Subject : Re: pam_pgsql -------------------------------------------------------------------------------- Andrey Kharchenko wrote: > Привет! > > Посоветуйте, где можно достать реально собирающийся и в дальнейшем > работающий модуль pam_pgsql по FreeBSD 4.7-RELEASE? > > Модуль который все время собирался и не на одной машине пишет: > ============ > # make > Warning: Object directory not changed from original > /usr/local/INSTALL/pam_pgsql > _freebsd > cc -O -pipe -Wall -I/usr/local/pgsql/include -c pam_pgsql.c -o pam_pgsql.o > pam_pgsql.c:220: warning: `pam_sm_authenticate' defined but not used > pam_pgsql.c:425: warning: `pam_sm_setcred' defined but not used > building static pam_pgsql library > ranlib libpam_pgsql.a > make: don't know how to make pam_pgsql.so. Stop > ============ > > Из портов не собирается, пишет: > ======== > cc -fpic -DPIC -O -pipe -Wall -D_GNU_SOURCE -I/usr/local/include -I/usr/l > ocal > /pgsql/include -c pam_get_pass.c -o pam_get_pass.So > In file included from pam_pgsql.c:18: > /usr/local/include/md5.h:27: syntax error before `UINT4' > /usr/local/include/md5.h:32: syntax error before `PROTO_LIST' > /usr/local/include/md5.h:33: syntax error before `PROTO_LIST' > /usr/local/include/md5.h:35: syntax error before `PROTO_LIST' > /usr/local/include/md5.h:37: syntax error before `PROTO_LIST' > pam_pgsql.c: In function `encrypt_password': > pam_pgsql.c:375: warning: implicit declaration of function `MD5Data' > pam_pgsql.c:375: warning: assignment makes pointer from integer without a > cast > pam_pgsql.c: In function `auth_verify_password': > pam_pgsql.c:479: warning: assignment makes pointer from integer without a > cast > pam_pgsql.c: In function `pam_sm_chauthtok': > pam_pgsql.c:637: warning: `user_s' might be used uninitialized in this > function > *** Error code 1 > 1 error > *** Error code 2 > > Stop in /usr/ports/security/pam-pgsql. > ======== FreeBSD 4.7-STABLE (cvsup 31.10.2002 - вчера, 4.7-RELEASE просто нету): - --- cut --- root@box:/usr/ports/security/pam-pgsql> make >> pam-pgsql_0.5.2.orig.tar.gz doesn't seem to exist in /usr/ports/distfiles/. >> Attempting to fetch from ftp://ftp.cronyx.ru/pub/FreeBSD/distfiles/. Receiving pam-pgsql_0.5.2.orig.tar.gz (39892 bytes): 100% 39892 bytes transferred in 1.4 seconds (27.18 kBps) >> pam-pgsql_0.5.2-5.diff.gz doesn't seem to exist in /usr/ports/distfiles/. >> Attempting to fetch from ftp://ftp.cronyx.ru/pub/FreeBSD/distfiles/. Receiving pam-pgsql_0.5.2-5.diff.gz (8726 bytes): 100% 8726 bytes transferred in 3.1 seconds (2.76 kBps) ===> Extracting for pam-pgsql-0.5.2_6 >> Checksum OK for pam-pgsql_0.5.2.orig.tar.gz. >> Checksum OK for pam-pgsql_0.5.2-5.diff.gz. ===> pam-pgsql-0.5.2_6 depends on shared library: pq - found ===> Patching for pam-pgsql-0.5.2_6 ===> Applying distribution patches for pam-pgsql-0.5.2_6 ===> Applying FreeBSD patches for pam-pgsql-0.5.2_6 ===> Configuring for pam-pgsql-0.5.2_6 ===> Building for pam-pgsql-0.5.2_6 Warning: Object directory not changed from original /usr/ports/security/pam-pgsql/work/pam-pgsql-0.5.2 cc -fpic -DPIC -O -pipe -march=pentiumpro -march=pentiumpro -Wall -D_GNU_SOURCE -I/usr/local/include -I/usr/local/include/pgsql -c pam_pgsql.c -o pam_pgsql.So cc -fpic -DPIC -O -pipe -march=pentiumpro -march=pentiumpro -Wall -D_GNU_SOURCE -I/usr/local/include -I/usr/local/include/pgsql -c pam_get_pass.c -o pam_get_pass.So pam_pgsql.c: In function `pam_sm_chauthtok': pam_pgsql.c:637: warning: `user_s' might be used uninitialized in this function building shared library pam_pgsql.so root@box:/usr/ports/security/pam-pgsql> make install ===> Installing for pam-pgsql-0.5.2_6 ===> pam-pgsql-0.5.2_6 depends on shared library: pq - found install -s -o root -g wheel -m 444 pam_pgsql.so /usr/lib ===> Generating temporary packing list /bin/cat /usr/ports/security/pam-pgsql/pkg-message Follow the instructions in the /usr/local/share/doc/pam-pgsql/README to use this module. Note, that unlike most other ports, this port installs a file into /usr/lib directly (/usr/lib/pam_pgsql.so), because PAM requires that. ===> Registering installation for pam-pgsql-0.5.2_6 - --- cut --- Может, имеет смысл обновить порт(ы)? --- ifmail v.2.15dev5 * Origin: MTU-Intel ISP (2:5020/400) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/9104bee08a84.html, оценка из 5, голосов 10
|