[MacPorts] #17773: stellarium-0.10.0-1 Configure error - wrong QT version used

MacPorts noreply at macports.org
Fri Dec 26 15:30:03 PST 2008


#17773: stellarium-0.10.0-1 Configure error - wrong QT version used
---------------------------------+------------------------------------------
 Reporter:  simon@…              |       Owner:  raimue@…           
     Type:  defect               |      Status:  assigned           
 Priority:  Low                  |   Milestone:  Port Bugs          
Component:  ports                |     Version:  1.7.0              
 Keywords:  stellarium qt qmake  |        Port:  stellarium         
---------------------------------+------------------------------------------

Comment(by macsforever2000@…):

 I was not able to build stellarium, it failed in the config phase as
 follows:

 {{{
 --->  Configuring stellarium
 Error: Target org.macports.configure returned: configure failure: shell
 command " cd
 "/opt/local/var/macports/build/_opt_mports_trunk_dports_science_stellarium/work/stellarium-0.10.0"
 && cmake -DFreeType2_INCLUDE_DIR:PATH=/opt/local/include/freetype2
 -DFreeType2_LIBRARIES:FILEPATH=/opt/local/lib/libfreetype.dylib -G "Unix
 Makefiles" . " returned error 1
 Command output: -- The C compiler identification is GNU
 -- The CXX compiler identification is GNU
 -- Check for working C compiler: /usr/bin/gcc-4.0
 -- Check for working C compiler: /usr/bin/gcc-4.0 -- works
 -- Detecting C compiler ABI info
 -- Detecting C compiler ABI info - done
 -- Check for working CXX compiler: /usr/bin/g++-4.0
 -- Check for working CXX compiler: /usr/bin/g++-4.0 -- works
 -- Detecting CXX compiler ABI info
 -- Detecting CXX compiler ABI info - done
 -- Looking for include files HAVE_BYTESWAP_H
 -- Looking for include files HAVE_BYTESWAP_H - not found.
 -- Looking for tzset
 -- Looking for tzset - found
 -- Looking for pow10
 -- Looking for pow10 - not found
 -- Looking for setlocale
 -- Looking for setlocale - found
 -- Looking for snprintf
 -- Looking for snprintf - found
 CMake Error at cmake/FindQt4.cmake:1278 (MESSAGE):
   Qt qmake not found!
 Call Stack (most recent call first):
   CMakeLists.txt:78 (FIND_PACKAGE)


 -- Configuring incomplete, errors occurred!

 Error: Status 1 encountered during processing.
 }}}

 Applying the attached patch allowed me to successfully build it.

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


More information about the macports-tickets mailing list