[gccsdk] Autobuilder problems
alan buckley
alan_baa at hotmail.com
Tue Feb 24 04:15:09 EST 2009
> On Tue, 24 Feb 2009 00:00:44 +0100 Jan-Japp wrote:
>
> Hello,
>
> I have spend a lot of time trying to get the GCCSDK stuff working
> on cygwin, but in the end I have given up. It just failed seemingly
> at random places. Not only at the instructions for building the
> GCCSDK but also on different things. I even tried another machine,
> but either something is really wrong with cygwin or I must have
> done the exact same thing wrong, as I had the exact same problems
> there.
I've managed to get it to build on Cygwin, but it takes a long time
and I've usually had to restart the build to get it to complete
when something went wrong.
>
> Anyway, I got myself a new laptop (the old one didn't survive a
> small flight from a chair to the ground, a bit disappointing...). I
> chose to have a partition for Linux there, to see if that works
> better.
>
> I ended up with Ubuntu and managed to get the GCCSDK to build. I
> tried the example of building wget with it and it says it produces
> something (haven't actually checked if the files are there and if
> they actually work, but I believe things are OK.
>
> However, trying to build glib (and some other things I tried as
> well) still gives some problems.
>
> I tried:
>
> ../autobuilder/build -v libglib2.0-0
I've got this to successfully build on Cygwin now and have just
checked in my changes for packaging it. However see below...
>
> The autobuilder stars happily compiling and working, but after a
> while it seems to get stuck. The last thing on screen says (typing
> this over, haven't used time to get filesharing working):
>
> sh -e ./tinfo/MKfallback.sh /home/jjvdgeer/env/share/terminfo
> ../misc/terminfo.src vt102 vt220 xterm-vt220>fallback.c
> creating temporary terminfo directory...
>
> At this point nothing more seems to happen. I checked with 'top'
> which suggest the CPU is using 100% of one of its cores on 'tic'
> which seems to have something to do with terminfo, which seems to
> correspond with the last command on screen. Even though I have no
> idea what it really is.
>
> Anyway, typing Ctrl-C gives:
>
> ^CPackage libncurses5: ***Failure***
> Dependency "libncurses5" failed for gettext
> Dependency "gettext" failed for libglib2.0-0
> Build for package "libglib2.0-0" failed
>
> Anyone any ideas what is going on and what might be wrong?
I have the exact same problem on Cygwin, and couldn't find
a way to get libncurses5 to build. However it is not really
needed for gettext so I cheated and added a "last-success"
file to the libncurses5 directory in autobuilder/libraries and this
fools it into thinking it has a working copy of libncurses5
and lets all the other things compile.
>
I hope this helps.
FYI: My simple test of libglib2.0-0 made it look like the
static build is working OK. I'm currently having trouble
with linking for the shared version, but I think that is
probably something I'm doing wrong.
Regards,
Alan
_________________________________________________________________
Hotmail, Messenger, Photos and more - all with the new Windows Live. Get started!
http://www.download.live.com/
More information about the gcc
mailing list