From owner-freebsd-current@FreeBSD.ORG Sat Jun 20 16:42:20 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E6D31065673 for ; Sat, 20 Jun 2009 16:42:20 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outN.internet-mail-service.net (outn.internet-mail-service.net [216.240.47.237]) by mx1.freebsd.org (Postfix) with ESMTP id 018678FC14 for ; Sat, 20 Jun 2009 16:42:19 +0000 (UTC) (envelope-from julian@elischer.org) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id 0A80EC03DF; Sat, 20 Jun 2009 09:42:26 -0700 (PDT) X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id 41B262D6013; Sat, 20 Jun 2009 09:42:19 -0700 (PDT) Message-ID: <4A3D116B.7080308@elischer.org> Date: Sat, 20 Jun 2009 09:42:19 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302) MIME-Version: 1.0 To: Nenhum_de_Nos References: <9ccd6cc4824b70cd9316ad9490dfd932.squirrel@cygnus.homeunix.com> <9ca40c9e2ad6e868fcbe6692e248ee13.squirrel@cygnus.homeunix.com> In-Reply-To: <9ca40c9e2ad6e868fcbe6692e248ee13.squirrel@cygnus.homeunix.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: tinybsd can't compile custom kernel X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jun 2009 16:42:20 -0000 Nenhum_de_Nos wrote: > On Sat, June 20, 2009 12:06, Nenhum_de_Nos wrote: >> hail, >> >> I'm trying to compile tinybsd for a firewall. I copied firewall dir under >> conf to cygnus. edited and tried to compile. >> >> It was ok till kernel compilation: >> >> ===> Chrooted make in /usr/obj/tinybsdbuild succeeded >> ===> Cleaning up... >> ===> Cleaning for autoconf-2.62 >> ===> Cleaning for expat-2.0.1 >> ===> Cleaning for pcre-7.9 >> ===> Cleaning for libiconv-1.13 >> ===> Cleaning for m4-1.4.13,1 >> ===> Cleaning for help2man-1.36.4_3 >> ===> Cleaning for gmake-3.81_3 >> ===> Cleaning for autoconf-wrapper-20071109 >> ===> Cleaning for p5-gettext-1.05_2 >> ===> Cleaning for gettext-0.17_1 >> ===> Cleaning for apache-2.2.11_7 >> =====> Building customized tiny beastie kernel... >> ERROR: Missing kernel configuration file(s) (TINYBSD). >> *** Error code 1 >> >> Stop in /usr/src. >> *** Error code 1 >> >> Stop in /usr/src. >> >> in conf/cygnus there is TINYBSD file and cygnus file. the tinybsd command >> line ask for kernel conf file. there I type cygnus. >> >> [root@darkside /usr/src/tools/tools/tinybsd/conf]# ls -l cygnus/ >> total 24 >> -rw-r--r-- 1 root wheel 6361 Jun 19 22:32 TINYBSD >> -rw-r--r-- 1 root wheel 6361 Jun 20 01:15 cygnus >> drwxr-xr-x 3 root wheel 512 Feb 13 13:10 etc >> -rw-r--r-- 1 root wheel 3799 Jun 25 2007 tinybsd.basefiles >> -rw-r--r-- 1 root wheel 473 Jun 19 22:42 tinybsd.ports >> [root@darkside /usr/src/tools/tools/tinybsd/conf]# >> >> I followed http://www.tinybsd.org/tinybsd/Documentation. >> >> also, is there a way to save all choices from ports build ? and the curses >> menu don't work ok for choosing. is this the way was supposed to be ? >> >> thanks, >> >> matheus > > is possible to compile i386 tinybsd on amd64 install ? > > FreeBSD darkside.apartnet 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sun Jun 14 > 01:59:21 BRT 2009 > root@darkside.apartnet:/usr/obj/usr/src/sys/Darkside8 amd64 > > thanks, > > matheus > TinyBSD uses the systems binaries on teh host system by default.. I've been told it can do a cross build by using a cross-built directory instead of / but haven't done it.. tinybsd is a shell script so you may be able to understand what is going on by just reading it.