LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 04-10-2013, 01:31 AM   #1
ninianne
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
Guru
 
Registered: Aug 2005
Posts: 12,807

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
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

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
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,536

Rep: Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506
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

-
 
Old 04-10-2013, 04:10 AM   #4
ninianne
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.
 
  


Reply


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


All times are GMT -5. The time now is 05:32 PM.

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