pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/51970: Ethernet (libpcap) support not compiled in



The following reply was made to PR pkg/51970; it has been noted by GNATS.

From: Rin Okuyama <rokuyama%rk.phys.keio.ac.jp@localhost>
To: Hans Rosenfeld <hans%NetBSD.org@localhost>
Cc: gnats-bugs%NetBSD.org@localhost, coypu%SDF.ORG@localhost
Subject: Re: pkg/51970: Ethernet (libpcap) support not compiled in
Date: Wed, 22 Feb 2017 05:50:23 +0900

 On 2017/02/22 1:41, Hans Rosenfeld wrote:
 > I've tested that patch on OmniOS, and with those changes the simh build
 > will neither detect pcap for networking nor SDL or pcre. As it's
 > currently in CVS it will build correctly except for SDL_ttf.
 >
 > Are you sure that this patch really works on NetBSD? That is, it
 > actually detects and uses all the libraries it is supposed to? Can you
 > send me the output of the first build step, where the makefile prints
 > what it detected and what it will build?
 
 My patch works just fine on NetBSD. The output of first build step reads:
 
 lib paths are: /usr/lib /usr/pkg/lib /usr/X11R7/lib
 include paths are: /usr/include /usr/pkg/include /usr/X11R7/include
 using libm: /usr/lib/libm.so
 using librt: /usr/lib/librt.so
 using libpthread: /usr/lib/libpthread.so /usr/include/pthread.h
 using libpcreposix: /usr/pkg/lib/libpcreposix.so /usr/pkg/include/pcreposix.h
 using libdl: /usr/include/dlfcn.h
 using mman: /usr/include/sys/mman.h
 using libSDL: /usr/pkg/include/SDL/SDL.h
 using libpcap: /usr/include/pcap.h
 ***
 *** all Simulators being built with:
 *** - compiler optimizations and no debugging support. GCC Version: 5.4.0.
 *** - dynamic networking support using NetBSD provided libpcap components.
 *** - Local LAN packet transports: PCAP TAP NAT(SLiRP)
 *** - video capabilities provided by libSDL (Simple Directmedia Layer).
 ***
 *** git commit id is 7964e2b72d9cad0309afa7da08dd7e5e2336cd37.
 ***
 font paths are:
 font names are: DejaVuSans.ttf LucidaSansRegular.ttf FreeSans.ttf AppleGothic.ttf tahoma.ttf
 ***
 *** No font file available, BESM-6 video panel disabled.
 ***
 *** To enable the panel display please specify one of:
 ***          a font path with FONTNAME=path
 ***          a font name with FONTNAME=fontname.ttf
 ***          a font file with FONTFILE=path/fontname.ttf
 ***
 *** No SDL ttf support available.  BESM-6 video panel disabled.
 ***
 
 Here, I've uploaded full script(1) log of the building and test run:
 
    http://www.netbsd.org/~rin/simh_20160222.txt
 
 Here, 192.168.10.128 is the IP address of host. That is, the guest
 successfully communicates with the host via tap(4).
 
 Thanks,
 rin
 


Home | Main Index | Thread Index | Old Index