Giter Site home page Giter Site logo

Comments (11)

edgarigl avatar edgarigl commented on August 19, 2024 52

Hi Alvaro,

You don't need those exact versions but you need to install the -dev packages, e.g apt-get install libglib2.0-dev.

Best regards,
Edgar

from qemu.

Diaz-Manuel avatar Diaz-Manuel commented on August 19, 2024 17

I am using Ubuntu 20.04. I cannot solve this problem.

Here is my error log.

❯ ./configure --target-list=riscv64-softmmu && make
Using './build' as the directory for build output
ERROR: glib-2.56 gthread-2.0 is required to compile QEMU

I've already installed libglib2.0-dev and cannot find gthread. What should I do?

After installing the package libglib2.0-dev (by the way, thanks for the name, needed that), together with libpixman-1-dev due to later errors, I was able to run sudo ./configure errorless. Just wouldn't work without sudo.

from qemu.

PoplarYang avatar PoplarYang commented on August 19, 2024 9

for CentOS

# yum install glib2
# yum install glib2-devel

from qemu.

diohabara avatar diohabara commented on August 19, 2024 5

I am using Ubuntu 20.04. I cannot solve this problem.

Here is my error log.

❯ ./configure --target-list=riscv64-softmmu && make
Using './build' as the directory for build output
ERROR: glib-2.56 gthread-2.0 is required to compile QEMU

I've already installed libglib2.0-dev and cannot find gthread. What should I do?

from qemu.

samuelcolqueflores avatar samuelcolqueflores commented on August 19, 2024 1

I had a totally different experience to say that the error ERROR: glib-2.48 gthread-2.0 is required to compile QEMU is ambiguous.
I did have the package libglib2.0-dev installed, so the error was not related to it.
After inspecting the config.log file (a file in one's build directory), I discovered that some libraries and headers where missing because the compilation failed after adding a library or because of an undefined function. Some libraries were (in my case) namely: libibumad, libibverbs. Thus, I installed libibumad-dev, libibverbs-dev packages in my system (Ubuntu).
The missing libraries or headers in your case may vary so inspect the lasts lines of the config.log file in your build directory to see which libraries/headers you don't have installed.

from qemu.

saipava avatar saipava commented on August 19, 2024 1

from qemu.

penpendandan avatar penpendandan commented on August 19, 2024

for CentOS

# yum install glib2
# yum install glib2-devel

however, I have glib2.4,and the error still remain.
I run
yum install glib2
the log in the terminal is
Package glib2-2.40.0-4.x86_64 already installed and latest version

I run
yum install glib2-devel
the log in the terminal is
Package glib2-devel-2.40.0-4.x86_64 already installed and latest version

How can I fix it?

from qemu.

avisWang avatar avisWang commented on August 19, 2024

you have already installed glib2 and glib2-devel,
sudo ./configure
sudo make
that works for me

from qemu.

wang-jiaolong avatar wang-jiaolong commented on August 19, 2024

I am using Ubuntu 20.04. I cannot solve this problem.

Here is my error log.

❯ ./configure --target-list=riscv64-softmmu && make
Using './build' as the directory for build output
ERROR: glib-2.56 gthread-2.0 is required to compile QEMU

I've already installed libglib2.0-dev and cannot find gthread. What should I do?

I have also encountered this problem. Have you solved it?

from qemu.

wang-jiaolong avatar wang-jiaolong commented on August 19, 2024

Hi Jialong, As you are on ubuntu. Did you ever try apt build-dep qemu Regards, Sai Pavan From: Jiaolong @.> Sent: Tuesday, August 30, 2022 2:48 PM To: Xilinx/qemu @.> Cc: Subscribed @.> Subject: Re: [Xilinx/qemu] ERROR: glib-2.48 gthread-2.0 is required to compile QEMU (#40) CAUTION: This message has originated from an External Source. Please use proper judgment and caution when opening attachments, clicking links, or responding to this email. I am using Ubuntu 20.04. I cannot solve this problem. Here is my error log. ❯ ./configure --target-list=riscv64-softmmu && make Using './build' as the directory for build output ERROR: glib-2.56 gthread-2.0 is required to compile QEMU I've already installed libglib2.0-dev and cannot find gthread. What should I do? I have also encountered this problem. Have you solved it? — Reply to this email directly, view it on GitHub<#40 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AD73MGLDP6DL3OZECOTYQ3LV3XGWLANCNFSM4K4BU62Q. You are receiving this because you are subscribed to this thread.Message ID: @.>

Thank you for your advice, but after downloading some files, the problem is still unsolved and the same error message remains.

from qemu.

mrsirfloppa avatar mrsirfloppa commented on August 19, 2024

here's my error:
./configure
Using './build' as the directory for build output

ERROR: glib-2.56 gthread-2.0 is required to compile QEMU

from qemu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.