Unable to properly install libpng and jpeg library on Mac Mavericks

421 views
Skip to first unread message

Jordan

unread,
Feb 6, 2014, 3:46:36 PM2/6/14
to circos-data-...@googlegroups.com
Hi,

I have read through a lot of discussions, tried every solution. But I could not install libpng and jpeg library properly on my Mac.


While jpeg-8d and libpng install without any issues, I cannot see them when I run the ./configure for libgd.

libgd-2.1.0-rc2$ ./configure 

** Configuration summary for libgd 2.1.0-rc2:

   Support for Zlib:                 yes
   Support for PNG library:          no
   Support for JPEG library:         no
   Support for VPX library:          no
   Support for TIFF library:         no
   Support for Freetype 2.x library: no
   Support for Fontconfig library:   no
   Support for Xpm library:          no
   Support for pthreads:             yes


configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating tests/test_config.h
config.status: creating config/Makefile
config.status: creating config/gdlib-config
config.status: creating config/gdlib.pc
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

As you can see, it says no for both PNG library and JPEG library. Can anyone help with this?

Harry Osoff

unread,
Feb 6, 2014, 4:24:01 PM2/6/14
to circos-data-...@googlegroups.com
Homebrew will install those -
Find homebrew here


brew install png
brew install jpeg

will install the two libraries

Harry


--
You received this message because you are subscribed to the Google Groups "Circos" group.
To unsubscribe from this group and stop receiving emails from it, send an email to circos-data-visual...@googlegroups.com.
To post to this group, send email to circos-data-...@googlegroups.com.
Visit this group at http://groups.google.com/group/circos-data-visualization.
For more options, visit https://groups.google.com/groups/opt_out.

Paulo Nuin

unread,
Feb 6, 2014, 4:26:11 PM2/6/14
to circos-data-...@googlegroups.com
Run

 ./configure —help 


on GD and check for the option to point to these libraries manually (usually —with-png= etc) and find the locations of libpng and libjpeg on your system and point there.

HTH

Paulo


Harry Osoff

unread,
Feb 6, 2014, 4:26:55 PM2/6/14
to circos-data-...@googlegroups.com
Oh - sorry my reply was too soon
Did not notice that libgd that was giving you this

I have had no luck this past week getting libgd to play well with others on a MAC

Harry


On Feb 6, 2014, at 2:46 PM, Jordan wrote:

Reply all
Reply to author
Forward
0 new messages