[MacPorts] #13802: macports 1.6.0: libpcap 0.9.5 fails to compile
#13802: macports 1.6.0: libpcap 0.9.5 fails to compile --------------------------------+------------------------------------------- Reporter: albatros@icemx.net | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: | --------------------------------+------------------------------------------- colin@tigger:/opt/macports-1.6.0/var/macports> sudo port install libpcap ---> Fetching libpcap ---> Verifying checksum(s) for libpcap ---> Extracting libpcap ---> Applying patches to libpcap ---> Configuring libpcap ---> Building libpcap with target all Error: Target org.macports.build returned: shell command " cd "/opt/macports-1.6.0/var/macports/build/_opt_macports-1.6.0_var_macports_sources_rsync.macports.org_release_ports_net_libpcap/work/libpcap-0.9.5" && make all " returned error 2 Command output: scanner.l:89: unknown error processing section 1 scanner.l:89: bad character: 2 scanner.l:89: bad character: 0 scanner.l:89: bad character: 0 scanner.l:89: bad character: 0 bison -y -p pcap_ -d grammar.y mv y.tab.c grammar.c mv y.tab.h tokdefs.h /usr/bin/gcc-4.0 -O2 -fno-common -O2 -I. -dynamic -fno-common -DHAVE_CONFIG_H -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c scanner.c /usr/bin/gcc-4.0 -O2 -fno-common -O2 -I. -dynamic -fno-common -DHAVE_CONFIG_H -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -Dyylval=pcap_lval -c grammar.c sed -e 's/.*/char pcap_version[] = "&";/' ./VERSION > version.c /usr/bin/gcc-4.0 -O2 -fno-common -O2 -I. -dynamic -fno-common -DHAVE_CONFIG_H -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c version.c ar rc libpcap.a pcap-bpf.o fad-getad.o pcap.o inet.o gencode.o optimize.o nametoaddr.o etherent.o savefile.o bpf_filter.o bpf_image.o bpf_dump.o scanner.o grammar.o version.o ranlib libpcap.a rm -f libpcap.dylib /usr/bin/gcc-4.0 -dynamiclib -o libpcap.`cat VERSION`.dylib \ -install_name /opt/macports-1.6.0/lib/libpcap.0.dylib \ -compatibility_version 1.0.0 -current_version `cat VERSION` \ pcap-bpf.o fad-getad.o pcap.o inet.o gencode.o optimize.o nametoaddr.o etherent.o savefile.o bpf_filter.o bpf_image.o bpf_dump.o scanner.o grammar.o version.o Undefined symbols: "_lex_init", referenced from: _pcap_compile in gencode.o "_lex_cleanup", referenced from: _pcap_compile in gencode.o _pcap_compile in gencode.o "_pcap_lex", referenced from: _pcap_parse in grammar.o ld: symbol(s) not found collect2: ld returned 1 exit status make: *** [libpcap.dylib] Error 1 Error: Status 1 encountered during processing. colin@tigger:/opt/macports-1.6.0/var/macports> sudo port version Version: 1.600 colin@tigger:/opt/macports-1.6.0/var/macports> sudo port info libpcap libpcap 0.9.5, Revision 1, net/libpcap (Variants: universal, ipv6, no_shared) http://www.tcpdump.org/ The Packet Capture library provides a high level interface to packet capture systems. All packets on the network, even those destined for other hosts, are accessible through this mechanism. Platforms: darwin Maintainers: opendarwin.org@darkart.com colin@tigger:/opt/macports-1.6.0/var/macports> uname -a Darwin tigger.local 9.1.0 Darwin Kernel Version 9.1.0: Wed Oct 31 17:46:22 PDT 2007; root:xnu-1228.0.2~1/RELEASE_I386 i386 colin@tigger:/opt/macports-1.6.0/var/macports> which flex /opt/macports-1.6.0/bin/flex colin@tigger:/opt/macports-1.6.0/var/macports> which bison /opt/macports-1.6.0/bin/bison colin@tigger:/opt/macports-1.6.0/var/macports> gcc -v Using built-in specs. Target: i686-apple-darwin9 Configured with: /var/tmp/gcc/gcc-5465~16/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable- languages=c,objc,c++,obj-c++ --program-transform- name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic --host=i686-apple-darwin9 --target=i686-apple-darwin9 Thread model: posix gcc version 4.0.1 (Apple Inc. build 5465) -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13802> MacPorts </projects/macports> Ports system for Mac OS
#13802: libpcap 0.9.5 fails to compile ---------------------------------+------------------------------------------ Reporter: albatros@icemx.net | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Changes (by ryandesign@macports.org): * cc: opendarwin.org@darkart.com (added) * summary: macports 1.6.0: libpcap 0.9.5 fails to compile => libpcap 0.9.5 fails to compile * milestone: => Port Bugs Comment: Cc maintainer. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13802#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#13802: libpcap 0.9.5 fails to compile ---------------------------------+------------------------------------------ Reporter: albatros@icemx.net | Owner: ricci@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Changes (by ricci@macports.org): * owner: macports-tickets@lists.macosforge.org => ricci@macports.org Comment: libpcap was just upgraded to 0.9.8, should be available within 12 hours via 'port sync' (or 'port selfupdate'). Compiles fine for me on 10.5.1 x86, please test and re-open the ticket if you still have problems. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13802#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#13802: libpcap 0.9.5 fails to compile ---------------------------------+------------------------------------------ Reporter: albatros@icemx.net | Owner: ricci@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: worksforme | Keywords: ---------------------------------+------------------------------------------ Changes (by ricci@macports.org): * status: new => closed * resolution: => worksforme -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13802#comment:3> MacPorts </projects/macports> Ports system for Mac OS
#13802: libpcap 0.9.5 fails to compile ---------------------------------+------------------------------------------ Reporter: albatros@icemx.net | Owner: ricci@macports.org Type: defect | Status: reopened Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Changes (by albatros@icemx.net): * status: closed => reopened * resolution: worksforme => Comment: Did the "port selfupdate", but 0.9.8 still fails: colin@tigger:/opt/macports-1.6.0/var/macports> sudo port install libpcap ---> Fetching libpcap ---> Verifying checksum(s) for libpcap ---> Extracting libpcap ---> Applying patches to libpcap ---> Configuring libpcap ---> Building libpcap with target all Error: Target org.macports.build returned: shell command " cd "/opt/macports-1.6.0/var/macports/build/_opt_macports-1.6.0_var_macports_sources_rsync.macports.org_release_ports_net_libpcap/work/libpcap-0.9.8" && make all " returned error 2 Command output: scanner.l:89: unknown error processing section 1 scanner.l:89: bad character: 2 scanner.l:89: bad character: 0 scanner.l:89: bad character: 0 scanner.l:89: bad character: 0 bison -y -p pcap_ -d grammar.y mv y.tab.c grammar.c mv y.tab.h tokdefs.h /usr/bin/gcc-4.0 -O2 -fno-common -O2 -I. -dynamic -fno-common -DHAVE_CONFIG_H -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c scanner.c /usr/bin/gcc-4.0 -O2 -fno-common -O2 -I. -dynamic -fno-common -DHAVE_CONFIG_H -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -Dyylval=pcap_lval -c grammar.c sed -e 's/.*/char pcap_version[] = "&";/' ./VERSION > version.c /usr/bin/gcc-4.0 -O2 -fno-common -O2 -I. -dynamic -fno-common -DHAVE_CONFIG_H -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c version.c ar rc libpcap.a pcap-bpf.o fad-getad.o pcap.o inet.o gencode.o optimize.o nametoaddr.o etherent.o savefile.o bpf_filter.o bpf_image.o bpf_dump.o scanner.o grammar.o version.o ranlib libpcap.a rm -f libpcap.dylib /usr/bin/gcc-4.0 -dynamiclib -o libpcap.`cat VERSION`.dylib \ -install_name /opt/macports-1.6.0/lib/libpcap.0.dylib \ -compatibility_version 1.0.0 -current_version `cat VERSION` \ pcap-bpf.o fad-getad.o pcap.o inet.o gencode.o optimize.o nametoaddr.o etherent.o savefile.o bpf_filter.o bpf_image.o bpf_dump.o scanner.o grammar.o version.o Undefined symbols: "_lex_init", referenced from: _pcap_compile in gencode.o "_lex_cleanup", referenced from: _pcap_compile in gencode.o _pcap_compile in gencode.o "_pcap_lex", referenced from: _pcap_parse in grammar.o ld: symbol(s) not found collect2: ld returned 1 exit status make: *** [libpcap.dylib] Error 1 Error: Status 1 encountered during processing. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13802#comment:4> MacPorts </projects/macports> Ports system for Mac OS
#13802: libpcap 0.9.5 fails to compile ---------------------------------+------------------------------------------ Reporter: albatros@icemx.net | Owner: ricci@macports.org Type: defect | Status: reopened Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Comment (by ricci@macports.org): Okay, time for more information. What OS rev, what hardware (PPC vs x86), etc.? Do you have fink installed? Anything in /usr/local? Any other custom stuff installed? -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13802#comment:5> MacPorts </projects/macports> Ports system for Mac OS
#13802: libpcap 0.9.5 fails to compile ---------------------------------+------------------------------------------ Reporter: albatros@icemx.net | Owner: ricci@macports.org Type: defect | Status: reopened Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Comment (by albatros@icemx.net): MacBook Pro, i.e. C2D "Santa Rosa", 2.4 GHz, 4 GB. 10.5.1 (fresh installation of 10.5, then upgrade) No "weirdies" installed, apart from VMware (which has some kexts), no fink. MacPorts installed in /opt/macports-1.6.0 There's an ssh in /usr/local, and an streplace. Seeing that there's a problem with lex: lex is /usr/bin/lex, flex is /opt/macports-1.6.0/bin/flex... From which place should the undefined symbols be normally picked up? -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13802#comment:6> MacPorts </projects/macports> Ports system for Mac OS
#13802: libpcap 0.9.5 fails to compile ---------------------------------+------------------------------------------ Reporter: albatros@icemx.net | Owner: ricci@macports.org Type: defect | Status: reopened Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Changes (by ryandesign@macports.org): * cc: stefmit@gmail.com (added) Comment: Stefmit [http://lists.macosforge.org/pipermail/macports- users/2008-January/008128.html reported] the same problem on macports- users. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13802#comment:7> MacPorts </projects/macports> Ports system for Mac OS
#13802: libpcap 0.9.5 fails to compile ---------------------------------+------------------------------------------ Reporter: albatros@icemx.net | Owner: ricci@macports.org Type: defect | Status: reopened Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Old description:
colin@tigger:/opt/macports-1.6.0/var/macports> sudo port install libpcap ---> Fetching libpcap ---> Verifying checksum(s) for libpcap ---> Extracting libpcap ---> Applying patches to libpcap ---> Configuring libpcap ---> Building libpcap with target all Error: Target org.macports.build returned: shell command " cd "/opt/macports-1.6.0/var/macports/build/_opt_macports-1.6.0_var_macports_sources_rsync.macports.org_release_ports_net_libpcap/work/libpcap-0.9.5" && make all " returned error 2 Command output: scanner.l:89: unknown error processing section 1 scanner.l:89: bad character: 2 scanner.l:89: bad character: 0 scanner.l:89: bad character: 0 scanner.l:89: bad character: 0 bison -y -p pcap_ -d grammar.y mv y.tab.c grammar.c mv y.tab.h tokdefs.h /usr/bin/gcc-4.0 -O2 -fno-common -O2 -I. -dynamic -fno-common -DHAVE_CONFIG_H -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c scanner.c /usr/bin/gcc-4.0 -O2 -fno-common -O2 -I. -dynamic -fno-common -DHAVE_CONFIG_H -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -Dyylval=pcap_lval -c grammar.c sed -e 's/.*/char pcap_version[] = "&";/' ./VERSION > version.c /usr/bin/gcc-4.0 -O2 -fno-common -O2 -I. -dynamic -fno-common -DHAVE_CONFIG_H -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c version.c ar rc libpcap.a pcap-bpf.o fad-getad.o pcap.o inet.o gencode.o optimize.o nametoaddr.o etherent.o savefile.o bpf_filter.o bpf_image.o bpf_dump.o scanner.o grammar.o version.o ranlib libpcap.a rm -f libpcap.dylib /usr/bin/gcc-4.0 -dynamiclib -o libpcap.`cat VERSION`.dylib \ -install_name /opt/macports-1.6.0/lib/libpcap.0.dylib \ -compatibility_version 1.0.0 -current_version `cat VERSION` \ pcap-bpf.o fad-getad.o pcap.o inet.o gencode.o optimize.o nametoaddr.o etherent.o savefile.o bpf_filter.o bpf_image.o bpf_dump.o scanner.o grammar.o version.o Undefined symbols: "_lex_init", referenced from: _pcap_compile in gencode.o "_lex_cleanup", referenced from: _pcap_compile in gencode.o _pcap_compile in gencode.o "_pcap_lex", referenced from: _pcap_parse in grammar.o ld: symbol(s) not found collect2: ld returned 1 exit status make: *** [libpcap.dylib] Error 1
Error: Status 1 encountered during processing. colin@tigger:/opt/macports-1.6.0/var/macports> sudo port version Version: 1.600 colin@tigger:/opt/macports-1.6.0/var/macports> sudo port info libpcap libpcap 0.9.5, Revision 1, net/libpcap (Variants: universal, ipv6, no_shared) http://www.tcpdump.org/
The Packet Capture library provides a high level interface to packet capture systems. All packets on the network, even those destined for other hosts, are accessible through this mechanism.
Platforms: darwin Maintainers: opendarwin.org@darkart.com colin@tigger:/opt/macports-1.6.0/var/macports> uname -a Darwin tigger.local 9.1.0 Darwin Kernel Version 9.1.0: Wed Oct 31 17:46:22 PDT 2007; root:xnu-1228.0.2~1/RELEASE_I386 i386 colin@tigger:/opt/macports-1.6.0/var/macports> which flex /opt/macports-1.6.0/bin/flex colin@tigger:/opt/macports-1.6.0/var/macports> which bison /opt/macports-1.6.0/bin/bison colin@tigger:/opt/macports-1.6.0/var/macports> gcc -v Using built-in specs. Target: i686-apple-darwin9 Configured with: /var/tmp/gcc/gcc-5465~16/src/configure --disable- checking -enable-werror --prefix=/usr --mandir=/share/man --enable- languages=c,objc,c++,obj-c++ --program-transform- name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic --host=i686-apple-darwin9 --target=i686-apple-darwin9 Thread model: posix gcc version 4.0.1 (Apple Inc. build 5465)
New description: {{{ colin@tigger:/opt/macports-1.6.0/var/macports> sudo port install libpcap ---> Fetching libpcap ---> Verifying checksum(s) for libpcap ---> Extracting libpcap ---> Applying patches to libpcap ---> Configuring libpcap ---> Building libpcap with target all Error: Target org.macports.build returned: shell command " cd "/opt/macports-1.6.0/var/macports/build/_opt_macports-1.6.0_var_macports_sources_rsync.macports.org_release_ports_net_libpcap/work/libpcap-0.9.5" && make all " returned error 2 Command output: scanner.l:89: unknown error processing section 1 scanner.l:89: bad character: 2 scanner.l:89: bad character: 0 scanner.l:89: bad character: 0 scanner.l:89: bad character: 0 bison -y -p pcap_ -d grammar.y mv y.tab.c grammar.c mv y.tab.h tokdefs.h /usr/bin/gcc-4.0 -O2 -fno-common -O2 -I. -dynamic -fno-common -DHAVE_CONFIG_H -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c scanner.c /usr/bin/gcc-4.0 -O2 -fno-common -O2 -I. -dynamic -fno-common -DHAVE_CONFIG_H -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -Dyylval=pcap_lval -c grammar.c sed -e 's/.*/char pcap_version[] = "&";/' ./VERSION > version.c /usr/bin/gcc-4.0 -O2 -fno-common -O2 -I. -dynamic -fno-common -DHAVE_CONFIG_H -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c version.c ar rc libpcap.a pcap-bpf.o fad-getad.o pcap.o inet.o gencode.o optimize.o nametoaddr.o etherent.o savefile.o bpf_filter.o bpf_image.o bpf_dump.o scanner.o grammar.o version.o ranlib libpcap.a rm -f libpcap.dylib /usr/bin/gcc-4.0 -dynamiclib -o libpcap.`cat VERSION`.dylib \ -install_name /opt/macports-1.6.0/lib/libpcap.0.dylib \ -compatibility_version 1.0.0 -current_version `cat VERSION` \ pcap-bpf.o fad-getad.o pcap.o inet.o gencode.o optimize.o nametoaddr.o etherent.o savefile.o bpf_filter.o bpf_image.o bpf_dump.o scanner.o grammar.o version.o Undefined symbols: "_lex_init", referenced from: _pcap_compile in gencode.o "_lex_cleanup", referenced from: _pcap_compile in gencode.o _pcap_compile in gencode.o "_pcap_lex", referenced from: _pcap_parse in grammar.o ld: symbol(s) not found collect2: ld returned 1 exit status make: *** [libpcap.dylib] Error 1 Error: Status 1 encountered during processing. colin@tigger:/opt/macports-1.6.0/var/macports> sudo port version Version: 1.600 colin@tigger:/opt/macports-1.6.0/var/macports> sudo port info libpcap libpcap 0.9.5, Revision 1, net/libpcap (Variants: universal, ipv6, no_shared) http://www.tcpdump.org/ }}} The Packet Capture library provides a high level interface to packet capture systems. All packets on the network, even those destined for other hosts, are accessible through this mechanism. {{{ Platforms: darwin Maintainers: opendarwin.org@darkart.com colin@tigger:/opt/macports-1.6.0/var/macports> uname -a Darwin tigger.local 9.1.0 Darwin Kernel Version 9.1.0: Wed Oct 31 17:46:22 PDT 2007; root:xnu-1228.0.2~1/RELEASE_I386 i386 colin@tigger:/opt/macports-1.6.0/var/macports> which flex /opt/macports-1.6.0/bin/flex colin@tigger:/opt/macports-1.6.0/var/macports> which bison /opt/macports-1.6.0/bin/bison colin@tigger:/opt/macports-1.6.0/var/macports> gcc -v Using built-in specs. Target: i686-apple-darwin9 Configured with: /var/tmp/gcc/gcc-5465~16/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable- languages=c,objc,c++,obj-c++ --program-transform- name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic --host=i686-apple-darwin9 --target=i686-apple-darwin9 Thread model: posix gcc version 4.0.1 (Apple Inc. build 5465) }}} Comment (by jmpp@macports.org): Please read WikiFormatting to learn how to properly paste Terminal output into tickets, thanks! -jmpp -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13802#comment:8> MacPorts </projects/macports> Ports system for Mac OS
#13802: libpcap 0.9.5 fails to compile ---------------------------------+------------------------------------------ Reporter: albatros@icemx.net | Owner: ricci@macports.org Type: defect | Status: reopened Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Comment (by albatros@icemx.net): Btw, here are lines 84ff from scanner.l, i.e. where the first error occurs (that then seem to trigger the linker errors -- the Makefile doesn't seem to be too bright: it shouldn't attempt to link after such an error in the first place). {{{ %a 18400 %o 21500 %e 7600 %k 4550 %p 27600 %n 2000 }}} And the first lines of error from flex, when running "make" manually. {{{ flex -Ppcap_ -t scanner.l > $$.scanner.c; mv $$.scanner.c scanner.c scanner.l:84: bad character: % scanner.l:84: unknown error processing section 1 scanner.l:84: unknown error processing section 1 scanner.l:84: bad character: 1 ... }}} -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13802#comment:9> MacPorts </projects/macports> Ports system for Mac OS
#13802: libpcap 0.9.5 fails to compile ---------------------------------+------------------------------------------ Reporter: albatros@icemx.net | Owner: ricci@macports.org Type: defect | Status: reopened Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Comment (by albatros@icemx.net): Getting impatient I simply removed the offending lines from scanner.l, which made the compile work, and now I'm running tcpdump and wireshark; who knows whether/when/how it will bite me in the future? ;-) -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13802#comment:10> MacPorts </projects/macports> Ports system for Mac OS
#13802: libpcap 0.9.5 fails to compile ---------------------------------+------------------------------------------ Reporter: albatros@icemx.net | Owner: ricci@macports.org Type: defect | Status: reopened Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Comment (by ricci@macports.org): libpcap appears to fail w/ MP-installed 'flex', works fine with /usr/bin/flex. I'll see if I can convince it to use the system installed flex, in the meantime you can reset your path to have '/usr/bin' before the macports bin directory. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13802#comment:11> MacPorts </projects/macports> Ports system for Mac OS
#13802: libpcap 0.9.5 fails to compile ---------------------------------+------------------------------------------ Reporter: albatros@icemx.net | Owner: ricci@macports.org Type: defect | Status: reopened Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Comment (by dluke@macports.org): macports doesn't use the user's path when building stuff (it uses its own sanitized path). The temporary workaround would be to deactivate flex, build it, and then reactivate flex. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13802#comment:12> MacPorts </projects/macports> Ports system for Mac OS
#13802: libpcap 0.9.5 fails to compile ---------------------------------+------------------------------------------ Reporter: albatros@icemx.net | Owner: ricci@macports.org Type: defect | Status: reopened Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Comment (by ricci@macports.org): Ha! Lookie that, so it does (use its own path when building). Learn something every day :) Hmm,for Stefmit - can you try 'sudo port -f -v -d build libpcap'? It builds for me after I deactivate flex.... (on 10.5.1, x86) -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13802#comment:13> MacPorts </projects/macports> Ports system for Mac OS
#13802: libpcap 0.9.5 fails to compile ---------------------------------+------------------------------------------ Reporter: albatros@icemx.net | Owner: ricci@macports.org Type: defect | Status: reopened Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Changes (by ryandesign@macports.org): * cc: admin2@enabled.com (added) Comment: Noah [http://lists.macosforge.org/pipermail/macports- users/2008-January/008425.html reported] the same problem on macports- users again. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13802#comment:14> MacPorts </projects/macports> Ports system for Mac OS
#13802: libpcap 0.9.5 fails to compile ---------------------------------+------------------------------------------ Reporter: albatros@icemx.net | Owner: ricci@macports.org Type: defect | Status: reopened Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Comment (by catchmonster@mac.com): deactivating flex and port clean libpcap; port build libpcap; port install libpcap worked for me. Mac OSX 10.5.1 MacPro intel core 2 duo Regards, --sasha -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13802#comment:15> MacPorts </projects/macports> Ports system for Mac OS
#13802: libpcap 0.9.5 fails to compile ---------------------------------+------------------------------------------ Reporter: albatros@icemx.net | Owner: ricci@macports.org Type: defect | Status: reopened Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Changes (by simon@macports.org): * cc: simon@macports.org (added) Comment: This is a bug introduced in the last update of flex (2.5.34). See the bug report at the sourceforge page: http://sourceforge.net/tracker/index.php?func=detail&aid=1860773&group_id=97... As the flex parser ignores the `%` statements, here is a patch file for libpcap which removes the offending parts. Simon -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13802#comment:16> MacPorts </projects/macports> Ports system for Mac OS
#13802: libpcap 0.9.5 fails to compile ---------------------------------+------------------------------------------ Reporter: albatros@icemx.net | Owner: ricci@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: ---------------------------------+------------------------------------------ Changes (by ricci@macports.org): * status: reopened => closed * resolution: => fixed Comment: patch tested with and without MP-installed flex (on leopard x86), libpcap builds either way. patch committed in r34191. Thanks much! -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13802#comment:17> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts