• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

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

Scheduled Pinned Locked Moved Development
6 Posts 3 Posters 854 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T
    Tewodros
    last edited by Feb 24, 2020, 11:42 AM

    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

    1 Reply Last reply Reply Quote 0
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Feb 24, 2020, 5:02 PM

      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).

      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

      Need help fast? Netgate Global Support!

      Do not Chat/PM for help!

      T 1 Reply Last reply Feb 26, 2020, 2:10 PM Reply Quote 0
      • T
        Tewodros @jimp
        last edited by Feb 26, 2020, 2:10 PM

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

        1 Reply Last reply Reply Quote 0
        • J
          jimp Rebel Alliance Developer Netgate
          last edited by Feb 26, 2020, 2:56 PM

          What exactly are you trying to do?

          What is your goal?

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          T 1 Reply Last reply Feb 27, 2020, 6:01 AM Reply Quote 0
          • G
            Gertjan
            last edited by Feb 26, 2020, 3:11 PM

            @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.

            No "help me" PM's please. Use the forum, the community will thank you.
            Edit : and where are the logs ??

            1 Reply Last reply Reply Quote 0
            • T
              Tewodros @jimp
              last edited by Feb 27, 2020, 6:01 AM

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

              1 Reply Last reply Reply Quote 0
              5 out of 6
              • First post
                5/6
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                This community forum collects and processes your personal information.
                consent.not_received