Re: ports capable of coping with --relocate?
Le 10/10/2016 à 07:35, Julian Elischer a écrit : > for packages I'm using : > > * PKG_DBDIR=/$(FOO)/var/db/pkg pkg add --relocate /$(FOO) $(PKGNAME)* > > to build up an image in location "$FOO" that I can tar up and install > onto a machine. --relocate does not do what you think it does. It tells pkg to not install a package in /usr/local but somewhere else. What you want is to do: pkg -r /${FOO} add $(PKGNAME) -- Mathieu Arnold signature.asc Description: OpenPGP digital signature
Re: ports capable of coping with --relocate?
2016-10-10 7:39 GMT+02:00 Julian Elischer : > On 9/10/2016 10:35 PM, Julian Elischer wrote: >> >> >> for packages I'm using : >> >> * PKG_DBDIR=/$(FOO)/var/db/pkg pkg add --relocate /$(FOO) $(PKGNAME)* >> >> to build up an image in location "$FOO" that I can tar up and install >> onto a machine. >> >> however some other ports fail to find that a dependency has been >> installed.. >> >> e.g. >> >> libglib2 is installed in the manner above, but then open-vm-tools-nox11 >> fails with: >> >> *checking for glib-2.0 >= 2.6.0 (via pkg-config)... no** >> **configure: error: glib >= 2.6.0 is required.** >> * >> >> is there away to make the vmware port look in $FOO, or do I need to >> install libglib into the base system before vmware-tools will find it? >> > I just noticed that >glib-2.46.2Some useful routines of C programming > (current stable version) > IS already on the base system.. how can I get past this? Huh, there is no glib in FreeBSD base system. -- Demelier David ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: ports capable of coping with --relocate?
On 9/10/2016 10:35 PM, Julian Elischer wrote: for packages I'm using : * PKG_DBDIR=/$(FOO)/var/db/pkg pkg add --relocate /$(FOO) $(PKGNAME)* to build up an image in location "$FOO" that I can tar up and install onto a machine. however some other ports fail to find that a dependency has been installed.. e.g. libglib2 is installed in the manner above, but then open-vm-tools-nox11 fails with: *checking for glib-2.0 >= 2.6.0 (via pkg-config)... no** **configure: error: glib >= 2.6.0 is required.** * is there away to make the vmware port look in $FOO, or do I need to install libglib into the base system before vmware-tools will find it? I just noticed that glib-2.46.2Some useful routines of C programming (current stable version) IS already on the base system.. how can I get past this? Julian ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"