tar.gz kompilieren (wieder einmal)

nickiberli

Stammgast
Hallo zusammen

Habe immer noch Probleme tar.gz Archive zu kompilieren. Ich möchte den xvidcap installieren. Ich weis es gibt ihn auch als Paket, aber ich möchte wissen, warum es mit dem kompilieren nicht geht.
Also im Install textdokument steht:
The simplest way to compile this package is:

1. `cd' to the directory containing the package's source code and type
`./configure' to configure the package for your system.

Running `configure' might take a while. While running, it prints
some messages telling which features it is checking for.

2. Type `make' to compile the package.

3. Optionally, type `make check' to run any self-tests that come with
the package.

4. Type `make install' to install the programs and any data files and
documentation.

5. You can remove the program binaries and object files from the
source code directory by typing `make clean'. To also remove the
files that `configure' created (so you can compile the package for
a different kind of computer), type `make distclean'. There is
also a `make maintainer-clean' target, but that is intended mainly
for the package's developers. If you use it, you may have to get
all sorts of other programs in order to regenerate files that came
with the distribution.

6. Often, you can also type `make uninstall' to remove the installed
files again.
Wie ich das ganze versucht habe, seht ihr auf dem angehängtem Bild.

Hoffe jemand kann mir sagen was ich falsch gemacht habe und wie ich es richtig machen muss.

MfG nickiberli
 

Anhänge

  • Unbenannt.jpg
    Unbenannt.jpg
    83,1 KB · Aufrufe: 9
Zuletzt bearbeitet:

Juerg Schwarz

Stammgast
Hallo zusammen

Habe immer noch Probleme tar.gz Archive zu kompilieren. Ich möchte den xvidcap installieren. Ich weis es gibt ihn auch als Paket, aber ich möchte wissen, warum es mit dem kompilieren nicht geht.
Also im Install textdokument steht:
Wie ich das ganze versucht habe, seht ihr auf dem angehängtem Bild.

Hoffe jemand kann mir sagen was ich falsch gemacht habe und wie ich es richtig machen muss.

MfG nickiberli

Na dann such mal im Synaptic nach diesem Tool gettext oder so. Das fehlt gemäss Bild. Oder mach gleich apt-get install gettext
 

Gaby Salvisberg

Super-Moderator
Schliesse mich Juergs Hinweis an.

Wie ich aber sehe, bist du nicht root. Falls das wie ein normales Programm installiert werden soll, dann könnten spätestens beim "make install" Root-Rechte gefordert sein. Falls also bei einem der Schritte fehlende Rechte benörgelt werden, dann stell dem Befehl ein sudo voran.

(gilt vermutlich auch für apt-get install gettext)

Gaby
 

nickiberli

Stammgast
Habe dieses gettext mal installiert und das Kompilieren nochmals versucht.
Ging aber immer noch nicht.

nicki@nicki-ubuntu:~$ cd Desktop
nicki@nicki-ubuntu:~/Desktop$ cd xvidcap-1.1.7
nicki@nicki-ubuntu:~/Desktop/xvidcap-1.1.7$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for XML::Parser... ok
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... ranlib
checking for gawk... (cached) mawk
checking for a sed that does not truncate output... /bin/sed
checking for bc... /usr/bin/bc
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for scrollkeeper-config... /usr/bin/scrollkeeper-config
checking for docbook2x-man... no
configure: Couldn't find docbook2x-man to generate current man pages. Will try db2x_docbook2man.
checking for db2x_docbook2man... no
configure: Couldn't find neither docbook2x-man nor db2x_docbook2man to generate current man pages. Will install pre-generated ones if present.
checking for xml2po... /usr/bin/xml2po
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for catalogs to be installed... de en it es
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PACKAGE... configure: error: Package requirements (gtk+-2.0 >= 2.4.0 libglade-2.0 glib-2.0 gthread-2.0) were not met:

No package 'gtk+-2.0' found
No package 'libglade-2.0' found
No package 'glib-2.0' found
No package 'gthread-2.0' found


Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables PACKAGE_CFLAGS
and PACKAGE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
 
Zuletzt bearbeitet:

Gaby Salvisberg

Super-Moderator
gettext kannst du via Synaptic-Paketverwaltung installieren. Dort steht: "GNU Internationalization utilities. Interesting for authors or maintainers of other packages or programs which they want to see internationalized."

Geht also offenbar um die Bereitstellung mehrerer Sprachen innerhalb eines Softwarepakets.

[edit]
Das mit den vielen Abhängigkeiten ist der Grund, warum man möglichst immer die Paketverwaltung verwenden sollte, die mit der Linux-Distribution mitkommt. Bei Ubuntu ist das die Synaptic-Paketverwaltung unter System/Systemverwaltung. Suche dort z.B. mal nach xvidcap. Klicke mit Rechts auf das (wohl einzige) Suchresultat und gehe zu Eigenschaften. Im Register "Abhängigkeiten" siehst du, welche anderen Module benötigt werden.

Die zwei wesentlichen Vorteile der Benutzung der Paketverwaltung: Wenn man eine Anwendung aus der Paketverwaltung installiert, werden einem die benötigten anderen Module gleich mit-vorgeschlagen. Und im Idealfall werden die auch automatisch aktualisiert, wenn es wichtige Updates gibt.
[/edit]

Gaby
 
Zuletzt bearbeitet:
Oben