[Mono-bugs] [Bug 665589] New: pkg-config does not emit paths correctly on Windows

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jan 19 12:51:27 EST 2011



           Summary: pkg-config does not emit paths correctly on Windows
    Classification: Mono
           Product: Mono: Tools
           Version: 2.8.x
          Platform: i386
        OS/Version: Windows 7
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: tools
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: dblank at cs.brynmawr.edu
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US)
AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10

Asking pkg-config for --libs gives corrupt information.

Reproducible: Always

Steps to Reproduce:
1.Run "c:\Program Files (x86)\Mono-2.8.2\bin\pkg-config.exe" gtk-sharp-2.0

(this can be any version of Mono up to 2.8.2--- haven't tested on beyond that.)
Actual Results:  
Output is:

-r:c:/Program Files (x86)/Mono-2.8.2/lib/mono/gtk-sharp-2.0/pango-sharp.dll

Should be something more like:

 -r:"c:\Program Files (x86)\Mono-2.8.2\lib\mono\gtk-sharp-2.0\pango-sharp.dll"
-r:"c:\Program Files (x86)\Mono-2.8.2\lib\mono\gtk-sharp-2.0\atk-sharp.dll"
-r:"c:\Program Files (x86)\Mono-2.8.2\lib\mono\gtk-sharp-2.0\gdk-sharp.dll"
-r:"c:\Program Files (x86)\Mono-2.8.2\lib\mono\gtk-sharp-2.0\gtk-sharp.dll"
-r:"c:\Program Files (x86)\Mono-2.8.2\lib\mono\gtk-sharp-2.0\glib-sharp.dll" 

Note that the -r: is missing, the paths are corrupted, and the paths should be
surrounded in double quotes.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list