안녕하세요 알짜리눅스 6.1을 쓰고 있구요 Mysql의 "M"자도 모르는 넘이 설치해
본답시고 깝죽되는 아주아주 왕초보입니다.
그런데 Mysql을 설치해보기위해(RPM이 아닌 소스로설치) 정종갑님께서 써놓으신
글을 보고 순서대로 잘 설치해 나갔습니다. 하는 도중에 다른 에러는 없었는데
Perl을 지원하는 부분에서 막힙니다.
이 부분인데요 일단 Perl관련 프로그램 세개를 다운로드했구요
(Data-Dumper, DBI , Msql-Mysql-modules 이 세 파일)
Data-Dumper와 DBI는 무사히 통과했는데 다음의 Msql-Mysql-modules에서 막힙니다.
내용은 이렇습니다.
[root@chamvit Msql-Mysql-modules-1.2209]# perl Makefile.PL 하고 엔터를 치니까
Which drivers do you want install?
1)MySQL only
2)mSQL only(either of mSQL 1 or mSQL 2)
3)MySQL and mSQL (either of mSQL 1 or mSQL 2)
4)mSQL 1 and mSQL 2
5)MySQL,mSQL 1 and mSQL 2
Enter the appropriate number: [3]
이 나와서 기본이 3번에 선택되어 있어서 뭔말이 뭔말인지도 모르니까
일단 그대로 3번을 선택하고 엔터를 쳤습니다.(단순무식형)
그랬더니 다음과 같이 나왔고 ...
Do you want to install the MydqlPerl emulations? You might keep your old
Mysql module (to be distinguished from DBD::mysql!) if you are concerned
about compatibility to existing applications! [n] 에서 엔터를 치고 나니
Do you want to install the MydqlPerl emulations? You might keep your old
Mysql module (to be distinguished from DBD::mysql!) if you are concerned
about compatibility to existing applications! [n] 이 또 나오더라구요 그래서
또 엔터를 치니까 ..
where is your mSQL installed? Please tell me the directory that
contains the subdir 'include'. [/usr/local/Hughes] 라고 나와서 엔터를
치니깐 ..
Cannot find include/msql.h in /usr/local/Hughes 라고 나옵니다.
여기가 문제 인데요 어떻게 해야하는지요. msql.h 파일은 어디에 있는지도
모르고 갑갑-.-!... 여기다 /usr/local/include도 쳐보고 막 쳐봤는데
계속 똑같은 메세지만 나오네요
앞부분 설치시 ./configure --prefix=/usr/local/mysql로 했구요
또 ./configure --prefix=/usr/local\--localstatedir=/usr/local/mysql/data
이것도 치라니깐 그대로 치고 진행 했습니다.(단순 무식 ^.^)
그리고 한가지 더 있는데요
소켓디렉토리 부분에서
./configure --with-unix-socket-path=/path/to/socker/dir 이 부분에
/path/to/socket/dir 이 반드시 절대경로여야 한다는데 어떤경로를 적어주어야
하는지요 .. (이 부분설치시는 그냥 위에적힌대로 그대로 쳤거든요 또 무식^.^!)
휴 땀난다! 암튼 어떻게 진행하라는 건지 몰라 시키는대로 그대로 막 했습니다.
근데 첫번째 두과정은 에러는 없었던거 같아요(error이라는 글자는 안보였음)
왕초보의 수준에 맞게(아주쉽게)
답변좀 해주시면 너무너무 고맙겠습니다.
꼭 도와주실거죠!
감사합니다. 그럼이만
|