911linux 发表于 2004-2-21 22:06:11

tkpppoe出错!有谁能帮帮忙?

我装完Gentoo了
在使用tkpppoe命令时出现以下错误,有谁给指点一下是什么地方引起的。

/usr/bin/tkpppoe: line 24: exec: wish: not found

帮帮忙啦!!!!!!!!!!!!!!!!!!!!!

Ivn 发表于 2004-2-21 22:27:48

wish没装吧,tcl 装了吗?

911linux 发表于 2004-2-21 23:43:23

装了tcl 和 tk后还是有错

root # tkpppoe
#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#
?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?
#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#
?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?usr/lib/tcl8#?#?#?#?lib/tc
l8#?#?#?#?usr/librar#?#?#?librar#?#?#?tcl8#?3/librar#?#?#?usr/lib/tcl8#?#?#?
#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#
?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?
#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#
?#?#?#?#?#?#?#?#?#?#?#?#?#?#?#?usr/bin/tkpppo#?ANPATH=/usr/share/m
......................................................

何故呢??????????

Ivn 发表于 2004-2-22 00:08:53

不详 :)
//
这东西没用过,是个 图形 PPPoE 设置工具吗?

911linux 发表于 2004-2-22 00:15:28

是地

niverse 发表于 2005-10-4 17:45:07

后来呢???我也是这样子的啊!!!!

/usr/bin/tkpppoe: line 24: exec: wish: not found

我用的是debian3.1 只用了DVD1而已。使用了两张DVD安装的debian 3.1 则没有这个问题。也不知道如何比较不同……

druggo 发表于 2005-10-4 20:00:03

tkpppoe我用了下,居然无法连接上,一直在那里conneting...

还是adsl-start实惠.

niverse 发表于 2005-10-5 07:41:11

:?:?:?:?:? 唉!!我还以为有人可以帮我呢!!
    不过你遇到的问题我可是知道答案的喔! :-):-) 这是因为选项中的拨号方式没有选对的原因。你试试,一定可以的。

druggo 发表于 2005-10-5 13:42:38

哦,拨号方式?选啥啊?

niverse 发表于 2005-10-5 16:08:29

8O8O 汗……打开tkpppoe,选“option”标签,里面有两个选项,你试一下,因为只有4种组合。

还有一个是要选对网卡,应该是第二个标签,写上eth0

应该是可以的了……唉……我还在为安装发愁呢!我以为是因为有的库没有装的缘故。我的另一个Debian可以正常使用tkpppoe,(但是为什么没有声音,不可输中文??!!!)两个debian相比,一个多了200多个“库文件”和50多个“库--开发”的软件包。

而两者的编译表现更本一模一样:
niverse:/home/niv/down/rp-pppoe-3.5# ./go-gui
Running ./configure...
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc) works... yes
checking whether the C compiler (gcc) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ranlib... (cached) ranlib
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking for fcntl.h... (cached) yes
checking for sys/dlpi.h... (cached) no
checking for sys/ioctl.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for syslog.h... (cached) yes
checking for unistd.h... (cached) yes
checking for net/if_arp.h... (cached) yes
checking for netinet/if_ether.h... (cached) yes
checking for getopt.h... (cached) yes
checking for sys/uio.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for net/bpf.h... (cached) no
checking for netpacket/packet.h... (cached) yes
checking for net/ethernet.h... (cached) yes
checking for asm/types.h... (cached) yes
checking for linux/if_packet.h... (cached) yes
checking for linux/if_ether.h... (cached) yes
checking for linux/if_pppox.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys/cdefs.h... (cached) yes
checking for linux/if.h... (cached) yes
checking for net/if.h... (cached) yes
checking for net/if_dl.h... (cached) no
checking for net/if_ether.h... (cached) no
checking for net/if_types.h... (cached) no
checking for netinet/if_ether.h... (cached) yes
checking for net/if_types.h... (cached) no
checking for net/if_dl.h... (cached) no
checking for working const... (cached) yes
checking for pid_t... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for echo... (cached) /bin/echo
checking for struct sockaddr_ll... yes
checking for N_HDLC line discipline... yes
checking for 8-bit clean memcmp... (cached) yes
checking whether setvbuf arguments are reversed... (cached) no
checking return type of signal handlers... (cached) void
checking for select... (cached) yes
checking for socket... (cached) yes
checking for strerror... (cached) yes
checking for strtol... (cached) yes
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking size of unsigned short... (cached) 2
checking size of unsigned int... (cached) 4
checking size of unsigned long... (cached) 4
checking for pppd... (cached) /usr/sbin/pppd
checking for setsid... (cached) /usr/bin/setsid
checking for id... (cached) /usr/bin/id
checking for Linux 2.4.X kernel-mode PPPoE support... yes
checking packing order of bit fields... reversed
creating ./config.status
creating Makefile
creating libevent/Makefile
creating ../scripts/adsl-connect
creating ../scripts/adsl-start
creating ../scripts/adsl-stop
creating ../scripts/adsl-init
creating ../scripts/adsl-init-suse
creating ../scripts/adsl-init-turbolinux
creating ../scripts/adsl-setup
creating ../gui/Makefile
creating ../gui/tkpppoe
creating config.h
config.h is unchanged

On this platform, the following targets will be built:
      pppoe pppoe-server pppoe-sniff pppoe-relay

Type 'make' to compile the software.
Running make...

Type 'make install' as root to install the software.
Running make install...

