1. D

    Other BSD Make

    Consider the following Makefile. In an attempt to create a uniform file that works with both GNU and BSD, the attempt failed. Ok let's stick with a purely BSD working solution. I want the Makefile to achieve two objectives: 1. Source and Object files are to be in different sub/directories 2...
  2. ElectricJozin

    bsdmake - Suffix rule that matches every file in a directory

    I am copying data to a (gasp) docker volume each time I run a container as I want the latest data to be on the volume. The whole startup process is done in a Makefile (I know I should compose). Thing is with so many large files, it takes a while. Thats why I am asking if there is any way to make...
  3. Y

    Other Makefile not seeing my files

    I have this issue with make that is driving me nuts. I have a directory with files Makefile2 and main.c, but the makefile doesn't see main.c: t14s% cd PCG t14s% ls -l Makefile2 main.c -rw-r--r-- 1 yousef yousef 24 Jul 23 01:59 Makefile2 -rw-r--r-- 1 yousef yousef 3198 Jul 22 08:18...
  4. Clockwork

    make[1]: cannot open Makefile.

    I want to try to make a port for my program that I recently drew in tcl. I will optimize the program code, so do not laugh. I've read the FreeBSD Porter Handbook but haven't figured out exactly what the problem is. Can anyone tell me what I'm doing wrong? Makefile: # $FreeBSD$ PORTNAME=...
  5. rwv37

    make "all-depends-list" vs. combined "build-depends-list" and "run-depends-list"

    I'm not sure that I understand these commands. From only a glance at their names, my first thought was that make all-depends-list | sort would probably give output equivalent to (make build-depends-list; make run-depends-list) | sort | uniq. But a lot more things show up in all-depends-list...
  6. A

    "sh: libalias: Permission denied"

    make buildkernel fails with error saying libalias: permission denied and [modules-all] Error code 126. libalias module is loaded.
  7. S

    Sudo Install Fails, Complains About Missing Header Files

    Good Day FreeBSD Forums, I upgraded from 12.2 to 12.3 and have been trying to update all my ports. There was a problem trying to update Sudo (using portmaster, I forget what the exact error was) so I uninstalled Sudo and then tried re-installing it, and this is where I run into the errors...
  8. Cath O'Deray

    Solved make: sh: cc: not found

    make(1) does not work following a system update. Probably a stupid question, is this because my /etc/make.conf had WITHOUT_TOOLCHAIN=yes before I built world? <> root@mowa219-gjp4-8570p-freebsd:~ #...
  9. D

    Other Target variable assignment in make

    I'd like to do the following target variable assignment in make. It works in GNU Make but not in BSD Make. test: clean debug_compile debug_compile: ERLCFLAGS += -DTEST debug_compile: compile compile_test; Make reports "don't know how to make ERLCFLAGS". Any suggestions would be appreciated.
  10. sidetone

    Bastille jail: console, nest display + building & testing builds

    Install sysutils/bastille and net/gitup on host through either ports or packages. For a nested display server to run or test from the jail, install x11-servers/xorg-nestserver or x11-servers/xephyr on the host system as well. Bastille jail in the example or instruction will be named "myjail"...
  11. fel1x

    Solved Make: Need an operator in .if

    HUGO_ARGS?= --verbose --minify ASCIIDOCTOR_CMD= ${LOCALBASE}/bin/asciidoctor ASCIIDOCTORPDF_CMD= ${LOCALBASE}/bin/asciidoctor-pdf ROUGE_CMD= ${LOCALBASE}/bin/rougify .if !exists(${ASCIIDOCTOR_CMD}) || !exists(${ASCIIDOCTORPDF_CMD}) || !exists({ROUGE_CMD}) @echo "Please install asciidoctor...
  12. HoshiYamazaki

    Shell Binutils 2.36 compilation fails due to sed/sh error

    mv -f .deps/libz_a-uncompr.Tpo .deps/libz_a-uncompr.Po gcc -DPACKAGE_NAME=\"zlib\" -DPACKAGE_TARNAME=\"zlib\" -DPACKAGE_VERSION=\"1.1.4\" -DPACKAGE_STRING=\"zlib\ 1.1.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"zlib\" -DVERSION=\"1.1.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1...
  13. I

    "make buildworld" command to use multiple CPUs - possible?

    I notice that whenever I run make buildworld, it is using only a single CPU. Is it possible to make it use all the CPUs?
  14. D

    Solved Installing TDE - Ninja stuck running tests on tdepim

    I am installing the FreeBSD port of Trinity, but ninja is stuck on "[29/30] Running tests.." during the make process there. I ctrl + c'd and ran make install clean again, and this time its just "[0/1] Running tests..." so I opened htop, and it's running "ninja -C...
  15. neostanniy

    Solved Fatal error on "make clean" after compiling GNOME

    Hello everyone and I apologize for disturbing you, but I need your help. Yesterday I started to build gnome3 desktop from port tree on my freshly installed FreeBSD 13.0. That was an interesting activity, I have to admit. I had a whole bunch of errors during the process (about 10 or so) due to...
  16. neostanniy

    Solved Using gcc as a default compiler (FreeBSD 13.0) [SOLVED]

    Greetings everyone and sorry for bothering the community, but I got terribly messed up and I think I need your help very much. I have just installed FreeBSD for the first time willing to make it my default OS for music production and other working purposes, but unfortunately got confused with...
  17. alemoppo

    Solved Make driver in FreeBSD 13.0 - svn sources

    Hello! I'm new on FreeBSD, i'm trying to create the "skeleton" driver and run it. I just create the "skeleton.c" and the "Makefile". When i run "make" it appear: After google it, i found this thread: 49779. But i can't find the source of the 13.0 version, it doesn't seem to be here...
  18. D

    Solved Debugging Makefiles

    Hi everybody, I encounter difficulties to locate commands executed in their respective makefiles. I have tried for instance : $ make -d p I obtain something like this : ParseReadLine (121): 'CDIAGFLAGS+= -Wshadow' ParseReadLine (128): 'GNUSYSTEM_AUX_DIR?=${BSDSRCDIR}/share/gnu'...
  19. D

    Solved Issue with building the port in Jail

    Hello, I have been trying to build graphics/drm-fbsd12.0-kmod inside a Jail with make package but there I am having an issue: ===> radeonkmsfw/verde_smc (install) install -T release -o root -g wheel -m 555 radeon_verde_smc_bin.ko...
  20. T

    Compile FreeBSD for a Different Target

    Hello, I would like to compile part of the FreeBSD sources (compiling on FreeBSD) for a different target string, e.g. x86_64-pc-linux-gnu. Is there a way to specifiy make to compile for this architecture/target? Thank you for your consideration,