sexta-feira, 16 de janeiro de 2026

Programa "poedit" construído a partir do código-fonte - parte três

Parte três da saga
Conforme já anotado na parte um, não basta ter-se as bibliotecas originárias do pacote "wxWidgets" instaladas no sistema. O programa "poedit" exige a biblioteca "wxWebView" (também proveniente do pacote "wxWidgets") instalada no sistema como condição necessária para ser construído.
No entanto, conforme anotado na parte dois, é possível ter-se as bibliotecas originárias do pacote "wxWidgets" já instaladas no sistema, porém sem a biblioteca "wxWebView" instalada.
Nesta parte três, registra-se que o conjunto de comandos sequenciados de configuração do pacote "wxWidgets" falhou em identificar a presença do pacote "WebKitGTK" (que já estava instalado no sistema). O WebKitGTK é exigido para construir o componente wxWebView. Abaixo está parte da saída gerada pelo conjunto de comandos sequenciados de configuração do pacote wxWidgets:
Saída gerada pelo comando <grep --ignore-case webkit config.log> executado dentro do diretório de construção do pacote wxWidgets:
configure:42133: checking for WEBKIT
configure:42141: $PKG_CONFIG --exists --print-errors "webkit2gtk-4.1"
Package webkit2gtk-4.1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `webkit2gtk-4.1.pc'
Package 'webkit2gtk-4.1' not found
configure:42159: $PKG_CONFIG --exists --print-errors "webkit2gtk-4.1"
Package webkit2gtk-4.1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `webkit2gtk-4.1.pc'
Package 'webkit2gtk-4.1' not found
Package 'webkit2gtk-4.1' not found
configure:42191: WARNING: webkit2gtk-4.1 not found, falling back to webkit2gtk-4.0
configure:42213: checking for WEBKIT
configure:42221: $PKG_CONFIG --exists --print-errors "webkit2gtk-4.0"
Package webkit2gtk-4.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `webkit2gtk-4.0.pc'
Package 'webkit2gtk-4.0' not found
configure:42239: $PKG_CONFIG --exists --print-errors "webkit2gtk-4.0"
Package webkit2gtk-4.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `webkit2gtk-4.0.pc'
Package 'webkit2gtk-4.0' not found
Package 'webkit2gtk-4.0' not found
configure:42271: WARNING: webkit2gtk-4.0 not found, falling back to webkitgtk
configure:42299: checking for WEBKIT
configure:42307: $PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1"
Package webkitgtk-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `webkitgtk-3.0.pc'
Package 'webkitgtk-3.0' not found
configure:42325: $PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1"
Package webkitgtk-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `webkitgtk-3.0.pc'
Package 'webkitgtk-3.0' not found
Package 'webkitgtk-3.0' not found
configure:42357: WARNING: webkitgtk not found.
configure:42394: WARNING: WebKit not available, disabling wxWebView
ac_cv_env_WEBKIT_CFLAGS_set=
ac_cv_env_WEBKIT_CFLAGS_value=
ac_cv_env_WEBKIT_LIBS_set=
ac_cv_env_WEBKIT_LIBS_value=
wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=${DEFAULT_wxUSE_WEBVIEW_WEBKIT:-yes}'
COND_USE_WEBVIEW_WEBKIT2_1='#'
WEBKIT_CFLAGS=''
WEBKIT_LIBS=''

No entanto, o pacote WebKitGTK já estava instalado no sistema:


ls -l /usr/lib/pkgconfig/web*
-rw-r--r-- 1 root root 326 jan 14 09:22 /usr/lib/pkgconfig/webkitgtk-6.0.pc
-rw-r--r-- 1 root root 374 jan 14 09:22 /usr/lib/pkgconfig/webkitgtk-web-process-extension-6.0.pc


grep --extended-regexp 'pkgconfig' /home/jamenson/blfs_root/work/logs/010-z-webkitgtk

-- Installing: /usr/lib/pkgconfig/javascriptcoregtk-6.0.pc
-- Installing: /usr/lib/pkgconfig/webkitgtk-6.0.pc
-- Installing: /usr/lib/pkgconfig/webkitgtk-web-process-extension-6.0.pc

Jamenson Ferreira Espindula de Almeida Melo
Jaboatão dos Guararapes, Pernambuco, Brasil
Usuário GNU/Linux nº 166197; LFS ID 24492
Key fingerprint: 234D 1914 4224 7C53 BD13 6855 2AE0 25C0 08A8 6180

Nenhum comentário:

Postar um comentário