JD は gtkmm/GTK+ を用いた2chブラウザです。
公式
http://jd4linux.sourceforge.jp/
sourceforge.jp
http://sourceforge.jp/projects/jd4linux/
JDサポートBBS
http://jd4linux.sourceforge.jp/cgi-bin/bbs/support/
2chスレ過去ログ
http://jd4linux.sourceforge.jp/old2ch/
JD開発ポリシー
http://jd4linux.sourceforge.jp/policy.txt
前スレ
[[[ 2ch ブラウザ JD 17 ]]] [無断転載禁止]©2ch.net
http://mao.5ch.net/test/read.cgi/linux/1494846782/
その前
2ch ブラウザ JD 16.1
http://hayabusa6.2ch.net/test/read.cgi/linux/1429177088/
[[[ 2ch ブラウザ JD 19]]]
■ このスレッドは過去ログ倉庫に格納されています
2017/10/06(金) 20:22:29.98ID:o5PufOFR
2017/10/06(金) 20:27:31.04ID:qcYQLtlW
2017/10/06(金) 20:29:38.32ID:o5PufOFR
>前スレの1000さん
>このスレは重複スレ
そうだったんだ
すっかり忘れてた(今も思い出せない)
ということで19にしてセーフ
という訳で
17が2個で18は欠番ですよ
前スレ
[[[ 2ch ブラウザ JD 17 ]]] [無断転載禁止]©2ch.net
http://mao.5ch.net/test/read.cgi/linux/1494846782/
その前
[[[ 2ch ブラウザ JD 17 ]]] [転載禁止]©2ch.net
http://mao.5ch.net/test/read.cgi/linux/1431339280/
と訂正いたします
>このスレは重複スレ
そうだったんだ
すっかり忘れてた(今も思い出せない)
ということで19にしてセーフ
という訳で
17が2個で18は欠番ですよ
前スレ
[[[ 2ch ブラウザ JD 17 ]]] [無断転載禁止]©2ch.net
http://mao.5ch.net/test/read.cgi/linux/1494846782/
その前
[[[ 2ch ブラウザ JD 17 ]]] [転載禁止]©2ch.net
http://mao.5ch.net/test/read.cgi/linux/1431339280/
と訂正いたします
2017/10/06(金) 20:37:02.76ID:KEQsIKc7
2017/10/06(金) 20:39:22.18ID:o5PufOFR
>>4
最近はブサメンでもスレ立て出来るんですよ
最近はブサメンでもスレ立て出来るんですよ
2017/10/06(金) 20:40:55.93ID:wXOu6zWj
2017/10/06(金) 20:48:20.67ID:o5PufOFR
2017/10/06(金) 20:55:02.29ID:vOzQo5MK
前スレの986です。
CentOS 6 64bit です。
https://github.com/yama-natuki/JD/tree/test
ここにあるJDをインストールしようとしてサイトに書いてある手順に従って
$ make したら
loader.cpp:571: error: ‘to_string’ is not a member of ‘std’
レスをくださった方を参考に
$ make CXXFLAGS+="-std=c++11"
すると
cc1plus: error: unrecognized command line option "-std=c++11"
>autoconf-archive入れれば良いんじゃね?
を参考に $ sudo yum install autoconf-archive すると
パッケージ autoconf-archive は利用できません。
Debian系にはあってもRedhat系にautoconf-archiveは無いみたいです。
>つかってるコンパイラが古くてjdが必要とする機能に対応してないからバージョン上げるしか無い
CentOS 6 からCentOS 7に変えなきゃ無理なのかな?
CentOS 6 64bit です。
https://github.com/yama-natuki/JD/tree/test
ここにあるJDをインストールしようとしてサイトに書いてある手順に従って
$ make したら
loader.cpp:571: error: ‘to_string’ is not a member of ‘std’
レスをくださった方を参考に
$ make CXXFLAGS+="-std=c++11"
すると
cc1plus: error: unrecognized command line option "-std=c++11"
>autoconf-archive入れれば良いんじゃね?
を参考に $ sudo yum install autoconf-archive すると
パッケージ autoconf-archive は利用できません。
Debian系にはあってもRedhat系にautoconf-archiveは無いみたいです。
>つかってるコンパイラが古くてjdが必要とする機能に対応してないからバージョン上げるしか無い
CentOS 6 からCentOS 7に変えなきゃ無理なのかな?
2017/10/06(金) 21:04:00.53ID:o5PufOFR
2017/10/06(金) 21:05:06.71ID:J+4ey0qa
2017/10/06(金) 21:06:26.58ID:91Kk7wyK
>>8
うまくいくかどうか分からないけど
c++でto_stringが使えないときの対処法について
http://turanegaku.hateblo.jp/entry/2015/12/31/220329
うまくいくかどうか分からないけど
c++でto_stringが使えないときの対処法について
http://turanegaku.hateblo.jp/entry/2015/12/31/220329
2017/10/06(金) 21:11:09.45ID:hr/lObup
よくわからないけどc++11の代わりにc++0xでダメなら
centos c++11でググッてg++のバージョン上げればいいんじゃないかと思いました。
centos c++11でググッてg++のバージョン上げればいいんじゃないかと思いました。
2017/10/06(金) 21:35:52.00ID:IJBRAl+1
2017/10/06(金) 22:13:51.44ID:o5PufOFR
2017/10/06(金) 22:14:57.73ID:XP0r9pNF
>>11
いわれてみりゃ確かに数値をstringにするだけなんで自前で置き換えちゃえばいいだけやな
かってにstdに作っちゃうのもアレだしざっと見る限りstd::to_string使ってるのはsrc/jdlib/loader.cppの571行目だけっぽいからそこだけ置き換えれば良いね
以下その場しのぎ&ビルド出来るかすら確認してないうんこぱっち
https://pastebin.com/kd99HV3K
正式に対応するなら他に元のjdと比べてC++11に依存する変更はないかとか考慮すべき点が色々あるだろうからissueで相談してみると良いかもね
いわれてみりゃ確かに数値をstringにするだけなんで自前で置き換えちゃえばいいだけやな
かってにstdに作っちゃうのもアレだしざっと見る限りstd::to_string使ってるのはsrc/jdlib/loader.cppの571行目だけっぽいからそこだけ置き換えれば良いね
以下その場しのぎ&ビルド出来るかすら確認してないうんこぱっち
https://pastebin.com/kd99HV3K
正式に対応するなら他に元のjdと比べてC++11に依存する変更はないかとか考慮すべき点が色々あるだろうからissueで相談してみると良いかもね
16login:Penguin
2017/10/06(金) 22:45:59.77ID:1xkLz7U2 m@m ~ $ sudo apt-get build-dep jd
E: jd のソースパッケージが見つかりません
m@m ~ $
m@m ~ $ sudo apt-get install build-essential automake autoconf-archive git
automake はすでに最新版です。
build-essential はすでに最新版です。
提案パッケージ:
git-daemon-run git-daemon-sysvinit git-doc git-el git-email git-gui gitk
gitweb git-arch git-bzr git-cvs git-mediawiki git-svn
以下のパッケージが新たにインストールされます:
autoconf-archive
以下のパッケージはアップグレードされます:
git
アップグレード: 1 個、新規インストール: 1 個、削除: 0 個、保留: 35 個。
2,962 kB 中 710 kB のアーカイブを取得する必要があります。
この操作後に追加で 5,263 kB のディスク容量が消費されます。
続行しますか? [Y/n] y
取得:1 http://archive.ubuntu.com/ubuntu/ trusty/universe autoconf-archive all 20131101-1 [710 kB]
710 kB を 1秒 で取得しました (402 kB/s)
以前に未選択のパッケージ autoconf-archive を選択しています。
(データベースを読み込んでいます ... 現在 261801 個のファイルとディレクトリがインストールされています。)
.../autoconf-archive_20131101-1_all.deb を展開する準備をしています ...
autoconf-archive (20131101-1) を展開しています...
.../git_1%3a1.9.1-1ubuntu0.7_amd64.deb を展開する準備をしています ...
git (1:1.9.1-1ubuntu0.7) で (1:1.9.1-1ubuntu0.6 に) 上書き展開しています ...
doc-base (0.10.5) のトリガを処理しています ...
doc-base ファイルを 1 個追加 を処理中...
scrollkeeper をドキュメントとして登録しています...
install-info (5.2.0.dfsg.1-2) のトリガを処理しています ...
E: jd のソースパッケージが見つかりません
m@m ~ $
m@m ~ $ sudo apt-get install build-essential automake autoconf-archive git
automake はすでに最新版です。
build-essential はすでに最新版です。
提案パッケージ:
git-daemon-run git-daemon-sysvinit git-doc git-el git-email git-gui gitk
gitweb git-arch git-bzr git-cvs git-mediawiki git-svn
以下のパッケージが新たにインストールされます:
autoconf-archive
以下のパッケージはアップグレードされます:
git
アップグレード: 1 個、新規インストール: 1 個、削除: 0 個、保留: 35 個。
2,962 kB 中 710 kB のアーカイブを取得する必要があります。
この操作後に追加で 5,263 kB のディスク容量が消費されます。
続行しますか? [Y/n] y
取得:1 http://archive.ubuntu.com/ubuntu/ trusty/universe autoconf-archive all 20131101-1 [710 kB]
710 kB を 1秒 で取得しました (402 kB/s)
以前に未選択のパッケージ autoconf-archive を選択しています。
(データベースを読み込んでいます ... 現在 261801 個のファイルとディレクトリがインストールされています。)
.../autoconf-archive_20131101-1_all.deb を展開する準備をしています ...
autoconf-archive (20131101-1) を展開しています...
.../git_1%3a1.9.1-1ubuntu0.7_amd64.deb を展開する準備をしています ...
git (1:1.9.1-1ubuntu0.7) で (1:1.9.1-1ubuntu0.6 に) 上書き展開しています ...
doc-base (0.10.5) のトリガを処理しています ...
doc-base ファイルを 1 個追加 を処理中...
scrollkeeper をドキュメントとして登録しています...
install-info (5.2.0.dfsg.1-2) のトリガを処理しています ...
17login:Penguin
2017/10/06(金) 22:50:17.80ID:1xkLz7U2 m@m ~ $ git clone -b test --depth 1 https://github.com/yama-natuki/JD.git jd
Cloning into 'jd'...
remote: Counting objects: 568, done.
remote: Compressing objects: 100% (549/549), done.
remote: Total 568 (delta 49), reused 349 (delta 18), pack-reused 0
Receiving objects: 100% (568/568), 935.58 KiB | 560.00 KiB/s, done.
Resolving deltas: 100% (49/49), done.
Checking connectivity... done.
m@m ~ $ cd jd
m@m ~/jd $ autoreconf -i
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.ac:9: installing './compile'
configure.ac:15: installing './config.guess'
configure.ac:15: installing './config.sub'
configure.ac:6: installing './install-sh'
configure.ac:6: installing './missing'
src/Makefile.am: installing './depcomp'
Cloning into 'jd'...
remote: Counting objects: 568, done.
remote: Compressing objects: 100% (549/549), done.
remote: Total 568 (delta 49), reused 349 (delta 18), pack-reused 0
Receiving objects: 100% (568/568), 935.58 KiB | 560.00 KiB/s, done.
Resolving deltas: 100% (49/49), done.
Checking connectivity... done.
m@m ~ $ cd jd
m@m ~/jd $ autoreconf -i
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.ac:9: installing './compile'
configure.ac:15: installing './config.guess'
configure.ac:15: installing './config.sub'
configure.ac:6: installing './install-sh'
configure.ac:6: installing './missing'
src/Makefile.am: installing './depcomp'
2017/10/06(金) 22:51:18.48ID:lTxhsMwh
>>16
で?何がしたいの?
で?何がしたいの?
19login:Penguin
2017/10/06(金) 22:52:47.29ID:1xkLz7U2 m@m ~/jd $ ./configure
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/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking how to run the C preprocessor... gcc -E
以下略ノーエラーで終了
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/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking how to run the C preprocessor... gcc -E
以下略ノーエラーで終了
20login:Penguin
2017/10/06(金) 22:54:56.20ID:1xkLz7U2 ノーエラーではなかった、指導を
os = linux-gnu
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GTKMM... no
configure: error: Package requirements (gtkmm-2.4 >= 2.4.0) were not met:
No package 'gtkmm-2.4' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables GTKMM_CFLAGS
and GTKMM_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
m@m ~/jd $
os = linux-gnu
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GTKMM... no
configure: error: Package requirements (gtkmm-2.4 >= 2.4.0) were not met:
No package 'gtkmm-2.4' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables GTKMM_CFLAGS
and GTKMM_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
m@m ~/jd $
2017/10/06(金) 23:00:07.50ID:lTxhsMwh
■ このスレッドは過去ログ倉庫に格納されています
ニュース
- 【酒】がんの死亡リスク、350mlの缶ビールを1日1本で増加? アルコール起因のがん死亡数が33年間で2倍に 米国研究 ★2 [煮卵★]
- 【文春】女子アナにチョレイ! 卓球・張本智和(23) チャラい“DM連続ナンパ” ★2 [Ailuropoda melanoleuca★]
- 【物価高】ドンキ「999円」、イオン「1000円」のジーンズ、やっぱり売れた 格安アパレルの戦略 [煮卵★]
- 【サッカー】塩貝健人は後半41分から出場 PK戦は蹴る前に終了「森保さんに『俺、PK下手そうですか?』って聞いた」 [ゴアマガラ★]
- 【豆〜】フジテレビ、倉本聰さん追悼番組「北の国から 83冬」10月9日に放送決定「麓郷に沢田松吉(笠智衆という老人がふらりと現れる…」 [征夷大将軍★]
- 岩屋前外相 中国訪問めぐるSNS中傷に大物議員が同情…議員宿舎侵入事件も「ハニトラでもなんでもない」と徹底擁護 平将明氏 [少考さん★]
- ふりかけって数年ぶりに食うと驚くほど美味いよな
- 【高市悲報】イランさん、9月中の原油積み込みゼロ 経済崩壊へwwwwwww [199590541]
- 【高市悲報】トランプ、一万人増派!空母3隻体制でイランを強襲か?!終わらない戦争 [219241683]
- >>3「え~出席をとるぞ。>>5」>>5「はい元気です!」
- 【絶望】フォロワー18600人のイラストレーターさん、AIに仕事を奪われ無職にwwwwwwwwwwwwwwwwwwww [802034645]
- ケツがあるナスがすごい [114588277]