>> Read No. 37692 article  
[질문]proftpd 1.2.5rc1설치에 대해서

등록 2001-12-21 01:58:00     조회 1
이름 천국의문    

		우선 시스템은 다음과 같습니다..
 cpu : pentium II 266 Mhz
ram : 96 MB
hdd : 4.3 GB
os : RedHat 7.2
 제가 레드햇을 깔면서.. 아파치랑 ftp서버를 설치를 안하고 깔았거든요..
나중에 최신버전으로 설치를 할려구요.. ^^
 우선 ftp 를 설치하려고 하는데 proftpd 1.2.5rc1.tar.gz를 받았습니다.
그래서 압축을 풀고 ./configure 를 했습니다.
 ./configure --prefix=/usr/local/proftpd
 그리고 그 결과는 다음과 같습니다.
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
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 executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking whether make sets ${MAKE}... yes
checking for a BSD compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking whether the C compiler accepts -Wall... yes
checking for standalone crypt... no
checking for crypt in -lcrypt... yes
checking for standalone gethostbyname... yes
checking for standalone inet_aton... yes
checking for standalone nsl functions... yes
checking for standalone socket functions... yes
checking for _pw_stayopen variable... no
checking for set_auth_parameters in -lsecurity... no
checking how to run the C preprocessor... gcc -E
checking for sys/security.h... no
checking for krb.h... no
checking for prot.h... no
checking for set_auth_parameters... no
checking for getprpwent... no
checking for hpsecurity.h... no
checking for hpsecurity.h workaround... no
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for fcntl.h... yes
checking for sys/ioctl.h... yes
checking for sys/time.h... yes
checking for unistd.h... yes
checking for memory.h... yes
checking for shadow.h... yes
checking for security/pam_appl.h... yes
checking for pam_start in -lpam... yes
checking for ctype.h... yes
checking for getopt.h... yes
checking for crypt.h... yes
checking for bstring.h... no
checking for strings.h... yes
checking for limits.h... yes
checking for sys/types.h... yes
checking for sys/param.h... yes
checking for sys/file.h... yes
checking for sys/uio.h... yes
checking for netdb.h... yes
checking for netinet/in.h... yes
checking for netinet/tcp.h... yes
checking for arpa/inet.h... yes
checking for sys/stat.h... yes
checking for errno.h... yes
checking for sys/socket.h... yes
checking for sys/termios.h... yes
checking for sys/termio.h... no
checking for sys/statvfs.h... yes
checking for sys/vfs.h... yes
checking for sys/select.h... yes
checking for utmpx.h... yes
checking for regex.h... yes
checking for syslog.h... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for uid_t in sys/types.h... yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... (cached) yes
checking for pid_t... yes
checking for size_t... yes
checking for mode_t... yes
checking for off_t... yes
checking type of array argument to getgroups... gid_t
checking for timer_t... yes
checking for long long... yes
checking size of long long... 8
checking for unsigned long long... yes
checking size of unsigned long long... 8
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for umode_t... no
checking for ino_t... yes
checking for utmp.h... yes
checking whether your struct utmp has ut_user... yes
checking whether your struct utmp has ut_host... yes
checking whether your syslog.h defines LOG_CRON... yes
checking whether your syslog.h defines LOG_FTP... yes
checking for d_fd in DIR structure... no
checking for dd_fd in DIR structure... no
checking for __dd_fd in DIR structure... no
checking for working alloca.h... yes
checking for alloca... yes
checking whether gcc needs -traditional... no
checking whether setpgrp takes no argument... yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for getcwd... yes
checking for gethostname... yes
checking for gettimeofday... yes
checking for mkdir... yes
checking for rmdir... yes
checking for select... yes
checking for socket... yes
checking for strerror... yes
checking for strtol... yes
checking for strchr... yes
checking for memcpy... yes
checking for bcopy... yes
checking for flock... yes
checking for getopt... yes
checking for getopt_long... yes
checking for strsep... yes
checking for vsnprintf... yes
checking for snprintf... yes
checking for setsid... yes
checking for setgroupent... no
checking for seteuid... yes
checking for setegid... yes
checking for crypt... yes
checking for fgetpwent... yes
checking for fgetgrent... yes
checking for inet_aton... yes
checking for siginterrupt... yes
checking for setpgid... yes
checking for regcomp... yes
checking for tzset... yes
checking for pathconf... yes
checking for fpathconf... yes
checking for setpassent... no
checking for setproctitle... no
checking for libutil.h... no
checking for setproctitle in -lutil... no
checking for sys/pstat.h... no
checking whether __progname and __progname_full are available... yes
checking which argv replacement method to use... writeable
configure: creating ./config.status
config.status: creating lib/Makefile
config.status: creating src/Makefile
config.status: creating modules/Makefile
config.status: creating Makefile
config.status: creating Make.rules
config.status: creating Make.modules
config.status: creating contrib/dist/rpm/proftpd.spec
config.status: creating config.h
 조금 길죠?
