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


  Search this Thread
Old 12-14-2001, 08:12 PM   #1
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 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, 08:43 PM   #2
Senior Member
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

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

Rep: Reputation: 15

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, 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.


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

All times are GMT -5. The time now is 06:11 PM.

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