انجمن‌های فارسی اوبونتو

لطفاً به انجمن‌ها وارد شده و یا جهت ورود ثبت‌نام نمائید

لطفاً جهت ورود نام کاربری و رمز عبورتان را وارد نمائید




نویسنده موضوع: مشكل در نصب RP-PPPoE >>>  (دفعات بازدید: 1429 بار)

0 کاربر و 2 مهمان درحال مشاهده موضوع.

آفلاین Bersam

  • Full Member
  • *
  • ارسال: 132
  • جنسیت : پسر
  • برسام
مشكل در نصب RP-PPPoE >>>
« : 19 امرداد 1388، 11:52 ب‌ظ »
دوستان سلام عليكم !!! مي كم من مي خوام اين برنامه رو نصب كنم ... ولي متاسفانه باينريش نيست !!!  >:(
مجبور شدم از همون كد هاش نصبش كنم كه با ارور مواجه شدم ... ارور در قسمت make install هست ...
و من هم كوبنتو 8.10 يا همون بز بي باك رو دارم ...
اين هم كامل كد هايي كه براي نصب اين نرم افزار زدم ... (فكر كنم مشكل فقط در اخرش هست ...)

root@$:/media/$/NEW PROJECT - LINUX AND MODEM/New Folder_1/rp-pppoe-3.10/src# ./configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 for ranlib... ranlib
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 for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/dlpi.h usability... no
checking sys/dlpi.h presence... no
checking for sys/dlpi.h... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking net/if_arp.h usability... yes
checking net/if_arp.h presence... yes
checking for net/if_arp.h... yes
checking netinet/if_ether.h usability... yes
checking netinet/if_ether.h presence... yes
checking for netinet/if_ether.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for fcntl.h... (cached) yes
checking net/bpf.h usability... no
checking net/bpf.h presence... no
checking for net/bpf.h... no
checking netpacket/packet.h usability... yes
checking netpacket/packet.h presence... yes
checking for netpacket/packet.h... yes
checking net/ethernet.h usability... yes
checking net/ethernet.h presence... yes
checking for net/ethernet.h... yes
checking asm/types.h usability... yes
checking asm/types.h presence... yes
checking for asm/types.h... yes
checking linux/if_packet.h usability... yes
checking linux/if_packet.h presence... yes
checking for linux/if_packet.h... yes
checking linux/if_ether.h usability... yes
checking linux/if_ether.h presence... yes
checking for linux/if_ether.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/cdefs.h usability... yes
checking sys/cdefs.h presence... yes
checking for sys/cdefs.h... yes
checking net/if.h usability... yes
checking net/if.h presence... yes
checking for net/if.h... yes
checking net/if_dl.h usability... no
checking net/if_dl.h presence... no
checking for net/if_dl.h... no
checking net/if_ether.h usability... no
checking net/if_ether.h presence... no
checking for net/if_ether.h... no
checking net/if_types.h usability... no
checking net/if_types.h presence... no
checking for net/if_types.h... 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 linux/if.h... yes
checking for linux/if_pppox.h... yes
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct sockaddr_ll... yes
checking for N_HDLC line discipline... no
checking for working memcmp... yes
checking for function prototypes... yes
checking whether setvbuf arguments are reversed... no
checking return type of signal handlers... void
checking for select... yes
checking for socket... yes
checking for strerror... yes
checking for strtol... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for unsigned short... yes
checking size of unsigned short... 2
checking for unsigned int... yes
checking size of unsigned int... 4
checking for unsigned long... yes
checking size of unsigned long... 4
checking for pppd... /usr/sbin/pppd
checking for echo... /bin/echo
checking for setsid... /usr/bin/setsid
checking for id... /usr/bin/id
checking for Linux 2.4.X kernel-mode PPPoE support... yes
checking packing order of bit fields... reversed
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING: Makefile.in seems to ignore the --datarootdir setting
config.status: creating libevent/Makefile
config.status: creating ../scripts/pppoe-connect
config.status: creating ../scripts/pppoe-start
config.status: creating ../scripts/pppoe-stop
config.status: creating ../scripts/pppoe-init
config.status: creating ../scripts/pppoe-init-suse
config.status: creating ../scripts/pppoe-init-turbolinux
config.status: creating ../scripts/pppoe-setup
config.status: creating ../gui/Makefile
config.status: WARNING: ../gui/Makefile.in seems to ignore the --datarootdir setting
config.status: creating ../gui/tkpppoe
config.status: creating config.h
On this platform, the following targets will be built:
pppoe pppoe-server pppoe-sniff pppoe-relay
Type 'make' to compile the software.
root@$:/media/$/NEW PROJECT - LINUX AND MODEM/New Folder_1/rp-pppoe-3.10/src#


root@$:/media/$NEW PROJECT - LINUX AND MODEM/New Folder_1/rp-pppoe-3.10/src# make
gcc -g -O2 -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.10"' -c -o pppoe.o pppoe.c
gcc -g -O2 -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.10"' -c -o if.o if.c
gcc -g -O2 -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.10"' -c -o debug.o debug.c
gcc -g -O2 -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.10"' -c -o common.o common.c
gcc -g -O2 -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.10"' -c -o ppp.o ppp.c
gcc -g -O2 -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.10"' -c -o discovery.o discovery.c
gcc -o pppoe pppoe.o if.o debug.o common.o ppp.o discovery.o
gcc -g -O2 -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.10"' -c -o pppoe-server.o pppoe-server.c
pppoe-server.c: In function ‘main’:
pppoe-server.c:1397: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
pppoe-server.c:1399: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
pppoe-server.c:1545: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result
gcc -g -O2 -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.10"' -c -o md5.o md5.c
cd libevent && make DEFINES=""
make[1]: Entering directory `/media/VERBATIM/NEW PROJECT - LINUX AND MODEM/New Folder_1/rp-pppoe-3.10/src/libevent'
gcc -g -O2 -Wall -Wstrict-prototypes -I.. -c -o event.o event.c
gcc -g -O2 -Wall -Wstrict-prototypes -I.. -c -o event_tcp.o event_tcp.c
gcc -g -O2 -Wall -Wstrict-prototypes -I.. -c -o hash.o hash.c
gcc -g -O2 -Wall -Wstrict-prototypes -I.. -c -o event_sig.o event_sig.c
event_sig.c: In function ‘DoPipe’:
event_sig.c:94: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result
event_sig.c: In function ‘sig_handler’:
event_sig.c:125: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
rm -f libevent.a
ar -cq libevent.a event.o event_tcp.o hash.o event_sig.o
ranlib libevent.a
make[1]: Leaving directory `/media/VERBATIM/NEW PROJECT - LINUX AND MODEM/New Folder_1/rp-pppoe-3.10/src/libevent'
gcc -o pppoe-server pppoe-server.o if.o debug.o common.o md5.o -Llibevent -levent
gcc -g -O2 -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.10"' -c -o pppoe-sniff.o pppoe-sniff.c
gcc -o pppoe-sniff pppoe-sniff.o if.o common.o debug.o
gcc -g -O2 -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.10"' -c -o relay.o relay.c
relay.c: In function ‘main’:
relay.c:338: warning: ignoring return value of ‘chdir’, declared with attributewarn_unused_result
relay.c: In function ‘relayLoop’:
relay.c:801: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result
relay.c: In function ‘alarmHandler’:
relay.c:1525: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
gcc -o pppoe-relay relay.o if.o debug.o common.o

Type 'make install' as root to install the software.
root@$:/media/$/NEW PROJECT - LINUX AND MODEM/New Folder_1/rp-pppoe-3.10/src#

root@$:/media/$/NEW PROJECT - LINUX AND MODEM/New Folder_1/rp-pppoe-3.10/src# make install

Type 'make install' as root to install the software.
mkdir -p /usr/sbin
/usr/bin/install -c -m 755 pppoe /usr/sbin
/usr/bin/install -c -m 755 pppoe-server /usr/sbin
if test -x licensed-only/pppoe-server-control ; then /usr/bin/install -c -m 755licensed-only/pppoe-server-control /usr/sbin; fi
if test -x pppoe-relay ; then /usr/bin/install -c -m 755 pppoe-relay /usr/sbin;fi
if test -x pppoe-sniff; then /usr/bin/install -c -m 755 pppoe-sniff /usr/sbin; fi
/usr/bin/install -c -m 755 ../scripts/pppoe-connect /usr/sbin
/usr/bin/install -c -m 755 ../scripts/pppoe-start /usr/sbin
/usr/bin/install -c -m 755 ../scripts/pppoe-status /usr/sbin
/usr/bin/install -c -m 755 ../scripts/pppoe-stop /usr/sbin
/usr/bin/install -c -m 755 ../scripts/pppoe-setup /usr/sbin
mkdir -p /usr/share/doc/rp-pppoe-3.10
/usr/bin/install -c -m 644 ../doc/CHANGES /usr/share/doc/rp-pppoe-3.10
/usr/bin/install: cannot stat `../doc/CHANGES': No such file or directory
make: *** [install] Error 1

همه ی ما با هم برابریم ... لیکن برخی برابر ترند .