LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 07-05-2009, 01:14 PM   #1
Ace Blackwell
Member
 
Registered: Mar 2004
Location: Kentucky, USA
Distribution: SlamD 12.1 / Slack 12.0 ~ 14.2_64
Posts: 345

Rep: Reputation: 54
Out of tree


All,

I'm running SlamD64 12.1 on a 64bit HP. I am trying to install Avidemux 2.5.0. I have managed to update my Cmake to 2.6.4 but now when I try to install Avidemux, I get a

Please do an out of tree build

Does anyone knows what this means or how I can work around it?

Thanks
Ace
 
Old 07-05-2009, 02:09 PM   #2
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
Many build systems like to have out-of-tree compiling to keep the sourcetree clean. For example, it was used in Imake (the build system of XFree86) and it is used by many parts of the toolchain (binutils, gcc, glibc). Much CMake-built software also uses it. So you want to create a separate “build” directory outside of your sourcetree:
Code:
mkdir build
cd build
cmake ../avidemux-2.5.0
…
 
Old 07-05-2009, 07:22 PM   #3
Ace Blackwell
Member
 
Registered: Mar 2004
Location: Kentucky, USA
Distribution: SlamD 12.1 / Slack 12.0 ~ 14.2_64
Posts: 345

Original Poster
Rep: Reputation: 54
almost

Well once I read your response it made sense. However I made a couple of build dirs thinking I couldn't be in the same over all folder the avidemux was located but while I didn't get the out of tree error again, I got an error that stated

CMake Error: The current CMakeCache.txt directory /root/build/CMakeCache.txt is different than the directory /root/avidemux_2.5.0 where CMackeCache.txt was created. This may result in binaries being created in the wrong place. If you are not sure, reedit the CMakeCache.txt

So it seem contradictory. It like the program wants an out of tree compiling but also doesn't want you compiling out side of the directory.

Go figure. Do you have an ideas?

Thanks Again.
Ace
 
Old 07-06-2009, 08:14 PM   #4
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
Quote:
Originally Posted by Ace Blackwell View Post
CMake Error: The current CMakeCache.txt directory /root/build/CMakeCache.txt is different than the directory /root/avidemux_2.5.0 where CMackeCache.txt was created. This may result in binaries being created in the wrong place. If you are not sure, reedit the CMakeCache.txt
This is probably because the previous run of CMake (which bailed halfway through) was cached. Try it in a clean sourcetree.
 
  


Reply



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
rm down the tree shanenin Linux - Software 2 04-02-2005 04:18 PM
the bible = the tree of the knowledge of good and evil () Jesus = the tree of life Michael111 General 2 04-14-2004 04:28 PM
tree jshearman Linux - Newbie 8 07-14-2003 09:58 PM
need a P-Tree (Patricia Tree) library manaskb Programming 1 11-02-2002 06:15 PM
tree tda Linux - Newbie 1 05-31-2002 09:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:02 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration