[SOLVED] opencv-2.4.4a won't build on Slack 14-32 bit.
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.
opencv devs released a new tarball (taking away the old) changing some of their usual conventions.
here I modified the slackbuild like this, but who knows if with opencv-2.4.5 things will change again...
the text above is in diff format, it shows which lines of the files are changed and how in respect of the present opencv.SlackBuild files that you got from SBo.
to use it with the patch command, copy the text above in a file, called for example my.patch, then go in the slackbuild folder you downloaded and issue a
Code:
patch -p3 < /path/to/my.patch
if you feel like, you can alternatively edit the files interested, opencv.info and opencv.SlackBuild, with any editor and change the lines as shown above: the lines that go away are the ones with the '-' at the beginning, and get substituted by the ones that start with the '+'.
Thank-you very much for your assistance. I created the patch file, ran the patch command, and was able to build the new opencv-2.4.4a. I ran upgradepkg, and it worked without problems.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.