how can i fix this error in he process of building source code



  • PHP Warning: include_once(phpsessionmanager.inc): failed to open stream: No such file or directory in /home/ras/pfsesnse/pfsense/src/usr/local/www/guiconfig.inc on line 31
    PHP Warning: include_once(): Failed opening 'phpsessionmanager.inc' for inclusion (include_path='.:/usr/share/php') in /home/ras/pfsesnse/pfsense/src/usr/local/www/guiconfig.inc on line 31
    PHP Notice: Undefined variable: nocsrf in /home/ras/pfsesnse/pfsense/src/usr/local/www/guiconfig.inc on line 37
    PHP Warning: include_once(phpsessionmanager.inc): failed to open stream: No such file or directory in /home/ras/pfsesnse/pfsense/src/usr/local/www/csrf/csrf-magic.php on line 16
    PHP Warning: include_once(): Failed opening 'phpsessionmanager.inc' for inclusion (include_path='.:/usr/share/php') in /home/ras/pfsesnse/pfsense/src/usr/local/www/csrf/csrf-magic.php on line 16
    PHP Notice: Undefined index: REQUEST_METHOD in /home/ras/pfsesnse/pfsense/src/usr/local/www/csrf/csrf-magic.php on line 187
    PHP Notice: Undefined index: REQUEST_METHOD in /home/ras/pfsesnse/pfsense/src/usr/local/www/guiconfig.inc on line 46
    PHP Notice: Undefined variable: omit_nocacheheaders in /home/ras/pfsesnse/pfsense/src/usr/local/www/guiconfig.inc on line 52
    PHP Warning: require_once(authgui.inc): failed to open stream: No such file or directory in /home/ras/pfsesnse/pfsense/src/usr/local/www/guiconfig.inc on line 59
    PHP Fatal error: require_once(): Failed opening required 'authgui.inc' (include_path='.:/usr/share/php') in /home/ras/pfsesnse/pfsense/src/usr/local/www/guiconfig.inc on line 59
    Screenshot from 2020-02-24 14-40-59.png


  • Rebel Alliance Developer Netgate

    The pfSense PHP code isn't code that can be "compiled" in that way. It won't work on Windows either.

    pfSense is its own operating system. If you are trying to build a custom image, that must be done in FreeBSD using all of the necessary repositories (pfSense, freebsd-ports, freebsd-src).



  • @jimp u mean that i must used freeBSD operating system
    i don't get it


  • Rebel Alliance Developer Netgate

    What exactly are you trying to do?

    What is your goal?



  • @Tewodros : Fire up www.google.com and ask the right question.
    You'll find info like https://github.com/PiBa-NL/PiBa-NL-WIKI/wiki/How-to-building-a-pfSense-.iso-from-sources with many answers.
    Still, building OS's yourself presumes that you all ready know the basics needed to do such a thing.



  • @jimp i try to to customize the code for my Owen purpose still it don't run after i gate the code


Log in to reply