On 3/16/06, Chip G. <[EMAIL PROTECTED]> wrote:
> On Mar 15, 2006, at 16:07, Alexander K. Hansen wrote:
>
> > On 3/15/06, Chip G. <[EMAIL PROTECTED]> wrote:
> >
> >> OK, so we seemed to be at a dead-end and I decided to try another
> >> tack. Took a bit since it's so long to build gcc4. I installed it on
> >> another machine and then copied the debs to the machine having the
> >> issue. Then I tried to install it and got the following errors. This
> >> is further then it went before, but not success.
> >>
> >> $ fink --no-use-binary-dist install gcc4 gcc4-shlibs
> >> Information about 5661 packages read in 8 seconds.
> >> The following package will be installed or updated:
> >> gcc4
> >> /sw/bin/dpkg-lockwait -i /sw/fink/dists/unstable/main/binary-darwin-
> >> powerpc/languages/gcc4_4.1.0-1_darwin-powerpc.deb
> >> (Reading database ... 72197 files and directories currently
> >> installed.)
> >> Unpacking gcc4 (from .../gcc4_4.1.0-1_darwin-powerpc.deb) ...
> >> /sw/bin/dpkg-deb: unexpected end of file in between members in /sw/
> >> fink/dists/unstable/main/binary-darwin-powerpc/languages/
> >> gcc4_4.1.0-1_darwin-powerpc.deb
> >> dpkg(4511) malloc: ***  Deallocation of a pointer not malloced:
> >> 0xbfffea10; This could be a double free(), or free() called with the
> >> middle of an allocated block; Try setting environment variable
> >> MallocHelp to see tools to help debug
> >> /sw/bin/dpkg: error processing /sw/fink/dists/unstable/main/binary-
> >> darwin-powerpc/languages/gcc4_4.1.0-1_darwin-powerpc.deb (--install):
> >> subprocess /sw/bin/dpkg-deb --fsys-tarfile returned error exit
> >> status 2
> >> Errors were encountered while processing:
> >> /sw/fink/dists/unstable/main/binary-darwin-powerpc/languages/
> >> gcc4_4.1.0-1_darwin-powerpc.deb
> >> ### execution of /sw/bin/dpkg-lockwait failed, exit code 1
> >> Failed: can't install package gcc4-4.1.0-1
> >> $
> >
> > That wouldn't help.  Your problem was with _installing_ it, not
> > building it.  Even if it were in the binary distro you'd be having
> > the same problem--the Fink tools are looking for a nonexistent .deb
> > file.
>
> But I took the .deb file from a successful installation on my iMac
> and put it on the mini (the one with the troubles) and I still got
> the error with installing it.

That's what I'm saying. :-)  You wouldn't be able to use _any_ deb for
that package from anywhere riow.

Now it doesn't tell me the package
> can't be found, but gives me the "unexpected end of file" and
> "Deallocation of a pointer not malloced" errors. I have no clue what
> to do from there. Any ideas?
>
>
> -- Chip
>

I've sen the non-malloced pointer error around.   A google hit
suggested running /Developer/Applications/Performance
Tools/MallocDebug.app.

As to the "end of file" message--I've gotten those when an official
.deb wasn't the same size as what I built from source
(binary-installed packages override local source installs).

If you've got the .deb files for gcc4 and gcc4-shlibs (4.0.2) then you
could try removing gcc4 and gcc4-shlibs and installing them again
using "sudo dpkg -i <filenames>".
--
Alexander K. Hansen
Fink Documenter
[Day Job] Levitated Dipole Experiment
http://psfcwww2.psfc.mit.edu/ldx/


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Fink-beginners mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to