Leave your greetings here
톰소년.
2010/04/01 17:45
M/D
Reply
Permalink
안녕하세요.
charset detector를 찾아.. 찾아.. 이곳까지 왔습니다.
libchardet을 만드셨길래, windows 환경에서 사용하고자
mingw32/msys 에서 컴파일 시도하였으나, 잘 안되네요.
mingw32는 5.1.6, msys는 1.0.11 설치하였으며
msysDTK(developer tool kit) 1.0.1 설치해 놓은 상태입니다.
에러나는 상황은 아래와 같습니다.
(마지막 link에서 warning이 뜹니다.)
/bin/sh ../libtool --mode=link /mingw/bin/gcc.exe -Wall -mthreads -O2 -mms-bitfields -pipe -DHAVE_CONFIG_H -I. -I.. -I
../include -I/mingw/include -DMINGW32 -rpath /usr/local/lib -version-info 1:0:0 -o libchardet.la CharDistribution.lo Jp
Cntx.lo LangBulgarianModel.lo LangCyrillicModel.lo LangGreekModel.lo LangHebrewModel.lo LangHungarianModel.lo LangThaiMo
del.lo nsBig5Prober.lo nsCharSetProber.lo nsEUCJPProber.lo nsEUCKRProber.lo nsEUCTWProber.lo nsEscCharsetProber.lo nsEsc
SM.lo nsGB2312Prober.lo nsHebrewProber.lo nsLatin1Prober.lo nsMBCSGroupProber.lo nsMBCSSM.lo nsSBCSGroupProber.lo nsSBCh
arSetProber.lo nsSJISProber.lo nsUTF8Prober.lo nsUniversalDetector.lo chardet.lo -L/mingw/lib -Wl,--enable-auto-image-ba
se -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc -lstdc++
*** Warning: This system can not link to static lib archive /mingw/lib/libstdc++.la.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
libtool: link: warning: undefined symbols not allowed in i686-pc-mingw32 shared libraries
ar cru .libs/libchardet.a CharDistribution.o JpCntx.o LangBulgarianModel.o LangCyrillicModel.o LangGreekModel.o LangHeb
rewModel.o LangHungarianModel.o LangThaiModel.o nsBig5Prober.o nsCharSetProber.o nsEUCJPProber.o nsEUCKRProber.o nsEUCTW
Prober.o nsEscCharsetProber.o nsEscSM.o nsGB2312Prober.o nsHebrewProber.o nsLatin1Prober.o nsMBCSGroupProber.o nsMBCSSM.
o nsSBCSGroupProber.o nsSBCharSetProber.o nsSJISProber.o nsUTF8Prober.o nsUniversalDetector.o chardet.o
ranlib .libs/libchardet.a
creating libchardet.la
(cd .libs && rm -f libchardet.la && ln -s ../libchardet.la libchardet.la)
/bin/install -c -m755 ../chardet-config.in chardet-config ; \
/bin/perl -pi -e "s!\@prefix\@!/usr/local!g" chardet-config ; \
/bin/perl -pi -e "s!\@exec_prefix\@!/usr/local!g" chardet-config ; \
/bin/perl -pi -e "s!\@VERSION\@!1.0.1!g" chardet-config ; \
/bin/perl -pi -e "s!\@includedir\@!/usr/local/include!g" chardet-config ; \
/bin/perl -pi -e "s!\@libdir\@!/usr/local/lib!g" chardet-config ; \
/bin/perl -pi -e "s!\@CFLAGS\@!-mthreads -O2 -mms-bitfields -pipe !g" chardet-config ; \
/bin/perl -pi -e "s!\@prog\@!chardet!g" chardet-config ;
Can't do inplace edit on chardet-config: Permission denied.
Can't open chardet-config: No such file or directory.
Can't open chardet-config: No such file or directory.
Can't open chardet-config: No such file or directory.
Can't open chardet-config: No such file or directory.
Can't open chardet-config: No such file or directory.
Can't open chardet-config: No such file or directory.
make[1]: Leaving directory `/home/Administrator/libchardet-1.0.1/src'
왜 이런 warning 등등이 나타나는 것인지 고수님의 고견 부탁드려요~~
login
2010/02/13 02:02
M/D
Reply
Permalink
아직 안녕을 사용하지는 않지만 q/a 등 참고가 많이 되네요.
감사합니다.
홍규동
2009/02/02 16:54
M/D
Reply
Permalink
늘 감사드립니다.
필요할때마다 몇년에 한번꼴로 나타나 초급질문만 집중해대는 넘입니다.
아이들이 참 귀엽네요
늘 행복하시길 기원합니다
노랑배
2008/11/20 11:38
M/D
Reply
Permalink
매번 도움만 받고 갔습니다.
여태까지 감사인사 한번도 못해 죄송합니다.
그래도 늘 감사하게 이용하고 있습니다.