Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 192716 - media-sound/gsm-1.0.12 not installing libs and includes after successful compile
Summary: media-sound/gsm-1.0.12 not installing libs and includes after successful compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-16 18:20 UTC by JTRiley
Modified: 2007-09-16 18:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description JTRiley 2007-09-16 18:20:30 UTC
Just for the record, I was having issues getting /usr/include/gsm.h or /usr/lib64/libgsm.a to show up after a successful build/install of gsm-1.0.12.

After playing around with the makefile by hand I realized the project doesn't create the target install directories itself, hence the need for "dodir blah blah" to make the target dirs show up in /var/tmp/portage/.../image.  

The catch here is that in src_install() we're using GSM_INSTALL_LIB="${D}"/usr/$(get_libdir) however the dodir statically defines the lib dir in the image folder to be /usr/lib.  In the case of amd64 this will obviously fail. 

Changing /usr/lib to /usr/$(get_libdir) in the dodir line of the ebuild fixes this issue for me

~jtriley
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2007-09-16 18:33:40 UTC
(In reply to comment #0)
> Changing /usr/lib to /usr/$(get_libdir) in the dodir line of the ebuild fixes
> this issue for me

Changed. Sorry, I missed it because system I used when adding it was x86.