[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problems building mythtv on Sarge



Hi,

I'm trying to build and install mythtv. Because I don't have internet connection at home, I downloaded the sources of lame from ftp.nerim.net/debian-marillat/ and the sources of mythtv from the repository specified in the mythtv docs, that is http://dijkstra.csh.rit.edu/~mdz/debian/dists/unstable/mythtv/. I have a directory /home/lorand/debian-packages/sources where the sources are located and its content is:

lame_3.96.1-1.diff.gz              myththemes_0.18-1.dsc
lame_3.96.1-1.dsc                  myththemes_0.18.orig.tar.gz
lame_3.96.1.orig.tar.gz            mythtv_0.18.1-4.diff.gz
mythplugins_0.18.1-2.diff.gz       mythtv_0.18.1-4.dsc
mythplugins_0.18.1-2.dsc           mythtv_0.18.1-4_source.changes
mythplugins_0.18.1-2_i386.changes  mythtv_0.18.1.orig.tar.gz
mythplugins_0.18.1.orig.tar.gz     Sources.gz
myththemes_0.18-1.diff.gz

When I run dpkg-scansources ./ | gzip > Sources.gz, I get this error message:

Prototype mismatch: sub main::getopt: none vs (@) at /usr/bin/dpkg-scansources line 116.

however the Sources.gz file gets created. I put this line in sources.list:

deb-src file:/home/lorand/debian-packages/sources ./

and run apt-build update and no error message. When I ran apt-get build-dep mythtv, apt installed for me a lot of packages and no error. But when I run apt-build install mythtv, I get this:

E: Couldn't find package mythtv
Sorry, can't find mythtv, is it already installed?
(Remove it first, or try running 'apt-get clean')

Also tryied apt-build build-source mythtv and get this message:

Building the following packages from source:
libmyth-0.18.1
mythtv-database
libmyth-0.18.1-dev
mythtv-frontend
mythtv
mythtv-doc
mythtv-backend
mythtv-common
mythtv-debug
-----> Installing build dependencies (for mythtv) <-----
Reading Package Lists... Done
Building Dependency Tree... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
W: Unable to locate package mythtv
E: No packages found
-----> Downloading mythtv source (mythtv 0.18.1-4) <-----
-----> Updating package lists <-----
Ign file: ./ Release
Ign file: ./ Release
Reading Package Lists... Done
Reading Package Lists... Done
Building Dependency Tree... Done
Need to get 0B/9835kB of source archives.
Skipping unpack of already unpacked source in mythtv-0.18.1
-----> Building mythtv <-----
E: Couldn't find package mythtv
W: Unable to locate package mythtv
E: No packages found
Use of uninitialized value in string eq at /usr/bin/apt-build line 288.
Use of uninitialized value in string eq at /usr/bin/apt-build line 288.
Use of uninitialized value in concatenation (.) or string at /usr/bin/apt-build line 299.
Use of uninitialized value in concatenation (.) or string at /usr/bin/apt-build line 299.
E: Unable to find a source package for
Use of uninitialized value in concatenation (.) or string at /usr/bin/apt-build line 301.
Use of uninitialized value in concatenation (.) or string at /usr/bin/apt-build line 301.
Can't chdir(-): No such file or directory at (eval 1) line 3
    main::__ANON__('-') called at /usr/bin/apt-build line 301
    main::build('mythtv', 0.18.1, -4) called at /usr/bin/apt-build line 563
    main::build_source called at /usr/bin/apt-build line 81

What did I wrong?

Reply to: