Linux

wine 설치

Naan 2014. 7. 1. 00:07
반응형

wine 설치 방법(centos 기준)


# yum -y install libX11-devel freetype-devel flex bison

# cd /tmp

# wget http://garr.dl.sourceforge.net/project/wine/Source/wine-1.5.23.tar.bz2

# tar -xvf wine-1.5.23.tar.bz2

# cd /wine-1.5.23

# ./configure

checking build system type... x86_64-unknown-linux-gnu

checking host system type... x86_64-unknown-linux-gnu

checking whether make sets $(MAKE)... yes

checking for gcc... gcc

checking whether the C compiler works... yes

checking for C compiler default output file name... a.out

checking for suffix of executables...

checking whether we are cross compiling... no

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 ISO C89... none needed

checking for g++... g++

checking whether we are using the GNU C++ compiler... yes

checking whether g++ accepts -g... yes

checking for cpp... cpp

checking whether gcc -m32 works... yes

checking for the directory containing the Wine tools... $(top_builddir)

checking for flex... flex

checking whether flex is recent enough... no

configure: error: Your flex version is too old. Please install flex version 2.5.33 or newer.

위와 같에 에러가 발생이 된다면 flex 버전이 낮아서 그렇다


업데이트를 해주자
# wget ftp://ftp.pbone.net/mirror/ftp.sourceforge.net/pub/sourceforge/h/hp/hphp/CentOS%205%2064bit/RPM/flex-2.5.35-7.x86_64.rpm
# rpm -Uvh flex-2.5.35-7.x86_64.rpm


# ./configure

# make && make install 

해주면 된다. 시간이 오래 걸린다.

반응형

'Linux' 카테고리의 다른 글

centos 설치 에러 Isolinux disk error 20 ~  (0) 2014.08.26
unable to qualify my own domain name (test) -- using short name  (0) 2014.07.09
svn 버전별로 설치하기  (0) 2014.06.30
kernel upgrade  (0) 2014.06.26
169.254.0.0 비활성화 방법  (0) 2014.06.19