そりゃそーか。
よく参考ページを見直してみれば、 perl は busybox の中じゃなくて 122_TREK/usr/bin にあるじゃねーか。
あー恥しい…
まあ、気をとりなおして。
シンボリックリンク張り直してっと…
# rm /usr/bin/perl
# ln -s /mnt/sd/.linux/122_TREK/usr/bin/perl /usr/bin/perl
# perl --help
/bin/sh: perl: not found
…( ・_・)アレ?
#!/usr/bin/perl -w
#
# ipmsg.pl <host to send> <your name> <message>
#
# ipmsg.pl <host to send> <your name> ... input message from STDIN
#
use Socket;
use Sys::Hostname;
## to info
my $tohost = gethostbyname($ARGV[0]);
my $toport = 2425;
## from info
my $myname = $ARGV[1];
my $myhost = "PQI Air Card";
## net info
my $proto = getprotobyname('udp');
my $ihost = gethostbyname(hostname());
my $ipaddr = sockaddr_in(0, $ihost); # 0 means let kernel pick
my $hispaddr = sockaddr_in($toport, $tohost);
my $sendtext;
if (@ARGV >= 3)
{
$sendtext = $ARGV[2];
}
else
{
$sendtext = <STDIN>;
}
$sendtext = sprintf('1:%d:%s:%s:32:%s', int(rand(100))+1, $myname, $myhost, $sendtext);
socket(SOCKET, PF_INET, SOCK_DGRAM, $proto);
bind(SOCKET, $ipaddr);
send(SOCKET, $sendtext, 0, $hispaddr);
# /mnt/sd/ipmsg.pl localhost ozawa hogCan't locate Socket.pm in @INC (@INC contains: /usr/local/lib/perl5/5.14 /usr/local/lib/perl5/5.14 .) at /mnt/sd/ipmsg.pl line 8.BEGIN failed--compilation aborted at /mnt/sd/ipmsg.pl line 8.
# rm /usr/bin/perl
# ln -s /mnt/sd/.linux/122_TREK/busybox /usr/bin/perl
# perl --version
perl: applet not found
TV にスマホの画面を写してみました |
'C:\Windows\system32\java.exe' は、内部コマンドまたは外部コマンド、参考ページの内容とは違うが…orz
操作可能なプログラムまたはバッチ ファイルとして認識されていません。
無効なパスの指定です
ERROR: SWT folder '' does not exist.
Please set ANDROID_SWT to point to the folder containing swt.jar for your platform.
*** tools/lib/find_java.bat.org 2012-11-24 18:59:59.673352500 +0900…で、無事起動。
--- tools/lib/find_java.bat 2012-11-24 18:59:01.113271700 +0900
***************
*** 23,35 ****
rem Check we have a valid Java.exe in the path. The return code will
rem be 0 if the command worked or 1 if the exec failed (program not found).
! for /f %%a in ('%~dps0\find_java.exe -s') do set java_exe=%%a
if not defined java_exe goto :CheckFailed
:SearchJavaW
rem Check if we can find a javaw.exe at the same location than java.exe.
rem If that doesn't work, just fall back on the java.exe we just found.
! for /f %%a in ('%~dps0\find_java.exe -s -w') do set javaw_exe=%%a
if not exist %javaw_exe% set javaw_exe=%java_exe%
goto :EOF
--- 23,37 ----
rem Check we have a valid Java.exe in the path. The return code will
rem be 0 if the command worked or 1 if the exec failed (program not found).
! rem for /f %%a in ('%~dps0\find_java.exe -s') do set java_exe=%%a
! set java_exe="C:\Program Files\Java\jdk1.7.0_05\bin\java.exe"
if not defined java_exe goto :CheckFailed
:SearchJavaW
rem Check if we can find a javaw.exe at the same location than java.exe.
rem If that doesn't work, just fall back on the java.exe we just found.
! rem for /f %%a in ('%~dps0\find_java.exe -s -w') do set javaw_exe=%%a
! set javaw_exe="C:\Program Files\Java\jdk1.7.0_05\bin\javaw.exe"
if not exist %javaw_exe% set javaw_exe=%java_exe%
goto :EOF
PC でインスタや LINE をする時、ちょっと困るのが絵文字の入力。 携帯気分で専用キーボードを開いてお手軽に…とはいかない。 仕事で Teams のチャットをする時は、チャット自体に絵文字キーボードがついてるが、 LINEのそれは独自文字だし、インスタに至っては機能すらない。...