[oe] mongodb_git.bb (thud-mongodb4.0) > EXTRA_OESCONS mongod mongos
Knoppix
theknoppix at gmail.com
Thu Feb 14 13:09:59 UTC 2019
(Excuse me for my english I am not native)
I am trying to install mongodb. Everything is okey if I just add the recipe
to my image. But I need "mongo - the database shell" and all mongo's
configuration files (i.e: systemd service, /etc conf files) (does the
installation copy conf files automatically or should I copy it manually?)
After installed successfully with default settings, on the yocto image
there isn't mongo binary but just mongod mongos.
I am not sure these are possible or not.
When I add "mongo" (mongo shell) keyword to mongodb_git.bb EXTRA_OESCONS
section, bitbake gives me error. And I cannot figure out what's the problem?
Does mongodb_git.bb recipe support mongo shell and conf files?
Could you pleae advice me anything? There is no enough documentation for
understand why mongodb_git.bb recipe's OESCONS doesn't contain mongo.
--
Error:
EXTRA_OESCONS = "--prefix=${D}${prefix} \
LIBPATH=${STAGING_LIBDIR} \
LINKFLAGS='${LDFLAGS}' \
CXXFLAGS='${CXXFLAGS}' \
TARGET_ARCH=${TARGET_ARCH} \
--ssl \
--disable-warnings-as-errors \
--use-system-pcre \
--use-system-zlib \
--js-engine=none \
--nostrip \
--endian=${@oe.utils.conditional('SITEINFO_ENDIANNESS',
'le', 'little', 'big', d)} \
--wiredtiger=${@['off','on'][d.getVar('SITEINFO_BITS') !=
'32']} \
${PACKAGECONFIG_CONFARGS} \
mongod mongo mongos"
--
| scons: *** Do not know how to make File target `mongo'
(/mnt/work/build-rpi-mt/tmp/work/aarch64-poky-linux/mongodb/4.0.1+gitAUTOINC+54f1582fc6-r0/git/mongo).
Stop.
| Skipping ranlib for thin archive
build/opt/mongo/db/libcommand_generic_argument.a
| Skipping ranlib for thin archive
build/opt/mongo/db/s/libsharding_runtime_d.a
| scons: building terminated because of errors.
| mongo failed: Do not know how to make File target `mongo'
(/mnt/work/build-rpi-mt/tmp/work/aarch64-poky-linux/mongodb/4.0.1+gitAUTOINC+54f1582fc6-r0/git/mongo).
| ERROR: scons build execution failed.
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at
/mnt/work/build-rpi-mt/tmp/work/aarch64-poky-linux/mongodb/4.0.1+gitAUTOINC+54f1582fc6-r0/temp/log.do_compile.4225)
ERROR: Task
(/home/deb/yocto/poky/meta-openembedded/meta-oe/recipes-dbs/mongodb/mongodb_git.bb:do_compile)
failed with exit code '1'
NOTE: Tasks Summary: Attempted 3460 tasks of which 2625 didn't need to be
rerun and 1 failed.
Summary: 1 task failed:
/home/deb/yocto/poky/meta-openembedded/meta-oe/recipes-dbs/mongodb/mongodb_git.bb:
do_compile
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
--
More information about the Openembedded-devel
mailing list