| Summary: | [OProfile] When native piece of opcontrol has not been installed yet, it should mention that header files for the oprofile package are necessary. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Severin Gehwolf <sgehwolf> | ||||
| Component: | LinuxTools | Assignee: | OProfile Inbox <linux.oprofile-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | minor | ||||||
| Priority: | P3 | CC: | kksebasti, sgehwolf | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Severin Gehwolf
Agreed, the error is rather cryptic. In fact I was compiling oprofile from source, and when I got to compiling opxml I didn't understand what this error meant (partly because I was trying to avoid installing oprofile-devel). The readme file mentions the package needed for this, but I guess a more understandable warning in the configure script might benefit. On that note, it should also mention that libbfd.a is required for linking. In Fedora 13 that statically linked library is available in the binutils-static package. (In reply to comment #1) > Agreed, the error is rather cryptic. In fact I was compiling oprofile from > source, and when I got to compiling opxml I didn't understand what this error > meant (partly because I was trying to avoid installing oprofile-devel). The > readme file mentions the package needed for this, but I guess a more > understandable warning in the configure script might benefit. To be honest, I haven't had a look at README/INSTALL or anything like that. This is probably my bad, but if the Eclipse error gives instructions as to how to get rid of this error, I thought I might as well follow them. Suggestion: Put a README.Eclipse or maybe INSTALL.Eclipse in the native component directory and provide instructions there. It could reference upstream READMEs/INSTALLs, etc. Then, when opcontrol isn't found give a short error and include a pointer to README.Eclipse/INSTALL.Eclipse. Thoughts? In the current trunk, there's an externalized string represented by "opcontrolProvider.error.statusMessage" which mentions running make/make install before running the install script. An additional line could be added there warning the user to read the README, or to make sure they have the necessary dependencies for opxml. Created attachment 171020 [details]
Patch
Proposed patch. This would just let the user know that the dependencies needed are listed in the readme file.
More documentation is always better. I'm fine with this change. Revision 24956 fixes this. Is there a particular reason as to why there's no package for opxml (yet)? It would be cool if Linux users could install it from their distro's repositories. What am I missing? Thanks! opxml is _very_ specific to the Eclipse OProfile plugin so it doesn't make sense to have it as a separate package. The remaining issues/concerns prompted by this bug are mentioned in : 315770 |