Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: soundcheck on July 12, 2009, 07:20:15 AM

Title: Configure fails on Atom Z530 - Help needed!
Post by: soundcheck on July 12, 2009, 07:20:15 AM
Hi there.

The first time I am trying to compile an application (music player daemon) with TC.

I tried to install some kind of design environment: (BTW is there a Wiki or HowTo for setting this up?)

Apps I selected for now:

gcc
binutils
make
cmake
glib2
m4
gawk
kernel-headers

& respective devs

I failed setting up an autoconf environment to be able to compile from git sources:

git
autoconf
automake

MISSING:
autoheaders
aclocal


Q1:
I then tried to configure the sources from a tarball.

The configure failed with a message that it cannot create executables.

Is anything missing up there?

Q2.

I goggled the error message and it seems that glib could have something to do with it.

I read somewhere that glib needs to match the processor architecture. 
Do i need glib 2.4 + 2.4 devs that are supporting the Atom Z530 processor? Unfortunately I couldn't find it in the repo. I don't even know if this is really needed.

Q3: Where can I get the missing packages for running the autoconf process?


Please apologize my limited understanding of all above. I am quite new to do this kind of work from scratch. I'd really appreciate your support.


THX











Title: Re: Configure fails on Atom Z530 - Help needed!
Post by: curaga on July 12, 2009, 07:39:55 AM
Get the compiletc meta-package; it depends on most common compiling packages, and should get rid of the "cannot create executables" part.
Title: Re: Configure fails on Atom Z530 - Help needed!
Post by: soundcheck on July 12, 2009, 09:36:29 AM

Great advise. This solved it.

Would be great to put a comment or a chapter in the Wiki. Perhaps it should be stated in the "HowTo make a TCE-Wiki".

Again THX a lot.
Title: Re: Configure fails on Atom Z530 - Help needed!
Post by: ^thehatsrule^ on July 12, 2009, 12:59:41 PM
There is a wiki page called "creating extensions"
Title: Re: Configure fails on Atom Z530 - Help needed!
Post by: soundcheck on July 12, 2009, 02:10:14 PM

Yeah. I know. Would be nice to put in a reference to the "compile" meta-package.
Title: Re: Configure fails on Atom Z530 - Help needed!
Post by: curaga on July 12, 2009, 02:27:14 PM
Quote
1. Installing
If compiling, the compiletc extension should be used.

Wiki, Creating extensions
Title: Re: Configure fails on Atom Z530 - Help needed!
Post by: soundcheck on July 13, 2009, 04:21:44 AM

Sorry for the confusion. I just overlooked it. ;)

Anyhow -- I got my Music Player Daemon Running now. :D