Page 1 of 1

(Solved) Lilypond/Frescobaldi dependencies for Slackbuild.

Posted: 6. Apr 2016, 16:36
by globetrotterdk
Does anyone of hand know what the dependencies are for the lilypond and frescobaldi slackbuilds? The error messages that I am getting and the documentation on the builds aren't very clear in my opinion. I am using Salix64 MATE 14.1.

Re: Lilypond and frescobaldi dependencies for Slackbuild.

Posted: 6. Apr 2016, 18:11
by ChuangTzu
Hi Globetrotter,

Lilypond: in order, if doing it manually....slapt-get/slapt-src or spi should build it just fine.
guile1.8
potrace
t1utils
mftrace
fontforge
lilypond

Frescobald:
python-poppler-qt4
lilypond (which would already be built)

Ref: https://slackbuilds.org/result/?search=lilypond&sv=14.1

Re: Lilypond and frescobaldi dependencies for Slackbuild.

Posted: 6. Apr 2016, 20:42
by globetrotterdk
ChuangTzu wrote:Hi Globetrotter,

Lilypond: in order, if doing it manually....slapt-get/slapt-src or spi should build it just fine.
guile1.8
potrace
t1utils
mftrace
fontforge
lilypond

Frescobald:
python-poppler-qt4
lilypond (which would already be built)

Ref: https://slackbuilds.org/result/?search=lilypond&sv=14.1
Thanks for the quick reply. All of the dependencies are installed for lilypond, yet I keep getting the following error:

Code: Select all

WARNING: Please consider installing optional programs or files:  dblatex bibtex pdflatex pdfetex pdftex etex epsf.tex lh CTAN package (texlive-lang-cyrillic or texlive-texmf-fonts) pngtopnm

ERROR: Please install required programs:  mf-nowin mf mfw mfont mpost kpsewhich metapost CTAN package (texlive-metapost)

See INSTALL.txt for more information on how to build LilyPond
fakeroot -- sh lilypond.SlackBuild Failed
What gives?
Edit----
The python-poppler-qt4 build fails as well.

Code: Select all

patching file setup.py
Traceback (most recent call last):
  File "setup.py", line 35, in <module>
    import PyQt4.pyqtconfig
ImportError: No module named PyQt4.pyqtconfig
fakeroot -- sh python-poppler-qt4.SlackBuild Failed
I have tried slapt-src and spi on both

Re: Lilypond and frescobaldi dependencies for Slackbuild.

Posted: 6. Apr 2016, 21:03
by gapan
It needs a latex installation. Installing the tetex package should do it. If you need latex to do real work, it should be preferable to install texlive manually.

Re: Lilypond and frescobaldi dependencies for Slackbuild.

Posted: 6. Apr 2016, 21:29
by globetrotterdk
gapan wrote:It needs a latex installation. Installing the tetex package should do it. If you need latex to do real work, it should be preferable to install texlive manually.
No such luck, unfortunately. I am still getting the same error.

Re: Lilypond and frescobaldi dependencies for Slackbuild.

Posted: 6. Apr 2016, 21:37
by gapan
Which one? You also need PyQt for the second error.

edit: for latex to become available you need to either source the script in /etc/profile.d, or log out and then back in.

Re: Lilypond and frescobaldi dependencies for Slackbuild.

Posted: 7. Apr 2016, 07:53
by globetrotterdk
Thanks. I got Lilypond installed, but have come across a new hurdle with Frescobaldi. Frescobaldi depends on python-poppler-qt4, but when I try to build python-poppler-qt4, I get the message:

Code: Select all

Traceback (most recent call last):
  File "setup.py", line 35, in <module>
    import PyQt4.pyqtconfig
ImportError: No module named PyQt4.pyqtconfig
fakeroot -- sh python-poppler-qt4.SlackBuild Failed
Is this because spi isn't applying the included patch to the Slackbuild? If spi can't include patches, that would mean that I have to patch the python-poppler-qt4.SlackBuild manually. with a

Code: Select all

sudo patch -p1 < /home/user/Desktop/python-poppler-qt4-0.16.2-poppler-0.20.0.patch
???

Re: Lilypond and frescobaldi dependencies for Slackbuild.

Posted: 7. Apr 2016, 09:13
by laprjns
globetrotterdk wrote:Is this because spi isn't applying the included patch to the Slackbuild?
No spi does not apply patches, the Slackbuild does that. The reason why your build failed is because you don't have PyQT installed. This is another case where the Slackbuild assumes a full slackware install and therefore has an undeclared dependency on PyQT.

I did:

Code: Select all

$ sudo spi -i frescobaldi 
and it build and installed all packages including lilypond without problems, but I already had PyQT installed.

Re: Lilypond and frescobaldi dependencies for Slackbuild.

Posted: 7. Apr 2016, 13:05
by globetrotterdk
laprjns wrote:
globetrotterdk wrote:Is this because spi isn't applying the included patch to the Slackbuild?
No spi does not apply patches, the Slackbuild does that. The reason why your build failed is because you don't have PyQT installed. This is another case where the Slackbuild assumes a full slackware install and therefore has an undeclared dependency on PyQT.

I did:

Code: Select all

$ sudo spi -i frescobaldi 
and it build and installed all packages including lilypond without problems, but I already had PyQT installed.
That seems to have sorted the problem out. Many thanks.