Re: [gentoo-user] Problem building statically linked e2fsprogs

2008-09-29 Thread Michal 'vorner' Vaner
Hello (Original post too long to quote) How about building it dynamically and taking all the needed libraries as well? I had similar problem (I needed fsck.ext3 in my init ramdisk) and I just used ldd to find out what does it need. You can test if it has enough by copying the thinks indo a direc

Re: [gentoo-user] Problem building statically linked e2fsprogs

2008-09-25 Thread Stroller
On 25 Sep 2008, at 20:02, Erik Hahn wrote: I don't know much about servers so this might be rather stupid, but: What about dismounting the driver and fsck'ing it in another computer? I think the problem is that the drive (the server) is in a physically remote location. (from the original me

Re: [gentoo-user] Problem building statically linked e2fsprogs

2008-09-25 Thread Erik Hahn
I don't know much about servers so this might be rather stupid, but: What about dismounting the driver and fsck'ing it in another computer? -Erik -- hackerkey://v4sw5hw2ln3pr5ck0ma2u7LwXm4l7Gi2e2t4b7Ken4/7a16s0r1p-5.62/-6.56g5OR

Re: [gentoo-user] Problem building statically linked e2fsprogs

2008-09-25 Thread Maarten
Albert Hopkins wrote: On Wed, 2008-09-24 at 22:34 +0200, Maarten wrote: Albert Hopkins wrote: # ldd e2fsck/e2fsck linux-gate.so.1 => (0xb8033000) libc.so.6 => /lib/libc.so.6 (0xb7edb000) /lib/ld-linux.so.2 (0xb8034000) Ehm, exactly. So yes, it uses less libraries than

Re: [gentoo-user] Problem building statically linked e2fsprogs

2008-09-25 Thread Albert Hopkins
On Wed, 2008-09-24 at 22:34 +0200, Maarten wrote: > Albert Hopkins wrote: > > The grep package has a "static" USE flag. e2fsprogs does not. So > > enabling the static USE flag has no effect on e2fsprogs. > > Ehm, how do you figure that? It surely displays the "static" USE flag: > > thoughtpad ~

Re: [gentoo-user] Problem building statically linked e2fsprogs

2008-09-24 Thread Maarten
Daniel Pielmeier wrote: Maarten schrieb am 24.09.2008 21:39: Can anyone help with this ? Does this package not support building static ? The USE flag is there for a reason, no? Did I take the wrong approach here ? What is up with this [damn] package ?!? http://bugs.gentoo.org/show_bug.cgi?id=

Re: [gentoo-user] Problem building statically linked e2fsprogs

2008-09-24 Thread Maarten
Albert Hopkins wrote: On Wed, 2008-09-24 at 21:39 +0200, Maarten wrote: Hi List, [...] # Grep works fine... [EMAIL PROTECTED] ~ $ ldd /bin/grep linux-gate.so.1 => (0xe000) libc.so.6 => /lib/libc.so.6 (0xb7e42000) /lib/ld-linux.so.2 (0xb7f96000) thoughtpad ~ #

Re: [gentoo-user] Problem building statically linked e2fsprogs

2008-09-24 Thread Daniel Pielmeier
Maarten schrieb am 24.09.2008 21:39: Can anyone help with this ? Does this package not support building static ? The USE flag is there for a reason, no? Did I take the wrong approach here ? What is up with this [damn] package ?!? http://bugs.gentoo.org/show_bug.cgi?id=232115 gives some informa

Re: [gentoo-user] Problem building statically linked e2fsprogs

2008-09-24 Thread Albert Hopkins
On Wed, 2008-09-24 at 21:39 +0200, Maarten wrote: > Hi List, > [...] > > # Grep works fine... > [EMAIL PROTECTED] ~ $ ldd /bin/grep > linux-gate.so.1 => (0xe000) > libc.so.6 => /lib/libc.so.6 (0xb7e42000) > /lib/ld-linux.so.2 (0xb7f96000) > > thoughtpad ~ # USE="s

[gentoo-user] Problem building statically linked e2fsprogs

2008-09-24 Thread Maarten
Hi List, I'm in a bit of trouble. A server or ours has a broken e2fsck because it is linked to a library version that doesn't exist anymore. Yes, I should have fixed this before-- but alas, I obviously didn't... :-( Tonight, the server had a hard crash and the only way to get it up again (n