Opened 10 years ago

Closed 10 years ago

#5468 closed enhancement (fixed)

libpcap-1.6.2

Reported by: Igor Živković Owned by: Fernando de Oliveira
Priority: normal Milestone: 7.6
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

Change History (8)

comment:1 by Fernando de Oliveira, 10 years ago

Owner: changed from blfs-book@… to Fernando de Oliveira
Status: newassigned

comment:2 by Fernando de Oliveira, 10 years ago

Resolution: fixed
Status: assignedclosed

Fixed at r14201.

comment:3 by ojab, 10 years ago

Resolution: fixed
Status: closedreopened

Command explanation still mentions libpcap-1.6.1

--enable-bluetooth=no: Currently, libpcap-1.6.1 doesn't build with bluez-5.21.

comment:4 by Fernando de Oliveira, 10 years ago

Forgot to modify this sentence. Still necessary, unless there is a fix that I'm not aware of.

But would like to modify so that libpcap-1.6.1 remains, I like to keep track of how many versions are needed to fix.

What about:

s/Currently, libpcap-1.6.1 doesn't build with bluez-5.21/Since version 1.6.1, libpcap doesn't build with bluez-5.21/

[I cannot think about that now, because after installing Mesa-10.2.7, X didn't start].

Here parts of edited log:

...

checking bluetooth/bluetooth.h usability... yes
checking bluetooth/bluetooth.h presence... yes
checking for bluetooth/bluetooth.h... yes
configure: Bluetooth sniffing is supported

...

gcc -fpic -I.  -I/usr/include/libnl3 -I/usr/include/dbus-1.0 /
-I/usr/lib/dbus-1.0/include  -DHAVE_CONFIG_H  -D_U_="__attribute__((unused))" /
-g -O2 -c ./pcap-linux.c
gcc -fpic -I.  -I/usr/include/libnl3 -I/usr/include/dbus-1.0 /
-I/usr/lib/dbus-1.0/include  -DHAVE_CONFIG_H  -D_U_="__attribute__((unused))" /
-g -O2 -c ./pcap-usb-linux.c
gcc -fpic -I.  -I/usr/include/libnl3 -I/usr/include/dbus-1.0 /
-I/usr/lib/dbus-1.0/include  -DHAVE_CONFIG_H  -D_U_="__attribute__((unused))" /
-g -O2 -c ./pcap-bt-linux.c
gcc -fpic -I.  -I/usr/include/libnl3 -I/usr/include/dbus-1.0 /
-I/usr/lib/dbus-1.0/include  -DHAVE_CONFIG_H  -D_U_="__attribute__((unused))" /
-g -O2 -c ./pcap-bt-monitor-linux.c
./pcap-bt-monitor-linux.c:42:28: fatal error: bluetooth/mgmt.h: Arquivo ou /
diretório não encontrado [=== File or directory not found]
#include <bluetooth/mgmt.h>
                            ^
compilation terminated.
Makefile:83: recipe for target 'pcap-bt-monitor-linux.o' failed
make: *** [pcap-bt-monitor-linux.o] Error 1

comment:5 by Fernando de Oliveira, 10 years ago

OK, X started. (rebuilt server and drivers).

So, what do you think about the proposed modification for the sentence?

comment:7 by Fernando de Oliveira, 10 years ago

It works.

Download address for plain file is:

https://projects.archlinux.org/svntogit/packages.git/plain/trunk/mgmt.h?h=packages/libpcap

Size: 20K Number of lines: 772

If I use wget, it downloads the file with the name: mgmt.h?h=packages%2Flibpcap

I used

wget -c https://projects.archlinux.org/svntogit/packages.git/plain/trunk/mgmt.h?h=packages/libpcap -O libpcap-1.6.2-mgmt.h

and modified build instructions by adding, before configure:

install -Dm 0664 ../libpcap-1.6.2-mgmt.h bluetooth/mgmt.h

How would I handle it:

Additional Downloads?

Patch?

comment:8 by Fernando de Oliveira, 10 years ago

Resolution: fixed
Status: reopenedclosed

Fixed at r14226.

Thanks, Igor.

Note: See TracTickets for help on using tickets.