LinuxQuestions.org
Visit Jeremy's Blog.
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 02-14-2008, 04:25 PM   #1
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64- 5.15.2
Posts: 909

Rep: Reputation: 55
-dcmake_install_prefix:path= ???


Just trying to learn how to compile and configure so I need to know what this line -> -DCMAKE_INSTALL_PREFIX:PATH= <- means? What is it referring to?

I do understand -MAKE_INSTALL what does the rest mean and refer to?

Thanks
 
Old 02-14-2008, 04:58 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
You unpack the tarball somewhere. But you want it installed somewhere else.

So, you run ./configure. When that is done, inspect the contents of the top-level Makefile. If you specified the PREFIX in the ./configure step, you will see it in the Makefile as PREFIX=/path/to/installation/directory (something like /usr/, /usr/local, /opt, or something else). The prefix is the toplevel directory in which to install, with bits and pieces going to /etc (config files), or /usr/bin or /usr/local/bin, etc.

You can edit the top-level Makefile to change the PREFIX, LIBDIR, BINDIR, etc, or just reconfigure with the appropriate directories specified in the ./configure command.

For more info on what you can add to the ./configure command, cd to the directory in which you unpacked the tarball, and do ./configure -help. You will see a list of options that you can add to the command.

Last edited by bigrigdriver; 02-14-2008 at 04:59 PM.
 
Old 02-15-2008, 12:48 AM   #3
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64- 5.15.2
Posts: 909

Original Poster
Rep: Reputation: 55
thanks, bigrigdriver, good and clear will print your explanation.
 
  


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
export Path=/usr/java:$Path does not seem to work lumix Linux - Newbie 1 03-19-2007 03:11 PM
Do you add to the path line or make a new path in /etc/profile? M$ISBS Linux - Newbie 2 12-13-2006 02:14 PM
script to change unix path to windows path in all files csross Programming 8 04-29-2006 01:05 PM
Why is the value of $PATH in console mode different from the $PATH in xterm emulator? Akhran Debian 9 03-09-2006 06:10 PM
How to Chnage Python's module search path (sys.path)? lramos85 Linux - Software 1 05-02-2004 06:10 PM

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

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

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