のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

OSS

pkg-config --help

u01@vm01:~/layout/oss/pango-1.36.8$ pkg-config --help

pango config --help

u01@vm01:~/layout/oss/pango-1.36.8$ ./configure --help

Failed to load Pango module

u01@vm01:~/layout/text$ pango-view --font="Garuda 50" test-thai_s1.txt (pango-view:47169): GLib-GObject-WARNING **: cannot register existing type 'PangoEngine' (pango-view:47169): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0…

pango configure

u01@vm01:~/layout/oss/pango-1.36.8 $ ./configure --prefix=$HOME/usr -enable-static -disable-shared --with-included-modules=yes

harfbuzz configure

u01@vm01:~/layout/oss/harfbuzz-1.0.6$ ./configure -h

pango-view

pango-view --font="garuda 50" test-thai2.txt

fc-list

fc-list :lang=th /usr/share/fonts/truetype/tlwg/TlwgTypo-Bold.ttf: Tlwg Typo:style=Bold /usr/share/fonts/X11/misc/7x14.pcf.gz: Fixed:style=Regular /usr/share/fonts/truetype/tlwg/Umpush.ttf: Umpush:style=Book /usr/share/fonts/truetype/freef…

pango.pc

prefix=/home/u01/usr exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include pango_module_version=1.8.0 Name: Pango Description: Internationalized text handling Version: 1.36.8 Requires: glib-2.0 gobject-2.0 Requires.p…

pango ./configure

u01@vm01:~/layout/oss/pango-1.36.8$ ./configure --prefix=$HOME/usr --enable-static checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/m…

eclipse

(process:59834): GLib-GObject-WARNING **: cannot register existing type 'PangoEngine' (process:59834): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed (process:59834): GLib-GObject-CRITICAL **: g_type_register_static: a…

pango static-library

./configure --prefix=$HOME/usr --enable-static

pango ./configure --help

u01@vm01:~/layout/oss/pango-1.36.8$ ./configure --prefix=$HOME/usr -l configure: error: unrecognized option: `-l' Try `./configure --help' for more information u01@vm01:~/layout/oss/pango-1.36.8$ ./configure --prefix=$HOME/usr --help `conf…

gdb

197,725 2-gdb-version 197,726 ~"GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1\n" 197,730 ~"Copyright (C) 2014 Free Software Foundation, Inc.\n" 197,730 ~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is fre\ e software: you are free to</http://gnu.org/licenses/gpl.html>…

pango static library

./configure --prefix=$HOME/usr -enable-static -disable-shared --with-included-modules=yesエラーが出ているけど、画像ファイルが生成された。 (process:111391): GLib-GObject-WARNING **: cannot register existing type 'PangoEngine' (process:11139…

pango module

u01@vm01:~/layout/oss/pango-1.36.8$ ./configure --prefix=$HOME/usr -enable-static --with-included-modules=yes ./configure --with-included-modules (process:100145): GLib-GObject-WARNING **: cannot register existing type 'PangoEngine' (proce…

ldd exec

リンクしているライブラリが違う u01@vm01:~/workspace/pango/Debug$ ldd ./pango linux-vdso.so.1 => (0x00007ffe4559c000) libpango-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpango-1.0.so.0 (0x00007f9c9d101000) libgobject-2.0.so.0 => /usr/lib/x86_…

gdb info sharedlibrary

gdb info sharedlibrary From To Syms Read Shared Object Library 0x00007ffff7ddaae0 0x00007ffff7df54e0 Yes /lib64/ld-linux-x86-64.so.2 0x00007ffff7b9ae50 0x00007ffff7bb9f26 Yes /usr/lib/x86_64-linux-gnu/libpango-1.0.so.0 0x00007ffff79472a0 0…

cairo CFLAGS

export FREETYPE_CFLAGS=-I$HOME/include echo $FREETYPE_CFLAGS export FREETYPE_LIBS=-L$HOME/usr/lib echo $FREETYPE_LIBS ./configure --prefix=$HOME/usr make make install pkg-config --cflags --libs cairou01@vm01:~/layout/oss/cairo-1.12.18$ pkg…

pkg-config --cflags cairo

u01@vm01:~/layout/oss/cairo-1.12.18$ pkg-config cairo u01@vm01:~/layout/oss/cairo-1.12.18$ pkg-config --cflags cairo Package cairo was not found in the pkg-config search path. Perhaps you should add the directory containing `cairo.pc' to t…

glib.h not found

project>property>C/C++ build>Build Settings>Makefile generartion>Generate Makefiles automaticallyのチェックをはずした。 subdir.mkを書き換え、インクルードのパスを加えた。 # Each subdirectory must supply rules for building sources it contrib…

cproject

<cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage"> <storageModule moduleId="org.eclipse.cdt.core.settings"> <cconfiguration id="cdt.managedbuild.config.gnu.exe.debug.1555981701"> </cconfiguration></storagemodule></cproject>

discovery makefile

src/subdir.mk ################################################################################ # Automatically-generated file. Do not edit! ################################################################################ # Add inputs and o…

make install

~/layout/oss/freetype-2.5.5$sudo make install [sudo] password for u01: ./builds/unix/mkinstalldirs /usr/local/lib \ /usr/local/lib/pkgconfig \ /usr/local/include/freetype2/config \ /usr/local/bin \ /usr/local/share/aclocal \ /usr/local/sha…

make

スクリプトは 2015年10月29日 22時40分28秒 に開始しました]0;u01@vm01: ~/layout/oss/freetype-2.5.5u01@vm01:~/layout/oss/freetype-2.5.5$ make ./builds/unix/libtool --mode=compile gcc -pedantic -ansi -I/home/u01/layout/oss/freetype-2.5.5/objs…

pkg-config

export PKG_CONFIG_PATH=$HOME/usr/lib/pkgconfigu01@vm01:~/layout/oss/cairo-1.12.18$ pkg-config --debug Option --debug seen Error printing disabled by default, value of --print-errors: 0 Error printing disabled Adding virtual 'pkg-config' pa…

依存関係まとめ

fontconfig $sudo apt-get install libfreetype6-dev $sudo apt-get install libexpat1-dev $./configure --prefix=$HOME/usrfreetype $sudo apt-get install libbz2-dev $sudo apt-get install harfbuzz-devpango $sudo apt-get install libglib2.0-dev

mac gdb

正常終了している mbp01:.libs m_fujii$ gdb --args ./pango-view -t "abc" GNU gdb (GDB) 7.10 Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redis</http://gnu.org/licenses/gpl.html>…

Unable to find Mach task port for

mbp01:.libs m_fujii$ gdb --args ./pango-view -t "abc" Reading symbols from ./pango-view...done. (gdb) run Starting program: /Users/m_fujii/layout/pango-1.38.1/pango-view/.libs/pango-view -t abc Unable to find Mach task port for process-id …

mac gdb not in executable format: File format not recognized

mbp01:pango-view m_fujii$ gdb ./pango-view GNU gdb (GDB) 7.10 Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARR</http://gnu.org/licenses/gpl.html>…

When running ImageMagick 'display' command: display を子プロセスとして起動できませんでした:

bash-3.2$ pango-view --font="Fixed:Style=Regular" ~/.bash_history pango-view: When running ImageMagick 'display' command: display を子プロセスとして起動できませんでした: bash-3.2$ brew install imagemagick ==> Installing dependencies for im…