**** BEGIN LOGGING AT Wed Nov 16 03:00:00 2005 **** BEGIN LOGGING AT Wed Nov 16 03:54:04 2005 Nov 16 09:02:00 !ping world Nov 16 10:03:01 I found an intresting problem, any library experts present? Nov 16 14:09:19 ping world Nov 16 14:13:58 pong McTails Nov 16 16:05:15 who's alive here Nov 16 16:19:17 <- Nov 16 16:25:36 since everyone's dead in #nslu2-general Nov 16 16:25:42 http://www.nslu2-linux.org/wiki/DebianSlug/OpenDebianSlug Nov 16 16:25:57 it tells me to set up /etc/mailname Nov 16 16:26:15 seeing below for examples, yet there, erm, isn't any examples Nov 16 16:26:38 *aren't :o Nov 16 16:30:03 http://qref.sourceforge.net/Debian/reference/ch-gateway.en.html Nov 16 16:30:04 phatmonkey^iBook: you still around? Nov 16 16:30:58 has a section on the mailname -- it's just a text file containing the email address for that machine. Nov 16 16:31:15 mwester: You know anything about libraries? Nov 16 16:31:40 (I noticed quite a few of the required symlinks are missing, so I want to know if it's the packages that aren't building them since I can't run OE at the moment, or if it's in packing of the ipk) Nov 16 16:31:42 Very dated knowledge, I'm afraid. Nov 16 16:31:46 ah, thanks Nov 16 16:31:55 mwester: I've been dealing with library issues all day Nov 16 16:32:11 It seems ldconfig kinda screwed up on the slug, it doesn't create proper symlinks (I've been doing them by hand on mine) Nov 16 16:32:51 I haven't noticed this on mine, what are you building or runnign that's having trouble? Nov 16 16:33:06 Anything that tries to link against Perl Nov 16 16:33:17 also, PHP just will not build an SO module no matter what I do Nov 16 16:33:45 Are you trying, perhaps, to build a module for apache? Nov 16 16:33:49 yeah Nov 16 16:33:50 I am Nov 16 16:34:01 (Apache 1.3 seems to have issues, it keeps trying to use hostperl instead of perl) Nov 16 16:34:42 Do you have another machine that you can build on or use as a reference? Nov 16 16:34:51 Mac OS X Nov 16 16:35:10 Which isn't ELF based so it's fairly useless for comparsion due to the fact that our GCC and LD use totally different command lineoptions Nov 16 16:35:25 Yeah, I expect that's true. Nov 16 16:35:40 I don't like Linux alot, it's usually more trouble then it's worth for me Nov 16 16:35:45 I perfer OpenBSD ;-0 Nov 16 16:35:47 *;-) Nov 16 16:35:50 * McTails runs for his life Nov 16 16:36:03 RedHat myself, but nobody here heard that :-o Nov 16 16:36:13 * McTails screams Nov 16 16:36:18 IT BURNS Nov 16 16:36:53 Has nobody ever build modperl for the slug, then? Nov 16 16:37:02 Not as far as I know Nov 16 16:37:11 Trail blazing! Nov 16 16:37:14 I know someone else got apache 1.3 to fly though Nov 16 16:37:19 But even THAT seems to hate me Nov 16 16:37:29 Fly? or was it a bit slow? Nov 16 16:37:32 (I get corrupted modules, something about central index incorrect) Nov 16 16:37:33 :) Nov 16 16:37:53 Have you built apache as well as the mods from source? Nov 16 16:37:55 Is there a program that can rebuild the index in shared libraries? Nov 16 16:37:58 Yeah Nov 16 16:38:47 I'm going to build the modules directly into the http binary Nov 16 16:38:53 Bloated, yes, but I want a working aache Nov 16 16:39:01 I'm dating myself perhaps, but it used to be that ar and ranlib were used to manage libraries, and there was a procedure that one used to convert a lib.a to a lib.so Nov 16 16:39:14 .a files are for static linking Nov 16 16:39:20 I don't think you can go .a -> .so Nov 16 16:41:24 One used to be able to on SunOS - the .a contains the lib entry points and the code; when a shared lib is created, the code is split into the .so and a new .a is created with the info needed to satisfy the linker. The linker is then called at runtime to dynamically satisfy the "broken" linkages by the code stubs in the .a file. So the .a needs to match the .so precisely. Of course all... Nov 16 16:41:26 ...that might be different on Linux. Nov 16 16:43:06 In any case, the configure scripts with the sources are supposed to take care of all the "plumbing" to make sure that all the correct libraries are located. Nov 16 16:43:24 Is it failing at runtime or when you are building it? Nov 16 16:43:37 "Creating SSH2 DSA key; this may take some time ..." - it's not kidding 0_0 Nov 16 16:43:50 I'm too used to it taking a couple of seconds Nov 16 16:43:54 That's where a "turboslug" makes a diff... Nov 16 16:44:07 ah, new line, not finished Nov 16 16:44:15 I really need to remove that resistor Nov 16 16:44:39 is it still perfectly stable de-underclocked? Nov 16 16:45:41 :) I can only speak for myself, but mine are fine. Nov 16 16:46:12 root@slug:/# umount /mnt Nov 16 16:46:12 umount: /mnt: Device or resource busy Nov 16 16:46:16 ouch, this happened last time Nov 16 16:46:18 what did I do Nov 16 16:46:23 I've killed anacron Nov 16 16:47:08 gtg for a bit Nov 16 16:50:32 phew, done it Nov 16 16:50:36 bye :) Nov 16 16:50:57 Turboslug is great Nov 16 16:51:49 rebooting into debian... second time lucky, surely! Nov 16 16:53:26 :o Nov 16 16:53:30 it appears to be alive Nov 16 16:53:44 just complaining that the ssh keys have changed Nov 16 16:54:20 it's worked!! :D Nov 16 16:54:39 I need sleep, thanks for the help :) Nov 16 16:55:19 looking at the title, I'm sure i"m not meant to use this channel, but #nslu2-general is particularly dozy today Nov 16 21:33:21 I think I solved a major issue with openslug Nov 16 21:55:07 McTails: what problem is that? Nov 16 21:57:36 Libtool Nov 16 21:57:44 It didn't cross-compile correctly Nov 16 21:57:49 It's hardcoded to the compile path Nov 16 21:58:01 (/home/revink/OpenSlug-2.7/etc...) Nov 16 21:59:44 grep: /home/repvik/slug/releases/OpenSlug-2.7-beta/tmp/cross/armeb-linux/lib/libstdc++.la: No such file or directory Nov 16 21:59:46 Or not -_-; Nov 16 22:01:19 Well, I'm going to cheat and create symlinks, but I got to report this bug Nov 16 22:07:49 I'm pretty sure it has been reported before Nov 16 22:09:57 Whoever wrote libtool should be shot, castrated, shot again. Nov 16 22:10:21 That is, assuming whoever wrote it is male Nov 16 22:11:00 lol Nov 16 22:11:04 Totally agree Nov 16 22:11:06 But I clobbered it Nov 16 22:11:18 I'm going to have to read through libtool to see where the hell it's getting that path Nov 16 22:11:29 BTW, seocnd bug Nov 16 22:11:30 yeah Nov 16 22:11:43 GCC should NOT be compiled with --with-include-local=/usr/local Nov 16 22:11:53 It totally screws up GCC's include file search Nov 16 22:11:55 there should be a bug for that too ... Nov 16 22:11:59 (/usr and /usr/local are automatically defined) Nov 16 22:12:15 How about library symlinks and the lack of them? Nov 16 22:12:25 (I've had to make about 10 to make shared libraries happy) Nov 16 22:13:06 (and on the topic of libtool, it won't even work 99.9% of the time without ccache around) Nov 16 22:14:17 what lib symlinks? Nov 16 22:14:21 libc.so Nov 16 22:14:23 libm.so Nov 16 22:14:28 hmm Nov 16 22:14:31 ld can't find them without those links Nov 16 22:14:36 I thought that was done with ldconfig Nov 16 22:14:46 ldconfig also on the screwed list Nov 16 22:15:03 It makes libc-2.2068.so -> libc.so.6 Nov 16 22:15:07 But it doesn't make the other ones Nov 16 22:15:20 hmm Nov 16 22:15:26 try building gettext Nov 16 22:15:37 It blows up wonderfully due to all the afforemethoned issues Nov 16 22:15:46 (PHP and Apache 1.3 also suffer the same problems) Nov 16 22:16:30 IMHO, if we could just remove these last few bugs from openslug, it would be absolutely perfect Nov 16 22:16:44 (since it's trival to compile new kernels and C compilers once the base system is properly working) Nov 16 22:17:05 yeah Nov 16 22:17:07 NAiL: run ldconfig in verbose mode so you can see what it's doing Nov 16 22:17:20 BTW< am I the only one that thinks Debian on the slug == bad idea Nov 16 22:17:26 I don't have any of either devboxes nor slugs running at the moment Nov 16 22:17:30 Damn it Nov 16 22:17:37 so why you around here? Nov 16 22:17:48 CCACHE == good Nov 16 22:17:55 * McTails is using it to speed through an apache compile) Nov 16 22:18:24 well, I'm repvik. Nov 16 22:18:30 .... oh .... Nov 16 22:18:59 Who was the genius with the perl compile Nov 16 22:19:03 So that's my last name you see plastered all over the damn libtool stuff :P Nov 16 22:19:10 (since getting perl to compile normally is something like pulling teeth) Nov 16 22:19:19 (and it wasn't meant to cross-compile) Nov 16 22:19:21 DaKa got perl to compile Nov 16 22:19:29 It still seems a little screwy Nov 16 22:19:30 And brilliantly so Nov 16 22:19:38 oh? Nov 16 22:19:41 I had to create symlinks of perl to hostperl Nov 16 22:19:56 (Apache kept getting hostperl from somewhere ...) Nov 16 22:19:59 modules.o:(.data+0x8): undefined reference to `log_config_module' Nov 16 22:19:59 modules.o:(.data+0x18): undefined reference to `include_module' Nov 16 22:19:59 modules.o:(.data+0x30): undefined reference to `actions_module' Nov 16 22:19:59 modules.o:(.data+0x58): undefined reference to `log_config_module' Nov 16 22:19:59 modules.o:(.data+0x68): undefined reference to `include_module' Nov 16 22:20:00 modules.o:(.data+0x80): undefined reference to `actions_module' Nov 16 22:20:02 ARGH! Nov 16 22:20:51 Oh well... I've gotta go to sleep. I'll try getting my slugs back online tomorrow. Nov 16 22:20:55 nanight Nov 16 22:21:00 (It's 06:21 here) Nov 16 22:46:43 I've had trouble using perl, it barfs on the first use strict saying it can't find strict.pm Nov 16 22:47:25 test@jabba:~$ perl -w Nov 16 22:47:25 use strict; Nov 16 22:47:25 Can't locate strict.pm in @INC (@INC contains: /usr/lib/perl5/5.8.7/armeb-linux /usr/lib/perl5/5.8.7 /usr/lib/perl5/site_perl/5.8.7/armeb-linux /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl .) at - line 1. Nov 16 22:47:25 BEGIN failed--compilation aborted at - line 1. Nov 16 22:49:13 hmmm, it appears it's missing everything except the interpreter, weird Nov 16 23:11:56 Zhyla: Try getting all of perl Nov 16 23:12:01 ipkg install native-openslug Nov 16 23:12:10 I think I got mod_perl to install Nov 16 23:12:19 But it's so hacked up, I don't want to risk publishing instructions on how to do it Nov 16 23:42:18 hi koen__ Nov 17 01:09:44 Zhyla: about perl, its divided into lots of small modules (around 900 or so), and you can either install the ones you want (ipkg install perl-module-strict ...), or just install all of them (ipkg install perl-modules) Nov 17 01:11:56 i need to cross compile programs in C to xscale **** ENDING LOGGING AT Thu Nov 17 02:59:56 2005