Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 915863

Summary: media-libs/sdl2-ttf-2.20.2 - SDL2_INCLUDE_DIR does not exist
Product: Gentoo Linux Reporter: William Rabbermann <willrabbermann>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log
emerge --info

Description William Rabbermann 2023-10-16 18:45:52 UTC
Created attachment 872997 [details]
build log

Cannot compile sdl2-ttf-2.20.2 
"SDL2_INCLUDE_DIR does not exist !"

"equery d sdl2-ttf
 * These packages depend on sdl2-ttf:
" 
Nothing is pulling in sdl2-ttf but keeps getting pulled in.
Comment 1 William Rabbermann 2023-10-16 18:46:15 UTC
Created attachment 872998 [details]
emerge --info
Comment 2 James Le Cuirot gentoo-dev 2023-10-17 20:54:23 UTC
Perhaps the package is in your world file. Check /var/lib/portage/world. This bug report is invalid though because the log shows it is using this file:

/usr/local/lib/cmake/SDL2/sdl2-config.cmake

Being under /usr/local presumably means you've installed SDL2 manually. That's just going to break things unless you install it in a non-standard location.
Comment 3 William Rabbermann 2023-10-17 22:04:12 UTC
I remember compiling sdl2 manually now, sorry.
sdl2-ttf compiled and installed successfully after `rm -r /usr/local/lib/cmake/SDL2`. Uncertain what is depending upon the package in, its not in `/var/lib/portage/world` nor sdl2.