[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Frecobaldi 2 Mac OS X install guide
From: |
Tim McNamara |
Subject: |
Re: Frecobaldi 2 Mac OS X install guide |
Date: |
Thu, 6 Jun 2013 08:17:08 -0500 |
On Jun 5, 2013, at 11:59 PM, flup2 wrote:
> Hello,
>
> While reading your error message, it seems that the python version used is
> the one included in OS X (/Library/Frameworks...), not the one installed by
> macports (/opt/local...)
>
> To be sure that the problem lies there, here are a few steps:
>
> sudo port select --set python python27
>
> Another way to force the command to use the "macport installed python
> version", is to run python with its full path. You should then have:
>
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
> setup.py build
>
> sudo
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
> setup.py install
Thank you, that seemed to work much better. During the build process there
were deprecation warnings and complaints:
[tim ~/Desktop/Downloads/python-poppler-qt4-0.16.3]$
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
setup.py build
running build
running build_ext
building 'popplerqt4' extension
/opt/local/bin/sip-2.7 -I /opt/local/share/py27-sip -t POPPLER_V0_20_0 -c
build/temp.macosx-10.6-x86_64-2.7 -b
build/temp.macosx-10.6-x86_64-2.7/poppler-qt4.sbf -I
/opt/local/share/py27-sip/PyQt4 -x VendorID -t WS_MACX -x PyQt_NoPrintRangeBug
-t Qt_4_8_4 -x Py_v3 -g poppler-qt4.sip
sip: Deprecation warning: poppler-qt4.sip:1: %Module version number should be
specified using the 'version' argument
sip: Deprecation warning: poppler-annotation.sip:378: %GetCode should be used a
sub-directive
sip: Deprecation warning: poppler-annotation.sip:378: %SetCode should be used a
sub-directive
creating build/temp.macosx-10.6-x86_64-2.7/build
creating build/temp.macosx-10.6-x86_64-2.7/build/temp.macosx-10.6-x86_64-2.7
/usr/bin/gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -pipe -O2 -fwrapv
-arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-I/opt/local/include -I/opt/local/include/QtCore -I/opt/local/include/QtGui
-I/opt/local/include/QtXml -I/opt/local/include/poppler/qt4
-I/opt/local/include/poppler
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
-c build/temp.macosx-10.6-x86_64-2.7/sippopplerqt4cmodule.cpp -o
build/temp.macosx-10.6-x86_64-2.7/build/temp.macosx-10.6-x86_64-2.7/sippopplerqt4cmodule.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC
but not for C++
I have no idea whether this is significant.
The build process seemed to complete and installing seemed to work fine:
[tim ~/Desktop/Downloads/python-poppler-qt4-0.16.3]$ sudo
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
setup.py install
running install
running build
running build_ext
running install_lib
copying build/lib.macosx-10.6-x86_64-2.7/popplerqt4.so ->
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
running install_egg_info
Writing
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/python_poppler_qt4-0.16.3-py2.7.egg-info
On launching Frescobaldi it again complains that it cannot load the popplerqt4
module. I'll spend some times chasing this down tomorrow or on the weekend. I
suppose this is progress but it's hard to tell.
Tim
- Re: Frecobaldi 2 Mac OS X install guide, jorgebravoiglesias, 2013/06/02
- Re: Frecobaldi 2 Mac OS X install guide, David Kastrup, 2013/06/06
- Re: Frecobaldi 2 Mac OS X install guide, Paul Morris, 2013/06/06
- Re: Frecobaldi 2 Mac OS X install guide, Wilbert Berendsen, 2013/06/06
- Re: Frecobaldi 2 Mac OS X install guide, Jean-Alexis Montignies, 2013/06/07
- Re: Frecobaldi 2 Mac OS X install guide, Stan Sanderson, 2013/06/24