configure는 제대로 된것 같습니다.
 그다음은 make를 실행했습니다.
echo #define BUILD_STAMP "`date`" > include/buildstamp.h
cd lib ; make lib
make[1]: 들어감 `/usr/local/src/proftpd-1.2.5rc1/lib' 디렉토리
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -DUSESHADOW -c getopt.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -DUSESHADOW -c getopt1.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -DUSESHADOW -c pr_fnmatch.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -DUSESHADOW -c strsep.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -DUSESHADOW -c vsnprintf.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -DUSESHADOW -c glibc-glob.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -DUSESHADOW -c pwgrent.c
ar rc libsupp.a getopt.o getopt1.o pr_fnmatch.o strsep.o vsnprintf.o glibc-glob.o pwgrent.o
ranlib libsupp.a
make[1]: 나감 `/usr/local/src/proftpd-1.2.5rc1/lib' 디렉토리
cd src ; make src
make[1]: 들어감 `/usr/local/src/proftpd-1.2.5rc1/src' 디렉토리
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -DUSESHADOW -c main.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -DUSESHADOW -c timers.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -DUSESHADOW -c sets.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -DUSESHADOW -c pool.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -DUSESHADOW -c dirtree.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -DUSESHADOW -c support.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -DUSESHADOW -c inet.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -DUSESHADOW -c log.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -DUSESHADOW -c io.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -DUSESHADOW -c ident.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -DUSESHADOW -c data.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -DUSESHADOW -c modules.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -DUSESHADOW -c auth.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -DUSESHADOW -c fs.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -DUSESHADOW -c ftpcount.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -DUSESHADOW -c utils.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -DUSESHADOW -c ftpwho.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -DUSESHADOW -c ftpshut.c
make[1]: 나감 `/usr/local/src/proftpd-1.2.5rc1/src' 디렉토리
cd modules; make modules
make[1]: 들어감 `/usr/local/src/proftpd-1.2.5rc1/modules' 디렉토리
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -DUSESHADOW -c mod_core.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -DUSESHADOW -c mod_auth.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -DUSESHADOW -c mod_xfer.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -DUSESHADOW -c mod_site.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -DUSESHADOW -c mod_ls.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -DUSESHADOW -c mod_unixpw.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -DUSESHADOW -c mod_log.c
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -DUSESHADOW -c mod_pam.c
srcdir=. ./glue.sh mod_core.o mod_auth.o mod_xfer.o mod_site.o mod_ls.o mod_unixpw.o mod_log.o mod_pam.o
gcc  -DLINUX  -I.. -I../include  -O2 -Wall -DUSESHADOW -c module_glue.c
make[1]: 나감 `/usr/local/src/proftpd-1.2.5rc1/modules' 디렉토리
gcc -Llib  -o proftpd src/main.o src/timers.o src/sets.o src/pool.o src/dirtree.o src/support.o src/inet.o src/log.o sr
c/io.o src/ident.o src/data.o src/modules.o src/auth.o src/fs.o modules/mod_core.o modules/mod_auth.o modules/mod_xfer.o
 modules/mod_site.o modules/mod_ls.o modules/mod_unixpw.o modules/mod_log.o modules/mod_pam.o  modules/module_glue.o -l
supp -lcrypt  -lpam gcc -Llib  -o ftpcount src/ftpcount.o src/pool.o src/log.o src/utils.o -lsupp -lcrypt  -lpam gcc 
-Llib  -o ftpwho src/ftpwho.o src/pool.o src/log.o src/utils.o -lsupp -lcrypt  -lpam gcc -Llib  -o ftpshut src/ftpshu
t.o -lsupp -lcrypt  -lpam  make도 잘 된것 같습니다..  그리고 make install 을 실행 했습니다.
 cd lib ; make lib
