Перейти к содержанию

ahimiraki

Members
  • Постов

    4
  • Зарегистрирован

  • Посещение

    Никогда

Profile Information

  • Location
    Москва
  • Interests
    сноуборд ,басгитара , велотриал

Достижения ahimiraki

  1. по ссылке для установки нужна libpcap-0.9.4 ,а у меня более новая 0.9.8 которая уже используется одной программой , можно ли в обход? [root@localhost Download]# rpm -i /home/Ahimiraki/Download/ipcad-3.7.3-4.el5.i386.rpm error: Failed dependencies: libpcap.so.0.9.4 is needed by ipcad-3.7.3-4.el5.i386 [root@localhost Download]# rpm -i /home/Ahimiraki/Download/libpcap-0.9.4-2.1.2.ppc.rpm warning: /home/Ahimiraki/Download/libpcap-0.9.4-2.1.2.ppc.rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2 package libpcap-14:0.9.4-2.1.2.ppc is intended for a ppc architecture package libpcap-14:0.9.8-3.fc10.i386 (which is newer than libpcap-14:0.9.4-2.1.2.ppc) is already installed file /usr/lib/libpcap.so.0.9 from install of libpcap-14:0.9.4-2.1.2.ppc conflicts with file from package libpcap-14:0.9.8-3.fc10.i386 [root@localhost Download]#
  2. [root@localhost Ahimiraki]# rpm -Uhvv /home/Ahimiraki/Download/ipcad-3.6.6-2.112asp.src.rpm D: ============== /home/Ahimiraki/Download/ipcad-3.6.6-2.112asp.src.rpm D: Expected size: 179833 = lead(96)+sigs(344)+pad(0)+data(179393) D: Actual size: 179833 D: loading keyring from pubkeys in /var/lib/rpm/pubkeys/*.key D: couldn't find any keys in /var/lib/rpm/pubkeys/*.key D: loading keyring from rpmdb D: opening db environment /var/lib/rpm/Packages cdb:mpool:joinenv D: opening db index /var/lib/rpm/Packages rdonly mode=0x0 D: locked db index /var/lib/rpm/Packages D: opening db index /var/lib/rpm/Name rdonly mode=0x0 D: read h# 1384 Header sanity check: OK D: added key gpg-pubkey-4ebfc273-48b5dbf3 to keyring D: Using legacy gpg-pubkey(s) from rpmdb warning: /home/Ahimiraki/Download/ipcad-3.6.6-2.112asp.src.rpm: Header V3 DSA signature: NOKEY, key ID 9b3c94f4 D: added source package [0] D: found 1 source and 0 binary packages D: Expected size: 179833 = lead(96)+sigs(344)+pad(0)+data(179393) D: Actual size: 179833 D: InstallSourcePackage at: psm.c:245: Header V3 DSA signature: NOKEY, key ID9b3c94f4 1:ipcad D: ========== Directories not explicitly includedin package: D: 0 /root/rpmbuild/SOURCES/ D: 1 /root/rpmbuild/SPECS/ D: ========== warning: user build does not exist - using root warning: group build does not exist - using root D: fini 100644 1 ( 0, 0) 850 /root/rpmbuild/SOURCES/ipcad-3.6.6-gcc4.asp.patch;4cc9799e warning: user build does not exist - using root warning: group build does not exist - using root D: fini 100644 1 ( 0, 0) 170465 /root/rpmbuild/SOURCES/ipcad-3.6.6.tar.gz;4cc9799e warning: user build does not exist - using root warning: group build does not exist - using root D: fini 100644 1 ( 0, 0) 8574 /root/rpmbuild/SOURCES/ipcad.conf;4cc9799e warning: user build does not exist - using root warning: group build does not exist - using root D: fini 100644 1 ( 0, 0) 1415 /root/rpmbuild/SOURCES/ipcad.init;4cc9799e warning: user build does not exist - using root warning: group build does not exist - using root ########################################### [100%] D: fini 100644 1 ( 0, 0) 2628 /root/rpmbuild/SPECS/ipcad.spec;4cc9799e warning: user build does not exist - using root warning: group build does not exist - using root D: fini 100644 1 ( 0, 0) 50 /root/rpmbuild/SOURCES/ipcad.sysconfig;4cc9799e GZDIO: 23 reads, 184888 total bytes in 0.001047 secs D: closed db index /var/lib/rpm/Name D: closed db index /var/lib/rpm/Packages D: closed db environment /var/lib/rpm/Packages [root@localhost Ahimiraki]# Вот собственно что получается при установке и рпмом . я в растерянности ,с линуксом почти не знаком ,нид хелп
  3. [Ahimiraki@localhost ~]$ cd /home/Ahimiraki/Download/ipcad-3.7.3 [Ahimiraki@localhost ipcad-3.7.3]$ su Password: [root@localhost ipcad-3.7.3]# ./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 ANSI C... none needed checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... yes checking for bison... bison -y checking for flex... flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for pthread_detach... no checking for pthread_detach in -lc... yes checking for working pthreads... yes checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... 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 for unistd.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for netinet/in.h... yes checking for netinet/in_systm.h... yes checking for net/if.h... yes checking for net/route.h... yes checking for ifaddrs.h... yes checking for netinet/ip.h... yes checking for netinet/tcp.h... yes checking for net/ethernet.h... yes checking for netinet/if_ether.h... yes checking asm/types.h usability... yes checking asm/types.h presence... yes checking for asm/types.h... yes checking linux/socket.h usability... yes checking linux/socket.h presence... yes checking for linux/socket.h... yes checking for linux/netlink.h... yes checking for linux/netfilter.h... no checking for linux/if.h... yes checking for linux/netfilter_ipv4/ipt_ULOG.h... yes checking for linux/netfilter_ipv4/ip_queue.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking sysexits.h usability... yes checking sysexits.h presence... yes checking for sysexits.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for socket in -lsocket... no checking for inet_pton in -lnsl... yes checking packet source type... pcap checking net/bpf.h usability... no checking net/bpf.h presence... no checking for net/bpf.h... no checking pcap.h usability... yes checking pcap.h presence... yes checking for pcap.h... yes checking for pcap_open_live in -lpcap... yes checking libipq.h usability... no checking libipq.h presence... no checking for libipq.h... no checking pcap_findalldevs... yes checking interface access type... linux checking for an ANSI C-conforming const... yes checking for off_t... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking whether byte ordering is bigendian... no checking for in_addr_t... yes checking for socklen_t... yes checking for open as weak alias for _open... no checking for strstr... yes checking for fcntl... yes checking for flock... yes checking for sched_yield... yes checking for pthread_cancel... yes checking for setpriority... yes checking for strtoull... yes checking for strtouq... yes checking for inet_aton... yes checking for inet_pton... yes checking for getifaddrs... yes configure: creating ./config.status config.status: creating Makefile config.status: creating ipcad.spec config.status: creating config.h config.status: config.h is unchanged [root@localhost ipcad-3.7.3]# make gcc -DIPCAD_VERSION=\"3.7.3\" -DCONFIG_FILE=\"/usr/local/etc/ipcad.conf\" -DHA_CONFIG_H -D_REENTRANT -D_THREAD_SAFE -DPSRC_pcap -DIFST_linux -g -O2 -I/usr/lal/include -DHAVE_CONFIG_H -W -Wall -o loop-ipq.o -c loop-ipq.c loop-ipq.c: In function 'process_ipq': loop-ipq.c:106: error: 'NF_ACCEPT' undeclared (first use in this function) loop-ipq.c:106: error: (Each undeclared identifier is reported only once loop-ipq.c:106: error: for each function it appears in.) make: *** [loop-ipq.o] Error 1
×
×
  • Создать...