Results 1 to 4 of 4

Thread: How to clean my Mac opensource install?

  1. #1
    Join Date
    Sep 2007
    Posts
    5
    Thanks
    2

    Default How to clean my Mac opensource install?

    I have qt-mac-opensource-src-4.3.1 installed on my Mac. I ran configure,followed by make. It started building everything, and 40 gigs later ran out of disk space and quit. All I want are the libraries. So my questions are:

    1) Is there some kind of make option that will remove everything that was built?
    2) Is there a make option to only build the libs?

    BTW, I'm using Xcode 2.4.1 and gcc 4.0.1.

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: How to clean my Mac opensource install?

    Did you configure -static -debug? At least X11 configure supports -nomake demos -nomake examples which splits the compilation time to about half. Presumably it has some effect to space consuming also.
    J-P Nurmi

  3. The following user says thank you to jpn for this useful post:

    cb (28th September 2007)

  4. #3
    Join Date
    Mar 2006
    Location
    Mountain View, California
    Posts
    489
    Thanks
    3
    Thanked 74 Times in 54 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: How to clean my Mac opensource install?

    Full builds of Qt with static, debug and universal options will consume enormous amounts of disk space. If you want static libraries, then use the sub-src make target. This won't install the libraries though, so I usually copy the entire source tree over to its final destination (/usr/local/qt-static), the build there. I also avoid building debug static libraries, as I only use static libs for deployment, it's much easier for development to use the frameworks.

    ./configure -static -release -no-frameworks ... ... ...
    make sub-src

  5. The following user says thank you to Brandybuck for this useful post:

    cb (28th September 2007)

  6. #4
    Join Date
    Sep 2007
    Posts
    5
    Thanks
    2

    Default Re: How to clean my Mac opensource install?

    Thanks for the helpful tips. I'll have to give them a try next time. The command I had used was:
    configure -prefix-install -universal -static -fast
    make

    Before I saw your replies I deleted the whole thing, reinstalled and restarted the build. I kept my eye on the lib directory and when it looked like I had what I needed, I killed the build. Cheesy, but it worked!

Similar Threads

  1. Cannot Install KDEdevel packages on linux
    By wirajr in forum KDE Forum
    Replies: 12
    Last Post: 5th February 2006, 21:01

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.