I recognized that building synfig-studio without png support is actually useless 'cause it's trying to make some png out of synfig files during the build.
Getting closer to why AC_CHECK_LIB can't find my libpng, i'm finding this in config.log:
Code:
configure:21291: checking for png_write_row in -lpng
configure:21316: mingw32-g++ -o conftest.exe -DNDEBUG -O1 -W -Wall -LC:/GTK/lib -DSINGLE_THREADED -lole32 -no-undefined -Wl,--export-all-symbols -Wl,--subsystem=console -Wl,--enable-runtime-pseudo-reloc conftest.cpp -lpng -lz -LNONE/lib >&5
mingw32-g++.exe: error: unrecognized option '-no-undefined'
configure:21316: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Synfig Core"
| #define PACKAGE_TARNAME "synfig"
| #define PACKAGE_VERSION "0.63.04"
| #define PACKAGE_STRING "Synfig Core 0.63.04"
| #define PACKAGE_BUGREPORT "http://sourceforge.net/tracker/?group_id=144022&atid=757416"
| #define PACKAGE_URL ""
| #define PACKAGE "synfig"
| #define VERSION "0.63.04"
| #define LT_SCOPE extern
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define LT_OBJDIR ".libs/"
| #define WITH_FONTCONFIG /**/
| #define HAVE_OPENEXR /**/
| #define LT_MODULE_EXT ".dll"
| #define LT_MODULE_PATH_VAR "PATH"
| #define LT_DLSEARCH_PATH "/lib:/usr/lib"
| #define HAVE_DECL_CYGWIN_CONV_PATH 0
| #define HAVE_LIBDLLOADER 1
| #define LTDL_DLOPEN_DEPLIBS 1
| #define error_t int
| #define __error_t_defined 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DIRENT_H 1
| #define LT_LIBEXT "a"
| #define LT_LIBPREFIX "lib"
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char png_write_row ();
| int
| main ()
| {
| return png_write_row ();
| ;
| return 0;
| }
configure:21325: result: no
I read that '-no-undefined' looks unrecognized for gcc-4.6.x. But looks like libtool treats this as i don't have corresponding libraries. Didn't figure out what to do with it for now though.
Genete wrote:
Predelink, It would be great to correct the wiki recipes meanwhile you're solving the issues encountered.
-G
Yeah, i guess i will do it, when i figure my problems out
