데비안 사용자인데 몇가지...
안녕하세요?
오랜만에 글 올립니다. 요즘은 다른 글에 답글도 잘 못 돌고 저도 질문을 잘 못 하네요.
1. MudOS 0.19를 설치 하려면 어떻게 해야 할까요?
아무리 손을 쓰고 컴파일 하려 해도 잘 안 됩니다. GNUMakefile를 편집 해서 resolv, socket 등의 라이브러리를 사용 가능하게 하고 malloc는 SYSMALLOC(기본적으로... SYSV 기본으로 제공 되는 것 같습니다. MudOS에서 본 것에 의하면... 아니면 기본적으로 시스템에서 제공 하는 거란 듯인지도...)를 사용 하도록 안 건드리고 그냥 두었습니다. gcc는 2.95(물론 3.3.5에서도 잘 되긴 했습니다만... 음... 아래와 같은 결과가 나옵니다 음. GNUmakefile는 첨부 하겠습니다.
root@lanet:~/programs/srcs/mudos/MudOS_0.9.19/src# make mkdir obj gcc-2.95 -Iobj -Wall -O2 -pipe -o obj/make_malloc.o -c make_malloc.c make_malloc.c: In function `main': make_malloc.c:31: warning: implicit declaration of function `unlink' make_malloc.c:33: warning: implicit declaration of function `printf' make_malloc.c:44: warning: implicit declaration of function `link' gcc-2.95 -Wall -O2 -pipe -Iobj obj/make_malloc.o -o make_malloc ./make_malloc Using memory allocation package: sysmalloc.c touch malloc.c gcc-2.95 -Wall -O2 -pipe -c malloc.c -o obj/malloc.o bison -d -y make_func.y make_func.y:98 parser name defined to default :"parse" mv y.tab.c make_func.tab.c mv y.tab.h make_func.tab.h gcc-2.95 make_func.tab.c -o obj/make_func obj/make_func > efun_defs.c bison -d -y compiler.y compiler.y:1031 parser name defined to default :"parse" conflicts: 1 shift/reduce mv y.tab.c compiler.tab.c mv y.tab.h compiler.tab.h gcc-2.95 -Iobj -Wall -O2 -pipe -o obj/compiler.tab.o -c compiler.tab.c compiler.y: In function `yyparse': compiler.y:1176: warning: implicit declaration of function `add_local_name' /usr/share/bison++/bison.cc:559: warning: `yystate' might be used uninitialized in this function /usr/share/bison++/bison.cc:560: warning: `yyn' might be used uninitialized in t his function /usr/share/bison++/bison.cc:561: warning: `yyssp' might be used uninitialized in this function /usr/share/bison++/bison.cc:562: warning: `yyvsp' might be used uninitialized in this function /usr/share/bison++/bison.cc:563: warning: `yyerrstatus' might be used uninitiali zed in this function rm -f cc.h echo "/* this file automatically generated by the GNUmakefile */" > cc.h echo '#define COMPILER "gcc-2.95"' >> cc.h echo '#define OPTIMIZE "-O2"' >> cc.h gcc-2.95 -Iobj -Wall -O2 -pipe -o obj/lex.o -c lex.c lex.c: In function `inc_open': lex.c:290: warning: type defaults to `int' in declaration of `save_include' gcc-2.95 -Iobj -Wall -O2 -pipe -o obj/main.o -c main.c In file included from /usr/include/sys/types.h:216, from main.c:2: /usr/include/sys/select.h:81: warning: `FD_SETSIZE' redefined port.h:213: warning: this is the location of the previous definition In file included from /usr/include/sys/socket.h:35, from main.c:4: /usr/include/bits/socket.h:139: warning: `SOMAXCONN' redefined port.h:210: warning: this is the location of the previous definition main.c:433: macro `va_start' used with just one arg In file included from main.c:23: lint.h:372: conflicting types for `getpeername' /usr/include/sys/socket.h:129: previous declaration of `getpeername' main.c: In function `main': main.c:264: warning: implicit declaration of function `chdir' main.c: At top level: main.c:414: parse error before `va_dcl' main.c:415: syntax error before `{' main.c:421: parse error before `if' main.c:425: warning: type defaults to `int' in declaration of `fp' main.c:425: warning: initialization makes integer from pointer without a cast main.c:425: initializer element is not constant main.c:425: warning: data definition has no type or storage class main.c:426: parse error before `if' main.c:429: warning: type defaults to `int' in declaration of `abort' main.c:429: conflicting types for `abort' lint.h:109: previous declaration of `abort' main.c:429: warning: data definition has no type or storage class main.c:430: parse error before `}' main.c:433: parse error before `=' main.c:434: warning: type defaults to `int' in declaration of `fmt' main.c:434: conflicting types for `fmt' main.c:419: previous declaration of `fmt' main.c:434: warning: initialization makes integer from pointer without a cast main.c:434: initializer element is not constant main.c:434: warning: data definition has no type or storage class main.c:435: warning: type defaults to `int' in declaration of `vfprintf' main.c:435: warning: parameter names (without types) in function declaration main.c:435: warning: data definition has no type or storage class main.c:436: parse error before `void' main.c: In function `xalloc': main.c:484: warning: implicit declaration of function `write' make: *** [obj/main.o] 오류 1 root@lanet:~/programs/srcs/mudos/MudOS_0.9.19/src#
2. BBS(예를 들자면 XHOST 같은 것)을 돌리기 위해선 계정 접속시 암호 입력 없이 넘어 가야 합니다.(Telnet로 접속시) 그러나 데비안에선 RH계열에서 쓰던 방법이 안 먹히네요 음.
자세히 보면 이렇습니다. 우선, /bbs라는 디렉터리가 있습니다. 그럼 bbs라는 사용자를 추가 하고요. 암호가지 일단은 지정 해 줍니다. 그 뒤에 /etc/passwd 파일에서...
bbs:x:1000:1000::/home/bbs:/bin/bash => bbs::1000:1000::/bbs:/bbs/bin/bbsmain
가령 이렇게 한다고 하면... RH 계열에선 login: 에 bbs만 입력 해도 넘어 갔습니다. 일전의 많은 Telnet 기반의 BBS 시스템이 이렇게 해서 접속이 되었다고 알고 있습니다. 이전에 mud4u.org도 BBS가 있을 적에 그랬고요. 그러나 데비안에선 이런 식으로 해도 안 뚤리네요. 이것 뚤리게 하는 방법이 없나 해서요.
3. 그리고 이건 관련 없는 질문인데 FSF 한국 대표님이 계신것으로 알고 있습니다. 혹시 이 글을 보시면 ysnglee2000@l1004net.pe.kr이나 이곳 KLDP BBS의 제 개인 쪽지로 연락 부탁 드립니다. 혹은 그 분 이매일 주소나 여락 가능한 연락처를 아신다면(혹은 이곳 ID라도...) 답변에 적어 주시면 감사하겠습니다 ...
그럼 모두 행복하세요. 질문들이 간단 명료히 정리 된 것인지 잘 모르겠습니다 음...
모두 안녕히 계세요.
이여송 사도요한 드림.
첨부 | 파일 크기 |
---|---|
![]() | 9.38 KB |
아... 그리고 하나.. Exim에서...
아.. 한가지 빠뜨렸습니다.
4. Exim(Version 4.50)에서 aliases가 안 먹힙니다.
뭐.. 대충 이런 부분이 그 안에 들어 있는데 admin으로 보내면 그냥 사용자가 없다고 씹혀 버립니다 음. 어디에 문제가 잇을 까요? 혹시 아시는분 계시면 도움 부탁 드립니다. Exim은 워낙이나 뭐 찾기가 힘드네요 음...
사람천사
혹시 제가 잘못 한 건가요?
혹시 제가 잘못 한 건가요? 질문을 잘못 올렸 거나 뭔가 모자란 것이 있는 건가요? 아니면... 아시는 분이 없으신지 음... 흐흠... MudOS 는 ftp.game.org에서 구한 것입니다 음.
Exim4는 데비안 페키지고요. 음... BBS는.. XHOST를 실험 하려 합니다. 이전에 RH계열에서 잘 썼었거든요. 뭐.. 지금 BBS돌릴 생각은 없습니다만... 실험을 위해서죠. 무엇보다 login을 계정 이름 입력 후 그냥 지나 가는 방법에 대해 알아야 하기 때문에 XHOST를 가지고 실험을 하려고 합니다 음...
음... 혹시 이런 질문들을 다른 곳에 올려야 한다면 좀 가르쳐 주세요...
사람천사
데비안유저스에도 올려 보세요.
데비안유저스에도 올려 보세요.
# apt-get install HOPE
alias 넣으신 다음에newaliases 하셨나요 ?debi
alias 넣으신 다음에
newaliases 하셨나요 ?
debian sarge, exim4에서 잘 됩니다만. ;;
감사합니다... 그런데...
감사합니다.
그런데... 1번 질문 같은 경우.. 지금 4번은 해결이 되었습니다. Exim에 대해서 정확히 파악 하지 못 한 제 실수였습니다. 1번의 경우는... 아무레도 프로그래밍 쪽으로 글을 옮기던지 해야 할 것 같고.. 2 번 이엇나요? 그 질문... login 뚤고 가는 것.. 그건 데비안 유저즈에도 올렸습니다만, 답이 아직 없네요.. 오래 전에... 음... 아무튼 관심 가져 주셔서 감사합니다.
모두 행복하세요.
이여송 사도요한 드림.
사람천사
이건 여전히...
이건 여준히 없군요... 어려운 과제인가 봅니다. 아니면 제가 뭔가 잘못 했든지 하하..
모두 행복하세요.
사람천사
댓글 달기