Project

General

Profile

Task #2178

Set PKG_CONFIG_PATH in wscript

Added by Junxiao Shi almost 5 years ago. Updated almost 5 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.

History

#1 Updated by Junxiao Shi almost 5 years ago

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

#3 Updated by Alex Afanasyev almost 5 years ago

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

#4 Updated by Alex Afanasyev almost 5 years ago

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

#5 Updated by Alex Afanasyev almost 5 years ago

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

#6 Updated by Junxiao Shi almost 5 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

#7 Updated by Junxiao Shi almost 5 years ago

  • Status changed from Code review to Closed

Also available in: Atom PDF