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

    [SOLVED]Developing packages make install fails

    Scheduled Pinned Locked Moved Development
    4 Posts 3 Posters 1.8k 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
      Toster
      last edited by

      Hello,

      I created a pfSense VM (VMware) with port and source to developing packages.
      Copyed port into /usr/ports and source into /usr/src .
      In the freebsd documentation stands: first "make install" than" pkg create" for creating a pkg package.
      When I try to install(with make install) pfsense-pkg-cron, I get the error message that "make exec (install) failed (no such file or direcory) error code 1".
      The make command that fails is the first line with install :
      In Makefile:
      ${INSTALL_DATA}  -m 0644 ${FILESDIR}${PREFIX}/pkg/cron.xml \ {STAGEDIR}{PREFIX}/pkg
      In Shell:
      "install -m 0644 -m 0644 /usr/ports/sysutils/pfSense-pkg-Cron/files/usr/local/pkg/cron.xml /usr/ports/sysutils/pfSense-pkg-Cron/work/stage/usr/local/pkg"

      I looked if the directorys and files exists and they are there.
      Does anyone had the same problem or know how i can fix it?

      Many thanks
      Toster

      1 Reply Last reply Reply Quote 0
      • H
        heper
        last edited by

        as far as i know, there are no build tools installed on a default pfSense system (no gcc/cc or glibc)

        that said, try make install pfSense-pkg-Cron

        1 Reply Last reply Reply Quote 0
        • jdillardJ
          jdillard
          last edited by

          Here are my incomplete instructions on making a package: https://gist.github.com/jdillard/3f44d06ba616fec60890488abfd7e5f5

          1 Reply Last reply Reply Quote 0
          • T
            Toster
            last edited by

            Thanks for help, now it works :)

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.