Hi,

My problem with pkg-config turned out to be user-error, I was missing a section
of the PKG_CONFIG_PATH from the normal user environment (snuck onto another 
line)

FWIW, in my NAnt test builds I now use the following code to create a Subversion
repository hook script in Linux:

<!-- hook scripts have no environment variables, but PKG_CONFIG_PATH is needed 
-->
<exec program="printenv" commandline="PKG_CONFIG_PATH" output="${exec-output}"/>
<loadfile file="${exec-output}" property="pkg-config-path"/>
<echo message="#!/bin/sh" file="${hook-script}" append="false"/>
<echo message='export PKG_CONFIG_PATH="${string::trim(pkg-config-path)}"' 
file="${hook-script}" append="true"/>
<echo message="${hook-exec}" file="${hook-script}" append="true"/>
<exec program="chmod" commandline="a+x ${hook-script}"/>


The Mono rpm install probably makes for a leaner PKG_CONFIG_PATH over the
.bin binary installer (so easier to setup), but either way it's working now.

Apologies for the red-herring.

peace
si


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to