Próbuję zainstalować oprogramowanie na moim komputerze Mac; jednak wciąż otrzymuję ten sam błąd:Nie można znaleźć błędu pkg-config.
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
Nie jestem do końca pewien, jak dodać pkg-config do PATH. Widziałem w Internecie (patrz link), że należy dodać następujące:
Link showing how to direct PATH variable
export PATH=$PATH:/opt/local/bin # Fixed typo as mentioned in comment
czyli tam, gdzie umieściłem pkg-config. Nadal jednak otrzymuję błąd za każdym razem, gdy próbuję skonfigurować pliki za pomocą ./configure. Każda pomoc będzie bardzo ceniona!
brakuje dwukropka w 'export PATH = $ PATH :/opt/local/bin'. Zakłada się, że '/ opt/local/bin/pkg-config' istnieje i jest wersją, którą chcesz. – tripleee
Moje przeprosiny za literówkę. Problem polega na tym, że po wpisaniu tego w terminalu, a następnie w poleceniu ./configure, nadal pojawia się ten błąd. Jakieś pomysły dotyczące tego, co może być problemem? – Shinobii
Co to jest wyjście z 'which pkg-config'? – StvnW