(Solved) Lilypond/Frescobaldi dependencies for Slackbuild.

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
globetrotterdk
Posts: 435
Joined: 26. Oct 2010, 13:57
Location: Denmark

(Solved) Lilypond/Frescobaldi dependencies for Slackbuild.

Post 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.
Last edited by globetrotterdk on 7. Apr 2016, 13:07, edited 1 time in total.
Military justice is to justice what military music is to music. - Groucho Marx
User avatar
ChuangTzu
Donor
Posts: 388
Joined: 19. May 2015, 23:34

Re: Lilypond and frescobaldi dependencies for Slackbuild.

Post 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
User avatar
globetrotterdk
Posts: 435
Joined: 26. Oct 2010, 13:57
Location: Denmark

Re: Lilypond and frescobaldi dependencies for Slackbuild.

Post 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
Military justice is to justice what military music is to music. - Groucho Marx
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: Lilypond and frescobaldi dependencies for Slackbuild.

Post 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.
Image
Image
User avatar
globetrotterdk
Posts: 435
Joined: 26. Oct 2010, 13:57
Location: Denmark

Re: Lilypond and frescobaldi dependencies for Slackbuild.

Post 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.
Military justice is to justice what military music is to music. - Groucho Marx
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: Lilypond and frescobaldi dependencies for Slackbuild.

Post 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.
Image
Image
User avatar
globetrotterdk
Posts: 435
Joined: 26. Oct 2010, 13:57
Location: Denmark

Re: Lilypond and frescobaldi dependencies for Slackbuild.

Post 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
???
Military justice is to justice what military music is to music. - Groucho Marx
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: Lilypond and frescobaldi dependencies for Slackbuild.

Post 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.
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
User avatar
globetrotterdk
Posts: 435
Joined: 26. Oct 2010, 13:57
Location: Denmark

Re: Lilypond and frescobaldi dependencies for Slackbuild.

Post 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.
Military justice is to justice what military music is to music. - Groucho Marx
Post Reply