From: myokoym <my...@gm...> - 2013-07-18 14:56:51
|
横山です。 2013年7月7日 16:11 Kouhei Sutou <ko...@co...>: >> rakeのwin32:buildタスクを試してみたですが、Ubuntu12.04でやると >> glib-2.0のバージョンが古いと言われて失敗しまして。 > > む、ログを見せてもらえますか? > 必要なものはGLibも含めて自動でビルドするように作っていたつも > りなんです。 遅くなりましたが、gem:win32:buildタスクに失敗したときのログです。 情報が足りないようでしたら教えてください。 Makeの仕組みなどをあまり理解していないので、勉強しつつもう少し 調べてみようと思います。 /home/myokoym/.rbenv/versions/2.0.0-p247/bin/ruby -S rake native:build win32:build mkdir -p /home/myokoym/work/ruby/ruby-gnome2/glib2/tmp/download Downloading... http://ftp.gnome.org/pub/gnome/sources/glib/2.36/glib-2.36.2.tar.xz (中略) Downloading... http://ftp.gnome.org/pub/gnome/sources/glib-networking/2.36/glib-networking-2.36.2.tar.xz rm -rf /home/myokoym/work/ruby/ruby-gnome2/glib2/tmp/glib-networking mkdir -p /home/myokoym/work/ruby/ruby-gnome2/glib2/tmp/glib-networking tar xf /home/myokoym/work/ruby/ruby-gnome2/glib2/tmp/download/glib-networking-2.36.2.tar.xz ./configure CC=i686-w64-mingw32-gcc CPPFLAGS=-I/home/myokoym/work/ruby/rcairo.win32/vendor/local/include -I/home/myokoym/work/ruby/ruby-gnome2/glib2/vendor/local/include LDFLAGS=-L/home/myokoym/work/ruby/rcairo.win32/vendor/local/lib -L/home/myokoym/work/ruby/ruby-gnome2/glib2/vendor/local/lib --prefix=/home/myokoym/work/ruby/ruby-gnome2/glib2/vendor/local --host=i686-w64-mingw32 --without-libproxy --without-gnome-proxy --without-ca-certificates checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for i686-w64-mingw32-strip... i686-w64-mingw32-strip checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking whether make supports nested variables... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-w64-mingw32 checking how to print strings... printf checking for style of include used by make... GNU checking for i686-w64-mingw32-gcc... i686-w64-mingw32-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.exe checking for suffix of executables... .exe checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-w64-mingw32-gcc accepts -g... yes checking for i686-w64-mingw32-gcc option to accept ISO C89... none needed checking dependency style of i686-w64-mingw32-gcc... gcc3 checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by i686-w64-mingw32-gcc... /usr/bin/i686-w64-mingw32-ld checking if the linker (/usr/bin/i686-w64-mingw32-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/i686-w64-mingw32-nm -B checking the name lister (/usr/bin/i686-w64-mingw32-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert i686-pc-linux-gnu file names to i686-w64-mingw32 format... func_convert_file_nix_to_w32 checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/i686-w64-mingw32-ld option to reload object files... -r checking for i686-w64-mingw32-objdump... i686-w64-mingw32-objdump checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL checking for i686-w64-mingw32-dlltool... i686-w64-mingw32-dlltool checking how to associate runtime and link libraries... func_cygming_dll_for_implib checking for i686-w64-mingw32-ar... i686-w64-mingw32-ar checking for archiver @FILE support... @ checking for i686-w64-mingw32-strip... (cached) i686-w64-mingw32-strip checking for i686-w64-mingw32-ranlib... i686-w64-mingw32-ranlib checking command to parse /usr/bin/i686-w64-mingw32-nm -B output from i686-w64-mingw32-gcc object... ok checking for sysroot... no checking for i686-w64-mingw32-mt... no checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... i686-w64-mingw32-gcc -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 for dlfcn.h... no checking for objdir... .libs checking if i686-w64-mingw32-gcc supports -fno-rtti -fno-exceptions... no checking for i686-w64-mingw32-gcc option to produce PIC... -DDLL_EXPORT -DPIC checking if i686-w64-mingw32-gcc PIC flag -DDLL_EXPORT -DPIC works... yes checking if i686-w64-mingw32-gcc static flag -static works... yes checking if i686-w64-mingw32-gcc supports -c -o file.o... yes checking if i686-w64-mingw32-gcc supports -c -o file.o... (cached) yes checking whether the i686-w64-mingw32-gcc linker (/usr/bin/i686-w64-mingw32-ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking dynamic linker characteristics... Win32 ld.exe checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for i686-w64-mingw32-gcc... (cached) i686-w64-mingw32-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether i686-w64-mingw32-gcc accepts -g... (cached) yes checking for i686-w64-mingw32-gcc option to accept ISO C89... (cached) none needed checking dependency style of i686-w64-mingw32-gcc... (cached) gcc3 checking whether i686-w64-mingw32-gcc and cc understand -c and -o together... yes checking how to run the C preprocessor... i686-w64-mingw32-gcc -E checking whether NLS is requested... yes checking for intltool >= 0.35.0... 0.50.2 found checking for intltool-update... /usr/bin/intltool-update checking for intltool-merge... /usr/bin/intltool-merge checking for intltool-extract... /usr/bin/intltool-extract checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for perl... /usr/bin/perl checking for perl >= 5.8.1... 5.14.2 checking for XML::Parser... ok checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for LC_MESSAGES... no checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for ngettext in libc... no checking for bindtextdomain in -lintl... yes checking for ngettext in -lintl... yes checking for dgettext in -lintl... yes checking for bind_textdomain_codeset... yes checking for msgfmt... (cached) /usr/bin/msgfmt checking for dcgettext... yes checking if msgfmt accepts -c... yes checking for gmsgfmt... (cached) /usr/bin/msgfmt checking for xgettext... (cached) /usr/bin/xgettext checking for i686-w64-mingw32-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.16... yes checking for GLIB - version >= 2.35.8... no *** Could not run GLIB test program, checking why... *** The test program compiled, but did not run. This usually means *** that the run-time linker is not finding GLIB or finding the wrong *** version of GLIB. If it is not finding GLIB, you'll need to set your *** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point *** to the installed location Also, make sure you have run ldconfig if that *** is required on your system *** *** If you have an old version installed, it is best to remove it, although *** you may also be able to get things to work by modifying LD_LIBRARY_PATH configure: error: GLIB not found rake aborted! Command failed with status (1): [./configure CC=i686-w64-mingw32-gcc CPPFLA...] /home/myokoym/work/ruby/ruby-gnome2/glib2/lib/gnome2/rake/win32-binary-build-task.rb:96:in `block in build_package_task_body' /home/myokoym/work/ruby/ruby-gnome2/glib2/lib/gnome2/rake/win32-binary-build-task.rb:89:in `chdir' /home/myokoym/work/ruby/ruby-gnome2/glib2/lib/gnome2/rake/win32-binary-build-task.rb:89:in `build_package_task_body' /home/myokoym/work/ruby/ruby-gnome2/glib2/lib/gnome2/rake/win32-binary-build-task.rb:63:in `block (4 levels) in define_build_tasks' Tasks: TOP => win32:build => win32:builder:build => win32:builder:build:glib-networking => win32:builder:build:glib-networking:build (See full trace by running task with --trace) rake aborted! Command failed with status (1): [/home/myokoym/.rbenv/versions/2.0.0-p247/b...] /home/myokoym/work/ruby/ruby-gnome2/Rakefile:358:in `block (6 levels) in <top (required)>' /home/myokoym/work/ruby/ruby-gnome2/Rakefile:357:in `chdir' /home/myokoym/work/ruby/ruby-gnome2/Rakefile:357:in `block (5 levels) in <top (required)>' /home/myokoym/work/ruby/ruby-gnome2/Rakefile:356:in `each' /home/myokoym/work/ruby/ruby-gnome2/Rakefile:356:in `block (4 levels) in <top (required)>' Tasks: TOP => gem:win32:build => gem:win32:build:vendor (See full trace by running task with --trace) |