Bug 814375

Summary: allegro-config executable is not included into any of allegro5 packages.
Product: [Fedora] Fedora Reporter: Paul <engr.maxyan>
Component: allegro5Assignee: Brandon McCaig <bamccaig>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 16CC: bamccaig, hdegoede
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-19 19:15:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Result of yum whatprovides. none

Description Paul 2012-04-19 17:48:05 UTC
Created attachment 578724 [details]
Result of yum whatprovides.

This command can't be found in neither in bash nor manually in the file system. The "yum whatprovides */allegro-config" command points only allegro-devel-4.4.x.x packages. It's confirmed on both F16 and F17.

Comment 1 Brandon McCaig 2012-04-19 19:15:12 UTC
The allegro-config tool is specific to Allegro 4. Allegro 5 no longer uses a custom tool to retrieve compiler and linker flags. Allegro 5 now uses pkg-config, which is a general purpose utility with a similar function.

This should get you started:

gcc -Wall main.c `pkg-config --cflags --libs allegro-5.0 allegro_image-5.0`

Comment 2 Paul 2012-04-19 19:49:05 UTC
I should have checked that first, but I was certain that I was referring to official manual for allegro 5. Sorry for mistake.