SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a lib error when compiling hugin with src2pkg. As follows:
Quote:
[ 53%] Building CXX object src/hugin1/base_wx/CMakeFiles/huginbasewx.dir/wxLensDB.cpp.o
In file included from /usr/include/exiv2/metadatum.hpp:39:0,
from /usr/include/exiv2/exif.hpp:34,
from /tmp/hugin-2013.0.0-src-1/src/hugin_base/panodata/SrcPanoImage.h:51,
from /tmp/hugin-2013.0.0-src-1/src/hugin_base/panodata/PanoramaData.h:41,
from /tmp/hugin-2013.0.0-src-1/src/hugin_base/panodata/Panorama.h:35,
from /tmp/hugin-2013.0.0-src-1/src/hugin1/PT/Panorama.h:27,
from /tmp/hugin-2013.0.0-src-1/src/hugin1/panoinc.h:70,
from /tmp/hugin-2013.0.0-src-1/src/hugin1/base_wx/wxLensDB.cpp:27:
/usr/include/exiv2/value.hpp:984:25: note: attribute for 'struct Exiv2:ateValue:ate' must follow the 'struct' keyword
EXIV2API struct Date
^
Linking CXX shared library libhuginbasewx.so
/usr/lib64/gcc/x86_64-slackware-linux/4.8.1/../../../../x86_64-slackware-linux/bin/ld: cannot find -lwx_gtk2u_gl-2.8
collect2: error: ld returned 1 exit status
make[2]: *** [src/hugin1/base_wx/libhuginbasewx.so.0.0] Error 1
make[1]: *** [src/hugin1/base_wx/CMakeFiles/huginbasewx.dir/all] Error 2
make: *** [all] Error 2
I'm not sure how to add -lwx_gtk2u_gl-2.8 as an option ( tried -e='-lwx_gtk2u_gl-2.8' but that just gave another error ). The lib is available in /usr/lib64 ...
lrwxrwxrwx 1 root root 27 Oct 21 10:28 /usr/lib64/libwx_gtk2u_gl-2.8.so.0 -> libwx_gtk2u_gl-2.8.so.0.8.0*
-rwxr-xr-x 1 root root 53816 Aug 23 11:45 /usr/lib64/libwx_gtk2u_gl-2.8.so.0.8.0*
Although there seems to be a link missing - added /usr/lib64/libwx_gtk2u_gl-2.8.so -> libwx_gtk2u_gl-2.8.so.0.8.0*. With this I get a different error ( still at the same place though - about 53% ):
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,644
Rep:
It's on my todo list but I'm not sure when I will find some spare time to test the upgrade. Hopefully the next weekend, but since submissions are closed anyway and will probably stay so for some time, this does not have my highest priority at the moment. I will post if I find a solution and have upgraded my slackbuilds.
I think it must be something on my system ( although it's a new install ) as I successfully compiled 2012 previously. Now, neither 2012 or 2013 will compile and have the same lib error as above.
RichM76, as mentioned above, the wx library that is indicated as a problem, is installed on my system and a file-listing is shown in my previous post. All dependencies are met as well. I've also tried slackbuilds as well ...
Ok I might be getting somewhere. The library complained about is:
libwx_gtk2_gl-2.8.so.0.8.0
But I have:
libwx_gtk2u_gl-2.8.so.0.8.0
Subtle diff there. I made sure I compiled wxwidgets with --with-opengl. I had a quick look on slackbuilds an noticed the following for wxwidgets/wxGTK:
Quote:
This package conflicts with wxPython because wxGTK is already included
there. Both cannot be installed at the same time!
So I removed wxwidgets and installed wxpython but the lib is still listed as libwx_gtk2u_gl-2.8.so.0.8.0 and hugin compile is looking for libwx_gtk2_gl-2.8.so.0.8.0 - maybe a soft link?
Oh wow got this to build on a fresh install ( in a vm ) now. Only 2 packages from slackbuilds was wxpython and hugin itself. Weird as my desktop was just recently reinstalled - there must be a clash somewhere with another package.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.