**** BEGIN LOGGING AT Tue Jun 21 23:59:56 2005 Jun 22 05:12:30 [g2]: Native dev environment built after a few initial hurdles. Now builds stuff :) Jun 22 05:12:54 binutils and gnu-config were missing from OPENSLUG_DEVELOPMENT Jun 22 05:13:35 I've tested building less and samba. Seems to work fine. Jun 22 05:47:10 [g2]: oh, and some compiles automatically strip the compiled binaries, so a symlink to strip would be nice as well Jun 22 06:01:28 <[g2]> NAiL, cool Jun 22 06:02:02 <[g2]> I thought I had added binutils and gnu-config Jun 22 06:02:06 Going to try a real acid-test today. MySQL. If that works, I think most of the stuff I throw at it will compile ;) Jun 22 06:02:27 not that I could see. I did a clean (totally from scratch) build yesterday Jun 22 06:06:19 <[g2]> NAiL, are you running samba then ? Jun 22 06:07:17 [g2]: 3.0.14, natively built. Jun 22 06:07:35 <[g2]> is it any different than the cross built one ? Jun 22 06:07:55 I didn't include ldap, for one. Jun 22 06:08:34 oh, and the paths are sane Jun 22 06:08:35 <[g2]> I mean is there a reason ppl shouldn't use the cross built one Jun 22 06:08:45 <[g2]> like the paths :) Jun 22 06:09:06 No, there's no reason for that as long as the paths are fixed Jun 22 06:09:31 <[g2]> could you do me two favors ? Jun 22 06:09:44 <[g2]> 1) write a slug bug on the path issue for the cross-built samba Jun 22 06:10:04 <[g2]> 2) put up a little howto on using samba native or cross Jun 22 06:10:34 Uh. I don't get what you mean with 2). Working on 1) right now Jun 22 06:11:26 <[g2]> well I installed samba cross and when I went to run it I didn't know what to do Jun 22 06:11:38 <[g2]> there wasn't a /etc/init.d/samba start Jun 22 06:11:46 <[g2]> and smb & Jun 22 06:11:52 <[g2]> did quite cut it Jun 22 06:12:04 aah Jun 22 06:12:16 I've got a init.d/samba set up Jun 22 06:12:18 <[g2]> I'd imagine it's only a couple commands Jun 22 06:13:18 I can add a slugbug for that as well.. Dunno how to include the init script in oe, but I can attach it on slugbug Jun 22 06:28:44 [g2]: Added a couple of bugs. Now I gotta run to be in time for my birthday barty :P Jun 22 06:28:48 party, even Jun 22 06:29:06 I'll add the howto a tad later, problems with formatting Jun 22 06:34:15 <[g2]> NAiL, THX Jun 22 08:34:58 NAiL: in the .bb file the /etc/init.d script is added to the SRC_URI and installed in do_install, then INISCRIPT* is set in the .bb so that bitbake makes the relevant rc file links. ntp/ntp_4.2.0.bb has one example which I think will work. Jun 22 10:30:57 jbowler-away: Ok, I'll take a look at that as soon as I get my dev box up Jun 22 11:26:57 [g2]: I can fix the paths for samba, but I don't know how this will affect other builds? It will fix the build for OpenSlug.. will it break anything else? Jun 22 11:31:29 VoodooZ_Work: ping? Jun 22 11:47:39 NAiL: probably will break other things. If you send me a patch I can work out a way to make it OE-safe. Jun 22 11:51:52 I know the samba configuration is gratuitously non-standard, because I had to hack EXTRA_OECONF to use '--with-mandir' rather than the standard '--mandir' Jun 22 11:53:12 NAiL: You called master? Jun 22 11:57:16 VoodooZ_Work: Did you read the part about the new AVR having a USB2-interface? :D Jun 22 12:03:25 jbowler-away: I'm just trying to pass "--prefix=/usr --sysconfdir=/etc/samba --libexecdir=/usr/sbin --with-privatedir=/etc/samba/private" to configure. Jun 22 12:04:00 the default paths are... well.. Jun 22 12:04:09 NAiL: WHere? Jun 22 12:04:17 USB2??? no way! Jun 22 12:04:25 VoodooZ_Work: Yes. Way :D Jun 22 12:04:43 VoodooZ_Work: I think I'll wait until that one comes along Jun 22 12:05:00 VoodooZ_Work: I mentioned it to VoodooZ-Log earlier, hoping you'd see it Jun 22 12:05:30 He didn't mention whether or not it was host or slave. Or both. Jun 22 12:05:40 Any of those would be very useful to me anyways. Jun 22 12:05:48 What's the model name? Jun 22 12:06:13 Still don't know. Will probably know sometime in July Jun 22 12:06:26 But I'm away the last three weeks of july or so :( Jun 22 12:06:35 i see. I thought it was announced already. Jun 22 12:06:42 I'll check the rumours on avrfreaks.net Jun 22 12:06:54 avrfreaks was very useful btw :D Jun 22 12:06:55 SLAVE mode is plenty good for an AVR. Jun 22 12:06:59 good Jun 22 12:07:09 USB2 is almost overkill. Jun 22 12:07:26 I'd be happy to just USB1 for sensors. Jun 22 12:07:47 But I could connect a camera directly to an AVR that way though for preprocessing. Jun 22 12:09:32 It would be simply brilliant :D Jun 22 12:11:12 NAiL: that libexecdir looks wrong, it should be /usr/libexec. Is something being installed in the wrong place? Jun 22 12:11:16 avrfreaks doesn't seem to have anything about USB on their devices page yet. Jun 22 12:11:50 jbowler-away: That puts "smbd" and "nmbd" in /usr/sbin, which is afaik where most distributions put them Jun 22 12:12:51 That's where they are: /samba/usr/sbin/smbd Jun 22 12:13:02 (i.e. package samba /usr/sbin/smbd) Jun 22 12:13:19 jbowler-away: Sure? In that case, remove the libexec part. Jun 22 12:14:27 jbowler-away: Yeah... strange Jun 22 12:14:49 That just leaves the configuration directories. Jun 22 12:15:44 this is really odd... I was installed in /usr/local before. And smbd/nmbd was in libexec... Jun 22 12:16:00 yeah... just the config.. the prefix isn't needed at all Jun 22 12:16:32 * NAiL wonders who put acid in his food Jun 22 12:16:58 Are you building samba_3.0.14a.bb? Jun 22 12:17:03 yes Jun 22 12:18:01 Look in the 'install' directory (i.e. work/samba*/install) and tell me where the daemon is (i.e. find smbd). Jun 22 12:20:41 it's in /usr/sbin/ Jun 22 12:23:04 I'm just wondering if something moves it in postinstall. It's strange because the defaults seem to put it in usr/sbin. Jun 22 12:24:10 There's a target 'showlayout' in the Makefile, it would really help if the do_compile step did that, oh well... Jun 22 12:28:36 Yeah, that default privatedir is bogus - /usr/private, which means the smbpasswd goes onto /usr. I wonder why they did that. Jun 22 12:29:23 Dunno. But it's very annoying. And smb.conf goes somewhere under /usr as well Jun 22 12:30:32 Yep, CONFIGDIR is set to LIBDIR, which is ${prefix}/lib, so /usr/lib. Jun 22 12:31:10 It's possible that these things are being hack for some other OE system in one of the 'site' files. Jun 22 12:32:04 From the configure help: Jun 22 12:32:05 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] Jun 22 12:32:25 yeah, fhs path Jun 22 12:33:50 samba does have an --with-fhs option. I wonder if that makes it use sane paths. Jun 22 12:35:43 There's something going on in the OE build - somehow something is overriding the default sysconfdir (and maybe other things). Jun 22 12:36:06 I checked openembedded/site/armeb-linux but it isn't in there. Jun 22 12:38:30 What is fhs? Jun 22 12:38:41 Filesystem hierarchy standard Jun 22 12:39:09 which basically explains what goes where. Which should be rather self explanatory ;) Jun 22 12:39:10 OMG: it's there is the configure help! --with-configdir=DIR Where to put configuration files ($libdir) Jun 22 12:39:27 hahaha Jun 22 12:39:34 Ok, maybe we should try building with that. Jun 22 12:40:06 This configure is really weird, they took standard things like 'mandir' and added a pseudo-package 'with-mandir' which causes 'mandir' to be ignored. Jun 22 12:40:33 I know. samba has always been like that Jun 22 12:40:51 mysql isn't much better... Jun 22 12:41:42 Ok, I'll try --with-fhs and if that doesn't produce a sensible set of paths then I'll check through all the --with-foodir options. Jun 22 12:42:13 ok, thx. I'm working on the initscript thingy. Building right now. Jun 22 12:47:50 I just changed the '--with-mandir=${mandir}' in the bb to '--with-fhs' (and bumped the PR). Jun 22 12:49:53 bbl Jun 22 12:50:00 cu Jun 22 14:20:28 jbowler-away: samba finished building, and installs the initscript as it should Jun 22 14:23:52 Great. --with-fhs fixes the path problem, but the hand do_install is broken by it - it needs a little more fixup (because libsmbclient.so ends up in /usr/lib/samba). Jun 22 14:29:14 jbowler-away: Ok, I don't know how to push my change. Can I mail you my patch? Jun 22 14:30:11 Yes - bk checkins are suspended until we get a new source management system! Jun 22 14:30:28 bk send -r jbowler@acm.org Jun 22 14:30:48 that's the diff? Jun 22 14:31:01 Not familiar with bk, so :P Jun 22 14:32:28 There's a diff at http://ipkg.kynisk.com/ipkg/ ;) Jun 22 14:32:37 eh Jun 22 14:32:41 There's a diff at http://ipkg.kynisk.com/patches/ ;) Jun 22 14:36:07 duh Jun 22 14:36:17 * NAiL doesn't think at all. Jun 22 14:38:22 jbowler-away: Ok, the patch for samba_3.0.14a.bb is in patches/, as well as the init-script. Will that do? Jun 22 14:42:51 Yes, that's great, picking them up now. Jun 22 14:43:22 dunno if the patch is created the right way, but... Atleast it's unified :P Jun 22 14:47:57 Looks good, is there a prototype smb.conf? Jun 22 14:49:14 We can use the smb.conf.dist? Jun 22 14:50:07 smb.conf.default, actually. It's in the patches dir now Jun 22 14:52:33 Ok, go those. Jun 22 14:52:34 bbl Jun 22 14:52:46 together with a new patch that actually installs the smb.conf.default Jun 22 14:59:07 updated samba-new.diff and smb.conf.default. Jun 22 14:59:14 * NAiL is now satisfied ;) Jun 22 15:26:07 openslug channel special announcement: OpenSlug 2.0 binary is available for download at http://www.openslug.org Jun 22 15:26:42 yay :) Jun 22 15:26:46 Please check out the release notes at http://www.nslu2-linux.org/wiki/OpenSlug/ReleaseNotes2x0 Jun 22 15:27:04 and the Using the Binary page at http://www.nslu2-linux.org/wiki/OpenSlug/UsingTheBinary Jun 22 21:36:59 <[g2]> jbowler-away, ByronT nice job with 2.0 release notes :) **** ENDING LOGGING AT Wed Jun 22 23:59:57 2005