hns - 日記自動生成システム - Version 2.19.9

先月 2014年10月 来月
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2014年10月05日() 旧暦 [n年日記] [更新:"2014/10/05 15:08:58"]

#1 [pkgsrc] Project ERROR: Package poppler-qt4 not found

> Log Message:
> Bump 1.8 to 4.0.4, based on PR pkg/48297

pkg-config: not found
Project ERROR: Package poppler-qt4 not found

Joerg
Search where this message came from:
modena@makoto 14:02:43/141005(..wip/texmaker)% foreach i (` pkg_info -qL qt4-tools`)
strings $i | grep "Package " && echo ' ** ' $i
end
Package name
 **  /usr/pkg/qt4/bin/qmake
QT_TRANSLATE_NOOP("QtPackageNames", "Package name")
 **  /usr/pkg/qt4/mkspecs/common/symbian/packageNameForTranslation.cpp
    !packagesExist($$PKGCONFIG_LIB):error("Package $$PKGCONFIG_LIB not found")
 **  /usr/pkg/qt4/mkspecs/features/link_pkgconfig.prf
Look for the particular line in file:
/usr/pkg/qt4/mkspecs/features/link_pkgconfig.prf
 1 # handle pkg-config files
 2 isEmpty(PKG_CONFIG):PKG_CONFIG = pkg-config # keep consistent with qt_functions.prf too!
 3
 4 for(PKGCONFIG_LIB, $$list($$unique(PKGCONFIG))) {
 5     # don't proceed if the .pro asks for a package we don't have!
 6     !packagesExist($$PKGCONFIG_LIB):error("Package $$PKGCONFIG_LIB not found")
 7
 8     PKGCONFIG_CFLAGS = $$system($$PKG_CONFIG --cflags $$PKGCONFIG_LIB)
 9
10     PKGCONFIG_INCLUDEPATH = $$find(PKGCONFIG_CFLAGS, ^-I.*)
11     PKGCONFIG_INCLUDEPATH ~= s/^-I(.*)/\\1/g
12
13     PKGCONFIG_DEFINES = $$find(PKGCONFIG_CFLAGS, ^-D.*)
14     PKGCONFIG_DEFINES ~= s/^-D(.*)/\\1/g
15
16     PKGCONFIG_CFLAGS ~= s/^-[ID].*//g
17
18     INCLUDEPATH *= $$PKGCONFIG_INCLUDEPATH
19     DEFINES *= $$PKGCONFIG_DEFINES
20
21     QMAKE_CXXFLAGS += $$PKGCONFIG_CFLAGS
22     QMAKE_CFLAGS += $$PKGCONFIG_CFLAGS
23     LIBS += $$system($$PKG_CONFIG --libs $$PKGCONFIG_LIB)
24 }
25
packagesExist of above (line 6) is defined in the file:
modena# cat -n /usr/pkg/qt4/mkspecs/features/qt_functions.prf | sed -n 110,999p
110  defineTest(packagesExist) {
111      # this can't be done in global scope here because qt_functions is loaded
112      # before the .pro is parsed, so if the .pro set PKG_CONFIG, we wouldn't know it
113      # yet. oops.
114      isEmpty(PKG_CONFIG):PKG_CONFIG = pkg-config # keep consistent with link_pkgconfig.prf! too
115
116      for(package, ARGS) {
117          !system($$PKG_CONFIG --exists $$package):return(false)
118      }
119
120      return(true)
121  }
122
Check if pkg-config function on poppler related package:
modena# pkg-config --list-all  |grep poppler
poppler               poppler - PDF rendering library
poppler-splash        poppler-splash - Splash backend for Poppler PDF rendering library
poppler-qt4           poppler-qt4 - Qt4 bindings for poppler
See if --exists sub function returns correctly:
modena# foreach i (poppler poppler-splash poppler-qt4)
pkg-config --exists $i || echo $i ' ** not exists ** '
end
poppler-qt4  ** not exists **
modena# 
Strange, poppler-qt4 has a problem. Look for *.pc file
modena# head /usr/pkg/lib/pkgconfig/poppler*
==> /usr/pkg/lib/pkgconfig/poppler-qt4.pc <==
prefix=/usr/pkg
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: poppler-qt4
Description: Qt4 bindings for poppler
Version: 0.26.3
Requires: 
Requires.private: poppler = 0.26.3

==> /usr/pkg/lib/pkgconfig/poppler-splash.pc <==
prefix=/usr/pkg
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: poppler-splash
Description: Splash backend for Poppler PDF rendering library
Version: 0.26.4
Requires: poppler = 0.26.4

==> /usr/pkg/lib/pkgconfig/poppler.pc <==
prefix=/usr/pkg
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: poppler
Description: PDF rendering library
Version: 0.26.4

Libs: -Wl,-R${libdir} -L${libdir} -lpoppler
modena# 
If you change at following, texmaker packaged:
--- /usr/pkg/lib/pkgconfig/poppler-qt4.pc	2014-10-05 14:50:03.000000000 +0900
+++ /usr/pkg/lib/pkgconfig/poppler-qt4.pc.orig	2014-10-05 01:58:06.000000000 +0900
@@ -7,7 +7,7 @@
 Description: Qt4 bindings for poppler
 Version: 0.26.3
 Requires: 
-Requires.private: poppler = 0.26.4
+Requires.private: poppler = 0.26.3
 
 Libs: -Wl,-R${libdir} -L${libdir} -lpoppler-qt4
 Cflags: -I${includedir}/poppler/qt4



最近の日記
2024年03月10日
停電 (瞬電)
2024年03月03日
the second try on bare-metal
useradd
2024年02月29日
opendkim and senmail
2024年01月24日
chat/iam 0.0.8
2024年01月21日
uselocale vs setlocale (textproc/R-readxl)
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)