[MacPorts] #22158: qtscriptgenerator fails to build

MacPorts noreply at macports.org
Tue Nov 24 02:20:32 PST 2009


#22158: qtscriptgenerator fails to build
---------------------------------+------------------------------------------
 Reporter:  shikhar@…            |       Owner:  macports-tickets@…                   
     Type:  defect               |      Status:  new                                  
 Priority:  Normal               |   Milestone:                                       
Component:  ports                |     Version:  1.8.1                                
 Keywords:                       |        Port:  qtscriptgenerator                    
---------------------------------+------------------------------------------

Comment(by knightr@…):

 I was having this same problem with qtscriptgenerator while trying to
 install amarok.

 To get it to compile, I had to use qt4-kde rather than qt4-mac.

 Since qt4_mac is the default, I edited it out of the portfile.

 First I installed qt4-kde with

 {{{
 port install qt4-kde
 }}}

 Then I went to the file that jord.swart pointed out:

 {{{
 cd
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/qtscriptgenerator/
 }}}

 Open the Portfile with an editor

 {{{
 sudo vi Portfile
 }}}

 Then change the line that contains both qt4-kde and qt4-mac from:

 {{{
 set qt_variant        {  qt4-kde  qt4-mac  }
 }}}

 To this:

 {{{
 set qt_variant        {  qt4-kde  }
 }}}

 Then compile:

 {{{
 port install qtscriptgenerator
 }}}

 I did this and the error messages were gone!  Now on to amarok...

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


More information about the macports-tickets mailing list