Jump to content
Read the Funtoo Newsletter: Summer 2023 ×
  • 0

Allegro emerge failed



I need to install the allegro library to work with an older piece of code. However allegro fails to emerge. I'm attaching the output of "emerge media-libs/allegro" as allegro.log, the output of "emerge --info '=media-libs/allegro-'" as info.log and the output of "emerge -pqv '=media-libs/allegro-'" as pqv.log

allegro.log info.log pqv.log

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 1

Download the allegro.opengl.fix.compilation.with.mesa.18.2.5.patch

# mkdir -p /etc/portage/patches/media-libs/allegro-
# cp  allegro.opengl.fix.compilation.with.mesa.18.2.5.patch /etc/portage/patches/media-libs/allegro-
# emerge -1av =media-libs/allegro-

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] media-libs/allegro-  USE="X alsa flac gtk jpeg opengl png truetype vorbis webp -dumb -openal -opus -oss -physfs -pulseaudio -test -xinerama" 0 KiB


Link to comment
Share on other sites

  • 1

Notice the subject line of the email message:

Subject: [PATCH] opengl: fix compilation with Mesa 18.2.5 and later

Email is a primary method of users sharing patches to solve compilation failure.

This entire email message of multiple diffs is the patch, download it in your browser (Ctrl+s), save as allegro.opengl.fix.compilation.with.mesa.18.2.5.patch

Follow the directions in my previous reply.





Link to comment
Share on other sites

  • 0

Thanks for your answer. I'm not familiar with using custom patches with portage. Which part of the message you linked to is the actual patch? I see the output of 2 diff commands, neither of which is an actual patch. I don't know what format portage expects the patch to be in.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...