Building static version of glib2
Is it possible to instruct macports to build/install static version of glib2? Thnx, Andrei Tchijov
On Nov 30, 2007, at 12:10, Andrei Tchijov wrote:
Is it possible to instruct macports to build/install static version of glib2?
Most ports should install both dynamic and static versions of their libraries. Looking at the output of "port contents glib2", though, I don't see any .a files. I see now that glib2's ./configure --help says static libraries are disabled by default. I fixed this in r31643. If you wait 12 hours, "sudo port selfupdate" and then "sudo port upgrade glib2" you should get version 2.14.4_1 with static as well as dynamic libraries. Thanks for reporting this.
Thanks for quick response. While you fixing it, could you do the same with ImageMagic? It does not install any static libraries either. Thanks a lot! Andrei Tchijov On Dec 1, 2007, at 03:50 , Ryan Schmidt wrote:
On Nov 30, 2007, at 12:10, Andrei Tchijov wrote:
Is it possible to instruct macports to build/install static version of glib2?
Most ports should install both dynamic and static versions of their libraries.
Looking at the output of "port contents glib2", though, I don't see any .a files.
I see now that glib2's ./configure --help says static libraries are disabled by default.
I fixed this in r31643. If you wait 12 hours, "sudo port selfupdate" and then "sudo port upgrade glib2" you should get version 2.14.4_1 with static as well as dynamic libraries.
Thanks for reporting this.
On Dec 1, 2007, at 09:44, Andrei Tchijov wrote:
Thanks for quick response. While you fixing it, could you do the same with ImageMagic? It does not install any static libraries either.
ImageMagick is a bit of a different case. Its default is to build static libraries, but the port specifically requested that static libraries be disabled, and it has done so since the port was created in r2591 on 2003-05-08. Enabling the static libraries seems to work though so I changed this in r31651. Wait 12 hours and you should be able to install version 6.3.7-1_1 which includes this fix.
participants (2)
-
Andrei Tchijov
-
Ryan Schmidt