lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ANNOUNCE] New Portfile for Frescobaldi on Mac (Wilbert Berendsen)


From: pls
Subject: Re: [ANNOUNCE] New Portfile for Frescobaldi on Mac (Wilbert Berendsen)
Date: Tue, 17 Sep 2013 17:39:18 +0200

Hi Davide,

thanks for your portfile and your detailed instructions!  Now I have frescobaldi-devel up and running!  I just wanted to mention that I got the following error:

Error: org.macports.activate for port py27-cx_Freeze returned: Image error: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/cxfreeze already exists and does not belong to a registered port.  Unable to activate port py27-cx_Freeze. Use 'port -f activate py27-cx_Freeze' to force the activation.
Error: Failed to install py27-cx_Freeze
Please see the log file for port py27-cx_Freeze for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-cx_Freeze/py27-cx_Freeze/main.log
Error: The following dependencies were not installed: py27-cx_Freeze py27-pyqt4 py27-sip py27-python-poppler-qt4

I did sudo port -f activate py27-cx_Freeze to force the activation. I got quite a few warnings such as:
Warning: File /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/cxfreeze already exists.  Moving to: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/cxfreeze.mp_1379430873.

Do I have to worry (or do anything) about it?

Thanks for your help!
patrick
On 17.09.2013, at 16:17, Davide Liessi <address@hidden> wrote:

Dear Guy,

2013/9/17 Guy Stalnaker <address@hidden>:
Thank you for this explanatory reply. I'm one of those people who actually appreciates them :-)

I'm glad to hear this.
Also this message is a bit long... :)

In your reply you mention rebuilding popplerqt4.  How is that done?

The easiest way to rebuild a port is "sudo port -f uninstall portname"
followed by "sudo port install portname".
The "-f" flag is necessary if the port is a dependency of another
port, as in this case.
If you want to rebuild all ports that may be involved in this issue, try this:

$ sudo port -f uninstall py27-python-poppler-qt4
$ sudo port -f uninstall py27-pyqt4
$ sudo port -f uninstall py27-sip
$ sudo port -f uninstall poppler
$ sudo port -f uninstall frescobaldi
$ sudo port -f uninstall frescobaldi-devel

Maybe you have multiple versions of these ports installed (previous
deactivated versions).
In this case MacPorts will report an error, asking to specify exactly
which port you want to uninstall.
E.g. let's say that you have this situation:

$ port installed name:sip
The following ports are currently installed:
 py27-sip @4.15.1_0
 py27-sip @4.15.2_0 (active)

MacPorts will report this:

$ sudo port -f uninstall py27-sip
--->  The following versions of py27-sip are currently installed:
--->      py27-sip @4.15.1_0
--->      py27-sip @4.15.2_0 (active)
Error: port uninstall failed: Registry error: Please specify the full
version as recorded in the port registry.

In this case you actually want to uninstall only the active version,
so you will reissue the uninstall command specifying the version:

$ sudo port -f uninstall py27-sip @4.15.2_0

Do this for each port that has multiple versions.

After you have successfully uninstalled all those ports, install
poppler with the requested variants:

$ sudo port install poppler +qt4 +quartz

Then you can install Frescobaldi again with
$ sudo port install frescobaldi
or
$ sudo port install frescobaldi-devel
or
$ sudo port install frescobaldi-devel +app
This will make MacPorts reinstall also Frescobaldi's dependencies.

Technically it is not necessary to uninstall Frescobaldi and reinstall
it, nor to uninstall each of these ports, but this is the simplest way
to achieve what we want.

Let me know what happens.

Best wishes.
Davide

_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user


reply via email to

[Prev in Thread] Current Thread [Next in Thread]