tinybsd can't compile custom kernel
Julian Elischer
julian at elischer.org
Sat Jun 20 16:42:20 UTC 2009
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 at 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 at 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 at 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.
More information about the freebsd-current
mailing list