Apache2 compile error?
Wei Weng
wweng at kencast.com
Sat Oct 25 02:29:59 UTC 2008
Hi all.
I added apache2 into part of the minimalist-image, by changing the
minimalist-image.bb file:
IMAGE_INSTALL = "task-boot \
util-linux-mount util-linux-umount \
apache2 postgresql \
${DISTRO_SSH_DAEMON} \
angstrom-version \
"
And then I did the normal bitbake minimalist-image. The build process
was done properly without the newline to add apache2 and postgresql.
But then I got this:
| In file included from pcre.c:470:
| chartables.c:21:27: error: pcre_internal.h: No such file or directory
| pcre.c: In function 'pcre_fullinfo':
| pcre.c:780: error: 'pcre_default_tables' undeclared (first use in
this function)
| pcre.c:780: error: (Each undeclared identifier is reported only once
| pcre.c:780: error: for each function it appears in.)
| pcre.c: In function 'pcre_compile':
| pcre.c:4540: error: 'pcre_default_tables' undeclared (first use in
this function)
| pcre.c: In function 'pcre_exec':
| pcre.c:8870: error: 'pcre_default_tables' undeclared (first use in
this function)
| make[3]: *** [pcre.lo] Error 1
| make[3]: Leaving directory
`/WorkSpace/oe/stuff/openembedded/packages/tmp/work/i486-linux/apache2-2.2.3-r5/httpd-2.2.3/srclib/pcre'
| make[2]: *** [all-recursive] Error 1
| make[2]: Leaving directory
`/WorkSpace/oe/stuff/openembedded/packages/tmp/work/i486-linux/apache2-2.2.3-r5/httpd-2.2.3/srclib/pcre'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory
`/WorkSpace/oe/stuff/openembedded/packages/tmp/work/i486-linux/apache2-2.2.3-r5/httpd-2.2.3/srclib'
| make: *** [all-recursive] Error 1
| FATAL: oe_runmake failed
NOTE: Task failed:
/WorkSpace/oe/stuff/openembedded/packages/tmp/work/i486-linux/apache2-2.2.3-r5/temp/log.do_compile.25385
NOTE: package apache2-2.2.3-r5: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package apache2-2.2.3: failed
I checked apache2_2.2.3.bb and it does have pcre as part of the DEPENDS,
DEPENDS = "apache2-native openssl expat pcre"
Where do I do wrong?
Thanks
Wei
More information about the Openembedded-users
mailing list