Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-10-2013, 01:31 AM   #1
LQ Newbie
Registered: Mar 2013
Posts: 6

Rep: Reputation: Disabled
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.
Old 04-10-2013, 03:33 AM   #2
John VV
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,168

Rep: Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493
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
su -
yum install opencv
for 15
from any of the ( not many ) still up old repos it is

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
that needs
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

Last edited by John VV; 04-10-2013 at 03:37 AM.
1 members found this post helpful.
Old 04-10-2013, 03:59 AM   #3
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,696

Rep: Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291
If you really need version 2.4.4 : There is a Fedora(19) source package,
opencv-2.4.4-1.fc19.src.rpm >

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

Old 04-10-2013, 04:10 AM   #4
LQ Newbie
Registered: Mar 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error Installing OpenCV-2.3.1a on Ubuntu 11.10 OtagoHarbour Linux - Newbie 1 11-28-2011 05:38 PM
OpenCV - Pixel format of incoming image is unsupported by OpenCV golmschenk Programming 1 04-01-2011 12:32 PM
Installing OpenCV and some other problems with linux matija Linux - Newbie 1 05-28-2009 11:33 AM
installing ffmpeg for opencv josemalo Linux - Software 1 02-27-2006 10:34 PM
opencv problems in fedora 3 sinc2 Linux - Software 0 11-16-2004 06:44 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:56 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration