CentOS compilation and installation Wine

Source: Internet
Author: User

1st, download winesource code package, wine_1.4.1.tar.bz2: http://pan.baidu.com/s/147oLs flex-2.5.33.tar.bz2: http://pan.baidu.com/s/1vJJS6

2. decompress and run

[Root @ localhost ~] Tar jxvf wine-1.2.tar.bz2

3. Enter the wine directory

[Root @ localhost ~] Cd wine-1.2

4. Run configure

[Root @ localhost wine-1.2]./configure

5. Check dependencies automatically,

The first error is that the C compiler does not exist.

6. Install the C compiler GCC

[Root @ localhost wine-1.2] yum install gcc *

7. Run configure again.

[Root @ localhost wine-1.2]./configure

8. The second error is prompted that the flex version is not available.

9, because the use of yum to install flex version less than Wine requirements 2.5.32, so had to go to the Flex official website to download the latest version: http://flex.sourceforge.net/

10. Download flex version 2.5.35 in tar.gz. The download link is provided at the bottom of the article ~

11. decompress the package

[Root @ localhost ~] Tar jxvf flex-2.5.35.tar.gz

12. Go to the flex-2.5.35 directory.

[Root @ localhost ~] Cd flex-2.5.35

13. Check configure

[Root @ localhost flex-2.5.35]./configure

14. Compile and install

[Root @ localhost flex-2.3.35] make

[Root @ localhost flex-2.3.35] make install

15. After resolving the Flex Problem

16. Enter the Wine directory

[Root @ localhost flex-2.3.35] cd

[Root @ localhost ~] Cd wine-1.2

17. Continue Configure

[Root @ localhost wine-1.2]./configure

18. The system prompts that the Bison component is missing.

19. Install the Bison component

[Root @ localhost wine-1.2] yum install bison *

20. Check Configure after installing Bison.

[Root @ localhost wine-1.2]./configure

21. The system prompts that the X Development component is missing.

22. Install the X Development component

[Root @ localhost wine-1.2] yum-y groupinstall "X Software Development"

23. If the preceding command cannot be executed, use the following command to install

[Root @ localhost wine-1.2] yum groupinstall "Additional Development" "Development tools" "Desktop Platform Development" "Server Platform Development"

24. Check Configure after installation.

[Root @ localhost wine-1.2]./configure

25. After the Configure check is complete, you can start compilation and installation.

[Root @ localhost wine-1.2] make

[Root @ localhost wine-1.2] make install

26. Wine can be used after a long compilation process.


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.