Linux - NewbieThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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
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...
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.
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.
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.
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..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.