How to build pfsense?



  • Hii all,

    As pfsense website says it is open source ,how to get source ,build environment and compile it?

    i've followed this link but inside some of instruction links are dead
    http://devwiki.pfsense.org/DevelopersBootStrapAndDevIso

    So how to get a source code and build it?I am using ubuntu 11.04.

    I've also refereed github
    https://github.com/bsdperimeter/
    for getting source but it has only repositories .If that's it to build is there any "HOW TO" available?

    Thanks in advance.



  • First, you cannot use a linux to build BSD. Go get and install freebsd (8.1 for pfsense 2.0 series or 8.3 for pfsense 2.1 series). Once you install that, you should be able to get a bit further with DevelopersBootStranandDevISO instructions.



  • Thanks for help.

    I'm now working on virtualbox and installed FreeBsd and following the steps

    http://devwiki.pfsense.org/DevelopersBootStrapAndDevIso

    but at the point
    execution of
    ./build_iso.sh(or selecting build Iso from ./menu.sh) it stucks at "libtool is already build on this run Skipping"  and then nothing seems to continue.I've tried build entire code again and again but same thing happens.what to do?

    thanks in advance.



  • which version are you trying to build?



  • first i tried with FreeBSD 8.1 got same error then now trying in  FreeBSD 8.3
    .For pfsense version I've selected  first form ./menu.sh
    RELENG_2_0 FreeBSD 8.1 + RELENG_2_0
    It succeded but at point ./build_iso.sh it got stuck.
    I've read on forums that RELENG_2_1 should work so tried Option
    RELENG_2_1 FreeBSD 8.3 + RELENG_2_1  from ./menu.sh
    in both FreeBSD 8.1 and 8.3 but same occurred at time of build_iso.sh as it goes into loop that
    libtool is already built on this run .skipping
    same for gettext,pkgconf,gmake etc…  (in between it builds some packages like perl,cpustatus ,libevent etc..and some of failed to build like p5-Locale-gettext,automake,help2man ..)
    may be should i wait to finish?how long?Ia m doing this in virtual box .could that be an issue?So i can arrange separate machine for that.
    can you advice which version of FreeBSD and which version of pfsense are stable and can be used to build?
    Thanks in advance.


Log in to reply