Ich versuche, einige Software auf meinem Mac zu installieren; jedoch halte ich die gleichen Fehler zu erhalten:Kann pkg-config Fehler nicht finden
configure: error: The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.
Alternatively, you may set the environment variables XMEDCON_GLIB_CFLAGS
and XMEDCON_GLIB_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
See `config.log' for more details
Ich bin nicht ganz sicher, wie über das Hinzufügen des pkg-config, um den Pfad zu gehen. Ich habe online (siehe Link) zu sehen, dass ich hinzufügen, sollte die folgende:
Link showing how to direct PATH variable
export PATH=$PATH:/opt/local/bin # Fixed typo as mentioned in comment
das ist, wo ich pkg-config gesetzt haben. Ich bekomme den Fehler immer noch, wenn ich versuche, die Dateien mit ./configure zu konfigurieren. Jede Hilfe wäre super geschätzt!
Sie PATH einen Doppelpunkt in 'export PATH fehlt = $ :/opt/local/bin'. Dies setzt voraus, dass '/ opt/local/bin/pkg-config' existiert und die gewünschte Version ist. – tripleee
Ich entschuldige mich für den Tippfehler. Das Problem tritt auf, nachdem ich dies in das Terminal eingegeben habe, gefolgt vom Befehl ./configure. Ich erhalte immer noch diesen Fehler. Irgendwelche Ideen, was das Problem sein könnte? – Shinobii
Was ist die Ausgabe von 'which pkg-config'? – StvnW