Народ! Хелп!
Пытаюсь установить Postgresql и Freeradius на Слаку9.1
Версии последнии (Freeradius 1.0.5, Postgresql 8.0.3)
Делаю ./configure после этого как обычно make, но тут начанаются приколы!
После как только запускается мэйк начинается конфигурация заново и потом продолжается до потери пульса! Пишет при этом вот этоcd . && ./config.status --recheck
running /bin/sh ./configure --prefix=/opt/postgresql --with-perl --with-maxbackends=1024 --no-create --no-recursionЭто и у Postgresql и Freeradius! Что делать? Если нужно, то пришлю полностью весь процесс установки. ХЕЛП!
>Народ! Хелп!
>Пытаюсь установить Postgresql и Freeradius на Слаку9.1
>Версии последнии (Freeradius 1.0.5, Postgresql 8.0.3)
>Делаю ./configure после этого как обычно make, но тут начанаются приколы!
>После как только запускается мэйк начинается конфигурация заново и потом продолжается до
>потери пульса! Пишет при этом вот это
>
>cd . && ./config.status --recheck
>running /bin/sh ./configure --prefix=/opt/postgresql --with-perl --with-maxbackends=1024 --no-create --no-recursion
>
>Это и у Postgresql и Freeradius! Что делать? Если нужно, то пришлю
>полностью весь процесс установки. ХЕЛП!Dla PostgreSQL, smotrim
1 ) http://www.postgresql.org/docs/8.0/static/installation.html:
./configure
gmake
su
gmake install
adduser postgres
mkdir /usr/local/pgsql/data
chown postgres /usr/local/pgsql/data
su - postgres
/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
/usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data >logfile 2>&1 &
/usr/local/pgsql/bin/createdb test
/usr/local/pgsql/bin/psql test
2) http://www.postgresql.org/docs/8.0/static/install-requiremen...
GNU make is required; other make programs will not work.
3) http://www.postgresql.org/docs/8.0/static/install-procedure....
To start the build, type
gmakeO make ni sluhu ni duhu.
Nas4et RADIUS k sozaleniju ne skazu t.k. e polzujus.
>Dla PostgreSQL, smotrim
>1 ) http://www.postgresql.org/docs/8.0/static/installation.html:
>./configure
>gmake
>su
>gmake install
>adduser postgres
>mkdir /usr/local/pgsql/data
>chown postgres /usr/local/pgsql/data
>su - postgres
>/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
>/usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data >logfile 2>&1 &
>/usr/local/pgsql/bin/createdb test
>/usr/local/pgsql/bin/psql test
>2) http://www.postgresql.org/docs/8.0/static/install-requiremen...
>GNU make is required; other make programs will not work.
>3) http://www.postgresql.org/docs/8.0/static/install-procedure....
>To start the build, type
>gmake
>
>O make ni sluhu ni duhu.
>
>Nas4et RADIUS k sozaleniju ne skazu t.k. e polzujus.
А без полезно!
Делаю
./configure
gmake
И получаю тоже самое!
Зацикливается и всё! Ходит кругами и всё!
>>Dla PostgreSQL, smotrim
>>1 ) http://www.postgresql.org/docs/8.0/static/installation.html:
>>./configure
>>gmake
>>su
>>gmake install
>>adduser postgres
>>mkdir /usr/local/pgsql/data
>>chown postgres /usr/local/pgsql/data
>>su - postgres
>>/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
>>/usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data >logfile 2>&1 &
>>/usr/local/pgsql/bin/createdb test
>>/usr/local/pgsql/bin/psql test
>>2) http://www.postgresql.org/docs/8.0/static/install-requiremen...
>>GNU make is required; other make programs will not work.
>>3) http://www.postgresql.org/docs/8.0/static/install-procedure....
>>To start the build, type
>>gmake
>>
>>O make ni sluhu ni duhu.
>>
>>Nas4et RADIUS k sozaleniju ne skazu t.k. e polzujus.
>А без полезно!
>Делаю
>./configure
>gmake
>И получаю тоже самое!
>Зацикливается и всё! Ходит кругами и всё!Kak ti opredelil 4to on hodit krugami ?
>Kak ti opredelil 4to on hodit krugami ?
я его оставлял на 12 часов и всё безтолку!
Вот полный отчёт происходящего:
root@1:/postgresql-snapshot# gmake
cd . && ./config.status --recheck
running /bin/sh ./configure --prefix=/opt/postgresql --with-perl --with-maxbackends=1024 --no-create --no-recursion
checking build system type... i586-pc-linux-gnu
checking host system type... i586-pc-linux-gnu
checking which template to use... linux
checking whether to build with 64-bit integer date/time support... no
checking whether NLS is wanted... no
checking for default port number... 5432
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking if gcc supports -Wdeclaration-after-statement... no
checking if gcc supports -Wold-style-definition... no
checking if gcc supports -Wendif-labels... no
checking if gcc supports -fno-strict-aliasing... yes
configure: using CFLAGS=-O2 -Wall -Wmissing-prototypes -Wpointer-arith -fno-strict-aliasing
checking whether the C compiler still works... yes
checking how to run the C preprocessor... gcc -E
checking allow thread-safe client libraries... no
checking whether to build with Tcl... no
checking whether to build Perl modules... yes
checking whether to build Python modules... no
checking whether to build with Kerberos 4 support... no
checking whether to build with Kerberos 5 support... no
checking whether to build with PAM support... no
checking whether to build with Rendezvous support... no
checking whether to build with OpenSSL support... no
configure: using CPPFLAGS=-D_GNU_SOURCE
configure: using LDFLAGS=
checking for gawk... gawk
checking for flex... /usr/bin/flex
checking whether ln -s works... yes
checking for ld used by GCC... /usr/i486-slackware-linux/bin/ld
checking if the linker (/usr/i486-slackware-linux/bin/ld) is GNU ld... yes
checking for ranlib... ranlib
checking for lorder... no
checking for tar... /bin/tar
checking for strip... strip
checking whether it is possible to strip libraries... yes
checking for bison... bison -y
checking for perl... /usr/bin/perl
checking for Perl archlibexp... /usr/lib/perl5/5.8.0/i486-linux
checking for Perl privlibexp... /usr/lib/perl5/5.8.0
checking for Perl useshrplib... false
checking for flags to link embedded Perl... -L/usr/local/lib /usr/lib/perl5/5.8.0/i486-linux/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/5.8.0/i486-linux/CORE -lperl -lnsl -ldl -lm -lc -lcrypt -lutil
checking for main in -lbsd... no
checking for setproctitle in -lutil... no
checking for main in -lm... yes
checking for main in -ldl... yes
checking for main in -lnsl... yes
checking for main in -lsocket... no
checking for main in -lipc... no
checking for main in -lIPC... no
checking for main in -llc... no
checking for main in -ldld... no
checking for main in -lld... no
checking for main in -lcompat... no
checking for main in -lBSD... no
checking for main in -lgen... no
checking for main in -lPW... no
checking for main in -lresolv... yes
checking for library containing getopt_long... none required
checking for main in -lunix... no
checking for library containing crypt... -lcrypt
checking for library containing fdatasync... none required
checking for shmget in -lcygipc... no
checking for readline... yes (-lreadline -ltermcap)
checking for inflate in -lz... yes
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking dld.h usability... no
checking dld.h presence... no
checking for dld.h... no
checking endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes
checking fp_class.h usability... no
checking fp_class.h presence... no
checking for fp_class.h... no
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/pstat.h usability... no
checking sys/pstat.h presence... no
checking for sys/pstat.h... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/sem.h usability... yes
checking sys/sem.h presence... yes
checking for sys/sem.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking kernel/OS.h usability... no
checking kernel/OS.h presence... no
checking for kernel/OS.h... no
checking kernel/image.h usability... no
checking kernel/image.h presence... no
checking for kernel/image.h... no
checking SupportDefs.h usability... no
checking SupportDefs.h presence... no
checking for SupportDefs.h... no
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for netinet/tcp.h... yes
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for preprocessor stringizing operator... yes
checking for signed types... yes
checking for working volatile... yes
checking for __func__... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for tzname... yes
checking for union semun... no
checking for struct sockaddr_un... yes
checking for struct sockaddr_storage... yes
checking for struct sockaddr_storage.ss_family... yes
checking for struct sockaddr_storage.__ss_family... no
checking for struct sockaddr_storage.ss_len... no
checking for struct sockaddr_storage.__ss_len... no
checking for struct sockaddr.sa_len... no
checking for struct addrinfo... yes
checking for struct cmsgcred... no
checking for struct fcred... no
checking for struct sockcred... no
checking for struct option... yes
checking for z_streamp... yes
checking for int timezone... yes
checking types of arguments for accept()... int, int, struct sockaddr *, size_t *
checking whether gettimeofday takes only one argument... no
checking for working memcmp... yes
checking for cbrt... yes
checking for dlopen... yes
checking for fcvt... yes
checking for fdatasync... yes
checking for getpeereid... no
checking for memmove... yes
checking for poll... yes
checking for pstat... no
checking for readlink... yes
checking for setproctitle... no
checking for setsid... yes
checking for sigprocmask... yes
checking for symlink... yes
checking for sysconf... yes
checking for towlower... yes
checking for utime... yes
checking for utimes... yes
checking for waitpid... yes
checking for wcstombs... yes
checking whether fdatasync is declared... yes
checking for struct sockaddr_in6... yes
checking for PS_STRINGS... no
checking for snprintf... yes
checking for vsnprintf... yes
checking whether snprintf is declared... yes
checking whether vsnprintf is declared... yes
checking for isinf... yes
checking for crypt... yes
checking for fseeko... yes
checking for getopt... yes
checking for getrusage... yes
checking for inet_aton... yes
checking for random... yes
checking for rint... yes
checking for srandom... yes
checking for strdup... yes
checking for strerror... yes
checking for strtol... yes
checking for strtoul... yes
checking for unsetenv... yes
checking for getaddrinfo... yes
checking for getopt_long... yes
checking for rl_completion_append_character... yes
checking for rl_completion_matches... yes
checking for rl_filename_completion_function... yes
checking for replace_history_entry... yes
checking for finite... yes
checking for sigsetjmp... yes
checking for syslog... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for optreset... no
checking for strtoll... yes
checking for strtoull... yes
checking for atexit... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for fseeko... (cached) yes
checking test program... ok
checking whether long int is 64 bits... no
checking whether long long int is 64 bits... yes
checking snprintf format for long long int... %lld
checking for unsigned long... yes
checking size of unsigned long... 4
checking for short... yes
checking alignment of short... 2
checking for int... yes
checking alignment of int... 4
checking for long... yes
checking alignment of long... 4
checking for long long int... yes
checking alignment of long long int... 4
checking for double... yes
checking alignment of double... 4
checking for int8... no
checking for uint8... no
checking for int64... no
checking for uint64... no
checking for sig_atomic_t... yes
checking for POSIX signal interface... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking for onsgmls... onsgmls
checking for openjade... openjade
checking for DocBook V4.2... no
checking for DocBook stylesheets... /usr/share/sgml/docbook/dsssl-stylesheets
checking for collateindex.pl... /usr/bin/collateindex.pl
checking for sgmlspl... no
configure: creating ./config.status
cd . && ./config.status src/Makefile.global
config.status: creating src/Makefile.global
./config.status GNUmakefile
config.status: creating GNUmakefile
cd . && ./config.status --recheck
running /bin/sh ./configure --prefix=/opt/postgresql --with-perl --with-maxbackends=1024 --no-create --no-recursion
checking build system type... i586-pc-linux-gnu
checking host system type... i586-pc-linux-gnu
checking which template to use... linux
checking whether to build with 64-bit integer date/time support... no
checking whether NLS is wanted... no
checking for default port number... 5432
checking for gcc... gccИ так далее
С предидущим багом справился, теперь следующий.
Вот на какой стадии я остановился:
./configure --prefix=/opt/postgresql --with-perl --with-maxbackends=1024
gmake
gmake install
adduser postgres
mkdir /usr/local/pgsql/data
chown postgres /usr/local/pgsql/data
и теперь
root@1:~# su - postgres
No directory, logging in with HOME=/
/dev/pts/0: Operation not permitted
Это так и должно быть?
>С предидущим багом справился, теперь следующий.
>Вот на какой стадии я остановился:
>./configure --prefix=/opt/postgresql --with-perl --with-maxbackends=1024
>gmake
>gmake install
>adduser postgres
>mkdir /usr/local/pgsql/data
>chown postgres /usr/local/pgsql/data
>и теперь
>root@1:~# su - postgres
>No directory, logging in with HOME=/
>/dev/pts/0: Operation not permitted
>Это так и должно быть?Ukazana HOME direktorija v /etc/passwd faile, no direktorii na samom dele ne se6estvujet.