The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

форумы  помощь  поиск  регистрация  майллист  ВХОД  слежка  RSS
"проблема с установкой pptpd(VPN сервер) на FreeBSD6.1"
Вариант для распечатки  
Пред. тема | След. тема 
Форумы Маршрутизаторы CISCO и др. оборудование. (Public)
Изначальное сообщение [Проследить за развитием треда]

"проблема с установкой pptpd(VPN сервер) на FreeBSD6.1"  
Сообщение от cyberr email(ok) on 05-Фев-07, 22:09 
скачал последнюю стабильную версию pptpd-1.3.0 с сайта poptop.org и вот что он показывает:
-----------------------------------------------------------------------------------------
# cd pptpd-1.3.0
# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/usr/home/cyberr/pptpd-1.3.0/missing: Unknown `--run' option
Try `/usr/home/cyberr/pptpd-1.3.0/missing --help' for more information
configure: WARNING: `missing' script is too old or missing
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... 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 for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether #! works in shell scripts... yes
checking for setsid... yes
checking for daemon... yes
checking for setproctitle... yes
checking for getservbyname... yes
checking for strlcpy... yes
checking for fork... yes
checking for memmove... yes
checking for strerror... yes
checking for writev... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
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 pty.h usability... no
checking pty.h presence... no
checking for pty.h... no
checking for string.h... (cached) yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking libintl.h usability... no
checking libintl.h presence... no
checking for libintl.h... no
checking libutil.h usability... yes
checking libutil.h presence... yes
checking for libutil.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking for size_t... yes
checking for ssize_t... yes
checking for u_int8_t... yes
checking for u_int16_t... yes
checking for u_int32_t... yes
checking for socklen_t... yes
checking for accept in -lc... yes
checking for gethostbyname in -lc... yes
checking for openpty in -lc... no
checking for gettext in -lc... no
checking for accept in -lsocket... no
checking for gethostbyname in -lnsl... no
checking for openpty in -lutil... yes
checking for gettext in -lintl... no
checking which syslog facility to use... LOG_DAEMON (the default)
===============================================================================
Configuration chosen:
   PPPd IP allocation: No.
   PPPd:               Standard.
   LIBWRAP security:   No.
   Broadcast Relay:    No.
   Mode:               IP tunneling server (PAC).
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
-----------------------------------------------------------------------------------------
и вот что он выкидывает при компиляции:
-----------------------------------------------------------------------------------------
# make
make  all-am
gcc -DHAVE_CONFIG_H -I. -I. -I. -I.     -O2 -fno-builtin -Wall -DSBINDIR='"/usr/local/sbin"' -c pqueue.c
pqueue.c: In function `pqueue_alloc':
pqueue.c:35: warning: implicit declaration of function `log'
pqueue.c:75: warning: implicit declaration of function `warn'
gcc -DHAVE_CONFIG_H -I. -I. -I. -I.     -O2 -fno-builtin -Wall -DSBINDIR='"/usr/local/sbin"' -c pptpd.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I.     -O2 -fno-builtin -Wall -DSBINDIR='"/usr/local/sbin"' -c configfile.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I.     -O2 -fno-builtin -Wall -DSBINDIR='"/usr/local/sbin"' -c pptpmanager.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I.     -O2 -fno-builtin -Wall -DSBINDIR='"/usr/local/sbin"' -c compat.c
compat.c: In function `my_setproctitle':
compat.c:123: warning: implicit declaration of function `setproctitle'
In file included from compat.c:129:
/usr/include/unistd.h: At top level:
/usr/include/unistd.h:360: error: conflicting types for 'setproctitle'
compat.c:123: error: previous implicit declaration of 'setproctitle' was here
compat.c: In function `sigpipe_assign':
compat.c:181: warning: implicit declaration of function `memset'
*** Error code 1

Stop in /usr/home/cyberr/pptpd-1.3.0.
*** Error code 1

Stop in /usr/home/cyberr/pptpd-1.3.0.
-----------------------------------------------------------------------------------------
дык в чем проблема, никто не подскажет?

Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору

 Оглавление

Сообщения по теме [Сортировка по времени, UBB]


1. "проблема с установкой pptpd(VPN сервер) на FreeBSD6.1"  
Сообщение от obl (ok) on 06-Фев-07, 00:15 
пробуй из портов собрать.. так оно правильней будет - патчи сам подцепит для фри
Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору

2. "проблема с установкой pptpd(VPN сервер) на FreeBSD6.1"  
Сообщение от cyberr email(ok) on 06-Фев-07, 09:00 
>пробуй из портов собрать.. так оно правильней будет - патчи сам подцепит
>для фри

#пробовал, но он ваще какую-то хрень пишет:
-----------------------------------------------------------------------------------------
# pkg_add pptpd-1.3.0-0.i386.rpm
tar: Failed to set default locale
tar: Unrecognized archive format: Inappropriate file type or format
pkg_add: tar extract of /usr/home/cyberr/pptpd-1.3.0-0.i386.rpm failed!
pkg_add: unable to extract table of contents file from '/usr/home/cyberr/pptpd-1.3.0-0.i386.rpm' - not a package?
#
-----------------------------------------------------------------------------------------
или вот другой вариант:
-----------------------------------------------------------------------------------------
# pkg_add pptpd-1.3.0-0.src.rpm
tar: Failed to set default locale
tar: Unrecognized archive format: Inappropriate file type or format
pkg_add: tar extract of /usr/home/cyberr/pptpd-1.3.0-0.src.rpm failed!
pkg_add: unable to extract table of contents file from '/usr/home/cyberr/pptpd-1.3.0-0.src.rpm' - not a package?
#
-----------------------------------------------------------------------------------------
ему типа архив не нравится.
вот...вообще типа в описании сказано что под линукс. но типа и под Фрю работает, я подумал, что если скомпилировать то вернее будет..

Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору

4. "проблема с установкой pptpd(VPN сервер) на FreeBSD6.1"  
Сообщение от mars on 06-Фев-07, 13:27 
>>пробуй из портов собрать.. так оно правильней будет - патчи сам подцепит
>>для фри
>
>#пробовал, но он ваще какую-то хрень пишет:
>-----------------------------------------------------------------------------------------
># pkg_add pptpd-1.3.0-0.i386.rpm
для фри надо .tbz, а не i386.rpm

>-----------------------------------------------------------------------------------------
>или вот другой вариант:
>-----------------------------------------------------------------------------------------
># pkg_add pptpd-1.3.0-0.src.rpm
надо .tar.bz2 либо .tar.gz

и вообще в портах только pptpclient лежит ;)
так что используй mpd :)

Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору

3. "проблема с установкой pptpd(VPN сервер) на FreeBSD6.1"  
Сообщение от ViRuZzz email(??) on 06-Фев-07, 09:47 
Во первых: если не умеешь собирать софт из исходников собирай из портов. А вообще я тебе советую глянуть в сторону MPD. Его настраивать гораздо проще
/usr/ports/net/mpd
или
/usr/ports/net/mpd4
Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору

5. "проблема с установкой pptpd(VPN сервер) на FreeBSD6.1"  
Сообщение от fantom (??) on 06-Фев-07, 21:11 
Читайте доку, там должні біть замечания по поводу сборки на различніх системах.
Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору

Архив | Удалить

Индекс форумов | Темы | Пред. тема | След. тема
Оцените тред (1=ужас, 5=супер)? [ 1 | 2 | 3 | 4 | 5 ] [Рекомендовать для помещения в FAQ]




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру