[ELDK] Rebuilding target package!

H Aslam hassan-aslam at hotmail.com
Sun Mar 1 18:58:25 CET 2009


Hi again,

> Fix the build problems until it works, then submit a patch.

> > [root at fedora REBUILDS]# ${CROSS_COMPILE}rpmbuild -ba --define="_topdir `pwd`" SPECS/pkgconfig.spec
> ...
> > + ./configure --host=i386-pc-linux-gnu --build=i386-pc-linux-gnu --target=ppc-denx-linux --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --disable-shared --with-pc-path=/usr/lib/pkgconfig:/usr/share/pkgconfig
> > checking for a BSD-compatible install... /usr/bin/install -c
> > checking whether build environment is sane... yes
> > checking for gawk... gawk
> > checking whether make sets $(MAKE)... yes
> > checking whether to enable maintainer-specific portions of Makefiles... no
> > checking build system type... i386-pc-linux-gnu
> > checking host system type... i386-pc-linux-gnu
> > checking for style of include used by make... GNU
> > checking for i386-pc-linux-gnu-gcc... no
> > checking for gcc... gcc
> > checking for C compiler default output file name... a.out
> > checking whether the C compiler works... configure: error: cannot run C compiled programs.
> > If you meant to cross compile, use `--host'.
> > See `config.log' for more details.
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> You should probably do that. Then try and seed the config tool with
> correct config information for the target (ac_cv_* settings, see other
> spec files).


Not sure what to look for... or do for that matter...  I've been looking at the perl.spec file and the config.log for pkgconfig but can't seem to figure it out. All that I can see that a eldk patch is included in the perl.spec file which I also took a look at..

> > checking whether the C compiler works... configure: error: cannot run C compiled programs.

I'm guessing that this is the main problem?


_________________________________________________________________
Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us


More information about the eldk mailing list