[MacPorts] #30271: qt4-mac: fails to find dbus when using clang

MacPorts noreply at macports.org
Sat Oct 15 06:38:28 PDT 2011


#30271: qt4-mac: fails to find dbus when using clang
-----------------------------------+----------------------------------------
 Reporter:  trojanfoe@…            |       Owner:  michaelld@…           
     Type:  defect                 |      Status:  new                   
 Priority:  Normal                 |   Milestone:                        
Component:  ports                  |     Version:  2.0.99                
 Keywords:  lion                   |        Port:  qt4-mac               
-----------------------------------+----------------------------------------

Comment(by stevencbritton@…):

 I seem to have managed to get qt4-mac successfully installed using the
 llvm-gcc-4.2 compiler.

 For anyone who doesn't know how to manually configure the compiler:

 (Assuming a standard macports install.  If you installed it somewhere
 else, you're on your own for this first command:


 {{{
 $cd
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/aqua/qt4-mac
 $sudo cp Portfile Portfile.old
 $sudo nano Portfile

 ^w
 Search for: configure.compiler

 Just after this text:
 # The build process uses -fconstant-cfstrings.
 # configure.compiler should therefore not be one of the MacPorts
 compilers.

 add:
 configure.compiler              llvm-gcc-4.2

 ^o
 ^x

 $sudo port -d -v install qt4-mac

 }}}

 It took my macbook pro about 2 hours to install qt4-mac.  Hopefully, given
 qt4-mac is a dependency of the program I'm actually trying to install,
 this is the worst problem I experience.

-- 
Ticket URL: <https://trac.macports.org/ticket/30271#comment:41>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list