OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

4 Pages V  < 1 2 3 4 >  
Reply to this topicStart new topic
> Why Not Cutting Edge?
ShiroiKuma
post May 18 2006, 10:52 AM
Post #31





Group: Members
Posts: 902
Joined: 22-May 04
Member No.: 3,385



I've gotten further, I added the three following lines to conf/local.conf
CODE
PREFERRED_PROVIDERS += " virtual/arm-gcc-initial:gcc-cross-initial"
PREFERRED_PROVIDERS += " virtual/arm-gcc:gcc-cross"
PREFERRED_PROVIDERS += " virtual/arm-g++:gcc-cross"

It went through, no more of the previous complaints. Built autoconf-native and libtool-native, but now I get the following:
CODE
# bitbake php
NOTE: Using cache in '/home/cvs/oe/build/tmp/cache'
NOTE: Parsing finished. 3246 cached, 0 parsed, 135 skipped, 0 masked.
ERROR: Nothing provides dependency virtual/arm-linux-gcc
NOTE:
ERROR: dependency virtual/arm-linux-gcc (for php) not satisfied
NOTE: no buildable providers for php
NOTE:
#

I have no clue what to do now?

Can you please help me?
Go to the top of the page
 
+Quote Post
lardman
post May 19 2006, 01:46 AM
Post #32





Group: Members
Posts: 4,515
Joined: 25-October 03
From: Bath, UK
Member No.: 464



For irc, find yourself an irc client (I don't know what one would use under Linux, but under WinXP I'm using something called "Visual IRC")

Then connect to irc.freenode.net, and join the #oe channel (by issuing the command '/join #oe')

Otherwise you could try the oe mailing list: http://oe.handhelds.org/contact.php

Si

P.S.

QUOTE
CODE
PREFERRED_PROVIDERS += " virtual/arm-gcc-initial:gcc-cross-initial"
PREFERRED_PROVIDERS += " virtual/arm-gcc:gcc-cross"
PREFERRED_PROVIDERS += " virtual/arm-g++:gcc-cross"


should be

CODE
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc:gcc-cross"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross"


arm is not the arch name of the toolchain.
Go to the top of the page
 
+Quote Post
ShiroiKuma
post May 19 2006, 02:31 AM
Post #33





Group: Members
Posts: 902
Joined: 22-May 04
Member No.: 3,385



