2006/11/25, Darren Salt <linux@youmustbejoking.demon.co.uk>:
I demand that xiang may or may not have written...

> I have built xine-lib and xine-ui many times over the days but I just ran
> into a problem I've never seen before. On an ubuntu 6.10 system, I built
> and installed xine-lib-1.1.2, and then went on to xine-ui-0.99.4.
> Everything seemed to proceed without any problem, except for one thing:
> After what appeared to be a successful make install of xine-ui, there was
> no xine in /usr/local/bin expect xine-config,xine-check and
> xine-bugreport.And i don't find a executable file:"xine" in all dir of my
> ubuntu6.10. How can I debug this?

First of all, does src/xitk/xine exist and if so, is it executable?

  $ make install DESTDIR="$PWD/test"

and see what's in test. My guess is that only fbxine has been built, in which
case you're missing some X dev packages. The config.log (generated when you
ran ./configure) will say what wasn't found (not package names, though).

  $ apt-cache showsrc xine-ui

will show what's needed for a full build, including aaxine and cacaxine, if
you have deb-src lines in /etc/apt/sources.list - though I expect that
making sure that libx11-dev, libxext-dev, libxft-dev, libxinerama-dev,
libxt-dev, libxtst-dev, libxv-dev, libxxf86vm-dev and x-dev are installed
will fix the problem.

However...

I think that it's better to install your distribution-supplied package or to
build them yourself for installation via your distribution's packaging
system. For the former, one of the following will work (and will also install
libxine1):

  $ sudo aptitude install xine-ui
  $ sudo aptitude install gxine

(If you don't have aptitude, use synaptic or apt-get. But aptitude has
certain technical advantages which you'll notice when you start uninstalling
packages which were installed by aptitude.)

If you still want to build them yourself (examples for libxine1), you'll need
to get the source somehow. One way is to do this:

  $ sudo apt-get source libxine1

Or you can do a CVS checkout. For details of what CVS commands to use, see
<URL: http://sourceforge.net/cvs/?group_id=9655>; modules are xine-lib, xine,
gnome-xine (which is actually gxine). (Slightly newer gxine source can be had
from <URL: http://zap.tartarus.org/~ds/gxine/> - follow one of the "manifest"
links (the newest is at the top) then download either "gz" or "bz2". There's
an extra unpack step, but you're obviously familiar with this.)

Once you have the source, cd into the newly-created source directory. If you
used apt-get, you need this:
  $ cd libxine1-1.1.2

Else you'll need this:
  $ cd xine-lib

Either way, you're now almost ready to build...
  $ dpkg-checkbuilddeps

Install any required packages (if there's no output, all of the necessary
packages are already installed) then run *one* of
  $ debuild binary
  $ debian/rules binary

Now install:
  $ sudo dpkg -i $PWD/../libxine1*1.1.2*deb

which should install libxine1, libxine-dev and libxine1-dbg.

You should then build and install xine-ui or gxine or whichever front end you
choose in much the same way.

--
| Darren Salt    | linux or ds at              | nr. Ashington, | Toon
| RISC OS, Linux | youmustbejoking,demon,co,uk | Northumberland | Army
|   Let's keep the pound sterling

Whoops, that's the First Test lost...


Thank Darren Salt's response very much.

I also believe that the lack of certain files mentioned such as libx11-dev Darren.libxext-dev, libxft-dev, libxinerama-dev.libxt-dev , libxtst-dev, libxv-dev.x-dev libxxf86vm-dev  causes of the problem.
I will improve on these packages installed.

However, I am quite helpless because I am not a computer network, so I have no way of a network installation methods :For example, the use of apt-get and CVS installation.

I only download the source code through the local and then compile and install.
--
FreeBSD=优雅的女人,Solaris=高贵的女人,Linux=年轻的女人,windows=午夜下班的女人

Freebsd6.1+Solaris10+Suse10.0+Ubuntu5.10+Windows xp SP1(Barton2500+/256M/EP-8RDAEI)