pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Build failure for pkg-config 0.28 on Linux
From /usr/pkgsrc/mk/defaults/mk.conf:
# PREFER_PKGSRC
# PREFER_NATIVE
# When building packages, whether to prefer the pkgsrc or native
# versions of software that's also part of the base system. Its value
# can be either yes/no, or a list of packages as named in the
# BUILDLINK_TREE line in a package's buildlink3.mk file.
# Preferences are determined by the most specific instance of the
# package in either PREFER_PKGSRC or PREFER_NATIVE. If a package is
# specified in neither or in both variables, then PREFER_PKGSRC has
# precedence over PREFER_NATIVE.
#
# Possible: yes, no, or a list of packages
So, in your custom mk.conf (usually in /usr/pkg/etc/mk.conf for
privileged installs) specify either
PREFER_NATIVE= yes
or
PREFER_NATIVE= openmpi # Making sure openmpi is not specifically listed
under PREFER_PKGSRC
Just fyi, I'd run into a similar problem, earlier today, while compiling
postgresql91-client on CentOS 5.9. (some error with intl_gettext definitions) I
had to add that specific package to PREFER_PKGSRC
Ivan S. Freitas writes:
> It complains about not being able to run autm4te, even with autotools
> installed (bootstrapped
> with --unprivileged). It is running on a Centos 6.4 (Linux 2.6.32),
> latest pkgsrc.
>
> Most, if not all, dependencies I need (I'm trying to compile openmpi,
> initially) are present
> on the system (which also uses pkgsrc, in the default /usr/pkg
> prefix), can I force
> my unprivileged pkgsrc to prefer what is installed in the system
> instead of resolving
> all dependencies on its own?
>
> Build log: http://pastebin.ca/2410193
> pkg_info output: http://pastebin.ca/2410195
>
> --
> Ivan Sichmann Freitas
> GNU/Linux user #509059
> SDF MetaArpa Member http://isf.sdf.org/about.html
Home |
Main Index |
Thread Index |
Old Index