[MacPorts] #20353: Hydrogen portfile update request

MacPorts noreply at macports.org
Thu Jul 23 09:46:24 PDT 2009


#20353: Hydrogen portfile update request
--------------------------------------+-------------------------------------
 Reporter:  michieldelange@…          |       Owner:  macports-tickets@…                   
     Type:  update                    |      Status:  new                                  
 Priority:  Normal                    |   Milestone:                                       
Component:  ports                     |     Version:  1.8.0                                
 Keywords:                            |        Port:  hydrogen                             
--------------------------------------+-------------------------------------

Comment(by michieldelange@…):

 When I try to build the newest version of Hydrogen from a local portfile
 repository (as described [http://guide.macports.org/#development.local-
 repositories here]) I get the following error message:


 {{{
 macmichiel:~ michiel$ sudo port -n upgrade hydrogen +universal
 --->  Configuring hydrogen
 Error: Target org.macports.configure returned: configure failure: shell
 command " cd
 "/opt/local/var/macports/build/_Users_michiel_builds_audio_hydrogen/work/trunk"
 && ./configure --disable-dependency-tracking " returned error 127
 Command output: sh: ./configure: No such file or directory

 Error: Unable to upgrade port: 1
 }}}


 It appears the port command looks for the classical ./configure ; make ;
 make install set of commands, and does not recognize that Hydrogen needs
 to be build with scons. Manually changing the command


 {{{
 && ./configure --disable-dependency-tracking
 }}}

 with


 {{{
 sudo scons
 }}}

 only gave me a pile of errors about QT (which I did compile earlier with
 Macports):


 {{{
 scons: warning: QTDIR variable is not defined, using moc executable as a
 hint (QTDIR=/opt/local/libexec/qt4-mac)
 File
 "/opt/local/var/macports/build/_Users_michiel_builds_audio_hydrogen/work/trunk/qt4.py",
 line 207, in _detect

 scons: warning: QTDIR variable is not defined, using moc executable as a
 hint (QTDIR=/opt/local/libexec/qt4-mac)
 File
 "/opt/local/var/macports/build/_Users_michiel_builds_audio_hydrogen/work/trunk/qt4.py",
 line 207, in _detect
 scons: done reading SConscript files.
 scons: Building targets ...
 g++ -o gui/src/SongEditor/SongEditor.o -c -O3 -fomit-frame-pointer
 -funroll-loops -DLRDF_SUPPORT -DPORTMIDI_SUPPORT -DFLAC_SUPPORT
 -DCOREAUDIO_SUPPORT -DLADSPA_SUPPORT -DQT_CORE_LIB -DQT_GUI_LIB
 -DQT_NETWORK_LIB -DQT_XML_LIB -I. -Igui/src -I3rdparty/install/include
 -I/opt/local/include -I/usr/local/include -Ilibs/hydrogen/include
 -Igui/src/UI -I/opt/local/libexec/qt4-mac/include
 -I/opt/local/libexec/qt4-mac/include/QtCore
 -I/opt/local/libexec/qt4-mac/include/QtGui
 -I/opt/local/libexec/qt4-mac/include/QtNetwork
 -I/opt/local/libexec/qt4-mac/include/QtXml
 gui/src/SongEditor/SongEditor.cpp
 libs/hydrogen/include/hydrogen/Object.h:66: error: ISO C++ forbids
 declaration of 'list' with no type
 libs/hydrogen/include/hydrogen/Object.h:66: error: typedef name may not be
 a nested-name-specifier
 libs/hydrogen/include/hydrogen/Object.h:66: error: expected ';' before '<'
 token
 libs/hydrogen/include/hydrogen/Object.h:106: error: 'queue_t' does not
 name a type
 libs/hydrogen/include/hydrogen/action.h:72: error: field 'actionList' has
 incomplete type

 }}}
 etc. etc. etc...

 I have no idea how to change this? Any help is appreciated!

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


More information about the macports-tickets mailing list