Home
News
Forum
Wiki
Blog
Contents
Gallery
Movies
Downloads
About NSL
If you want to see English page, please click "English" Button at Left.
[
タイトル一覧
|
ページ一覧
|
新規
|
単語検索
|
最終更新
|
ヘルプ
]
Solaris-11
のソース
[
トップ
]
[ ]
差分
を表示
Solaris-11
へ行く。
« Prev
*Solaris11 [#p650bcb8] **install [#ec51147a] -> 簡単 **GUIセットアップ [#n2e19664] # pkg install slim_install # svcadm enable gdm # reboot ***pkg をつかうときのProxy [#o98f9b74] 意外にもなかなか書いていなかった.当たり前かもしれないが # export http_proxy=http://proxy.adress:8080/ # export http_proxy=http://proxy.adress:8080/ # export http_proxy=http://proxy.adress:8080/ 最後にLinuxだとスラッシュはいらないけど必要なのね! **開発環境がなかった [#h66987eb] # pkg install gcc-3 # pkg search math # pkg install autoconf libtool 出てきたヤツのmathとHeader-mathをいれる. ***openssl [#td720e66] 通常通りで問題なかった. **ldconfig代用策 [#fea7512f] crleは初期では何もされていないだからやる。 # crle -c /var/ld/ld.config -l /lib:/usr/lib/ 基本的なライブラリパスを-uオプションで追加する。 # crle -u -l /usr/local/lib:/usr/sfw/lib:/usr/local/ssl/lib **locateを入れてあげる [#x79370c4] findutilsを入れてあげる. http://ftp.gnu.org/pub/gnu/findutils/ **GUIとCUIの一時的な切り替え [#cbfa12cf] # /usr/dt/bin/dtconfig -d でCUI # /usr/dt/bin/dtconfig -e でGUI **GCC [#ga3b0b1b] ***gmp [#v41df2b1] # cd /usr/local/src/ # wget ftp://ftp.gmplib.org/pub/gmp-5.0.1/gmp-5.0.1.tar.bz2 # bzip2 -cd gmp-5.0.1.tar.bz2 | tar xvf - # cd gmp-5.0.1 $ env CFLAGS=-O3 ABI=32 \ ./configure --prefix=/usr/local/gcc \ --localstatedir=/var \ --enable-shared \ --disable-static \ --disable-libtool-lock \ --disable-alloca --enable-cxx --enable-fft \ --enable-mpbsd \ --enable-pic ※ --enable-fat を指定すると、error が出るので Solaris では指定しないように $ gmake $ gmake check # gmake install ***mpfr [#eeca671f] $ LD_OPTIONS="-L/opt/sfw/gcc-4.6.0/lib -R/opt/sfw/gcc-4.6.0/lib" $ export LD_OPTIONS $ env CFLAGS=-O3 \ ./configure --prefix=/usr/local/gcc \ --localstatedir=/var \ --enable-shared \ --disable-static \ --disable-libtool-lock \ --enable-thread-safe \ --enable-tests-timeout=0 \ --with-gmp-include=/usr/local/gcc/include \ --with-gmp-lib=/usr/local/gcc/lib \ --with-mulhigh-size=2048 \ --with-pic $ gmake $ gmake check $ gmake install ***mpc [#fd2cc573] $ wget http://www.multiprecision.org/mpc/download/mpc-0.9.tar.gz $ gzip -cd mpc-0.9.tar.gz | tar xvf -s $ cd mpc-0.9 $ env CFLAGS=-O3 \ ./configure --prefix=/opt/sfw/gcc\-4.6.0/ \ --localstatedir=/var \ --enable-shared \ --disable-static \ --disable-libtool-lock \ --with-gmp-include=/opt/sfw/gcc-4.6.0/include \ --with-gmp-lib=/opt/sfw/gcc-4.6.0/lib \ --with-mpfr-include=/opt/sfw/gcc-4.6.0/include \ --with-mpfr-lib=/opt/sfw/gcc-4.6.0/lib \ --with-pic $ vi config.h ※ #define HAVE_COMPLEX_H 1 をコメントアウト $ gmake $ gmake check # gmake install **gcc [#t808ab5c] gcc4.6からは,四倍精度のlibquadmathが含まれている.~ ほとんどの環境でコンパイルが失敗するので--disable-libquadmathを使うように. $ bzip2 -cd gcc-4.6.0.tar.bz2 | tar xvf - $ mkdir gcc-work ※ gcc-4.6.0 ディレクトリ内で configure を実行するのではなく、適当なディレクトリを作成し、そこを作業用ディレクトリとして利用するようにします。 $ cd gcc-work $ LC_ALL=C; export LC_ALL $ PATH=/usr/gnu/bin:/usr/perl5/bin:$PATH; export PATH $ LD_OPTIONS="-L/usr/local/gcc/lib -R/usr/local/gcc/lib"; export LD_OPTIONS $ env LDFLAGS="-L/usr/local/gcc/lib -R/usr/local/gcc/lib" ../configure --prefix=/usr/local/gcc --without-gnu-ld --enable-languages=c,c++ --enable-shared --with-gmp-include=/usr/local/gcc/include --with-gmp-lib=/usr/local/gcc/lib --with-mpfr-include=/usr/local/gcc/include --with-mpfr-lib=/usr/local/gcc/lib --with-mpc-include=/usr/local/gcc/include --with-mpc-lib=/usr/local/gcc/lib --with-gnu-as --with-as=/usr/bin/gas --with-ld=/usr/bin/ld --disable-libquadmath $ gmake bootstrap # gmake install **いろんなところでエラー原因はgnu [#u6ca31f6] 馬鹿だった、そうsolarisにはgnu系ソフトなんてほんとはいらなかったのかもしれない(いらないんだろうけどさw~ 『solaristudioexpress』をインストールしよう。 pkg install solarisstudioexpress pkg install ucb ucbだがsolarisは伝統として属性の違うコマンドを差別する。~ したがって /usr/bin ー> SystemV系 /usr/ucb/bin -> BSD系 /usr/gnu/bin -> GNU系 のコマンドとして分けて使うのであった。 **nologinが無い [#la79293a] /usr/gnu/bin/false があったのでそちらで代用。セキュリティ上は問題ないはず。。。? **ユーザーの追加 [#m783fd41] solarisのホームは/export/homeだが通常はロックされているので作れない。~ adduserではなくて useradd を使ってあげよう。~ 例としては useradd -d /export/home/apache -s /usr/gnu/bin/false -m www -mはすぐにディレクトリを生成するである。~ しかし、この方法ではグループは作らないため改良が必須。 **Mysqlインストールできない件について [#e69a3eb6] よくわからないができない~ MariaDBだとできるんでBugの可能性は高い. ./configureでエラーが多発する ./configure --without-plugin-innodb_plugin --without-plugin-xtradb ←これが使えるバージョンならコンパイルが通る.はz・・・ ~ インストールDirとDatabase用のフォルダにしっかりchownを行ってからmysql_install_db を行うこと. また,起動用のmysql.serverが使えない datadir=/var/mariadb user=mariadb をまず変更~ ダメであるなら~ 下記の方法も失敗 if test -x $manager -a "$use_mysqld_safe" = "0" then これに if test -x $manager -a "$use_mysqld_safe" = "0" echo "wait..." then echoを加えるとなぜかできるようになる.シンクロタイムの問題か?~ // 解決方法 $bindir/mysqld_safe --datadir=$datadir --pid-file=$server_pid_file $other_args >/dev/null 2>&1 & を $bindir/mysqld_safe --datadir=$datadir --pid-file=$server_pid_file $other_args --user=$user >/dev/null 2>&1 & に書き換える.
« Prev
Solaris-11 のバックアップ一覧
Solaris-11 のバックアップソース(No. All)
1: 2011-06-11 (土) 03:59:12
s09081
2: 2011-06-11 (土) 05:06:47
s09081
3: 2011-06-11 (土) 23:31:57
s09081
4: 2011-06-12 (日) 15:48:56
s09081
5: 2011-06-14 (火) 02:37:56
s09081
現: 2011-06-16 (木) 03:16:10
s09081
サイト内 検索
高度な検索
ログイン
ユーザー名:
パスワード:
パスワード紛失
新規登録
サブ メニュー
新着情報
Books
リンク
サイトマップ
e-Learning
TUIS 認証局証明書
ミニカレンダー
2024年 5月
日
月
火
水
木
金
土
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<今日>
オンライン状況
73 人のユーザが現在オンラインです。 (30 人のユーザが xpwiki を参照しています。)
登録ユーザ: 0
ゲスト: 73
もっと...
アクセスカウンタ
今日 :
昨日 :
総計 :
Powered by XOOPS Cube 2.1© 2001-2006
XOOPS Cube Project
Design by
XoopsDesign.com