I still don't know what to do about the above error, but I tried just to compile php5 and get the familiar C compiler cannot create executables error. [CODE]debian:/home/cvs/oe/build# bitbake -b /home/cvs/oe/org.openembedded.dev/packages/php/php_5.0.5.bb
NOTE: package php-5.0.5: started
NOTE: package php-5.0.5-r0: task do_fetch: started
NOTE: package php-5.0.5-r0: task do_fetch: completed
NOTE: package php-5.0.5-r0: task do_configure: started
ERROR: function do_configure failed
ERROR: log data follows (/home/cvs/oe/build/tmp/work/php-5.0.5-r0/temp/log.do_configure.8268)
| automake (GNU automake) 1.9.3
| Written by Tom Tromey <tromey@redhat.com>.
|
| Copyright 2004 Free Software Foundation, Inc.
| This is free software; see the source for copying conditions. There is NO
| warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
| AUTOV is 1.9
| NOTE: Executing autoreconf --verbose --install --force --exclude=autopoint -I /home/cvs/oe/build/tmp/staging/arm-linux/share/aclocal-1.9 -I /home/cvs/oe/build/tmp/staging/arm-linux/share/aclocal
| autoreconf: Entering directory `.'
| autoreconf: configure.in: not using Gettext
| autoreconf: running: aclocal -I /home/cvs/oe/build/tmp/staging/arm-linux/share/aclocal-1.9 -I /home/cvs/oe/build/tmp/staging/arm-linux/share/aclocal --force
| configure.in:150: warning: AC_PROG_LEX invoked multiple times
| autoconf/programs.m4:438: AC_DECL_YYTEXT is expanded from...
| configure.in:150: the top level
| autoreconf: configure.in: tracing
| configure.in:150: warning: AC_PROG_LEX invoked multiple times
| autoconf/programs.m4:438: AC_DECL_YYTEXT is expanded from...
| configure.in:150: the top level
| configure.in:436: warning: AC_RUN_IFELSE called without default to allow cross compiling
| autoconf/general.m4:2282: AC_RUN_IFELSE is expanded from...
| autoconf/general.m4:2290: AC_TRY_RUN is expanded from...
| acinclude.m4:1591: PHP_FOPENCOOKIE is expanded from...
| configure.in:436: the top level
| configure.in:624: warning: AC_RUN_IFELSE called without default to allow cross compiling
| autoconf/general.m4:1800: AC_CACHE_VAL is expanded from...
| autoconf/general.m4:1809: AC_CACHE_CHECK is expanded from...
| configure.in:624: the top level
| configure.in:635: warning: AC_RUN_IFELSE called without default to allow cross compiling
| acinclude.m4:614: PHP_TIME_R_TYPE is expanded from...
| configure.in:635: the top level
| ext/iconv/config.m4:118: warning: AC_RUN_IFELSE called without default to allow cross compiling
| ext/iconv/config.m4:118: the top level
| autoreconf: running: libtoolize --copy --force
| configure.in:150: warning: AC_PROG_LEX invoked multiple times
| autoconf/programs.m4:438: AC_DECL_YYTEXT is expanded from...
| configure.in:150: the top level
| autoreconf: running: /home/cvs/oe/build/tmp/staging/i686-linux/bin/autoconf --include=/home/cvs/oe/build/tmp/staging/arm-linux/share/aclocal-1.9 --include=/home/cvs/oe/build/tmp/staging/arm-linux/share/aclocal --force --warnings=cross
| configure.in:150: warning: AC_PROG_LEX invoked multiple times
| autoconf/programs.m4:438: AC_DECL_YYTEXT is expanded from...
| configure.in:150: the top level
| configure.in:436: warning: AC_RUN_IFELSE called without default to allow cross compiling
| autoconf/general.m4:2282: AC_RUN_IFELSE is expanded from...
| autoconf/general.m4:2290: AC_TRY_RUN is expanded from...
| acinclude.m4:1591: PHP_FOPENCOOKIE is expanded from...
| configure.in:436: the top level
| configure.in:624: warning: AC_RUN_IFELSE called without default to allow cross compiling
| autoconf/general.m4:1800: AC_CACHE_VAL is expanded from...
| autoconf/general.m4:1809: AC_CACHE_CHECK is expanded from...
| configure.in:624: the top level
| configure.in:635: warning: AC_RUN_IFELSE called without default to allow cross compiling
| acinclude.m4:614: PHP_TIME_R_TYPE is expanded from...
| configure.in:635: the top level
| ext/iconv/config.m4:118: warning: AC_RUN_IFELSE called without default to allow cross compiling
| ext/iconv/config.m4:118: the top level
| autoreconf: running: /home/cvs/oe/build/tmp/staging/i686-linux/bin/autoheader --include=/home/cvs/oe/build/tmp/staging/arm-linux/share/aclocal-1.9 --include=/home/cvs/oe/build/tmp/staging/arm-linux/share/aclocal --force --warnings=cross
| autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
| autoheader: WARNING: and `config.h.top', to define templates for `config.h.in'
| autoheader: WARNING: is deprecated and discouraged.
| autoheader:
| autoheader: WARNING: Using the third argument of `AC_DEFINE' and
| autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
| autoheader: WARNING: `acconfig.h':
| autoheader:
| autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,
| autoheader: [Define if a function `main' is needed.])
| autoheader:
| autoheader: WARNING: More sophisticated templates can also be produced, see the
| autoheader: WARNING: documentation.
| configure.in:150: warning: AC_PROG_LEX invoked multiple times
| autoconf/programs.m4:438: AC_DECL_YYTEXT is expanded from...
| configure.in:150: the top level
| autoreconf: configure.in: not using Automake
| autoreconf: running: gnu-configize
| configure.in:150: warning: AC_PROG_LEX invoked multiple times
| autoconf/programs.m4:438: AC_DECL_YYTEXT is expanded from...
| configure.in:150: the top level
| autoreconf: Leaving directory `.'
| NOTE: Running /home/cvs/oe/build/tmp/work/php-5.0.5-r0/php-5.0.5/configure --build=i686-linux --host=arm-linux --target=arm-linux --prefix=/usr --exec_prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/usr/com --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include --oldincludedir=/usr/include --infodir=/usr/share/info --mandir=/usr/share/man --with-cgi --enable-sockets --enable-pcntl --with-mysql=/home/cvs/oe/build/tmp/staging/arm-linux/lib/.. --with-zlib --with-zlib-dir=/home/cvs/oe/build/tmp/staging/arm-linux/lib/.. --without-libpng --without-libjpeg --with-config-file-path=/etc/php5 --cache-file=config.cache --disable-debug --disable-rpath --enable-bcmath --enable-calendar --enable-maintainer-zts --enable-embed=shared --enable-force-cgi-redirect --enable-ftp --enable-inline-optimization --enable-magic-quotes --enable-memory-limit --enable-pic --enable-safe-mode --enable-sockets --enable-track-vars --enable-trans-sid --enable-wddx --sysconfdir=/etc/appWeb --with-exec-dir=/etc/appWeb/exec -
Go to the top of the page
 
+Quote Post
koen
post May 19 2006, 02:39 AM
Post #34





Group: Members
Posts: 1,014
Joined: 4-January 05
From: Enschede, The Netherlands
Member No.: 6,107



do not use '-b' if you don't know what the implications are.
Go to the top of the page
 
+Quote Post
ShiroiKuma
post May 19 2006, 02:45 AM
Post #35





Group: Members
Posts: 902
Joined: 22-May 04
Member No.: 3,385



QUOTE(koen @ May 19 2006, 11:39 AM)
do not use '-b' if you don't know what the implications are.
*

OK, I thought it's just like a way to build the indiv. file without going through related dependencies or something.

So, if I understand correctly what you're saying, this won't go for instance for building php 5.

So, I should
CODE
bitbake php
right?

If that's the case, what is the:
CODE
# bitbake php
NOTE: Using cache in '/home/cvs/oe/build/tmp/cache'
NOTE: Parsing finished. 3246 cached, 0 parsed, 135 skipped, 0 masked.
ERROR: Nothing provides dependency virtual/arm-linux-gcc
NOTE:
ERROR: dependency virtual/arm-linux-gcc (for php) not satisfied
NOTE: no buildable providers for php
NOTE:
#
and how do I proceed from here?
Go to the top of the page
 
+Quote Post
ShiroiKuma
post May 19 2006, 02:48 AM
Post #36





Group: Members
Posts: 902
Joined: 22-May 04
Member No.: 3,385



QUOTE(lardman @ May 19 2006, 10:46 AM)
QUOTE
CODE
PREFERRED_PROVIDERS += " virtual/arm-gcc-initial:gcc-cross-initial"
PREFERRED_PROVIDERS += " virtual/arm-gcc:gcc-cross"
PREFERRED_PROVIDERS += " virtual/arm-g++:gcc-cross"


should be

CODE
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc:gcc-cross"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross"


arm is not the arch name of the toolchain.
*


OK, did this. Now I again get the:
CODE
# bitbake php
NOTE: Using cache in '/home/cvs/oe/build/tmp/cache'
NOTE: Parsing finished. 3246 cached, 0 parsed, 135 skipped, 0 masked.
ERROR: Nothing provides dependency virtual/arm-linux-gcc
NOTE:
ERROR: dependency virtual/arm-linux-gcc (for php) not satisfied
NOTE: no buildable providers for php
NOTE:
#
Go to the top of the page
 
+Quote Post
lardman
post May 19 2006, 02:48 AM
Post #37





Group: Members
Posts: 4,515
Joined: 25-October 03
From: Bath, UK
Member No.: 464



I answered your question at the bottom of my post above...

Si

Oops, didn't see that. Ignore me wink.gif

This post has been edited by lardman: May 19 2006, 02:51 AM
Go to the top of the page
 
+Quote Post
koen
post May 19 2006, 02:53 AM
Post #38





Group: Members
Posts: 1,014
Joined: 4-January 05
From: Enschede, The Netherlands
Member No.: 6,107



please update your bitbake to the latest stable and use the correct DISTRO (openzaurus-unstable). The error above indicates that you either have a typo in DISTRO = "openzaurus-unstable" or a wrong value.
Go to the top of the page
 
+Quote Post
ShiroiKuma
post May 19 2006, 02:59 AM
Post #39





Group: Members
Posts: 902
Joined: 22-May 04
Member No.: 3,385



QUOTE(koen @ May 19 2006, 11:53 AM)
please update your bitbake to the latest stable and use the correct DISTRO (openzaurus-unstable). The error above indicates that you either have a typo in DISTRO = "openzaurus-unstable" or a wrong value.
*

OK, could be it, I have DISTRO="openzaurus-3.5.4.1" which I think I took from the flash movie. I'll go change it now and see how it goes.
Go to the top of the page
 
+Quote Post
lardman
post May 19 2006, 03:00 AM
Post #40





Group: Members
Posts: 4,515
Joined: 25-October 03
From: Bath, UK
Member No.: 464



The C compiler test can fail for a number of reasons, only one of which is the C compiler not actually creating executables.

What version of bitbake are you running? Is it the latest stable version?

Can you post the full contents of your local.conf so I can check it.

I'd then remove the contents of the cache (as your local.conf changed when you altered the gcc names).


Si
Go to the top of the page
 
+Quote Post
ShiroiKuma
post May 19 2006, 03:11 AM
Post #41





Group: Members
Posts: 902
Joined: 22-May 04
Member No.: 3,385



QUOTE(lardman @ May 19 2006, 12:00 PM)
Can you post the full contents of your local.conf so I can check it.

I'd then remove the contents of the cache (as your local.conf changed when you altered the gcc names).
*

OK, cleared tmp/cache and am running bitbake php again. The conf/local.con file:
CODE
#
DL_DIR = "/home/cvs"
BBFILES = "/home/cvs/oe/org.openembedded.dev/packages/*/*.bb"
BBMASK = ""
PREFERRED_PROVIDERS = "virtual/qte:qte virtual/libqpe:libqpe-opie"
PREFERRED_PROVIDERS += " virtual/libsdl:libsdl-qpe"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc:gcc-cross"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross"
MACHINE = "spitz"
TARGET_ARCH = "arm"
TARGET_OS = "linux"
TARGET_FPU = "soft"
DISTRO = "openzaurus-unstable"
ENABLE_BINARY_LOCALE_GENERATION
ZKERNEL_VERSION = "2.6"
IMAGE_FSTYPES = "jffs2 tar"
BBINCLUDELOGS = "yes"
CVS_TARBALL_STASH = "http://www.oesources.org/source/current/"
INHERIT += 'patcher'
Go to the top of the page
 
+Quote Post
ShiroiKuma
post May 19 2006, 05:06 AM
Post #42





Group: Members
Posts: 902
Joined: 22-May 04
Member No.: 3,385



I've made some progress.

Changing DISTRO to openzaurus-unstable helped me realize there was a local.conf also in the org.openembedded.dev/conf/ and it was reading this one, though I read that you're supposed to put the local.conf file in the build directory into conf/

So deletel the org.openembedded.dev/conf/local.conf and symlinked the conf/local.conf file there just to make sure.

Now ran bitbake php

It's been going for a couple of hours, downloading binutils, now gcc-cross etc.

Will report on the progress further when I get somewhere. The only thing that makes me unsure is that when bitbake php started it reported DISTRO as openzaurus in the beginning though I checked and it's set as openzaurus-unstable in local.conf.

But so far it's going...

Let's see. smile.gif

Thanks a lot for helping me so far koen and lardman.

I'll be back.
Go to the top of the page
 
+Quote Post
ShiroiKuma
post May 19 2006, 04:25 PM
Post #43





Group: Members
Posts: 902
Joined: 22-May 04
Member No.: 3,385



I think it works fine now, it's really great, it pulls in all the dependencies, downloads, builds...

The only thing, is I still got stuck on this php thing, and it's not an OE problem I think, however since this got it start it I thought I'd ask it here, to maybe find a solution.

bitbake php goes into the penultimate step and configures php and then
CODE
$ tail config.log
checking whether libxml build works...
checking for XMLRPC-EPI support... yes
checking libexpat dir for XMLRPC-EPI... no
checking iconv dir for XMLRPC-EPI... no
checking for iconv... no
checking for libiconv... no
checking for libiconv in -liconv... no
checking for iconv in -liconv... no
configure: error: iconv not found, in order to build xmlrpc you need the iconv library
FATAL: oe_runconf failed

Yet there is iconv in /usr/bin

I even went and downloaded and built GNU libiconv and it's in /usr/local/bin/ yet I still get this failure.

I've googled and found a couple of references to icon not found even when installed which is exactly this prob but all the pages are dead, and I wasn't able to find a solution. What is it?

Hack the php configure script?
Go to the top of the page
 
+Quote Post
lardman
post May 20 2006, 01:40 AM
Post #44





Group: Members
Posts: 4,515
Joined: 25-October 03
From: Bath, UK
Member No.: 464



Presumably you are cross-building php?

I'd have thought that it wants an arm version of libiconv in that case.


Si
Go to the top of the page
 
+Quote Post
ShiroiKuma
post May 20 2006, 02:11 AM
Post #45





Group: Members
Posts: 902
Joined: 22-May 04
Member No.: 3,385



QUOTE(lardman @ May 20 2006, 10:40 AM)
Presumably you are cross-building php?
I'd have thought that it wants an arm version of libiconv in that case.
*

Yeah. I did even bitbake libiconv.

It did build it. But don't know what next. I actually checked and the php5 bb file specifies a --without-libiconv option, which is even more stranger then why it complains about missing libiconv. If you remove that option, the configure fails right away...

Man... I'm realy trying to figure out here what to do with it...
Go to the top of the page
 
+Quote Post

4 Pages V  < 1 2 3 4 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 18th December 2014 - 08:24 AM