[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ANNOUNCE] New Portfile for Frescobaldi on Mac
From: |
Jacques Menu |
Subject: |
Re: [ANNOUNCE] New Portfile for Frescobaldi on Mac |
Date: |
Wed, 11 Sep 2013 14:50:32 +0200 |
Hello Davide,
I've followed your recommended steps, synthesized in the script below, and that
works fine.
Building python-poppler-qt4-0.16.3 fails on Mac OS X 10.8.4, though, you'll
find the trace below.
JM
--
address@hidden > python --version
Python 2.7.2
address@hidden > cat InstallFrescobaldiMacPort.sh
#!/bin/bash
#set -x
echo "--> Gitting dliessi ports"
sudo mkdir /opt/dliessi
echo
cd /opt/dliessi
sudo git clone https://github.com/dliessi/ports.git
echo
echo "--> Contents of /opt/dliessi:"
ls -sal
echo
echo "--> Add the following before the 'rsync://' lines:"
echo " file:///opt/dliessi/ports/"
echo " then type Ctrl-O to save and Ctrl-X to exit."
echo
echo " Type any key to go ahead..."
read VAR
sudo nano /opt/local/etc/macports/sources.conf
echo
echo "--> Indexing port files"
cd /opt/dliessi/ports
sudo portindex
echo
echo "Update MacPorts stuff"
sudo port selfupdate
sudo port sync
sudo port upgrade outdated
echo
echo "--> Installing poppler:"
sudo port install poppler +qt4 +quartz
echo
echo "--> Installing Frescobaldi:"
sudo port install frescobaldi
echo
echo "--> Installing fluidsynth:"
sudo port install fluidsynth
echo
--
address@hidden:~/Downloads/python-poppler-qt4-0.16.3 > sudo python setup.py
install
dyld: DYLD_ environment variables being ignored because main executable
(/usr/bin/sudo) is setuid or setgid
running install
running bdist_egg
running egg_info
writing python_poppler_qt4.egg-info/PKG-INFO
writing top-level names to python_poppler_qt4.egg-info/top_level.txt
writing dependency_links to python_poppler_qt4.egg-info/dependency_links.txt
reading manifest file 'python_poppler_qt4.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'python_poppler_qt4.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.8-intel/egg
running install_lib
running build_ext
building 'popplerqt4' extension
clang -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common
-fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG
-Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -Os -Wall
-Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe
-I/usr/local/Cellar/qt/4.8.4/include
-I/usr/local/Cellar/qt/4.8.4/include/QtCore
-I/usr/local/Cellar/qt/4.8.4/include/QtGui
-I/usr/local/Cellar/qt/4.8.4/include/QtXml -I/opt/local/include/poppler/qt4
-I/opt/local/include/poppler
-I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
-I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c
build/temp.macosx-10.8-intel-2.7/sippopplerqt4cmodule.cpp -o
build/temp.macosx-10.8-intel-2.7/build/temp.macosx-10.8-intel-2.7/sippopplerqt4cmodule.o
… … …
clang: warning: argument unused during compilation: '-mno-fused-madd'
clang -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common
-fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG
-Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -Os -Wall
-Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe
-I/usr/local/Cellar/qt/4.8.4/include
-I/usr/local/Cellar/qt/4.8.4/include/QtCore
-I/usr/local/Cellar/qt/4.8.4/include/QtGui
-I/usr/local/Cellar/qt/4.8.4/include/QtXml -I/opt/local/include/poppler/qt4
-I/opt/local/include/poppler
-I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
-I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c
build/temp.macosx-10.8-intel-2.7/sippopplerqt4QLinkedList0100PopplerAnnotationRevision.cpp
-o
build/temp.macosx-10.8-intel-2.7/build/temp.macosx-10.8-intel-2.7/sippopplerqt4QLinkedList0100PopplerAnnotationRevision.o
clang: warning: argument unused during compilation: '-mno-fused-madd'
build/temp.macosx-10.8-intel-2.7/sippopplerqt4QLinkedList0100PopplerAnnotationRevision.cpp:22:55:
error:
no member named 'Revision' in 'Poppler::Annotation'; did you mean
'revisions'?
reinterpret_cast<QLinkedList<Poppler::Annotation::Revision>
*>(sipDst)[sipDstIdx] =...
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
revisions
/opt/local/include/poppler/qt4/poppler-annotation.h:392:24: note: 'revisions'
declared here
QList<Annotation*> revisions() const;
^
build/temp.macosx-10.8-intel-2.7/sippopplerqt4QLinkedList0100PopplerAnnotationRevision.cpp:22:55:
error:
call to non-static member function without an object argument
reinterpret_cast<QLinkedList<Poppler::Annotation::Revision>
*>(sipDst)[sipDstIdx] =...
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
build/temp.macosx-10.8-intel-2.7/sippopplerqt4QLinkedList0100PopplerAnnotationRevision.cpp:22:75:
error:
subscript of pointer to incomplete type 'void'
reinterpret_cast<QLinkedList<Poppler::Annotation::Revision>
*>(sipDst)[sipDstIdx] =...
~~~~~~ ^
build/temp.macosx-10.8-intel-2.7/sippopplerqt4QLinkedList0100PopplerAnnotationRevision.cpp:22:146:
error:
no member named 'Revision' in 'Poppler::Annotation'; did you mean
'revisions'?
...= *reinterpret_cast<const QLinkedList<Poppler::Annotation::Revision>
*>(sipSrc);
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
revisions
/opt/local/include/poppler/qt4/poppler-annotation.h:392:24: note: 'revisions'
declared here
QList<Annotation*> revisions() const;
^
build/temp.macosx-10.8-intel-2.7/sippopplerqt4QLinkedList0100PopplerAnnotationRevision.cpp:22:146:
error:
call to non-static member function without an object argument
...= *reinterpret_cast<const QLinkedList<Poppler::Annotation::Revision>
*>(sipSrc);
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
build/temp.macosx-10.8-intel-2.7/sippopplerqt4QLinkedList0100PopplerAnnotationRevision.cpp:29:49:
error:
no member named 'Revision' in 'Poppler::Annotation'; did you mean
'revisions'?
return new QLinkedList<Poppler::Annotation::Revision>[sipNrElem];
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
revisions
/opt/local/include/poppler/qt4/poppler-annotation.h:392:24: note: 'revisions'
declared here
QList<Annotation*> revisions() const;
^
build/temp.macosx-10.8-intel-2.7/sippopplerqt4QLinkedList0100PopplerAnnotationRevision.cpp:29:49:
error:
call to non-static member function without an object argument
return new QLinkedList<Poppler::Annotation::Revision>[sipNrElem];
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
build/temp.macosx-10.8-intel-2.7/sippopplerqt4QLinkedList0100PopplerAnnotationRevision.cpp:36:49:
error:
no member named 'Revision' in 'Poppler::Annotation'; did you mean
'revisions'?
return new
QLinkedList<Poppler::Annotation::Revision>(reinterpret_cast<const...
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
revisions
/opt/local/include/poppler/qt4/poppler-annotation.h:392:24: note: 'revisions'
declared here
QList<Annotation*> revisions() const;
^
build/temp.macosx-10.8-intel-2.7/sippopplerqt4QLinkedList0100PopplerAnnotationRevision.cpp:36:49:
error:
call to non-static member function without an object argument
return new
QLinkedList<Poppler::Annotation::Revision>(reinterpret_cast<const...
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
build/temp.macosx-10.8-intel-2.7/sippopplerqt4QLinkedList0100PopplerAnnotationRevision.cpp:45:62:
error:
no member named 'Revision' in 'Poppler::Annotation'; did you mean
'revisions'?
delete reinterpret_cast<QLinkedList<Poppler::Annotation::Revision> *>(ptr);
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
revisions
/opt/local/include/poppler/qt4/poppler-annotation.h:392:24: note: 'revisions'
declared here
QList<Annotation*> revisions() const;
^
build/temp.macosx-10.8-intel-2.7/sippopplerqt4QLinkedList0100PopplerAnnotationRevision.cpp:45:62:
error:
call to non-static member function without an object argument
delete reinterpret_cast<QLinkedList<Poppler::Annotation::Revision> *>(ptr);
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
build/temp.macosx-10.8-intel-2.7/sippopplerqt4QLinkedList0100PopplerAnnotationRevision.cpp:45:5:
warning:
cannot delete expression with pointer-to-'void' type 'void *'
delete reinterpret_cast<QLinkedList<Poppler::Annotation::Revision> *>(ptr);
^ ~~~
build/temp.macosx-10.8-intel-2.7/sippopplerqt4QLinkedList0100PopplerAnnotationRevision.cpp:54:38:
error:
no member named 'Revision' in 'Poppler::Annotation'; did you mean
'revisions'?
QLinkedList<Poppler::Annotation::Revision> **sipCppPtr =...
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
revisions
/opt/local/include/poppler/qt4/poppler-annotation.h:392:24: note: 'revisions'
declared here
QList<Annotation*> revisions() const;
^
build/temp.macosx-10.8-intel-2.7/sippopplerqt4QLinkedList0100PopplerAnnotationRevision.cpp:54:38:
error:
call to non-static member function without an object argument
QLinkedList<Poppler::Annotation::Revision> **sipCppPtr =...
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
types.sip:136:38: error: no member named 'Revision' in 'Poppler::Annotation';
did you mean
'revisions'?
QLinkedList<Poppler::Annotation::Revision> *qll = new...
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
revisions
/opt/local/include/poppler/qt4/poppler-annotation.h:392:24: note: 'revisions'
declared here
QList<Annotation*> revisions() const;
^
types.sip:136:38: error: call to non-static member function without an object
argument
QLinkedList<Poppler::Annotation::Revision> *qll = new...
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
types.sip:143:30: error: no type named 'Revision' in 'Poppler::Annotation'
Poppler::Annotation::Revision *t =
reinterpret_cast<Poppler::Annotation::Revision...
~~~~~~~~~~~~~~~~~~~~~^
types.sip:143:82: error: no type named 'Revision' in 'Poppler::Annotation'
...*t = reinterpret_cast<Poppler::Annotation::Revision
*>(sipConvertToType(itm,...
~~~~~~~~~~~~~~~~~~~~~^
types.sip:151:20: error: use of undeclared identifier 'qll'
delete qll;
^
types.sip:155:9: error: use of undeclared identifier 'qll'
qll->append(*t);
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
1 warning and 20 errors generated.
error: command 'clang' failed with exit status 1
Le 10 sept. 2013 à 13:09:49, Davide Liessi <address@hidden> a écrit :
> Dear Mac OS X Frescobaldi users,
>
> [from http://lists.gnu.org/archive/html/lilypond-user/2013-09/msg00030.html]
>> I am currently fine tuning a new version of the Portfile that
>> automatically creates also the application bundle.
>> I just need to test it on 10.7 and 10.8 machines (I run 10.6 and have
>> occasional access to those machines) and then I'll publish it into the
>> master branch of my repository.
>> I'll announce to the list when this will happen (in a couple of days, I
>> hope).
>
> I am pleased to announce that a new version of my Portfiles for
> Frescobaldi installation through MacPorts is publicly available in my
> GitHub repository (https://github.com/dliessi/ports).
>
> New features include the possibility to build a clickable application
> bundle and the inclusion of some useful patches for system language
> handling and automatic detection of default LilyPond installation.
>
> You'll find instructions on how to install/upgrade in my repository's home
> page.
> If you need further instructions or if you run into any problems,
> don't hesitate to contact me, either sending me an email message or
> opening an issue on GitHub (https://github.com/dliessi/ports/issues).
>
> I would like to publicly thank Stefan Vollmar for his help in testing
> my Portfiles.
>
> Best wishes.
> Davide
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user