This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Scenario: - Launch NetBeans on Ubuntu 11.10 - Create Freeway sample ==> Code Assistance doesn't work NetBeans can't find .pc file in /usr/lib/x86_64-linux-gnu (/usr/lib/x86_64-linux-gnu/pkgconfig/gtk+-2.0.pc)
pkg-config can be used to query itself for the default search path: # pkg-config --variable pc_path pkg-config Prints: /usr/local/lib/x86_64-linux-gnu/pkgconfig:/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig
Alexander, please, adopt our algorithm to use this info.
Created attachment 112382 [details] proposed patch
fixed, change set: http://hg.netbeans.org/cnd-main/rev/11823480f5df
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/11823480f5df User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed Bug #204114 Ubuntu: code assistance can't find .pc files in /usr/lib/x86_64-linux-gnu