![]() |
HowTo.OpenSlugNativeCompileEnvironment HistoryHide minor edits - Show changes to markup January 02, 2008, at 05:24 PM
by -- package gone
Changed line 7 from:
to:
July 10, 2006, at 11:46 AM
by --
Added lines 1-2:
This page is deprecated and for historical reference only. See SlugOSNativeCompileEnvironment for the new page. July 08, 2006, at 10:58 PM
by --
Changed line 67 from:
to:
down load and configure gcc --with-low-memory July 08, 2006, at 07:10 PM
by --
Changed lines 68-70 from:
download and install binutils 2.1.7 the ipk seems to work but some of the libs are missing....? to:
the ipk seems to work but some of the libs are missing....? download and install binutils 2.1.7 (not ipk but tar.bz2 from gnu) July 08, 2006, at 07:08 PM
by --
Added lines 68-69:
download and install binutils 2.1.7 July 07, 2006, at 08:55 PM
by -- openslug-native -> slugos-native
Changed line 5 from:
to:
June 26, 2006, at 10:36 PM
by --
Changed lines 68-70 from:
to:
the ipk seems to work but some of the libs are missing....? June 26, 2006, at 08:23 PM
by --
Changed lines 66-69 from:
to:
ipkg --force-overwrite install ipkg-utils June 26, 2006, at 07:07 PM
by -- Cosmetic
Changed lines 34-54 from:
will post musings and tidy up tommeow <Harvy> with openslug-native just installed it and it worked <Harvy> so far I have tried ldconfig <Harvy> stdio.h does not appear to be in /usr/include <Harvy> ah just emerged the libc headers -- found it Signoff: caplink811_log (Success) <Harvy> no it is not -- wrong slug <Harvy> ok more of my soloish witterings where does kernel-dev live not /usr/src koen (n=koen@72.22.143.163) has joined channel #openslug <Harvy> ahh of course libc6-dev and bind-dev were missingggggggggggggggggggggggggggggggggggggg <Harvy> wounder if anybody will ever read this EvilDevil?_ (n=miau@p54A6CE02.dip.t-dialin.net) has joined channel #openslug
Signoff: kami22 ()
<Harvy> Configuring libthread-db1 <Harvy> //usr/lib/ipkg/info/libthread-db1.postinst: 4: ldconfig: not found <Harvy> postinst script returned status 127 <Harvy> ERROR: libthread-db1.postinst returned 127 run /sbin/ldconfig <Harvy> Nothing to be done <Harvy> is slu bug ever goiing to be back up...? to:
stdio.h does not appear to be in /usr/include so install libc6-dev and bind-dev the next problem is configuring libthread-db1 //usr/lib/ipkg/info/libthread-db1.postinst: 4: ldconfig: not found libthread-db1.postinst returned 127 so run /sbin/ldconfig by hand Deleted lines 49-50:
I will tidy this up when I get native to work Changed lines 66-69 from:
having a 2.7 slug and a slug3 is helping as long as I dont get mixed up to:
June 20, 2006, at 10:42 PM
by --
Changed lines 56-57 from:
to:
works with a warning Added lines 60-82:
I will tidy this up when I get native to work nano fails gcc does not seem to be looking for libs in /lib bb -b openembedded/packages/nano/nano_1.3.9.bb NOTE: package nano-1.3.9: started NOTE: package nano-1.3.9-r0: task do_fetch: started NOTE: package nano-1.3.9-r0: task do_fetch: completed NOTE: package nano-1.3.9-r0: task do_package: started NOTE: Couldn't find shared library provider for libncurses.so.5 NOTE: Couldn't find shared library provider for libc.so.6 NOTE: Couldn't find shared library provider for libncurses.so.5 NOTE: Couldn't find shared library provider for libc.so.6 sh: ipkg-build: not found NOTE: Task failed: ipkg-build execution failed NOTE: package nano-1.3.9-r0: task do_package: failed ERROR: TaskFailed? event exception, aborting having a 2.7 slug and a slug3 is helping as long as I dont get mixed up June 20, 2006, at 07:48 PM
by --
Added lines 56-58:
testing with bb -b openembedded/packages/nano/nano_1.3.9.bb June 20, 2006, at 07:45 PM
by --
Changed lines 30-55 from:
The command to:
The command not any more. will post musings and tidy up tommeow <Harvy> with openslug-native just installed it and it worked <Harvy> so far I have tried ldconfig <Harvy> stdio.h does not appear to be in /usr/include <Harvy> ah just emerged the libc headers -- found it Signoff: caplink811_log (Success) <Harvy> no it is not -- wrong slug <Harvy> ok more of my soloish witterings where does kernel-dev live not /usr/src koen (n=koen@72.22.143.163) has joined channel #openslug <Harvy> ahh of course libc6-dev and bind-dev were missingggggggggggggggggggggggggggggggggggggg <Harvy> wounder if anybody will ever read this EvilDevil?_ (n=miau@p54A6CE02.dip.t-dialin.net) has joined channel #openslug
Signoff: kami22 ()
<Harvy> Configuring libthread-db1 <Harvy> //usr/lib/ipkg/info/libthread-db1.postinst: 4: ldconfig: not found <Harvy> postinst script returned status 127 <Harvy> ERROR: libthread-db1.postinst returned 127 run /sbin/ldconfig <Harvy> Nothing to be done <Harvy> is slu bug ever goiing to be back up...? test with gcc -o hello hello.c January 18, 2006, at 09:37 AM
by --
Added lines 15-23:
I had to install boost and zlib in order to get monotone to complile
January 12, 2006, at 12:32 AM
by -- Added build instructions for monotone >=0.24
Added lines 7-14:
At the moment (2006-01-12) it's necessary to download and compile monotone >=0.24 on the slug, because openslug 2.7beta ships with monotone 0.22 and there's no way to use the master Makefile without upgrading to 0.24 or 0.25 by yourself.
This takes even more time. You might get a big cup of coffee. If you haven't de-undeclocked your NSLU2 yet, you'll consider it now... Thinking about setting up a cross-compile environment on your 3 Ghz PC? Yeah, me too. This step will take at least 4 hours on an overclocked slug. December 16, 2005, at 08:35 AM
by -- More info for having a build system
Changed lines 1-2 from:
So you want do compile natively eh ? to:
So you want to compile natively eh ? Added lines 11-13:
The command September 27, 2005, at 04:51 AM
by --
Deleted lines 10-57:
Everything below here is obsoleteHere's how [g2] does it. It may not be the best (I'm open for suggestions), but I've been able to build
Things you'll need
NOTE: When this HowTo was written, binutils and gnu-config were missing from openembedded/packages/meta/openslug-packages.bb If they are not built, add them in the OPENSLUG_DEVELOPMENT section. What to do
Feel empoweredAt this point you are ready to build stuff. You can now do stuff like:
Using BitBake on the slugThis is currently a bit experimental, and might change. September 27, 2005, at 04:50 AM
by --
Added lines 3-14:
Everything below here is obsoleteDeleted lines 58-68:
August 28, 2005, at 09:31 AM
by -- just a little extra, to spare some typing when following this howto
Changed lines 28-29 from:
to:
August 03, 2005, at 03:31 PM
by --
Changed lines 45-46 from:
This is currently highly experimental, and will change alot. to:
This is currently a bit experimental, and might change. Changed line 49 from:
to:
Changed lines 51-56 from:
to:
August 03, 2005, at 03:28 PM
by --
Changed lines 45-46 from:
This is currently highly experimental, and will change alot. This is supposed to be simplified over time. to:
This is currently highly experimental, and will change alot. Changed line 48 from:
to:
Changed lines 52-56 from:
to:
August 03, 2005, at 02:46 PM
by --
Deleted lines 49-50:
Changed lines 51-53 from:
to:
July 31, 2005, at 11:00 PM
by --
Changed line 51 from:
to:
July 31, 2005, at 10:59 PM
by --
Changed lines 55-58 from:
ASSUME_PROVIDED = "libtool-cross libtool-native automake-native autoconf-native \ to:
DISTRO = "openslug-native" July 31, 2005, at 10:29 PM
by --
Changed line 58 from:
BUILD_ARCH = armeb \\ to:
BUILD_ARCH = armeb July 31, 2005, at 10:29 PM
by --
Changed line 51 from:
to:
July 31, 2005, at 10:27 PM
by --
Changed line 53 from:
to:
July 31, 2005, at 10:26 PM
by --
Changed lines 52-53 from:
to:
Deleted lines 58-59:
BBFILES := "${OEROOT}/oe-symlinks/native/*/*.bb"
Changed lines 60-63 from:
to:
July 30, 2005, at 08:39 PM
by --
Changed lines 49-53 from:
to:
July 22, 2005, at 12:40 AM
by --
Changed line 58 from:
to:
July 22, 2005, at 12:40 AM
by --
Changed lines 52-53 from:
/etc/ipkg/perl-feed.conf && ipkg update && ipkg install perl@@, you can build it locally yourself it you want. to:
/etc/ipkg/perl-feed.conf && ipkg update && ipkg install perl@@ July 22, 2005, at 12:37 AM
by --
Changed line 62 from:
BBFILES := "${OEROOT}/oe-symlinks/native/*/*.bb" \\ to:
BBFILES := "${OEROOT}/oe-symlinks/native/*/*.bb" July 22, 2005, at 12:36 AM
by --
Added lines 42-68:
Using BitBake on the slugThis is currently highly experimental, and will change alot. This is supposed to be simplified over time.
June 25, 2005, at 08:16 PM
by --
Changed lines 29-30 from:
NOTE: The three first lines are comments, the 4th line starts with *** BUG. Remove 'em all, leaving only the GROUP-line. to:
June 23, 2005, at 10:14 PM
by -- Perl update
Changed lines 10-11 from:
to:
June 23, 2005, at 11:47 AM
by -- clarification of GROUP-line
Changed line 30 from:
NOTE: The three first lines are comments, the 4th line starts with *** BUG. Remove 'em all. to:
NOTE: The three first lines are comments, the 4th line starts with *** BUG. Remove 'em all, leaving only the GROUP-line. June 22, 2005, at 03:58 AM
by -- /usr/lib/*.so editing.
Changed lines 18-20 from:
to:
NOTE: When this HowTo was written, binutils and gnu-config were missing from openembedded/packages/meta/openslug-packages.bb If they are not built, add them in the OPENSLUG_DEVELOPMENT section. Changed line 30 from:
to:
NOTE: The three first lines are comments, the 4th line starts with *** BUG. Remove 'em all. June 17, 2005, at 06:53 PM
by --
Changed line 25 from:
to:
June 17, 2005, at 06:51 PM
by -- Add OpenSlug native compile information here
Added lines 1-40:
So you want do compile natively eh ? Here's how [g2] does it. It may not be the best (I'm open for suggestions), but I've been able to build
Things you'll need
What to do
Feel empoweredAt this point you are ready to build stuff. You can now do stuff like:
|