{"action":"created","issue":{"url":"https://api.github.com/repos/fontforge/fontforge/issues/2283","labels_url":"https://api.github.com/repos/fontforge/fontforge/issues/2283/labels{/name}","comments_url":"https://api.github.com/repos/fontforge/fontforge/issues/2283/comments","events_url":"https://api.github.com/repos/fontforge/fontforge/issues/2283/events","html_url":"https://github.com/fontforge/fontforge/issues/2283","id":79089712,"number":2283,"title":"build failure on NetBSD","user":{"login":"ChristTrekker","id":8314335,"avatar_url":"https://avatars.githubusercontent.com/u/8314335?v=3","gravatar_id":"","url":"https://api.github.com/users/ChristTrekker","html_url":"https://github.com/ChristTrekker","followers_url":"https://api.github.com/users/ChristTrekker/followers","following_url":"https://api.github.com/users/ChristTrekker/following{/other_user}","gists_url":"https://api.github.com/users/ChristTrekker/gists{/gist_id}","starred_url":"https://api.github.com/users/ChristTrekker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChristTrekker/subscriptions","organizations_url":"https://api.github.com/users/ChristTrekker/orgs","repos_url":"https://api.github.com/users/ChristTrekker/repos","events_url":"https://api.github.com/users/ChristTrekker/events{/privacy}","received_events_url":"https://api.github.com/users/ChristTrekker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-21T17:25:52Z","updated_at":"2015-05-31T23:18:42Z","closed_at":null,"body":"Relevant steps and file sections follow.\r\n\r\n\r\n-bash-4.3$ AMTAR=`which gtar` ./bootstrap\r\n\r\n\r\n-bash-4.3$ CPPFLAGS=\"-I/usr/pkg/include\" LDFLAGS=\"-L/usr/pkg/lib\" \r\n./configure\r\n\r\n\r\nchecking Build with JPEG support?... yes\r\nchecking png.h usability... yes\r\nchecking png.h presence... yes\r\nchecking for png.h... yes\r\nchecking for library containing png_init_io... no\r\nchecking Build with PNG support?... no\r\nchecking tiffio.h usability... yes\r\nchecking tiffio.h presence... yes\r\nchecking for tiffio.h... yes\r\nchecking for library containing TIFFRewriteField... no\r\nchecking for library containing TIFFClose... -ltiff\r\nchecking Build with TIFF support?... yes\r\nchecking for LIBCAIRO... yes\r\nchecking Build with Cairo support?...\r\nconfigure: error: in `/home/tim/dev/fontforge-20150430':\r\nconfigure: error: ERROR: Please install the Developer version of libpng\r\nSee `config.log' for more details\r\n\r\n\r\nconfigure:20022: $? = 0\r\nconfigure:20214: result: yes\r\nconfigure:20220: checking Build with Cairo support?\r\nconfigure:20225: error: in `/home/tim/dev/fontforge-20150430':\r\nconfigure:20227: error: ERROR: Please install the Developer version of \r\nlibpng\r\nSee `config.log' for more details\r\n\r\n\r\nValues of ${i_do_have_libpng} and ${with_libpng} are \"no\" and \"check\" at \r\nthat point. However,\r\n\r\n\r\n-bash-4.3$ nm /usr/pkg/lib/libpng16.a  | grep _init_\r\n0000000000000b0f T png_info_init_3\r\n0000000000001180 T png_init_io\r\n000000000000182a T png_init_read_transformations\r\n                 U png_init_read_transformations\r\n0000000000000057 t png_init_filter_heuristics\r\n-bash-4.3$ nm /usr/pkg/lib/libpng16.so  | grep _init_\r\n0000000000005d36 T png_info_init_3\r\n000000000001d4ee t png_init_filter_heuristics\r\n00000000000063a9 T png_init_io\r\n0000000000012842 t png_init_read_transformations\r\n\r\n\r\nSo, I'd think the configuration should have found what it was looking for."},"comment":{"url":"https://api.github.com/repos/fontforge/fontforge/issues/comments/107256601","html_url":"https://github.com/fontforge/fontforge/issues/2283#issuecomment-107256601","issue_url":"https://api.github.com/repos/fontforge/fontforge/issues/2283","id":107256601,"user":{"login":"JoesCat","id":1127313,"avatar_url":"https://avatars.githubusercontent.com/u/1127313?v=3","gravatar_id":"","url":"https://api.github.com/users/JoesCat","html_url":"https://github.com/JoesCat","followers_url":"https://api.github.com/users/JoesCat/followers","following_url":"https://api.github.com/users/JoesCat/following{/other_user}","gists_url":"https://api.github.com/users/JoesCat/gists{/gist_id}","starred_url":"https://api.github.com/users/JoesCat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoesCat/subscriptions","organizations_url":"https://api.github.com/users/JoesCat/orgs","repos_url":"https://api.github.com/users/JoesCat/repos","events_url":"https://api.github.com/users/JoesCat/events{/privacy}","received_events_url":"https://api.github.com/users/JoesCat/received_events","type":"User","site_admin":false},"created_at":"2015-05-31T23:18:42Z","updated_at":"2015-05-31T23:18:42Z","body":"Hi @ChristTrekker,\r\nAC_CHECK_LIB(library, function, [action-if-found], [action-if-not-found], [other-libraries])\r\nis a bit more mature than:\r\nAC_SEARCH_LIBS(function, search-libs, [action-if-found], [action-if-not-found], [other-libraries])\r\n\r\nIn file m4/fontforge_search_libs.m4\r\nchange the line containing:\r\n   AC_SEARCH_LIBS([$1],[$2],\r\nto:\r\n   AC_CHECK_LIB([$2],[$1],\r\n\r\nPlease see if that resolves the path searching problem."}}