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.

Bug 204114 - Ubuntu: code assistance can't find .pc files in /usr/lib/x86_64-linux-gnu
Summary: Ubuntu: code assistance can't find .pc files in /usr/lib/x86_64-linux-gnu
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.1
Hardware: PC Linux
: P2 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-23 07:48 UTC by soldatov
Modified: 2011-10-25 14:28 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
proposed patch (2.17 KB, patch)
2011-10-24 19:33 UTC, Alexander Simon
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2011-10-23 07:48:17 UTC
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)
Comment 1 Alexander Simon 2011-10-24 18:27:06 UTC
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
Comment 2 Vladimir Voskresensky 2011-10-24 18:45:23 UTC
Alexander, please, adopt our algorithm to use this info.
Comment 3 Alexander Simon 2011-10-24 19:33:07 UTC
Created attachment 112382 [details]
proposed patch
Comment 4 Alexander Simon 2011-10-24 20:07:05 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/11823480f5df
Comment 5 Quality Engineering 2011-10-25 14:28:15 UTC
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