Type 'make install' as root to install the software.
mkdir -p /usr/sbin
/usr/bin/install -c -m 755 -s pppoe /usr/sbin
/usr/bin/install -c -m 755 -s pppoe-server /usr/sbin
if test -x licensed-only/pppoe-server-control ; then /usr/bin/install -c -m 755 -s licensed-only/pppoe-server-control /usr/sbin; fi
if test -x pppoe-relay ; then /usr/bin/install -c -m 755 -s pppoe-relay /usr/sbin; fi
if test -x pppoe-sniff; then /usr/bin/install -c -m 755 -s pppoe-sniff /usr/sbin; fi
/usr/bin/install -c -m 755 ../scripts/adsl-connect /usr/sbin
/usr/bin/install -c -m 755 ../scripts/adsl-start /usr/sbin
/usr/bin/install -c -m 755 ../scripts/adsl-status /usr/sbin
/usr/bin/install -c -m 755 ../scripts/adsl-stop /usr/sbin
/usr/bin/install -c -m 755 ../scripts/adsl-setup /usr/sbin
mkdir -p /usr/doc/rp-pppoe-3.5
/usr/bin/install -c -m 644 ../doc/CHANGES /usr/doc/rp-pppoe-3.5
/usr/bin/install -c -m 644 ../doc/KERNEL-MODE-PPPOE /usr/doc/rp-pppoe-3.5
/usr/bin/install -c -m 644 ../doc/HOW-TO-CONNECT /usr/doc/rp-pppoe-3.5
/usr/bin/install -c -m 644 ../doc/LICENSE /usr/doc/rp-pppoe-3.5
/usr/bin/install -c -m 644 ../README /usr/doc/rp-pppoe-3.5
/usr/bin/install -c -m 644 ../SERVPOET /usr/doc/rp-pppoe-3.5
/usr/bin/install -c -m 644 ../configs/pap-secrets /usr/doc/rp-pppoe-3.5
mkdir -p /usr/man/man8
for i in pppoe pppoe-server pppoe-sniff pppoe-relay ; do \
      if test -f ../man/$i.8 ; then \
                /usr/bin/install -c -m 644 ../man/$i.8 /usr/man/man8 || exit 1; \
      fi; \
done
/usr/bin/install -c -m 644 ../man/adsl-start.8 /usr/man/man8
/usr/bin/install -c -m 644 ../man/adsl-stop.8 /usr/man/man8
/usr/bin/install -c -m 644 ../man/adsl-status.8 /usr/man/man8
/usr/bin/install -c -m 644 ../man/adsl-connect.8 /usr/man/man8
/usr/bin/install -c -m 644 ../man/adsl-setup.8 /usr/man/man8
mkdir -p /usr/man/man5
/usr/bin/install -c -m 644 ../man/pppoe.conf.5 /usr/man/man5
mkdir -p /etc/ppp
mkdir -p /etc/ppp/plugins
echo "# Directory created by rp-pppoe for kernel-mode plugin" > /etc/ppp/plugins/README
NOT overwriting existing /etc/ppp/pppoe.conf
NOT overwriting existing /etc/ppp/firewall-standalone
NOT overwriting existing /etc/ppp/firewall-masq
NOT overwriting existing /etc/ppp/pppoe-server-options
# L2TP

Type 'adsl-setup' to configure the software.
Building GUI wrapper...

Type 'make install' as root to install the software.
Installing GUI...

Type 'make install' as root to install the software.
mkdir -p /usr/sbin
mkdir -p /usr/bin
mkdir -p /etc/ppp/rp-pppoe-gui
/usr/bin/install -c -m 4755 -s pppoe-wrapper /usr/sbin
/usr/bin/install -c -m 755 tkpppoe /usr/bin
mkdir -p /usr/man/man1
/usr/bin/install -c -m 644 pppoe-wrapper.1 /usr/man/man1
/usr/bin/install -c -m 644 tkpppoe.1 /usr/man/man1
mkdir -p /usr/share/tkpppoe
for i in tkpppoe.html mainwin-busy.png mainwin-nonroot.png mainwin.png props-advanced.png props-basic.png props-nic.png props-options.png; do \
      /usr/bin/install -c -m 644 html/$i /usr/share/tkpppoe; \
done
for i in en.msg ja.msg; do \
      /usr/bin/install -c -m 644 $i /usr/share/tkpppoe; \
done
Running GUI configuration tool...
niverse:/home/niv/down/rp-pppoe-3.5# /usr/bin/tkpppoe: line 24: exec: wish: not found

更令我纳闷的是:唉!还是不行呀!!
debian给我的感受是:
等我有朝一日……看我冲到debian.org写上:高手的玩具!!

niverse 发表于 2005-10-5 16:11:15

写了好久!早知道就下线写了!!

alin_ass 发表于 2005-10-5 16:23:16

pppoeconf比较好简单容易

就是每设置一次它要去添加/etc/network/interface不爽

druggo 发表于 2005-10-5 18:13:15

8O8O 汗……打开tkpppoe,选“option”标签,里面有两个选项,你试一下,因为只有4种组合。

niverse:/home/niv/down/rp-pppoe-3.5# /usr/bin/tkpppoe: line 24: exec: wish: not found


It's OK, thank you !

from your error message, maybe you haven't install the Tcl/tk to you system.
页: [1]
查看完整版本: tkpppoe出错!有谁能帮帮忙?