Date: Wed, 20 Dec 2006 16:51:06 -0800 From: Daniel Malaby <dan@malaby.com> To: sem@FreeBSD.org Cc: ports@FreeBSD.org Subject: FreeBSD Port: mysql-administrator-1.1.10 does not build on FBSD 6.0 release system Message-ID: <4589DA7A.8030902@malaby.com>
next in thread | raw e-mail | index | archive | help
I get an error when building mysql-administrator. I checked both FBSD and mysql lists and did not find any info on this particular error, so I was hoping you might be able to point me to some info. Any help would be much appreciated. Thanks system details: FreeBSD xxxxxxxxx.xxxxxx.xxx 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC i386 I built mysql 5.1 from ports and it did build and does run sucessesfully. screen dump of mysql-administrator build bility check disabled, database not found ===> Extracting for mysql-administrator-1.1.10 => MD5 Checksum OK for mysql-administrator-1.1.10.tar.gz. => SHA256 Checksum OK for mysql-administrator-1.1.10.tar.gz. ===> Patching for mysql-administrator-1.1.10 ===> Applying FreeBSD patches for mysql-administrator-1.1.10 ===> mysql-administrator-1.1.10 depends on executable in : scrollkeeper-config - found ===> mysql-administrator-1.1.10 depends on executable in : gmake - found ===> mysql-administrator-1.1.10 depends on file: /usr/local/bin/autoconf259 - found ===> mysql-administrator-1.1.10 depends on file: /usr/local/bin/intltool-extract - found ===> mysql-administrator-1.1.10 depends on executable in : pkg-config - found ===> mysql-administrator-1.1.10 depends on shared library: gtkmm-2.4 - found ===> mysql-administrator-1.1.10 depends on shared library: pcre.0 - found ===> mysql-administrator-1.1.10 depends on shared library: iconv.3 - found ===> mysql-administrator-1.1.10 depends on shared library: mysqlclient.15 - found ===> mysql-administrator-1.1.10 depends on shared library: atk-1.0.0 - found ===> mysql-administrator-1.1.10 depends on shared library: glib-2.0.0 - found ===> mysql-administrator-1.1.10 depends on shared library: gtk-x11-2.0.0 - found ===> mysql-administrator-1.1.10 depends on shared library: glade-2.0.0 - found ===> mysql-administrator-1.1.10 depends on shared library: xml2.5 - found ===> mysql-administrator-1.1.10 depends on shared library: pango-1.0.0 - found ===> mysql-administrator-1.1.10 depends on shared library: X11.6 - found ===> Configuring for mysql-administrator-1.1.10 ===> Building for mysql-administrator-1.1.10 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether gmake sets $(MAKE)... yes checking build system type... i386-portbld-freebsd6.0 checking host system type... i386-portbld-freebsd6.0 checking for gcc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking for style of include used by gmake... GNU checking dependency style of cc... gcc3 checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking dependency style of c++... gcc3 checking for ranlib... ranlib test: FreeBSD: unexpected operator checking how to run the C preprocessor... cc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for LC_MESSAGES... yes checking libintl.h usability... no checking libintl.h presence... no checking for libintl.h... no ./configure.lineno: cannot open ./po/POTFILES.in: No such file or directory checking for pkg-config... /usr/local/bin/pkg-config checking for glib-2.0 libxml-2.0 >= 2.6.2... yes checking GLIB_CFLAGS... -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2 -I/usr/local/include checking GLIB_LIBS... -L/usr/local/lib -lglib-2.0 -lxml2 -lz -liconv -lm checking for gthread-2.0 libxml-2.0 >= 2.6.2... yes checking GTHREAD_CFLAGS... -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2 -I/usr/local/include checking GTHREAD_LIBS... -pthread -L/usr/local/lib -lgthread-2.0 -lglib-2.0 -lxml2 -lz -liconv -lm checking for gtk+-2.0... yes checking GTK_CFLAGS... -DXTHREADS -DXUSE_MTSAFE_API -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include checking GTK_LIBS... -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib -L/usr/X11R6/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lXrandr -lXi -lXinerama -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lXcursor -lXfixes -lcairo -lpangoft2-1.0 -lfontconfig -lfreetype -lz -lpango-1.0 -lm -lXrender -lX11 -lXext -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -liconv checking for libglade-2.0 gtkmm-2.4... yes checking GNOME_CFLAGS... -DXTHREADS -DXUSE_MTSAFE_API -I/usr/local/include/libglade-2.0 -I/usr/local/include/gtk-2.0 -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include/gtkmm-2.4 -I/usr/local/lib/gtkmm-2.4/include -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/gdkmm-2.4 -I/usr/local/lib/gdkmm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/include/atkmm-1.6 -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/cairomm-1.0 checking GNOME_LIBS... -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib -L/usr/X11R6/lib -lglade-2.0 -lxml2 -lgtkmm-2.4 -lgdkmm-2.4 -latkmm-1.6 -lgtk-x11-2.0 -lpangomm-1.4 -lcairomm-1.0 -lglibmm-2.4 -lsigc-2.0 -lgdk-x11-2.0 -lXrandr -lXi -lXinerama -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lXcursor -lXfixes -lcairo -lpangoft2-1.0 -lfontconfig -lfreetype -lz -lpango-1.0 -lm -lXrender -lX11 -lXext -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -liconv checking for mysql_config... -I/usr/local/include/mysql -fno-strict-aliasing -pipe checking for mysql_config... -L/usr/local/lib/mysql -lmysqlclient_r -lz -pthread -lcrypt -lm -pthread checking for pcre-config... yes checking for pcre-config... -L/usr/local/lib -lpcre configure: creating ./config.status config.status: creating Makefile config.status: creating library/Makefile config.status: creating library/source/Makefile config.status: creating library_util/Makefile config.status: creating library_util/source/Makefile config.status: creating library_grt/Makefile config.status: creating library_grt/newt/Makefile config.status: creating library_grt/source/Makefile config.status: creating library_grt_workbench/Makefile config.status: creating library_grt_workbench/source/Makefile config.status: creating library_grt_modules/Makefile config.status: creating library_grt_modules/source/Makefile config.status: creating library_gc/Makefile config.status: creating library_gc/source/Makefile config.status: creating library_gc/ftgl/Makefile config.status: creating library_gc/ftgl/src/Makefile config.status: creating library_sql_resultset/Makefile config.status: creating library_sql_resultset/source/Makefile config.status: creating library_sql_parser/Makefile config.status: creating library_sql_parser/source/Makefile config.status: creating source/Makefile config.status: creating source/grtsh/Makefile config.status: creating source/linux/Makefile config.status: creating source/java/Makefile config.status: creating source/lua/Makefile config.status: creating images/Makefile config.status: creating images/png/Makefile config.status: creating images/icons/Makefile config.status: creating images/icons/png/Makefile config.status: creating images/grt/Makefile config.status: creating images/grt/icons/Makefile config.status: creating images/grt/icons/db/Makefile config.status: creating images/grt/structs/Makefile config.status: creating res/Makefile config.status: creating po/Makefile.in config.status: creating res/grt/Makefile config.status: creating res/linux/Makefile config.status: creating library/tests/Makefile config.status: creating library/tests/read_international/Makefile config.status: creating library/tests/test_detect_charset/Makefile config.status: creating library/tests/test_mysql_api/Makefile config.status: creating library/tests/test_parse_sql_statemets/Makefile config.status: creating library/tests/test_translations/Makefile config.status: creating library/tests/test_xml/Makefile config.status: creating grt_config config.status: creating config.h config.status: executing depfiles commands config.status: executing default-1 commands cd . && /usr/local/bin/autoheader259 rm -f stamp-h1 touch config.h.in cd . && /bin/sh ./config.status config.h config.status: creating config.h config.status: config.h is unchanged gmake all-recursive gmake[1]: Entering directory `/usr/ports/databases/mysql-administrator/work/mysql-administrator-1.1.10/mysql-gui-common ' Making all in library_util gmake[2]: Entering directory `/usr/ports/databases/mysql-administrator/work/mysql-administrator-1.1.10/mysql-gui-common/library_util' Making all in source gmake[3]: Entering directory `/usr/ports/databases/mysql-administrator/work/mysql-administrator-1.1.10/mysql-gui-common/library_util/source' if cc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -Wsign-compare -I../include -I../shared_include -I/usr/local/include/mysql -fno-strict-aliasing -pipe -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -MT myx_util.o -MD -MP -MF ".deps/myx_util.Tpo" -c -o myx_util.o myx_util.c; \ then mv -f ".deps/myx_util.Tpo" ".deps/myx_util.Po"; else rm -f ".deps/myx_util.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -Wsign-compare -I../include -I../shared_include -I/usr/local/include/mysql -fno-strict-aliasing -pipe -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -MT myx_util_functions.o -MD -MP -MF ".deps/myx_util_functions.Tpo" -c -o myx_util_functions.o myx_util_functions.c; \ then mv -f ".deps/myx_util_functions.Tpo" ".deps/myx_util_functions.Po"; else rm -f ".deps/myx_util_functions.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -Wsign-compare -I../include -I../shared_include -I/usr/local/include/mysql -fno-strict-aliasing -pipe -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -MT myx_xml_util_functions.o -MD -MP -MF ".deps/myx_xml_util_functions.Tpo" -c -o myx_xml_util_functions.o myx_xml_util_functions.c; \ then mv -f ".deps/myx_xml_util_functions.Tpo" ".deps/myx_xml_util_functions.Po"; else rm -f ".deps/myx_xml_util_functions.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -Wsign-compare -I../include -I../shared_include -I/usr/local/include/mysql -fno-strict-aliasing -pipe -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -MT myx_international_file.o -MD -MP -MF ".deps/myx_international_file.Tpo" -c -o myx_international_file.o myx_international_file.c; \ then mv -f ".deps/myx_international_file.Tpo" ".deps/myx_international_file.Po"; else rm -f ".deps/myx_international_file.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -Wsign-compare -I../include -I../shared_include -I/usr/local/include/mysql -fno-strict-aliasing -pipe -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -MT myx_shared_util_functions.o -MD -MP -MF ".deps/myx_shared_util_functions.Tpo" -c -o myx_shared_util_functions.o `test -f '../shared_source/myx_shared_util_functions.c' || echo './'`../shared_source/myx_shared_util_functions.c; \ then mv -f ".deps/myx_shared_util_functions.Tpo" ".deps/myx_shared_util_functions.Po"; else rm -f ".deps/myx_shared_util_functions.Tpo"; exit 1; fi ../shared_source/myx_shared_util_functions.c:79:2: warning: no newline at end of file rm -f libguiutil.a ar cru libguiutil.a myx_util.o myx_util_functions.o myx_xml_util_functions.o myx_international_file.o myx_shared_util_functions.o ranlib libguiutil.a gmake[3]: Leaving directory `/usr/ports/databases/mysql-administrator/work/mysql-administrator-1.1.10/mysql-gui-common/library_util/source' gmake[3]: Entering directory `/usr/ports/databases/mysql-administrator/work/mysql-administrator-1.1.10/mysql-gui-common/library_util' gmake[3]: Nothing to be done for `all-am'. gmake[3]: Leaving directory `/usr/ports/databases/mysql-administrator/work/mysql-administrator-1.1.10/mysql-gui-common/library_util' gmake[2]: Leaving directory `/usr/ports/databases/mysql-administrator/work/mysql-administrator-1.1.10/mysql-gui-common/library_util' Making all in library gmake[2]: Entering directory `/usr/ports/databases/mysql-administrator/work/mysql-administrator-1.1.10/mysql-gui-common/library' Making all in source gmake[3]: Entering directory `/usr/ports/databases/mysql-administrator/work/mysql-administrator-1.1.10/mysql-gui-common/library/source' if cc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -Wsign-compare -I../include -I../../library_util/shared_include -I../../library_util/include -I/usr/local/include/mysql -fno-strict-aliasing -pipe -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -MT myx_exporter.o -MD -MP -MF ".deps/myx_exporter.Tpo" -c -o myx_exporter.o myx_exporter.c; \ then mv -f ".deps/myx_exporter.Tpo" ".deps/myx_exporter.Po"; else rm -f ".deps/myx_exporter.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -Wsign-compare -I../include -I../../library_util/shared_include -I../../library_util/include -I/usr/local/include/mysql -fno-strict-aliasing -pipe -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -MT myx_catalogs.o -MD -MP -MF ".deps/myx_catalogs.Tpo" -c -o myx_catalogs.o myx_catalogs.c; \ then mv -f ".deps/myx_catalogs.Tpo" ".deps/myx_catalogs.Po"; else rm -f ".deps/myx_catalogs.Tpo"; exit 1; fi if cc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -Wsign-compare -I../include -I../../library_util/shared_include -I../../library_util/include -I/usr/local/include/mysql -fno-strict-aliasing -pipe -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -MT myx_library.o -MD -MP -MF ".deps/myx_library.Tpo" -c -o myx_library.o myx_library.c; \ then mv -f ".deps/myx_library.Tpo" ".deps/myx_library.Po"; else rm -f ".deps/myx_library.Tpo"; exit 1; fi In file included from myx_library.c:49: /usr/local/include/mysql/m_ctype.h:199: error: syntax error before "ATTRIBUTE_FORMAT_FPTR" /usr/local/include/mysql/m_ctype.h:342: error: syntax error before "ATTRIBUTE_FORMAT" gmake[3]: *** [myx_library.o] Error 1 gmake[3]: Leaving directory `/usr/ports/databases/mysql-administrator/work/mysql-administrator-1.1.10/mysql-gui-common/library/source' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/databases/mysql-administrator/work/mysql-administrator-1.1.10/mysql-gui-common/library' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/databases/mysql-administrator/work/mysql-administrator-1.1.10/mysql-gui-common' gmake: *** [all] Error 2 *** Error code 2
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4589DA7A.8030902>