LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   about installing opencv in fedora 15 (http://www.linuxquestions.org/questions/linux-software-2/about-installing-opencv-in-fedora-15-a-4175457591/)

ninianne 04-10-2013 02:31 AM

about installing opencv in fedora 15
 
Hello guys.
now i`m trying to install opencv-2.4.4 in fedora 15 using cmake

but when i run command

cmake -D CMAKE_BUILD_TYPE=release -D CMAKE_INSTALL_PREFIX=/usr/local

like i saw in opencv website

but i got below message
"cmake error: The source directory /usr/local/opencv/release/CMAKE_BUILD_TYPE=release" dose not exist.

i run this command in "/usr/local/opencv/release"

so is there anyone who can let me know what this error message means?

And if there any problem in my post like grammar problem.... i`m not familiar with English so please be patient.

thanks for your help in advance.

John VV 04-10-2013 04:33 AM

you are aware that fedora 15 is dead and unsupported

it went End Of Life on "2012-06-26"
June of 2012

Current fedora is only supporting fedora 17 and 18
and support for 17 ends this July

for fedora 18 opencv is in the base repo
opencv-2.4.3-3.fc18.i686.rpm
Code:

su -
yum install opencv

for 15
from any of the ( not many ) still up old repos it is
"opencv-2.2.0-3.fc15.i686.rpm"

you will have to FIRST
read the read me and install EVERY needed NEWER version of software
-- fedora 15 is a bit old ---

Fedora does not use the "/usr/local" folder
( it is mostly used by debian OS's -- mostly)

you need to ether make that folder and add it to the system path
or use the fedora default " /usr"

for 2.4.4
OpenCV-2.4.4a.tar.bz2 2013-03-08 74.6 MB

http://docs.opencv.org/trunk/doc/tut...x_install.html
that needs
Code:

su -
yum install gtk-devel python-devel numpy ffmpeg ffmpeg-devel

install the rpmfusion repo for libav and libav-devel

make a "build folder NOT IN THE SOURCE FOLDER !!!!!!!! "
cmake will yell and scream at you
but in the same folder that the source folder is in
and use /usr as the install folder

knudfl 04-10-2013 04:59 AM

If you really need version 2.4.4 : There is a Fedora(19) source package,
opencv-2.4.4-1.fc19.src.rpm >
http://dl.fedoraproject.org/pub/fedo...1.fc19.src.rpm

Building the openv-2.4.4 packages for Fedora 15 :
$ rpmbuild -bb opencv.spec

-

ninianne 04-10-2013 05:10 AM

Thank you very much John VV.

now i`m installing fedora 18. after installation i gonna follow your advice.

i`m so so thank you.


All times are GMT -5. The time now is 08:35 AM.