Qt-interest Archive, January 2007
Static Linking of Qt on Mac Os X taking 13 GB
Message 1 in thread
Hi
I am trying to compile Qt 4.2.2 on my Mac OS X 10.4 with latest XCode.
I have 13 GB free on my HD and I started compiling Qt from the source. I
need to have static library for my project so I configured it to be:
./configure -prefix /Developer/Qt -static
make
I went off to sleep and I when I wake up, I see that there is 0 KB left
in my harddisk. I am not sure why.
So I tried to uninstall or clean all of it by doing
make confclean
and BAM I just get back 600 MB. Where did the rest 12 GB went? How do I
recover it?
Ritesh
--
[ signature omitted ]
Message 2 in thread
Ritesh Nadhani wrote:
> Hi
>
> I am trying to compile Qt 4.2.2 on my Mac OS X 10.4 with latest XCode.
>
> I have 13 GB free on my HD and I started compiling Qt from the source.
> I need to have static library for my project so I configured it to be:
>
> ./configure -prefix /Developer/Qt -static
> make
>
> I went off to sleep and I when I wake up, I see that there is 0 KB
> left in my harddisk. I am not sure why.
>
> So I tried to uninstall or clean all of it by doing
>
> make confclean
>
> and BAM I just get back 600 MB. Where did the rest 12 GB went? How do
> I recover it?
>
1. Delete your current qt build directory
2. Start over, ./configure -make libs -make tools -prefix $PWD
You really don't need to separate the Qt install and build directories,
if you use -prefix $PWD the binaries will stay in the build directory,
and I suspect it will save you some disk space by not copying them to
some other destination directory. If you build Qt static you really want
to avoid building the tutorials and the examples. Therefore you should
use the -make switch to tell configure exactly which parts you want to
build.
Paul.
--
[ signature omitted ]
Message 3 in thread
Yes, those static libs are quite the hogs.
I did a static build on a separate hard drive and I believe it ultimately took over 20 Gb to build.
As for recovering disc space, did you look for what directory is using all the space ?
-------------- Original message ----------------------
From: Ritesh Nadhani <riteshn@xxxxxxxxx>
> Hi
>
> I am trying to compile Qt 4.2.2 on my Mac OS X 10.4 with latest XCode.
>
> I have 13 GB free on my HD and I started compiling Qt from the source. I
> need to have static library for my project so I configured it to be:
>
> ./configure -prefix /Developer/Qt -static
> make
>
> I went off to sleep and I when I wake up, I see that there is 0 KB left
> in my harddisk. I am not sure why.
>
> So I tried to uninstall or clean all of it by doing
>
> make confclean
>
> and BAM I just get back 600 MB. Where did the rest 12 GB went? How do I
> recover it?
>
> Ritesh
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
> "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
>
--
[ signature omitted ]
Message 4 in thread
23.98GB for me, and I turned on debug and turned off QT3 support and all
SQL.
Look in /usr/local/Trolltech just in case. This is the default location for
installed files.
Keith
On 01-31-2007 12:08 PM, "ygor@xxxxxxxxxxx" wrote:
> Yes, those static libs are quite the hogs.
>
> I did a static build on a separate hard drive and I believe it ultimately took
> over 20 Gb to build.
>
> As for recovering disc space, did you look for what directory is using all the
> space ?
>
> -------------- Original message ----------------------
> From: Ritesh Nadhani <riteshn@xxxxxxxxx>
>> Hi
>>
>> I am trying to compile Qt 4.2.2 on my Mac OS X 10.4 with latest XCode.
>>
>> I have 13 GB free on my HD and I started compiling Qt from the source. I
>> need to have static library for my project so I configured it to be:
>>
>> ./configure -prefix /Developer/Qt -static
>> make
>>
>> I went off to sleep and I when I wake up, I see that there is 0 KB left
>> in my harddisk. I am not sure why.
>>
>> So I tried to uninstall or clean all of it by doing
>>
>> make confclean
>>
>> and BAM I just get back 600 MB. Where did the rest 12 GB went? How do I
>> recover it?
>>
>> Ritesh
--
[ signature omitted ]