{"id":513,"date":"2016-07-18T23:48:17","date_gmt":"2016-07-18T14:48:17","guid":{"rendered":"https:\/\/www.dogrow.net\/octave\/?p=513"},"modified":"2019-10-26T20:46:04","modified_gmt":"2019-10-26T11:46:04","slug":"blog37","status":"publish","type":"post","link":"https:\/\/www.dogrow.net\/octave\/blog37\/","title":{"rendered":"(37) Octave 4.0.3 GUI\u7248\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb"},"content":{"rendered":"<p>2015\u5e745\u670829\u65e5\u306b <a href=\"http:\/\/www.gnu.org\/software\/octave\/\">GUI\u5bfe\u5fdc\u7248Octave<\/a> \u304c\u3088\u3046\u3084\u304f\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u305f\uff01<br \/>\nVMWare\u4e0a\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3070\u304b\u308a\u306e <span style=\"font-size:1.5rem\">CentOS7<\/span> \u306b <span style=\"font-size:1.5rem\">Octave 4.0.3<\/span> \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u3063\u3066\u307f\u308b\u3002<\/p>\n<h1 class=\"my_h\">(1) \u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/h1>\n<p>\u3053\u3061\u3089\u306e\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u304b\u3089 ver.4.0.3 \u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3002<br \/>\n<a href=\"http:\/\/www.gnu.org\/software\/octave\/\" target=_blank rel=\"noopener noreferrer\">http:\/\/www.gnu.org\/software\/octave\/<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.dogrow.net\/octave\/wp-content\/uploads\/2016\/07\/octavehp.gif\" alt=\"octavehp\" width=\"480\" height=\"365\" class=\"add_bs\" \/><\/a><br \/>\nWGET\u30b3\u30de\u30f3\u30c9\u3067\u53d6\u5f97\u3057\u3066\u3082\u3088\u3044\u3002<\/p>\n<pre class=\"my_pre\">\r\n$ wget ftp:\/\/ftp.gnu.org\/gnu\/octave\/octave-4.0.3.tar.gz\r\n\r\n# 2018\/08\/30\u6642\u70b9\u306e\u6700\u65b0\u7248\u306f\u3053\u3061\u3089\u3002\r\n$ wget ftp:\/\/ftp.gnu.org\/gnu\/octave\/octave-4.4.1.tar.gz\r\n<\/pre>\n<p>\u89e3\u51cd\u3057\u3066\u304a\u304f\u3002<\/p>\n<pre class=\"my_pre\">\r\n$ tar zxf octave-*.tar.gz\r\n<\/pre>\n<h1 class=\"my_h\">(2) \u4f9d\u5b58\u30e9\u30a4\u30d6\u30e9\u30ea\u985e\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h1>\n<p>\u3053\u3061\u3089\u306e\u30da\u30fc\u30b8\u3092\u53c2\u7167\u3057\u3001Octave\u306e\u52d5\u4f5c\u306b\u5fc5\u8981\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u30fc\u985e\u3092\u4e8b\u524d\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304a\u304f\u3002<br \/>\n<a href=\"http:\/\/wiki.octave.org\/Building\" target=_blank rel=\"noopener noreferrer\">http:\/\/wiki.octave.org\/Building<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.dogrow.net\/octave\/wp-content\/uploads\/2016\/07\/octavehp2.gif\" alt=\"octavehp2\" width=\"480\" height=\"358\" class=\"add_bs\" \/><\/a><\/p>\n<h1 class=\"my_h\">(3) \u30e6\u30fc\u30b6\u30fc\u6a29\u9650\u3067configure\u3092\u5b9f\u884c<\/h1>\n<p>\u307e\u305a\u306f\u4f55\u3082\u8003\u3048\u305a\u306b configure\u3057\u3066\u307f\u308b\u3002<br \/>\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5148\u306f \/usr\/local \u3092\u6307\u5b9a\u3057\u305f\u3002<\/p>\n<pre class=\"my_pre\">\r\n$ .\/configure --prefix=\/usr\/local --enable-shared --disable-static --disable-docs\r\n<\/pre>\n<p>\u30a8\u30e9\u30fc\u767a\u751f&#8230;<\/p>\n<pre class=\"my_pre\">\r\nconfigure: error: A BLAS library was detected but found incompatible with your Fortran 77 compiler settings.\r\n<\/pre>\n<p>\u4e0a\u8a18\u306e\u300c(2) \u4f9d\u5b58\u30e9\u30a4\u30d6\u30e9\u30ea\u985e\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u300d\u3067 devel\u7248\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u5931\u5ff5\u3057\u3066\u3044\u305f\u306e\u3067\u3044\u308d\u3044\u308d\u3068\u5165\u308c\u308b\u3002<\/p>\n<pre class=\"my_pre\">\r\nyum -y install blas-devel\r\nyum -y install lapack-devel\r\nyum -y install qhull-devel\r\nyum -y install fftw3-devel\r\nyum -y install hdf5-devel\r\nyum -y install glpk-devel\r\nyum -y install fontconfig-devel\r\nyum -y install fltk-devel\r\nyum -y install qrupdate-devel\r\nyum -y install arpack-devel\r\nyum -y install osmesa-devel\r\nyum -y install qt-devel\r\nyum -y install gnuplot\r\nyum -y install gl2ps-devel\r\nyum -y install qscintilla-devel\r\nyum -y install libsndfile-devel\r\nyum -y install java-devel\r\nyum -y install mesa-libOSMesa mesa-libOSMesa-devel\r\nyum -y install umfpack umfpack-devel\r\nyum -y install gperf\r\nyum -y install suitesparse-static\r\nyum -y install texinfo-tex\r\nyum -y install GraphicsMagick-devel\r\nyum -y install GraphicsMagick-c++-devel\r\n<\/pre>\n<p>\u30b3\u30d4\u30da\u3067\u5b9f\u884c\u3059\u308b\u5834\u5408\u306f\u3053\u3061\u3089\u3002<\/p>\n<pre class=\"my_pre\">\r\nyum -y install blas-devel lapack-devel qhull-devel fftw3-devel hdf5-devel glpk-devel fontconfig-devel fltk-devel qrupdate-devel arpack-devel osmesa-devel qt-devel gnuplot gl2ps-devel qscintilla-devel libsndfile-devel java-devel mesa-libOSMesa mesa-libOSMesa-devel umfpack umfpack-devel gperf suitesparse-static texinfo-tex GraphicsMagick-devel GraphicsMagick-c++-devel\r\n<\/pre>\n<p><span class=\"my_fc_crimson\">\u203b\u672c\u5f53\u306f BLAS\u306a\u3069\u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u30de\u30b7\u30f3\u7528\u306b\u6700\u9069\u5316\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002\u4eca\u56de\u306f\u307e\u3042\u3044\u3044\u3084\u3002<\/span><\/p>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6210\u529f\u5f8c\u306b <span style=\"color:deeppink\">imread<\/span> \u3092\u5b9f\u884c\u6642\u306b<br \/>\n<span style=\"color:#f00\">error: imformats: support for Image IO was disabled when Octave was built<\/span><br \/>\n\u306a\u3093\u3066\u51fa\u3066\u3057\u307e\u3063\u305f\u6642\u306b\u306f\u3001GraphicsMagick-c++-devel\u304c\u5165\u3063\u3066\u3044\u308b\u304b\u30c1\u30a7\u30c3\u30af\u3092\u3002<\/p>\n<pre class=\"my_pre\">\r\n$ .\/configure --prefix=\/usr\/local --enable-shared --disable-static --disable-docs\r\n<\/pre>\n<p>\u8b66\u544a\u767a\u751f&#8230;<\/p>\n<pre class=\"my_pre\">\r\nconfigure: WARNING: JAVA_HOME environment variable not initialized.  Auto-detection will proceed but is unreliable.\r\nconfigure: WARNING: Include file <jni.h> not found.  Octave will not be able to call Java methods.\r\nconfigure:\r\nconfigure: NOTE: Libraries or auxiliary programs may be skipped if they are\r\nconfigure: NOTE: not found OR if they are missing required features on your\r\nconfigure: NOTE: system.\r\n<\/pre>\n<p>JAVA_HOME\u306b\u306f JAVA\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5148\u3092\u30bb\u30c3\u30c8\u3057\u3066\u304a\u304f\u3002<\/p>\n<pre class=\"my_pre\">\r\n$ export JAVA_HOME=\/usr\/lib\/jvm\/java\r\n$ .\/configure --prefix=\/usr\/local --enable-shared --disable-static --disable-docs\r\n<\/pre>\n<p>configure\u304c\u5b8c\u4e86\u3057\u307e\u3057\u305f\u3002<\/p>\n<h1 class=\"my_h\">(4) \u30e6\u30fc\u30b6\u30fc\u6a29\u9650\u3067make\u3092\u5b9f\u884c<\/h1>\n<pre class=\"my_pre\">\r\n$ make\r\n<\/pre>\n<h1 class=\"my_h\">(5) \u30e6\u30fc\u30b6\u30fc\u6a29\u9650\u3067make check\u3092\u5b9f\u884c<\/h1>\n<pre class=\"my_pre\">\r\n$ make check\r\n<\/pre>\n<p>FAIL\u304c10\u500b\u3082\u51fa\u305f&#8230;<br \/>\n\u4f55\u306b\u5931\u6557\u3057\u305f\u306e\u304b\u3092\u5f8c\u3067\u8abf\u3079\u3088\u3046\u3002<\/p>\n<pre class=\"my_pre\">\r\nSummary:\r\n  PASS     12984\r\n  FAIL        10\r\n  XFAIL       25\r\n  SKIPPED     84\r\nSee the file \/home\/aaaaa\/tmp\/octave-4.0.3\/test\/fntests.log for additional details.\r\n<\/pre>\n<h1 class=\"my_h\">(6) \u7ba1\u7406\u8005\u6a29\u9650\u3067make install\u3092\u5b9f\u884c<\/h1>\n<pre class=\"my_pre\">\r\n$ sudo make install\r\n<\/pre>\n<h1 class=\"my_h\">(7) GUI\u7248Octave\u3092\u8d77\u52d5<\/h1>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3070\u304b\u308a\u306eOctave\u3092\u8d77\u52d5\u3057\u3066\u307f\u308b\u3002<\/p>\n<pre class=\"my_pre\">\r\n$ octave --gui\r\n<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.dogrow.net\/octave\/wp-content\/uploads\/2016\/07\/octave_app1.gif\" alt=\"octave_app1\" width=\"600\" height=\"458\" class=\"alignnone size-full wp-image-549\" \/><br \/>\n\u306a\u3093\u304b\u305d\u308c\u3063\u307d\u3044\u306e\u304c\u51fa\u3066\u304d\u307e\u3057\u305f\uff01<br \/>\n\u3053\u308c\u304b\u3089\u8272\u3005\u3068\u3044\u3058\u3063\u3066\u307f\u3088\u3046\u3063\u3068\u3002<\/p>\n<hr class=\"my_hr_bottom\">\n","protected":false},"excerpt":{"rendered":"<p>2015\u5e745\u670829\u65e5\u306b GUI\u5bfe\u5fdc\u7248Octave \u304c\u3088\u3046\u3084\u304f\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u305f\uff01 VMWare\u4e0a\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3070\u304b\u308a\u306e CentOS7 \u306b Octave 4.0.3 \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u3063\u3066\u307f\u308b\u3002 (1) \u30c0\u30a6\u30f3\u30ed\u30fc\u30c9 \u2026 <span class=\"read-more\"><a href=\"https:\/\/www.dogrow.net\/octave\/blog37\/\">\u7d9a\u304d\u3092\u8aad\u3080 &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,19],"tags":[],"class_list":["post-513","post","type-post","status-publish","format-standard","hentry","category-gui","category-19"],"views":10736,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.dogrow.net\/octave\/wp-json\/wp\/v2\/posts\/513","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dogrow.net\/octave\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dogrow.net\/octave\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dogrow.net\/octave\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dogrow.net\/octave\/wp-json\/wp\/v2\/comments?post=513"}],"version-history":[{"count":71,"href":"https:\/\/www.dogrow.net\/octave\/wp-json\/wp\/v2\/posts\/513\/revisions"}],"predecessor-version":[{"id":1011,"href":"https:\/\/www.dogrow.net\/octave\/wp-json\/wp\/v2\/posts\/513\/revisions\/1011"}],"wp:attachment":[{"href":"https:\/\/www.dogrow.net\/octave\/wp-json\/wp\/v2\/media?parent=513"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dogrow.net\/octave\/wp-json\/wp\/v2\/categories?post=513"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dogrow.net\/octave\/wp-json\/wp\/v2\/tags?post=513"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}