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

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

    I've also refereed github
    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

    but at the point
    execution of
    ./ selecting build Iso from ./ 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 ./
    RELENG_2_0 FreeBSD 8.1 + RELENG_2_0
    It succeded but at point ./ 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 ./
    in both FreeBSD 8.1 and 8.3 but same occurred at time of 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