依存関係でライブラリをいくつかインストールするのと、さらにソースコード(vncviewer/CMakeFiles/vncviewer.dir/link.txt)に -ldl -lpngを追加するあたりが難しかった。
879 cd /suikou/download/ 880 wget https://github.com/TigerVNC/tigervnc/archive/v1.8.0.tar.gz 881 mv v1.8.0.tar.gz TigerVNC_v1.8.0.tar.gz 882 tar zvxf TigerVNC_v1.8.0.tar.gz 883 cd tigervnc-1.8.0/ 884 ls 885 mkdir build 886 cd build/ 887 cmake .. 888 cd .. 889 wget https://downloads.sourceforge.net/project/libjpeg-turbo/1.5.1/libjpeg-turbo-1.5.1.tar.gz?r=https%3A%2F%2Fsourceforge.net%2Fprojects%2Flibjpeg-turbo%2Ffiles%2F1.5.1%2F&ts=1495422542&use_mirror=jaist 890 mv libjpeg-turbo-1.5.1.tar.gz\?r\=https\:%2F%2Fsourceforge.net%2Fprojects%2Flibjpeg-turbo%2Ffiles%2F1.5.1%2F libjpeg-turbo-1.5.1.tar.gz 891 tar zvxf libjpeg-turbo-1.5.1.tar.gz 892 cd libjpeg-turbo-1.5.1/ 893 ls 894 ./configure --prefix=/suikou/tool/libjpeg-turbo-1.5.1 895 cd .. 896 wget http://www.nasm.us/pub/nasm/releasebuilds/2.13.01/nasm-2.13.01.tar.gz 897 tar zvxf nasm-2.13.01.tar.gz 898 cd nasm-2.13.01/ 899 ls 900 ./configure --prefix=/suikou/tool/nasm-2.13.01 901 make -j 4 902 make install 903 ls /suikou/tool/nasm-2.13.01/ 904 ls /suikou/tool/nasm-2.13.01/bin/ 905 ls /suikou/tool/nasm-2.13.01/share/ 906 nano /suikou/tool/bashrc.sh 907 link1 /suikou/tool/nasm-2.13.01/bin/ 908 which nasm 909 cd .. 910 ls 911 mv libjpeg-turbo-1.5.1* nasm-2.13.01* .. 912 cd ../libjpeg-turbo-1.5.1/ 913 ls 914 ./configure --prefix=/suikou/tool/libjpeg-turbo-1.5.1 915 make -j 10 916 make install 917 ls /suikou/tool/libjpeg-turbo-1.5.1/ 918 ls /suikou/tool/libjpeg-turbo-1.5.1/bii 919 ls /suikou/tool/libjpeg-turbo-1.5.1/bin/ 920 nano /suikou/tool/bashrc.sh 921 link2 /suikou/tool/libjpeg-turbo-1.5.1/ 922 cd ../tigervnc-1.8.0/ 923 ls 924 cd build/ 925 cmake -DCMAKE_INSTALL_PREFIX=/suikou/tool/tigervnc-1.8.0 .. 926 cmake -DCMAKE_INSTALL_PREFIX=/suikou/tool/tigervnc-1.8.0 -DJPEG_INCLUDE_DIR=/suikou/tool/libjpeg-turbo-1.5.1/include/ -DJPEG_LIBRARY=/suikou/tool/libjpeg-turbo-1.5.1/lib/libjpeg.a .. 927 ls .. 928 find ..|grep fltk 929 cd ../.. 930 wget http://www.fltk.org/software.php?VERSION=1.3.4&FILE=fltk/1.3.4/fltk-1.3.4-1-source.tar.gz 931 mv software.php\?VERSION\=1.3.4 fltk-1.3.4-1-source.tar.gz 932 tar zvxf fltk-1.3.4-1-source.tar.gz 933 rm fltk-1.3.4-1-source.tar.gz 934 wget http://fltk.org/pub/fltk/1.3.4/fltk-1.3.4-1-source.tar.gz 935 tar zvxf fltk-1.3.4-1-source.tar.gz 936 cd fltk-1.3.4-1/ 937 ls 938 ./configure --prefix=/suikou/tool/fltk-1.3.4-1 939 make -j 10 940 make install 941 ls /suikou/tool/fltk-1.3.4-1/bin/ 942 nano /suikou/tool/bashrc.sh 943 link2 /suikou/tool/fltk-1.3.4-1 944 cd ../tigervnc-1.8.0/ 945 cd build/ 946 cmake -DCMAKE_INSTALL_PREFIX=/suikou/tool/tigervnc-1.8.0 -DJPEG_INCLUDE_DIR=/suikou/tool/libjpeg-turbo-1.5.1/include/ -DJPEG_LIBRARY=/suikou/tool/libjpeg-turbo-1.5.1/lib/libjpeg.a .. 947 make -j 10 948 ls 949 make 950 more vncviewer/CMakeFiles/vncviewer.dir/link.txt 951 nano vncviewer/CMakeFiles/vncviewer.dir/link.txt 952 make 953 ls /suikou/tool/fltk-1.3.4-1/lib/ 954 nano vncviewer/CMakeFiles/vncviewer.dir/link.txt 955 cd ../ 956 cd ../fltk-1.3.4-1/ 957 ls 958 ./configure --enable-shared --prefix=/suikou/tool/fltk-1.3.4-1 959 make 960 make -j 10 967 cd /suikou/download/tigervnc-1.8.0/ 968 cd build/ 969 ls 970 make -vvv 971 make 972 make -v 973 make VERBOSE=1 974 cd /suikou/download/tigervnc-1.8.0/build/vncviewer 981 nano CMakeFiles/vncviewer.dir/link.txt 982 cd .. 983 make 984 nano tests/CMakeFiles/fbperf.dir/link.txt 985 make 986 ls 987 make install 988 ls /suikou/tool/tigervnc-1.8.0/ 989 ls /suikou/tool/tigervnc-1.8.0/bin/ 990 nano /suikou/tool/bashrc.sh 991 link1 /suikou/tool/tigervnc-1.8.0/bin 992 exit 993 ps axuw|grep vnc 994 vncviewer 995 which vncviewer 996 vncviewer -password=/home/yoshitake.kazutoshi/.vnc/sesman_yoshitake.kazutoshi_passwd:29 localhost:5929 997 vncviewer -passwd=/home/yoshitake.kazutoshi/.vnc/sesman_yoshitake.kazutoshi_passwd:29 localhost:5929 998 ll -h /home/yoshitake.kazutoshi/.vnc/ 999 ps axuw|grep vnc 1000 exit 1001 ps axuw|grep vnc 1002 vncviewer -passwd=/home/yoshitake.kazutoshi/.vnc/sesman_yoshitake.kazutoshi_passwd:10 localhost:5910