Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jun 2013 10:34:24 +0100
From:      Matthew Seaman <matthew@freebsd.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: [SOLVED] Re: Can't build Xorg --> make failed for ports-mgmt/pkg
Message-ID:  <51BAE3A0.2020600@freebsd.org>
In-Reply-To: <CADGo8CXD6C334W0-WZPfj7rv6fAM4G=uS3=07vFHpwg8dQnxXA@mail.gmail.com>
References:  <1184690713-1371062081-cardhu_decombobulator_blackberry.rim.net-150318100-@b2.c8.bise7.blackberry> <CADLo839XFHSb6qcYmoypirzMJ5PjFpGKBZuh-hafYUz18zawXQ@mail.gmail.com> <CADGo8CUnhfzcDYGZ5AHHrQnfP=9PZvDf_kGDcieAf0QOg6deDg@mail.gmail.com> <CADGo8CUt5LD6koct6etWYDVTQQYzwpQbXFvfRwva6fJpiM7YBQ@mail.gmail.com> <CADGo8CXD6C334W0-WZPfj7rv6fAM4G=uS3=07vFHpwg8dQnxXA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 13/06/2013 15:24, Miguel Clara wrote:
> Than I tried to rebuild just "libdrm" and not xorg, with portmaster
> -f, pkg was mentioned again but this time the update worked and I'm
> now with pkg-1.0.13
> 
> pkg info | grep pkg
> pkg-1.0.13                     New generation package manager
> 
> I'm not exactly sure why it worked now and not before... The only
> difference now is that I made a "make deinstall", I'm glad its
> solved... still having issues with "xorg" but that is a totally
> different discussion!

The errors you were seeing are symptomatic of your build system not
finding pkg.h or libpkg.so.0 in your build tree, but using the installed
copies from the previous version of pkg already installed on your system.

That is works when you remove the instaleld version of pkg means the
problem is incorrect ordering of the include file (-I) or shared library
(-L) search path options.  This works fine if you eg. just check the
sources out of git and run make -- meaning there is something in your
environment overriding the default settings and causing mayhem.

	Cheers,

	Matthew




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51BAE3A0.2020600>