Project

General

Profile

Actions

Task #2178

closed

Set PKG_CONFIG_PATH in wscript

Added by Junxiao Shi over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Category:
Build
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
1.00 h

Description

In wscript, set PKG_CONFIG_PATH to include:

  • /opt/local/lib/pkgconfig
  • /usr/lib64/pkgconfig

so that export PKG_CONFIG_PATH=... command is not needed during ./waf configure on OSX and Fedora.

This Task includes deleting the relevant steps from INSTALL documentation.


Related issues 1 (0 open1 closed)

Related to NFD - Bug #5042: Injecting PKG_CONFIG_PATH in os.environ doesn't workClosedDavide Pesavento

Actions
Actions #1

Updated by Junxiao Shi over 9 years ago

  • Start date deleted (11/13/2014)
  • Estimated time changed from 0.50 h to 1.00 h
Actions #2

Updated by Junxiao Shi over 9 years ago

Actions #3

Updated by Alex Afanasyev over 9 years ago

On which platform /usr/lib64/pkgconfig is needed?

Actions #4

Updated by Alex Afanasyev over 9 years ago

Never mind my comment. I just saw the example in the documentation.

Actions #5

Updated by Alex Afanasyev over 9 years ago

  • Status changed from New to Code review
  • Assignee set to Alex Afanasyev
  • % Done changed from 0 to 100
Actions #6

Updated by Junxiao Shi over 9 years ago

20141128 conference call decides:

  • "waf-tool for ndn-cxx detection" shouldn't be created, because pkg-config is supposed to be the universal method for package detection
  • pkg-config considers PKG_CONFIG_PATH first, then default paths; thus, only custom paths need to be injected to the environment
  • the environment shouldn't be restored after detecting ndn-cxx, because other pkg-config command may also need them
Actions #7

Updated by Junxiao Shi over 9 years ago

  • Status changed from Code review to Closed
Actions #8

Updated by Davide Pesavento over 4 years ago

  • Related to Bug #5042: Injecting PKG_CONFIG_PATH in os.environ doesn't work added
Actions

Also available in: Atom PDF