2014-01-22 103 views
0

我想用bitbake(openembedded classic,bitbake)編譯gcc-cross,但是在desktop-file-utils上並因此在桌面文件-utils-native-0.16上失敗。已經安裝了libglib和pkg配置顯示我能說會道,2.0爲可用。(Ubuntu的12.04,64位)Bitbake在編譯gcc-cross時失敗

pkg-config --modversion glib-2.0 
2.32.4 

Build Configuration: 
BB_VERSION  = "1.13.3" 
METADATA_BRANCH = "master" 
METADATA_REVISION = "5d95b1c" 
TARGET_ARCH  = "arm" 
TARGET_OS   = "linux-gnueabi" 
MACHINE   = "beagleboard" 
DISTRO   = "angstrom" 
DISTRO_VERSION = "v2014.01" 
TARGET_FPU  = "hard" 

有人哪些依賴條件我錯過任何想法? (無解bitbake的更新和對OpenEmbedded的最新版本)

/home/user/development/oe/tmp/work/i686-linux/desktop-file-utils-native-0.16-r0/desktop-file-utils-0.16/configure: line 11285: syntax error near unexpected token `DESKTOP_FILE_UTILS,' 
/home/user/development/oe/tmp/work/i686-linux/desktop-file-utils-native-0.16-r0/desktop-file-utils-0.16/configure: line 11285: `PKG_CHECK_MODULES(DESKTOP_FILE_UTILS, glib-2.0 >= 2.8.0)' 
NOTE: package desktop-file-utils-native-0.16-r0: task do_configure: Failed 
ERROR: Task 68 (virtual:native:/home/user/development/oe/openembedded/recipes/desktop-file-utils/desktop-file-utils_0.16.bb, do_configure) failed with exit code '1' 
ERROR: 'virtual:native:/home/user/development/oe/openembedded/recipes/desktop-file-utils/desktop-file-utils_0.16.bb' failed 

謝謝

回答

0

所以,我找到了解決方案。 在生成機器上沒有安裝glib-2.0。 因此,您必須編譯gettext-native,pkgconfig-native,glib-2.0-native (pkg-config和glib具有循環依賴性)。 完成這些步驟後,所有文件都編譯好了