For example, I can't install package qcad because of error: "can't find qdict.h".
How can I find the package which provides the file qdict.h so I can install the package qcad?
Asked
Active
Viewed 1.0k times
18
Nikos Alexandris
- 1,460
- 2
- 18
- 41
Eddy_Em
- 1,293
- 1
- 12
- 18
-
what package??? – Joe Mar 28 '13 at 07:42
-
2@Joe, I illustrate: I want to install qcad, but it doesn't compile because can't find file `qdict.h`. I want to know which package contains that file. I've tried to google, but found nothing. – Eddy_Em Mar 28 '13 at 07:45
-
is it an overlay or regular package that you downloaded – Joe Mar 28 '13 at 07:50
-
perhaps emerge -av qt – daisy Mar 28 '13 at 07:53
-
I've download ebuild, made some error fixes in code and rebuild manifest. QCad is absent in official repos. – Eddy_Em Mar 28 '13 at 07:55
-
@warl0ck, there's no package `qt`. BTW QCad needs qt3, but there's no qt3 in official packages. I don't understand how it's possible. – Eddy_Em Mar 28 '13 at 07:56
-
Qt3 is probably available in some overlays – daisy Mar 28 '13 at 08:09
-
Thanks to all! I found `app-portage/pfl`: its `e-file` helps me. This is `qt-meta`. – Eddy_Em Mar 28 '13 at 08:09
-
1see also http://unix.stackexchange.com/q/82021/13011 – Nikos Alexandris Jul 08 '13 at 15:51
1 Answers
18
You may use the e-file command from the pfl package (emerge -av app-portage/pfl) to search by package contents.
e-file YOURFILE
Alternatively, you may use an online database.
Regarding the qcad package specifically, you probably need the Qt4 package. IIRC, use emerge -av x11-libs/qt-gui (If that doesn't work out, try searching for QT packages. Use this query: emerge -s qt.)
daveloyall
- 228
- 1
- 12
daisy
- 53,527
- 78
- 236
- 383
-
5
-
1FYI, the `e-file` command simply queries the very same online database linked in the answer. It's called the Portage File List. – daveloyall Jan 16 '20 at 23:26