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

b0uncer

06-23-2004 03:51 PM

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 :)

mykrob

06-23-2004 04:00 PM

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

Komakino

06-23-2004 04:06 PM

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.

Tuttle

06-23-2004 04:47 PM

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.

mykrob

06-23-2004 09:00 PM

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

Tuttle

06-24-2004 07:19 AM

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.

mykrob

06-24-2004 09:59 AM

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