Merhaba,

    iptraf in kaynak kodunu indirdiniz ve o şekilde kurmaya çalışıyorsunuz sanırım. ports agacina baktigimda iptraf i göremedim.
/usr/ports/net/iptraf altında kurmanıza gerek yok başka bir dizinde kurmanız sistem açısından daha iyi olacaktır.
aldığınız hata da permission sorunu olduğu söylüyor. ports dizini altına sizin programın yazmasına izin vermiyor olabilir. /usr/ports/ dizini altında değilde başka bir yerde root ile kurmayı denediğinizde nasıl bir hata alıyorsunuz ?


iptraf.c:425: error: `VERSION' undeclared (first use in this function)
iptraf.c: In function `main':
iptraf.c:469: error: `VERSION' undeclared (first use in this function)
*** Error code 1
Stop in /usr/ports/net/iptraf-2.7.0/src.
./install.sh:Permission denied
*** Error code 1
Stop in /usr/ports/net/iptraf-2.7.0/src.


Ömer Koyun yazmış:
merhaba
 
freebsd 5.3 üzerine iptraf'ý instal ederken aþaðýdaki hatayý alýyorum. (/usr/ports/net/iptraf-2.7.0    altýnada kuruyorum ) Acaba yanlýþ yerdemi instal ediyorum. bu sorunu nasýl aþabilirim
 
teþekkürler
 
test# ./Setup
=====================================================================
 IPTraf Version 2.7.0 Setup
 Target Platform: FreeBSD/i386
---------------------------------------------------------------------
>>>>>> COMPILING IPTRAF 2.7.0 FROM SUPPLIED SOURCE CODE
rm -f *.o *~ core iptraf rvnamed rawtime cfconv
make -C ../support clean
rm -rf *.o *~ libtextbox.a libtextbox.so
rm -rf *.o *~ libtextbox.a libtextbox.so
gcc -Wall -c iptraf.c
iptraf.c:39:20: menurt.h: No such file or directory
iptraf.c:40:20: winops.h: No such file or directory
iptraf.c:41:22: msgboxes.h: No such file or directory
In file included from iptraf.c:44:
fltmgr.h:20: warning: "struct MENU" declared inside parameter list
fltmgr.h:20: warning: its scope is only this definition or declaration, which is probably not what you want
fltmgr.h:21: warning: "struct MENU" declared inside parameter list
fltmgr.h:22: warning: "struct MENU" declared inside parameter list
In file included from iptraf.c:54:
tcptable.h:22:23: asm/types.h: No such file or directory
tcptable.h:23:29: linux/if_packet.h: No such file or directory
tcptable.h:24:28: linux/if_ether.h: No such file or directory
tcptable.h:25:27: linux/if_fddi.h: No such file or directory
tcptable.h:26:25: linux/if_tr.h: No such file or directory
In file included from tcptable.h:28,
                 from iptraf.c:54:
/usr/include/netinet/ip.h:160: error: syntax error before "n_long"
/usr/include/netinet/ip.h:163: error: syntax error before "n_long"
In file included from tcptable.h:31,
                 from iptraf.c:54:
tcphdr.h:8:20: endian.h: No such file or directory
iptraf.c:199: warning: "struct MENU" declared inside parameter list
iptraf.c: In function `init_break_menu':
iptraf.c:201: warning: implicit declaration of function `tx_initmenu'
iptraf.c:203: warning: implicit declaration of function `tx_additem'
iptraf.c: In function `program_interface':
iptraf.c:217: error: storage size of 'menu' isn't known
iptraf.c:218: error: storage size of 'break_menu' isn't known
iptraf.c:242: error: `PLATFORM' undeclared (first use in this function)
iptraf.c:242: error: (Each undeclared identifier is reported only once
iptraf.c:242: error: for each function it appears in.)
iptraf.c:269: warning: implicit declaration of function `tx_showmenu'
iptraf.c:270: warning: implicit declaration of function `tx_operatemenu'
iptraf.c:312: warning: implicit declaration of function `tx_destroymenu'
iptraf.c:333: warning: implicit declaration of function `tx_errbox'
iptraf.c:217: warning: unused variable `menu'
iptraf.c:218: warning: unused variable `break_menu'
iptraf.c: In function `commandhelp':
iptraf.c:425: error: `VERSION' undeclared (first use in this function)
iptraf.c: In function `main':
iptraf.c:469: error: `VERSION' undeclared (first use in this function)
*** Error code 1
Stop in /usr/ports/net/iptraf-2.7.0/src.
./install.sh:Permission denied
*** Error code 1
Stop in /usr/ports/net/iptraf-2.7.0/src.

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Cevap