Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
06-23-2004, 03:48 PM
|
#1
|
|
Member
Registered: Jun 2004
Location: Jackson, TN
Distribution: Kubuntu Feisty
Posts: 606
Rep:
|
./configure --prefix=/???
hi.
i want to install xine and the library files for xine from source, because the RPM's keep messing up my DVD playing... long story.. Anyway's after i get rid of the mess the RPM's created and go to cofigure the source, where should my prefix be for the xine-lib, and finally for xine-ui? If it matters, distro is Suse 9.1 Pro, and running KDE 3.2.1
Thanks,
-myk
|
|
|
|
06-23-2004, 03:51 PM
|
#2
|
|
Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131
Rep: 
|
do you need to specify it? I mean, most of the time you don't. the "normal" setting is enough and usually works...prefix is for those who know they need it and know where 
|
|
|
|
06-23-2004, 04:00 PM
|
#3
|
|
Member
Registered: Jun 2004
Location: Jackson, TN
Distribution: Kubuntu Feisty
Posts: 606
Original Poster
Rep:
|
that's the part that puzzles me. I think the lib fines have to be in a certain directory. And if i want to run xine from command line, doesnt it need to end up with its binary in a specific place? Now, mind you, i am a newb, so i may be totally wrong here...
Thanks,
-myk
|
|
|
|
06-23-2004, 04:06 PM
|
#4
|
|
Senior Member
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938
Rep:
|
The simplest solution is to specify:
Code:
./configure --prefix=/usr
which puts the libs into /usr/lib. The default /usr/local/lib occasionally causes trouble (I had lots of trouble with gimp 2 despite /usr/local/lib being in the pkgconfig and ldconfig paths)
and yes, if you want to be able to run the app from the command line without typing the full path then the binary will need to be in a directory in the path. The command above will also put the binaries into /usr/bin. If you do ./configure --help you can see the specific options to put the binaries and libs into totally different places.
Last edited by Komakino; 06-23-2004 at 04:08 PM.
|
|
|
|
06-23-2004, 04:47 PM
|
#5
|
|
Senior Member
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,288
Rep:
|
Quote:
Originally posted by mykrob
that's the part that puzzles me. I think the lib fines have to be in a certain directory. And if i want to run xine from command line, doesnt it need to end up with its binary in a specific place? Now, mind you, i am a newb, so i may be totally wrong here...
Thanks,
-myk
|
Files are arranged on linux so that all the apps are in one set of folders (/bin, /sbin, /usr/bin etc...), and all the libs are in another (/lib, /usr/lib, /usr/local/lib etc...). By default you will find that most software, when installed from source, is setup to be installed to /usr/local/bin, /usr/local/lib etc.... (/usr/local being the default path for all youe extra software).
Any command you type into a console will be automatically found within these folder paths.
Last edited by Tuttle; 06-23-2004 at 04:49 PM.
|
|
|
|
06-23-2004, 09:00 PM
|
#6
|
|
Member
Registered: Jun 2004
Location: Jackson, TN
Distribution: Kubuntu Feisty
Posts: 606
Original Poster
Rep:
|
i installed with the --prefix=/usr but cant run from the command line or find where the fileto run the program is..
Help?
thanks,
-myk
|
|
|
|
06-24-2004, 07:19 AM
|
#7
|
|
Senior Member
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,288
Rep:
|
Try configuring and installing without a prefix, this is normally the preferred way (unless specified in the INSTALL or README files supplied with the package).
I think you'll find your program has been installed to /usr/usr/local due to the extra prefix.
edit: see /etc/profile for the system-wide shell (console) defaults.
Last edited by Tuttle; 06-24-2004 at 07:25 AM.
|
|
|
|
06-24-2004, 09:59 AM
|
#8
|
|
Member
Registered: Jun 2004
Location: Jackson, TN
Distribution: Kubuntu Feisty
Posts: 606
Original Poster
Rep:
|
dang, i feel silly.. Apparently i forgot a VITAL step... i was doing a few other things, and though i did "make install" but never did.. After installing, of course, it works fine..
sorry about that
thanks,
-myk
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:44 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|