Hey Marc,

This doesn't actually fix the problem, but I just used GCC 4.3 instead
to compile it on Karmic:

wget http://atv-bootloader.googlecode.com/files/parted-1.8.8-atv.tar.gz
tar -xzf parted-1.8.8-atv.tar.gz
cd parted
CC="gcc-4.3 -w" ./configure --enable-static=yes
make

Once built, you can just run it from there, rather than 'make
install'ing it over your Ubuntu packaged parted.

e.g.

sudo parted/parted-1.8.8/partprobe/partprobe /dev/sdk
sudo parted/parted-1.8.8/parted/parted -s /dev/sdk mklabel gpt

That's just what I did, anyway :)

HTH,

Andy


On Apr 17, 2:14 pm, Marc Sherman <[email protected]> wrote:
> Hi all. I'm trying to build the patched parted on a karmic box, but it's
> failing due to:
>
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505346
>
> Is there a known workaround for this issue?
>
> Also, while I'm writing, it looks from the build script and the install
> instructions like the "install_parted.sh" script only creates the
> patched parted binary in /usr/local/sbin, and doesn't replace any of the
> files installed by the real parted package. Is this true? I'd like to be
> able to keep the real parted installed on my machine, and only use the
> patched parted for building my atvbootloader usb stick.
>
> Thanks,
> - Marc
>
> --
> To post to this group, send email to [email protected]
> For more options, visit this group 
> athttp://groups.google.com/group/atv-bootloader?hl=en

-- 
To post to this group, send email to [email protected]
For more options, visit this group at
http://groups.google.com/group/atv-bootloader?hl=en

Reply via email to