[asterisk-bugs] [Asterisk 0016155]: [patch] Use pkg-config to find gmime libraries.

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Jun 11 12:29:51 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16155 
====================================================================== 
Reported By:                jcollie
Assigned To:                pabelanger
====================================================================== 
Project:                    Asterisk
Issue ID:                   16155
Category:                   Core/BuildSystem
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for review
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-10-29 13:42 CDT
Last Modified:              2010-06-11 12:29 CDT
====================================================================== 
Summary:                    [patch] Use pkg-config to find gmime libraries.
Description: 
Use pkg-config to find gmime libraries - that way the libraries can be
found even if they are in non-standard locations.
====================================================================== 

---------------------------------------------------------------------- 
 (0123286) tilghman (administrator) - 2010-06-11 12:29
 https://issues.asterisk.org/view.php?id=16155#c123286 
---------------------------------------------------------------------- 
On Ubuntu, the two commands output differently, so I think it's mandatory
that we verify that it works correctly on non-RH-derived systems (what
jcollie and jsmith are using):

tilghman at gadolinium:~/Asterisk/asterisk-trunk$ gmime-config --cflags
-I/usr/include/gmime-2.0 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
tilghman at gadolinium:~/Asterisk/asterisk-trunk$ pkg-config gmime-2.0
--cflags
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gmime-2.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
tilghman at gadolinium:~/Asterisk/asterisk-trunk$ gmime-config --libs
-L/usr/lib -lgmime-2.0 -lz -lnsl -lz -lnsl -Wl,--export-dynamic -pthread
-lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lrt -lglib-2.0
tilghman at gadolinium:~/Asterisk/asterisk-trunk$ pkg-config gmime-2.0
--libs
-lgmime-2.0 -lz -lnsl -lgobject-2.0 -lglib-2.0 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-06-11 12:29 tilghman       Note Added: 0123286                          
======================================================================




More information about the asterisk-bugs mailing list