Hello,
I just started do development for Embedded devices, using Gumstix Overo. I
created build environment with Ubuntu 10.04.1 (LTS), got the latest version of
recipes and checked out Bitbake 1.10.0. Before that I had one month old recipes
and Ubuntu 08.10 with Bitbake 1.08.X as build environment. And a lot of things
did not compile.
First of all nice to see that Apache 2.2.14 with OpenSSL 1.0.0a compiled out of
the box. The problem with modphp is that it does not find some files, which
have been staged.
| Configuring SAPI modules| checking for AOLserver support... no| checking for
Apache 1.x module support via DSO through APXS... no| checking for Apache 1.x
module support... no| checking whether to enable Apache charset compatibility
option... no| checking for Apache 2.0 filter-module support via DSO through
APXS... no| checking for Apache 2.0 handler-module support via DSO through
APXS...| | Sorry, I cannot run apxs. Possible reasons follow:| | 1. Perl is
not installed| 2. apxs was not found. Try to pass the path using
--with-apxs2=/path/to/apxs| 3. Apache was not built using --enable-so (the apxs
usage page is displayed)| | The output of
/home/david/overo-oe/tmp/sysroots/i686-linux/usr/bin/apxs follows:| cannot open
/home/david/overo-oe/tmp/sysroots/i686-linux/usr/build/config_vars.mk: No such
file or directory at /home/david/overo-oe/tmp/sysroots/i686-linux/usr/bin/apxs
line 218.| configure: error: Aborting| ERROR: Function do_configure failedNOTE:
package modphp-5.2.13-r3: task do_configure: Failed
Under ~/overo-oe/tmp/work/i686-linux/apache2-native-2.2.14-r2/image there is
two folders, home and usr. 'home' contains all the files that are staged, 'usr'
contains exactly those files which modphp is looking for, but are not staged
into i686-linux. Wrong paths?
Additional to that, you have wrong links for modphp and php recipes.
--- a/recipes/php/php.inc+++ b/recipes/php/php.inc@@ -3,7 +3,7 @@ HOMEPAGE =
"http://www.php.net" SECTION = "console/network" LICENSE = "PHP" -SRC_URI =
"http://us2.php.net/distributions/php-${PV}.tar.bz2;name=src \+SRC_URI =
"http://museum.php.net/php5/php-${PV}.tar.bz2;name=src \
file://acinclude-xml2-config.patch \ file://php-m4-divert.patch"
php recipe does not compile too. It is not capable of finding OpenSSL
libcrypto.so. The problem is that it is staged into arm7v and i686. So
everything what is requires is already in place, but it is still not capable of
finding it.
da...@david-laptop:~/overo-oe/tmp$ find . -name
"libcrypto.so"./sysroots/i686-linux/usr/lib/libcrypto.so./sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/libcrypto.so
| checking for pkg-config...
/home/david/overo-oe/tmp/sysroots/i686-linux/usr/bin/pkg-config| checking for
OpenSSL version... >= 0.9.6| checking for CRYPTO_free in -lcrypto... no|
configure: error: libcrypto not found!| ERROR: Function do_configure
failedNOTE: package php-5.2.13-r7: task do_configure: FailedERROR: TaskFailed
event exception, abortingERROR: Build of
/home/david/overo-oe/org.openembedded.dev/recipes/php/php_5.2.13.bb
do_configure failedERROR: Task 11
(/home/david/overo-oe/org.openembedded.dev/recipes/php/php_5.2.13.bb,
do_configure) failed with 256ERROR:
'/home/david/overo-oe/org.openembedded.dev/recipes/php/php_5.2.13.bb'
failedERROR:
'/home/david/overo-oe/org.openembedded.dev/recipes/php/php_5.2.13.bb' failed
Idea was remove everything relates to OpenSSL, and now problems with MySQL 5:|
checking for mSQL support... no| checking for MSSQL support via FreeTDS... no|
checking for MySQL support... yes| checking for specified location of the MySQL
UNIX socket... no| checking for MySQL UNIX socket location... no| checking for
mysql_close in -lmysqlclient... no| checking for mysql_error in
-lmysqlclient... no| configure: error: mysql configure failed. Please check
config.log for more information.| ERROR: Function do_configure failed
Remove MySQL support and you get problem:| checking for ncurses support... no|
checking for Oracle (OCI8) support... no| checking whether to enable pcntl
support... yes| checking for fork... no| configure: error: pcntl: fork() not
supported by this platform
Looking at the messages I would think that it can not see libs/includes. All
those required packages which on PHP, compiles without any problem separately.
I hope someone with enough knowledge is going to look at the problem. There is
a discussion on Gumstix mailing list, I am not the only one with this problem.
Regards,david
_______________________________________________
Angstrom-distro-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel