[MacPorts] #22158: qtscriptgenerator fails to build
MacPorts
noreply at macports.org
Fri Nov 6 04:58:23 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 jord.swart@…):
This is NOT A SOLUTION, but just a little hack that helped me install
Amarok. If you follow this you will end up with a qtscriptgenerator that
does not have all its bindings correctly installed. I have no clue what
the impact of such a situation will be!
Anyhow, for the daring here it comes. Go to your ports directory:
{{{
cd
/opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/qtscriptgenerator/
}}}
Open the Portfile with an editor
{{{
sudo vi Portfile
}}}
And change the following line (which is the second qmake && make combo you
will find in the file):
{{{
system "cd ${worksrcpath}/${dir} && export QTDIR=${qtdir} &&
PATH=${qtdir}/bin:$env(PATH) qmake && make"
}}}
To
{{{
system "cd ${worksrcpath}/${dir} && export QTDIR=${qtdir} &&
PATH=${qtdir}/bin:$env(PATH) qmake && make -i"
}}}
This will make sure that the make process will IGNORE the errors. So
qtscriptgenerator actually gets installed but it is not correct!
Did I mention that this in NOT A SOLUTION? I guess I did now.
However, I did install Amarok afterwards and that seems to be working (I
did need to change the amarok Portfile as well though. See above for the
link).
--
Ticket URL: <http://trac.macports.org/ticket/22158#comment:24>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list