make[1]: 들어감 `/usr/local/src/proftpd-1.2.5rc1/lib' 디렉토리
make[1]: Nothing to be done for `lib'.
make[1]: 나감 `/usr/local/src/proftpd-1.2.5rc1/lib' 디렉토리
cd src ; make src
make[1]: 들어감 `/usr/local/src/proftpd-1.2.5rc1/src' 디렉토리
make[1]: Nothing to be done for `src'.
make[1]: 나감 `/usr/local/src/proftpd-1.2.5rc1/src' 디렉토리
cd modules; make modules
make[1]: 들어감 `/usr/local/src/proftpd-1.2.5rc1/modules' 디렉토리
make[1]: Nothing to be done for `modules'.
make[1]: 나감 `/usr/local/src/proftpd-1.2.5rc1/modules' 디렉토리
gcc -Llib  -o proftpd src/main.o src/timers.o src/sets.o src/pool.o src/dirtree.o src/support.o src/inet.o src/log.o sr
c/io.o src/ident.o src/data.o src/modules.o src/auth.o src/fs.o modules/mod_core.o modules/mod_auth.o modules/mod_xfer.o
 modules/mod_site.o modules/mod_ls.o modules/mod_unixpw.o modules/mod_log.o modules/mod_pam.o  modules/module_glue.o -l
supp -lcrypt  -lpam /usr/bin/install -c -s -o root -g root -m 0755 proftpd /usr/local/proftpd/sbin/proftpd if [ -f /usr
/local/proftpd/sbin/in.proftpd ] ; then   rm -f /usr/local/proftpd/sbin/in.proftpd ; fi
ln -s proftpd /usr/local/proftpd/sbin/in.proftpd
/usr/bin/install -c -s -o root -g root -m 0755 ftpcount /usr/local/proftpd/bin/ftpcount
/usr/bin/install -c -s -o root -g root -m 0755 ftpwho /usr/local/proftpd/bin/ftpwho
/usr/bin/install -c -s -o root -g root -m 0755 ftpshut /usr/local/proftpd/sbin/ftpshut
if [ ! -f /usr/local/proftpd/etc/proftpd.conf ] ; then
  /usr/bin/install -c -o root -g root -m 0644
	./sample-configurations/basic.conf
       	/usr/local/proftpd/etc/proftpd.conf ;
fi
/usr/bin/install -c -o root -g root -m 0644 ./src/proftpd.8 /usr/local/proftpd/man/man8
/usr/bin/install -c -o root -g root -m 0644 ./src/ftpshut.8 /usr/local/proftpd/man/man8
/usr/bin/install -c -o root -g root -m 0644 ./src/ftpwho.1 /usr/local/proftpd/man/man1
/usr/bin/install -c -o root -g root -m 0644 ./src/ftpcount.1 /usr/local/proftpd/man/man1
/usr/bin/install -c -o root -g root -m 0644 ./src/xferlog.5 /usr/local/proftpd/man/man5
 결과...
/usr/local/proftpd 에 설치가 되었습니다.
 /usr/local/proftpd/etc/proftpd.conf 파일을 수정했습니다.
 그리고는
/usr/local/proftpd/sbin/proftpd 를 실행했습니다.(proftpd start도 물론 해봤습니다.)
이상하게 데몬이 안뜹니다.
 그래서 이번에는 rpm 설치를 시도했습니다.
http://proftpd.oops.org/ 에서 rpm 으로 패키징된 것을 다운 받고 설치를 했습니다.
 rpm -iv proftpd-1.2.5rc1-1kr.i686.rpm
error: failed dependencies:
        libc.so.6(GLIBC_2.2.3)   is needed by proftpd-1.2.5rc1-1kr
 흑흑... 혹시 소스 설치가 안되는 이유가 glibc 때문인가요?
저의 glibc 버전은 2.2.2 입니다...--이 곳에 서명을 적어주십시오.
ftp 설치한번 해보고 접다~~
이름
암호
Register [ localhost 목록보기 윗글 아랫글
글쓰기
답장쓰기 수정 삭제
정규표현식 [ 상세 검색 ]
페이지로딩: [ 1.56 초 ] 작업시간: [ 1.13 초 ]

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved
[TOP]

적수네 동네
+
| 적수네 동네
| 공부방
| 리눅스 잡지 서고
| LSN 소스
| 링크 모음
+---+
게시판
+
| 떠들어보세!
| 질문과 답변
| 새소식과 정보
| 1원짜리 팁?
| 대화방
+---+
칼럼?
+
| 세하 훔쳐보기
| Welcome2nite
| 혜진의 염장판
+---+
리눅스 상표권
+
| 반대 서명란
| 토론 게시판
+---+
GNU
+
| GNU 선언문
| GNU GPL
| GNU 미러 목록
+---+
프로젝트?
+
| 리눅스카운터
| RC5DES
| 실질헌법 제작
+---+
커널 소식
+
| 안정 버젼: 2.4.14
+---+
테마 선택
+
LSN 방송국?
+
| OFF AIR
+---+
회원
+
| 로그인
+---+
[ 적수네 동네 ] [ 리눅스 상표권 독점 반대 ] [ 한글 리눅스 문서 프로젝트 ] [ KrLine ] [ 사랑넷 ] [ Valid HTML 4.0! ] [ SlashDot ] [ Freshmeat ]
Copyleft (C) 1998-2001 Byeong-Chan Kim . License
TIME: 1789482199
System by WYZsoft, HDD by I.O.Linux, Mizi Research, Embryo, WOWLINUX, Domain by SarangNet, Network by KrLine.