Date: Sun, 1 Aug 1999 20:39:00 -0700 (PDT) From: dlombardo@excite.com To: freebsd-gnats-submit@freebsd.org Subject: ports/12918: linux_base build fails on kernels built with COMPAT_LINUX Message-ID: <19990802033900.1A77914E5B@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 12918 >Category: ports >Synopsis: linux_base build fails on kernels built with COMPAT_LINUX >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Aug 1 20:40:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Dean Lombardo >Release: 4.0-current >Organization: >Environment: FreeBSD xtsw12c.ukc.ac.uk 4.0-CURRENT FreeBSD 4.0-CURRENT #1: Sat Jul 31 11:31:42 GMT 1999 root@xtsw12c.ukc.ac.uk:/usr/src/sys/compile/AMSTECH i386 >Description: make install fails in /usr/ports/emulators/linux_base when the kernel is built with the COMPAT_LINUX option. This is because the Makefile assumes that the linux.ko kernel module must be loaded to enable Linux emulation. >How-To-Repeat: Compile Linux compatibility support into the kernel by including the option COMPAT_LINUX in the config file, then try installing linux_base in ports. >Fix: Replace the following line in the Makefile @if [ -z "`kldstat | ${GREP} linux.ko | ${AWK} '{print $1}'`" ]; then \ with some other means of detecting the presence of Linux support in the kernel, e.g. check to see whether the length of nm `sysctl kern.bootfile | ${AWK} '{print $2}'` | ${GREP} linux_ioctl is non-zero. There must be a better way, though. ;-) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990802033900.1A77914E5B>