![CentOS7에서는 WINE 컴파일이 항상 실패합니다.](https://linux55.com/image/11494/CentOS7%EC%97%90%EC%84%9C%EB%8A%94%20WINE%20%EC%BB%B4%ED%8C%8C%EC%9D%BC%EC%9D%B4%20%ED%95%AD%EC%83%81%20%EC%8B%A4%ED%8C%A8%ED%95%A9%EB%8B%88%EB%8B%A4..png)
Gnome 데스크탑에서 CentOS 7의 새 인스턴스를 실행하고 있습니다. KeePass를 실행할 수 있도록 CentOS 7 인스턴스에서 Wine을 실행하고 싶습니다.
EPEL을 통해 Wine을 설치했지만 wine에서 .exe를 실행하면 다음과 같은 결과가 발생합니다.
000f:fixme:service:scmdatabase_autostart_services Auto-start service L"MountMgr" failed to start: 2
000f:fixme:service:scmdatabase_autostart_services Auto-start service L"WineBus" failed to start: 2
wine: Bad EXE format for <name of any executable I try>
이 버전의 Wine을 제거했습니다. "CentOS7에 WINE 설치"를 검색하는 동안 다음 블로그를 발견했습니다.
- https://www.systutorials.com/239913/install-32-bit-wine-1-8-centos-7/
- https://www.tecmint.com/install-wine-in-rhel-centos-and-fedora/
둘 다 컴파일하는 동안 나에게 동일한 문제점을 제공했습니다. ./configure
와인 소스 폴더에서 실행하는 데 문제가 없습니다 . 명령을 실행 make
하면 프로젝트가 컴파일되기 시작합니다. 그러나 그것은언제나컴파일된 dll/cabinet/tests 섹션에서 멈춥니다. 구체적인 오류는 다음과 같습니다.
winegcc: File does not exist: fdi.o
make[1]: *** [cabinet_test-stripped.exe.so] Error 2
make[1]: Leaving directory `/tmp/wine-3.15/dlls/cabinet/tests'
make: *** [dlls/cabinet/tests] Error 2
Wine 2.0.2, 3.0, 3.0.3, 3.15 및 3.16을 컴파일해 보았습니다. 정확히 동일한 파일의 모든 컴파일이 실패합니다. '실종'자가 실제로 존재하는 것을 확인했습니다 fdi.o
.
[myname@mymachine wine-3.15]$ ls ./dlls/cabinet/tests/
total 240
-rw-rw-r--. 1 myname myname 76 Aug 31 15:24 Makefile.in
-rw-rw-r--. 1 myname myname 31307 Aug 31 15:24 fdi.c
...
-rw-rw-r--. 1 myname myname 55940 Sep 25 14:16 fdi.o
...