Qt-interest Archive, March 2002
Problems making QT 3.0.1
Message 1 in thread
I've got a slight problem. I have the feeling I'm doing something wrong
here...
1) Downloaded QT Free edition for the X11 system, version 3.0.1.
2) set up the paths and directories correctly, ran configure, that went all
well.
3) ran a gmake, it made it through almost all of the code, until it hit
qrichtext.cpp.
At this point, the system pretty much bogs down. a login into another
shell/console/window takes about fifteen minutes, another five or so to run
a ps, then another five to actually kill the process. I've let it completely
use the system it's compiling on for *nine* days, with no success... it's as
if the machine is looping. I'm not a linux guru so I don't know all too much
about what to fiddle with with options (thus my posting here), but I've
disabled all the services that are running on that box for some extra speed.
So something's wrong, and I have no idea what.
Pertinent system info:
Mandrake 8.1, Kernel 2.4.8-26mdk.
Box is a 450mhz AMD K6-2, with 64Mb ram (needs upgrading there).
GCC version is 2.96, I don't know how to find glibc version or pretty much
anything else about the system.
Does X have to be running to compile (I can't think why, but I thought I saw
it somewhere in the archives so I'll ask.)
Am I missing some critical library? How would I tell?
Am I just not waiting long enough for it to compile? (oi)
Anyone have some ideas?
-Seth Ladd
shatter@maine.rr.com
Message 2 in thread
On Tue, 5 Mar 2002, Seth Ladd wrote:
> I've got a slight problem. I have the feeling I'm doing something wrong
> here...
>
> 1) Downloaded QT Free edition for the X11 system, version 3.0.1.
> 2) set up the paths and directories correctly, ran configure, that went all
> well.
> 3) ran a gmake, it made it through almost all of the code, until it hit
> qrichtext.cpp.
> At this point, the system pretty much bogs down. a login into another
> shell/console/window takes about fifteen minutes, another five or so to run
> a ps, then another five to actually kill the process. I've let it completely
> use the system it's compiling on for *nine* days, with no success... it's as
> if the machine is looping. I'm not a linux guru so I don't know all too much
> about what to fiddle with with options (thus my posting here), but I've
> disabled all the services that are running on that box for some extra speed.
> So something's wrong, and I have no idea what.
>
> Pertinent system info:
> Mandrake 8.1, Kernel 2.4.8-26mdk.
> Box is a 450mhz AMD K6-2, with 64Mb ram (needs upgrading there).
> GCC version is 2.96, I don't know how to find glibc version or pretty much
> anything else about the system.
>
> Does X have to be running to compile (I can't think why, but I thought I saw
> it somewhere in the archives so I'll ask.)
> Am I missing some critical library? How would I tell?
> Am I just not waiting long enough for it to compile? (oi)
>
> Anyone have some ideas?
>
It sounds like you may have run out of memory _and_ swap space, which
means it'll take ages to compile.
Next time when it hangs, try running top and see if all memory and all
swap space is eaten. If that's the case you'll have to spend a few bucks
on more memory. (Also, if your hardrive is working like mad, this is also
an indication that you're ouf of memory and swap...)
Qt _does_ take a long time to build though... A complete build (examples
and all) easily spends an hour or so on my 1.2gig Athlon and 512MB RAM,
but nine days... that's a bit over the edge :)
Cheers,
--
[ signature omitted ]