Mandriva: 2010.4 compilation fails
Hugin compilation fails with the message:
/home/sasha/
/home/sasha/
/usr/include/
make[2]: *** [src/hugin1/
make[1]: *** [src/hugin1/
make: *** [all] Error 2
Mandriva 2010.2, wxgtk 2.8.10.
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Hugin Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Alexander,
Sorry if this is a silly question, but do you have wxGTK-devel installed?
Cheers,
Terry
Revision history for this message
|
#2 |
Yes, libwxgtk2.8-devel version 2.8.10 is installed. In the other case cmake would fail.
IIRC Mandriva is derived from Red Hat? so it may be similar to Fedora?
Does http://
Please set the status of this report to New when you add new information and need attention again.
Revision history for this message
|
#4 |
No, the link haven't provided any new info. I have all required packages, at least the system reports they are installed.
When I try to replace in the string #595 of AutoCtrlPointCr
the part
imgFiles.wc_str()
with
imgFiles.c_str()
as it should be taken from string.h from wx include files
const wxChar* wc_str() const { return c_str(); }
compilation goes on. Could it be wxUSE_UNICODE isn't defined? How can I test it?
Now make stops at another point:
[ 64%] Built target icpfindlib
[ 64%] Building CXX object src/hugin1/
/home/sasha/
/home/sasha/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/include/
/home/sasha/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/include/
/home/sasha/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/include/
make[2]: *** [src/hugin1/
make[1]: *** [src/hugin1/
make: *** [all] Error 2
Revision history for this message
|
#5 |
I have the same problem!
The solution, change in /etc/alternatives the links:
wx-config to /usr/lib64/
wxrc to /usr/bin/
In mine both direct to the ansi versions.
I don't know if it change back when making a update of wxGTK.
After that, the compilation goes OK!!!
Revision history for this message
|
#6 |
Thank you! The initial error has been passed. :)
But the afterwards compilation still fails:
...
Scanning dependencies of target icpfind
[ 64%] Building CXX object src/hugin1/
/home/sasha/
/home/sasha/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/include/
/home/sasha/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/include/
/home/sasha/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/include/
make[2]: *** [src/hugin1/
make[1]: *** [src/hugin1/
make: *** [all] Error 2
Revision history for this message
|
#7 |
did you change the two links?
wxrc and wx-config?
Here is compiling without problems.
These error is related to the Unicode problem too.
Revision history for this message
|
#8 |
He-he, I haven't cleaned previously compiled units. After clean install everything went OK. :) Many thanks for the help.
As the bug is common on Mandriva, should it be add to compilation notes or a workaround found?
It would be nice if you could write compilation notes for Mandriva - we don't have them yet.
Can you put your work at:
* http://
A few examples:
* http://
* http://
* http://
Once you'll write it, it can be linked from the table of supported platforms at
* http://
And of course you get credited for that ;-)
Thanks
Yuv
As noted in the thread, the ANSI versions link must be replaced with the Unicode ones in /etc/alternatives
* wx-config to /usr/lib64/
* wxrc to /usr/bin/
Revision history for this message
|
#11 |
This question was expired because it remained in the 'Open' state without activity for the last 15 days.