LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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-25-2004, 03:39 AM   #1
rogk
Member
 
Registered: Feb 2004
Location: Finland
Distribution: Mandrake 10.0
Posts: 70

Rep: Reputation: 15
Optimize/Prefix


Hello!
I have installed some packets before and they went quite well. Now I'll tried to install game called "Frozen bubble" and there were these two things that I don't unterstand yet.

>[*] First, build Frozen-Bubble and provide the prefix where the
>game will be installed (most probably /usr or /usr/local).

>make OPTIMIZE="my_arch_opt_flags" PREFIX="my_prefix"


>[*] Second, install the files on the system.

> - if you're root (case when you build a Debian package, or
> when you build it locally on your own machine), you will
> choose the same prefix location than for previous step

>make install PREFIX="my_prefix"


> - if you're not root (case when you build a RPM package), you
> need to install to a temporary directory where you have
> write access

>make install PREFIX="/home/my_home/tmp/my_buildroot"

> Then an external program such as RPM will collect the
> installed files and write the package.

Would somebody tell me what are these "OPTIMIZE" and "PREFIX" things means?

Edit: The "Frozen Bubble" is there in Mandrakes CD's, the searchword was bad at the first time. Still I want to know these "OPTIMIZE" and "PREFIX" things.

Last edited by rogk; 07-25-2004 at 04:22 AM.
 
Old 07-25-2004, 05:04 AM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,171

Rep: Reputation: 51
the optimize is compiler optimizations. you don't have to mess with those.
you may not even have to mess with the prefix. that means where the packages will set up to install to. try OPTIMIZE="" PREFIX="/usr/local/"
 
  


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
can I optimize this kushalkoolwal Programming 5 10-21-2005 09:05 PM
How to Optimize Slackware 10.2? zeroz52 Slackware 23 10-04-2005 06:42 PM
please optimize this C function ewt3y Programming 10 08-12-2005 05:48 AM
How can I optimize VNC Wynand1 Linux - Networking 4 05-17-2005 01:05 AM
how could I optimize bittorrent? rcerrillo General 0 07-04-2004 06:52 AM


All times are GMT -5. The time now is 04:41 AM.

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