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

Re: [solved]Installation einer alternativen lib-Version



Hallo nochmal,

also für's Archiv:
nach vielen fruchtlosen Experimenten fand ich schliesslich heraus, dass
vor ./configure einige Compiler Flags gesetzt werden müssen.
Aus ./configure --help:

(...)
Some influential environment variables:
CC C compiler command
CFLAGS C compiler flags
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
nonstandard directory <lib dir>
LIBS libraries to pass to the linker, e.g. -l<library>
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
you have headers in a nonstandard directory <include dir>
CPP C preprocessor
CXX C++ compiler command
CXXFLAGS C++ compiler flags

Schliesslich waren es folgende Settings die erfolgreich waren:

$ export LDFLAGS="-L/opt/matroska/lib $LDFLAGS"
$ export CPPFLAGS="-I/opt/matroska/include $CPPFLAGS"
$ ./configure --prefix=/opt/matroska

Hätte ich eher gemerkt, dass ./configure die Headers in einem "matroska"
Unterverzeichnis sucht, hätte ich das wohl schneller herausgefunden ;)
Also, nach dem Verschieben des Inhalts von /opt/matroska/include
nach /opt/matroska/include/matroska und den obigen beiden Befehlen liess
sich mkvtoolnix schliesslich kompilieren, und nach einem

$ export LD_LIBRARY_PATH=/opt/matroska/lib:$LD_LIBRARY_PATH

kann ich /opt/matroska/bin/mkvmerge jetzt auch verwenden :))

Grüsse

Michael


.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

	"No one talks peace unless he's ready to back it up with war."
	"He talks of peace if it is the only way to live."
		-- Colonel Green and Surak of Vulcan, "The Savage
Curtain", stardate 5906.5.


Reply to: