LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 12-14-2001, 09:12 PM   #1
vendemmian
LQ Newbie
 
Registered: May 2001
Distribution: Debian
Posts: 13

Rep: Reputation: 0
Slackware 8: ./configure --prefix=/opt/gnome not working


I ve got loads of tar.gz apps, I want to compile for gnome, so to keep with the Slackware standard, I tried to build them using:

./configure --prefix=/opt/gnome
make
make install prefix=/usr/src/tgz/install/
then build tgz files

The build and making the files goes great,
but for some strange reason they keep going into /bin or /share /man.

Is there something Iam doing wrong?
 
Old 12-14-2001, 09:43 PM   #2
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
I just do,
./configure --prefix=/opt/gnome
make
su
make install
and don't bother with making .tgz packages, I've had everything install in /opt/gnome with no problems.
 
Old 12-15-2001, 12:49 AM   #3
paavaka
Member
 
Registered: Jun 2001
Location: Virginia
Distribution: Slackware,Debian,SuSE
Posts: 43

Rep: Reputation: 15
Suggestion:

make install prefix=/usr/src/tgz/install/opt/gnome

When I was compiling Gnome I found that if I didn't specify the opt/gnome directory within the temporary one, it sent the files elsewhere.

But if you go to linuxpackages.net, they have two tools there that can help in managing source code installs on Slackware. They are 'checkinstall' and 'protopkg'. I haven't tried protopkg yet, but I will soon as I am not entirely happy with checkinstall, though it works great if you are in a hurry. Checkinstall monitors the install process and creates a package for you, and if for whatever reason the install fails, it will replace the files that were overwritten. I believe protopkg allows you to create a parameter file used to build the package and then it takes care of the rest.

Whatever you do, don't place the fake destination in the configure --prefix=. I was doing that with the intention of wrapping the files in the package and installing them, but if your package contains any libraries then the fake path is hardcoded into them, causing all sorts of problems. Though it does work for smaller packages.
 
  


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
./configure --prefix= plan9 Slackware 5 01-03-2013 05:44 AM
a portable ./configure --prefix option spuzzzzzzz Linux - Software 2 07-27-2004 05:34 AM
./configure --prefix=/??? mykrob Linux - Newbie 7 06-24-2004 10:59 AM
kde prefix error when running ./configure hoopyfrood Linux - Software 1 04-25-2004 06:40 PM
prefix argument to ./configure luck___ Linux - Software 2 03-13-2004 03:22 AM


All times are GMT -5. The time now is 10:25 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration