Was will configure von mir?

Vom einfachen Programm zum fertigen Debian-Paket, Fragen rund um Programmiersprachen, Scripting und Lizenzierung.
Antworten
Benutzeravatar
weedy
Beiträge: 585
Registriert: 02.11.2002 21:47:49
Lizenz eigener Beiträge: GNU General Public License
Kontaktdaten:

Was will configure von mir?

Beitrag von weedy » 13.12.2003 20:32:49

Ich starte in einem Sourcepackage configure und erhalte
z.B. in der Ausgabe unter anderem folgendes:

Code: Alles auswählen

checking for pygtk-2.0 >= 1.99.14... Package pygtk-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `pygtk-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'pygtk-2.0' found
configure: WARNING: Python development libraries not found
Jetzt stellt sich mir die Frage: wie finde ich heraus, welche Packages da mit gemeint sein könnten? Oft rate ich einfach und da findet man meistens eine Package, die auf -dev endet oder mit lib- beginnt, aber hier scheint es nicht so einfach zu sein. Gibt es einen sicheren Weg, herauszufinden, was man hier noch nachinstallieren muß?

weedy.

Benutzeravatar
chimaera
Beiträge: 3804
Registriert: 01.08.2002 01:31:18
Lizenz eigener Beiträge: MIT Lizenz

Beitrag von chimaera » 13.12.2003 21:26:56

apt-file installieren und dann ein

Code: Alles auswählen

apt-file update && apt-file search pygtk-2.0.pc
..damit bekommst du, sofern vorhanden, das entsprechende packet angezeigt.

/edit
und verschoben ;)
[..] Linux is not a code base. Or a distro. Or a kernel. It's an attitude. And it's not about Open Source. It's about a bunch of people who still think vi is a good config UI. - Matt's reply on ESR's cups/ui rant

Benutzeravatar
Joghurt
Beiträge: 5244
Registriert: 30.01.2003 15:27:31
Wohnort: Hamburg
Kontaktdaten:

Beitrag von Joghurt » 13.12.2003 21:40:02

auto-apt kann auch helfen

z.B. auto-apt run ./configure

Ich benutze es allerdings nicht, da auto-apt die Angewohnheit hat, zuviele Pakete installieren zu wollen

Benutzeravatar
weedy
Beiträge: 585
Registriert: 02.11.2002 21:47:49
Lizenz eigener Beiträge: GNU General Public License
Kontaktdaten:

Beitrag von weedy » 13.12.2003 22:02:34

Ok, ich versuche nun zum hundertsten Male apt-file zu installieren:

Code: Alles auswählen

#apt-get install apt-file
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  apt-file: Depends: libapt-pkg-perl but it is not going to be installed
E: Broken packages



# apt-get install libapt-pkg-perl
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  libapt-pkg-perl: Depends: perlapi-5.6.1
                   Depends: libapt-pkg-libc6.2-3-2-3.2
E: Broken packages

# apt-get install perlapi-5.6.1 libapt-pkg-libc6.2-3-2-3.2
Reading Package Lists... Done
Building Dependency Tree... Done
Note, selecting perl-base instead of perlapi-5.6.1
perl-base is already the newest version.
Note, selecting apt instead of libapt-pkg-libc6.2-3-2-3.2
apt is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 621 not upgraded.

Was nu?

Ich könnte mir ja vorstellen, daß apt-file auch ohne die aufgelösten Abhängigkeiten funktioniert, aber ich bekomme es nicht installiert:

Code: Alles auswählen

#apt-get install --ignore-missing apt-file
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  apt-file: Depends: libapt-pkg-perl but it is not going to be installed
E: Broken packages


#apt-get install --download-only apt-file
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  apt-file: Depends: libapt-pkg-perl but it is not going to be installed
E: Broken packages
Langsam bekomme ich das Gefühl, ich sollte erstmal apt-get umschreiben, damit er auch macht, was ich ihm sage.

weedy.

Antworten