第6回...

Post on 24-Jan-2017

634 Views

Category:

Software

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

NetBSD+rumpでコンテナ &

SLIDEM@STER

@furandon_pig

自己紹介★ Twitter ID: @furandon_pig ★ 家ではNetBSDを使っています ★ 興味ドリブンで勉強会開催しています  ★ ECMA-262 Edition5.1読書会   https://ecma262reading.doorkeeper.jp/  ★「理論から学ぶ データベース実践入門」読書会   http://riron-db.connpass.com  ★ ゆるいUNIX勉強会~ゆるゆに~   https://yry2.doorkeeper.jp/  ★ Live2Dで遊ぶ会   https://enjoying-live2d.doorkeeper.jp/

2016年の抱負★NetBSDユーザを増やす  ★片っ端からNetBSDでビルド  ★rumpでコンテナ環境実現 ★SLIDEM@STER  ★アニメ風味のマスタスライド ★「魔法使いプリキュア!」を毎週観る  ★東映アニメーションの脚本・演出   ノウハウを感じ取ってみる

NetBSDユーザを増やす★ユーザの平均年齢が毎年+1  ★ユーザ数こそパワー  ★時流(とき)を読みつつ頑張る   ★「NetBSDはいいぞ」  ★*BSDでビルドできないアプリ   ★gmakeで殴る   ★pkgsrcからヒントを得る

*BSDでビルドできないアプリそのままでは

PostgreSQLのビルド(1/4)postgresql-9.5.0$ gmake ...中略... In file included from /usr/include/netdb.h:97:0, from ../../../../src/include/port.h:17, from ../../../../src/include/c.h:1114, from ../../../../src/include/postgres.h:47, from datetime.c:15: /usr/include/inttypes.h:81:10: note: previous declaration of ‘strtoi’ was here intmax_t strtoi(const char * __restrict, char ** __restrict, int, ^

PostgreSQLのビルド(2/4)[fpig@postgres ~]$ man strtoi STRTOI(3) Library Functions Manual STRTOI(3)

NAME strtoi -- convert string value to an intmax_t integer

LIBRARY Standard C Library (libc, -lc)

SYNOPSIS #include <inttypes.h>

intmax_t strtoi(const char * restrict nptr, char ** restrict endptr, int base, intmax_t lo, intmax_t hi, int *rstatus);

PostgreSQLのビルド(3/4)[fpig@postgres ~]$ man strtoi STRTOI(3) Library Functions Manual STRTOI(3)

NAME strtoi -- convert string value to an intmax_t integer

LIBRARY Standard C Library (libc, -lc)

SYNOPSIS #include <inttypes.h>

intmax_t strtoi(const char * restrict nptr, char ** restrict endptr, int base, intmax_t lo, intmax_t hi, int *rstatus);

PostgreSQLのビルド(4/4)

STANDARDS The strtoi() function is a NetBSD extension.

HISTORY The strtoi() function first appeared in NetBSD 7. OpenBSD introduced the strtonum(3) function for the same purpose, but the interface makes it impossible to properly differentiate illegal returns.

rumpでコンテナ環境実現★Docker,Jail等のコンテナ環境  ★NetBSDではただのchroot… ★rump  ★カーネル機能をユーザランドで提供  ★自動テストでrumpが利用されている  ★rumpを応用してコンテナ実現?   ★rump上でアプリ動かす→コンテナ

SLIDEM@STER★アニメ風味のマスタスライド  ★スライド作成のノウハウ  ★色(RGB)を集めるのが煩雑  ★フォントの特定手法 ★作ったマスタはGitHubに置く?  ★M@STERSLIDE  ★SLIDEM@STER

まとめ★NetBSDユーザを増やす  ★NetBSDで片っ端からビルド  ★rumpでコンテナ実現  ★”NetBSD”の綴りを間違えない ★SLIDEM@STER ★「魔法使いプリキュア!」を観る

その他-背景写真について-

★背景写真は以下のWebサイトより引用 http://free-photos.gatag.net/2014/09/13/220000.html

★背景写真の著作者情報は以下です 著作者: Pippoloide (改変gatag.net)

top related