Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jun 2009 09:42:19 -0700
From:      Julian Elischer <julian@elischer.org>
To:        Nenhum_de_Nos <matheus@eternamente.info>
Cc:        freebsd-current@freebsd.org
Subject:   Re: tinybsd can't compile custom kernel
Message-ID:  <4A3D116B.7080308@elischer.org>
In-Reply-To: <9ca40c9e2ad6e868fcbe6692e248ee13.squirrel@cygnus.homeunix.com>
References:  <9ccd6cc4824b70cd9316ad9490dfd932.squirrel@cygnus.homeunix.com> <9ca40c9e2ad6e868fcbe6692e248ee13.squirrel@cygnus.homeunix.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A3D116B.7080308>