(title) Also /usr/local is on a zfs filesystem so i can take snapshot and rollback
PREFIX
in its config.mk while projects like VILE use prefix
; Makefile macro names are case-sensitive. If the makefile supports it, you can also use DESTDIR=/usr/local/
to force installation to /usr/local/{prefix}; I recommend ensuring the path specified by DESTDIR ends with a trailing slash, possibly resulting in a path such as /usr/local//usr/bin since I have encountered some makefiles with broken DESTDIR behavior (i.e. ${DESTDIR}${prefix}
where ${prefix}
was not an absolute path resulted in things like /usr/localprefix/bin instead of /usr/local/prefix/bin). And as ekvz mentioned, if you have a configure script, you usually can use --prefix=/usr/local
anyway. gmake
worked fine for me. You might try env -u prefix gmake
in case a prefix environment variable is defined for some reason. If it still doesn't work, I'm not sure what the problem would be unless you edited the GNUmakefile to set the prefix macro to a value other than the default /usr/local or used something like gmake prefix=/usr
.gmake prefix=/usr/local
gmake install prefix=/usr/local
pkg-config --cflags --libs gtkd-3
ldmd2 -I/usr/local/include/d/gtkd-3 -L-lgtkd-3 ./hello.d
That's because pkgconf(1) looks in /usr/local/libdata/pkgconfig while the makefile installs into /usr/local/lib/pkgconfig. If you pull the latest changes on the master branch, you can usereturned nothing.Code:pkg-config --cflags --libs gtkd-3
But the manually include and library works fine!
Code:ldmd2 -I/usr/local/include/d/gtkd-3 -L-lgtkd-3 ./hello.d
gmake install prefix=/usr/local pkgconfigdir=libdata/pkgconfig
. Then you can use pkg-config/pkgconf as usual, instead of dealing with the includes and libs manually.Consistency is the hobgoblin of little minds. This is Burger King: have it your way.Is there no group of wise and old man who can bow over if
Or provide developers and universities with free keyboards with only capital letters. Problem solved.