> I have built Qt from source code twice in the past (last time the
> Qt-4.5.1 branch, if I remember well). This on a Solaris 9 machine, and 
> it took about 16 whole hours to compile the whole thing. It felt as 
> though it would take forever...

I've heard from a co-worker, that Qt-4.5.x was the last version he was able to 
install easily on Solaris, but that may be more related to a mess we have here 
than Qt itself, see below.

> I also compiled QtCreator, but with the specs of that machine I 
> compiled it on it turned into a hassle to do any development via 
> QtCreator due to the speed of the machine, already loaded with other 
> processes.
> 
> I would probably have to go through the same compilation hassle again 
> in order to bring the Qt running on that server up to the 4.7 release.
> I compiled everything with gcc, not the SUN supplied C++ compiler. You 
> also need to make sure that you have the libstdc++ available in the 
> LD_LIBRARY_PATH or equivalent. Installing gcc and putting it in your 
> PATH should considerably ease the process.
> 
> You can find what you need to install gcc et al. at the 
> http://www.sunfreeware.com website.

Thanks for the tips, I was able to get Qt to build on Solaris using the gcc 
4.2.1 that is installed on our system.  Unfortunately, only some of the demos 
work, others crash with a segmentation fault/bus error.  I'm not able to get 
QtCreator to build yet, it dies down in src/libs/3rdparty/botan with an error:
  error: braces around scalar initializer for type 'upad64_t'
which seems to be related to this issue:
  http://gcc.gnu.org/ml/gcc-patches/2001-06/msg01703.html

As I've been poking around on our system, it appears that our sysadmin has done 
a horrible job of keeping 32 bit stuff and 64 bit stuff separate, which I think 
is causing the bus errors on some of the demos, it's a mess trying to get all 
the paths set up correctly to get Qt to build and then launch correctly, and 
not have problems pulling in shared libraries from the wrong spot.

I may have to give up on this for now though, I thought it was going to be a 
smooth process, like it usually is for me on Windows, Mac, and Linux, but right 
now I don't have too much time to spare to get it going.

Sean

_______________________________________________
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to