Re: Problem with finding fonts in lilypond

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: Problem with finding fonts in lilypond

Maurits Lamers-2
Hi all,

I ran into this same problem with Gentoo Linux and version 2.5.2.
So I installed version 2.4.2 instead... The same problem exists, but only for
the lilybook command. If the lilypond-latex command is used, the problem
doesn't occur, the font can be found and the music is set correctly.
(I wonder if this also works when version 2.5.2 is installed ...)

(I know it is time to go for version 2.6, but it is not yet possible to install
that version using the portage system of Gentoo, 2.5.2 is the highest
installable version.)

Maybe this information can be helpful...

regards

Maurits Lamers

Citeren Mats Bengtsson <[hidden email]>:

> I would definitely recommend you to install the latest stable version,
> version 2.4.x, of LilyPond instead of the development version you have
> now.
>
> I've never user Gentoo, but on most other Linux distributions,
> the LilyPond installation installs a file in /etc/profile.d/ that
> sets some environment variables that are needed for LilyPond to
> find font files and some other files. This file isn't sourced until
> you start a new shell (or maybe you even have to logout and login
> again), so if you use a shell that was open before the installation,
> LilyPond will not work.
>
>     /Mats
>
> Tazz wrote:
> > Hello,
> >
> > I just installed lilypond 2.5.2 on my computer. I run linux Gentoo. I
> > installed it using the gentoo portage.
> > I also have tetex : 2.0.2-r1 installed.
> >
> > Now, when I try to get a very simple test file compiled with lilypond,
> > it crashes with the message:
> > Interpreting music... error: cannot find `feta20.afm'
> > Music font has not been installed properly.Aborting
> >
> >
> > I have been seeking the previous threads on this topic. It seems to be a
> > path problem. However, when trying the different advices I could find,
> > nothing worked. If I manually set the paths to all font directory with
> > the -I option, it still crashes not finding fonts with kpathsea... so I
> > suppose I need to set the link with Texmf right.. only problem I have no
> > idea how to do this, I am not such an expert in TeX etc.. just know what
> > is needed to use it ;-)
> >
> > I am running out of ideas now so I call for help.
> >
> > The verbose output is the following:
> >
> > bash-2.05b$ lilypond -V test.ly
> > GNU LilyPond 2.5.2
> >
> > LILYPOND_DATADIR="/usr/share/lilypond"
> > LOCAL_LILYPOND_DATADIR="/usr/share/lilypond/2.5.2"
> > LOCALEDIR="/usr/share/locale"
> > LILYPONDPREFIX=""
> >
> >
>
[/usr/share/lilypond/2.5.2/scm/lily-library.scm][/usr/share/lilypond/2.5.2/scm/define-music-types.scm][/usr/share/lilypond/2.5.2/scm/output-lib.scm][/usr/share/lilypond/2.5.2/scm/c++.scm][/usr/share/lilypond/2.5.2/scm/chord-ignatzek-names.scm][/usr/share/lilypond/2.5.2/scm/chord-entry.scm][/usr/share/lilypond/2.5.2/scm/chord-generic-names.scm][/usr/share/lilypond/2.5.2/scm/stencil.scm][/usr/share/lilypond/2.5.2/scm/new-markup.scm][/usr/share/lilypond/2.5.2/scm/bass-figure.scm][/usr/share/lilypond/2.5.2/scm/music-functions.scm][/usr/share/lilypond/2.5.2/scm/part-combiner.scm][/usr/share/lilypond/2.5.2/scm/define-music-properties.scm][/usr/share/lilypond/2.5.2/scm/auto-beam.scm][/usr/share/lilypond/2.5.2/scm/chord-name.scm][/usr/share/lilypond/2.5.2/scm/ly-from-scheme.scm][/usr/share/lilypond/2.5.2/scm/define-context-properties.scm][/usr/share/lilypond/2.5.2/scm/translation-functions.scm][/usr/share/lilypond/2.5.2/scm/script.scm][/usr/share/lilypond/2.5.2/scm/midi.scm][/usr/s
>
hare/lilypond/2.5.2/scm/beam.scm][/usr/share/lilypond/2.5.2/scm/clef.scm][/usr/share/lilypond/2.5.2/scm/slur.scm][/usr/share/lilypond/2.5.2/scm/font.scm][/usr/share/lilypond/2.5.2/scm/encoding.scm][/usr/share/lilypond/2.5.2/scm/fret-diagrams.scm][/usr/share/lilypond/2.5.2/scm/define-markup-commands.scm][/usr/share/lilypond/2.5.2/scm/define-grob-properties.scm][/usr/share/lilypond/2.5.2/scm/define-grobs.scm][/usr/share/lilypond/2.5.2/scm/define-grob-interfaces.scm][/usr/share/lilypond/2.5.2/scm/page-layout.scm][/usr/share/lilypond/2.5.2/scm/titling.scm][/usr/share/lilypond/2.5.2/scm/paper.scm][/usr/share/lilypond/2.5.2/scm/safe-lily.scm]Processing
> `test.ly'
> > Parsing...
> >
>
[/usr/share/lilypond/2.5.2/ly/init.ly[/usr/share/lilypond/2.5.2/ly/declarations-init.ly[/usr/share/lilypond/2.5.2/ly/music-functions-init.ly][/usr/share/lilypond/2.5.2/ly/nederlands.ly][/usr/share/lilypond/2.5.2/ly/drumpitch-init.ly][/usr/share/lilypond/2.5.2/ly/chord-modifiers-init.ly][/usr/share/lilypond/2.5.2/ly/script-init.ly][/usr/share/lilypond/2.5.2/ly/scale-definitions-init.ly][/usr/share/lilypond/2.5.2/ly/grace-init.ly][/usr/share/lilypond/2.5.2/ly/midi-init.ly[/usr/share/lilypond/2.5.2/ly/performer-init.ly]][/usr/share/lilypond/2.5.2/ly/paper-defaults.ly[/usr/share/lilypond/2.5.2/ly/titling-init.ly]][/usr/share/lilypond/2.5.2/ly/engraver-init.ly][/usr/share/lilypond/2.5.2/ly/dynamic-scripts-init.ly][/usr/share/lilypond/2.5.2/ly/spanners-init.ly][/usr/share/lilypond/2.5.2/ly/property-init.ly]][test.ly]Interpreting

> music... error: cannot find `feta20.afm'
> > Music font has not been installed properly.Aborting
> >
> >
> > Anne
> >
> >
> >
> > _______________________________________________
> > lilypond-user mailing list
> > [hidden email]
> > http://lists.gnu.org/mailman/listinfo/lilypond-user
>
> --
> =============================================
> Mats Bengtsson
> Signal Processing
> Signals, Sensors and Systems
> Royal Institute of Technology
> SE-100 44  STOCKHOLM
> Sweden
> Phone: (+46) 8 790 8463
>          Fax:   (+46) 8 790 7260
> Email: [hidden email]
> WWW: http://www.s3.kth.se/~mabe
> =============================================
>
>
> _______________________________________________
> lilypond-user mailing list
> [hidden email]
> http://lists.gnu.org/mailman/listinfo/lilypond-user
>




----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



_______________________________________________
lilypond-user mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: Problem with finding fonts in lilypond

tazz-3
The main problem in Gentoo is that the packages are installed in a
temporary directory and moved afterward if the installation was
completed with success. With other words, the installer of lilypond has
not the right paths but the temporary paths when it is run. When
extracting the tgz myself and reruning the configuration and installer
with the right path option, I did obtain a workable version. I must say
however that I did not try anymore to upgrade to the latest version of
Lilypond ;-)

On Sun, 2005-08-21 at 01:04 +0200, [hidden email] wrote:

> Hi all,
>
> I ran into this same problem with Gentoo Linux and version 2.5.2.
> So I installed version 2.4.2 instead... The same problem exists, but only for
> the lilybook command. If the lilypond-latex command is used, the problem
> doesn't occur, the font can be found and the music is set correctly.
> (I wonder if this also works when version 2.5.2 is installed ...)
>
> (I know it is time to go for version 2.6, but it is not yet possible to install
> that version using the portage system of Gentoo, 2.5.2 is the highest
> installable version.)
>
> Maybe this information can be helpful...
>
> regards
>
> Maurits Lamers
>
> Citeren Mats Bengtsson <[hidden email]>:
>
> > I would definitely recommend you to install the latest stable version,
> > version 2.4.x, of LilyPond instead of the development version you have
> > now.
> >
> > I've never user Gentoo, but on most other Linux distributions,
> > the LilyPond installation installs a file in /etc/profile.d/ that
> > sets some environment variables that are needed for LilyPond to
> > find font files and some other files. This file isn't sourced until
> > you start a new shell (or maybe you even have to logout and login
> > again), so if you use a shell that was open before the installation,
> > LilyPond will not work.
> >
> >     /Mats
> >
> > Tazz wrote:
> > > Hello,
> > >
> > > I just installed lilypond 2.5.2 on my computer. I run linux Gentoo. I
> > > installed it using the gentoo portage.
> > > I also have tetex : 2.0.2-r1 installed.
> > >
> > > Now, when I try to get a very simple test file compiled with lilypond,
> > > it crashes with the message:
> > > Interpreting music... error: cannot find `feta20.afm'
> > > Music font has not been installed properly.Aborting
> > >
> > >
> > > I have been seeking the previous threads on this topic. It seems to be a
> > > path problem. However, when trying the different advices I could find,
> > > nothing worked. If I manually set the paths to all font directory with
> > > the -I option, it still crashes not finding fonts with kpathsea... so I
> > > suppose I need to set the link with Texmf right.. only problem I have no
> > > idea how to do this, I am not such an expert in TeX etc.. just know what
> > > is needed to use it ;-)
> > >
> > > I am running out of ideas now so I call for help.
> > >
> > > The verbose output is the following:
> > >
> > > bash-2.05b$ lilypond -V test.ly
> > > GNU LilyPond 2.5.2
> > >
> > > LILYPOND_DATADIR="/usr/share/lilypond"
> > > LOCAL_LILYPOND_DATADIR="/usr/share/lilypond/2.5.2"
> > > LOCALEDIR="/usr/share/locale"
> > > LILYPONDPREFIX=""
> > >
> > >
> >
> [/usr/share/lilypond/2.5.2/scm/lily-library.scm][/usr/share/lilypond/2.5.2/scm/define-music-types.scm][/usr/share/lilypond/2.5.2/scm/output-lib.scm][/usr/share/lilypond/2.5.2/scm/c++.scm][/usr/share/lilypond/2.5.2/scm/chord-ignatzek-names.scm][/usr/share/lilypond/2.5.2/scm/chord-entry.scm][/usr/share/lilypond/2.5.2/scm/chord-generic-names.scm][/usr/share/lilypond/2.5.2/scm/stencil.scm][/usr/share/lilypond/2.5.2/scm/new-markup.scm][/usr/share/lilypond/2.5.2/scm/bass-figure.scm][/usr/share/lilypond/2.5.2/scm/music-functions.scm][/usr/share/lilypond/2.5.2/scm/part-combiner.scm][/usr/share/lilypond/2.5.2/scm/define-music-properties.scm][/usr/share/lilypond/2.5.2/scm/auto-beam.scm][/usr/share/lilypond/2.5.2/scm/chord-name.scm][/usr/share/lilypond/2.5.2/scm/ly-from-scheme.scm][/usr/share/lilypond/2.5.2/scm/define-context-properties.scm][/usr/share/lilypond/2.5.2/scm/translation-functions.scm][/usr/share/lilypond/2.5.2/scm/script.scm][/usr/share/lilypond/2.5.2/scm/midi.scm][/usr/s
> >
> hare/lilypond/2.5.2/scm/beam.scm][/usr/share/lilypond/2.5.2/scm/clef.scm][/usr/share/lilypond/2.5.2/scm/slur.scm][/usr/share/lilypond/2.5.2/scm/font.scm][/usr/share/lilypond/2.5.2/scm/encoding.scm][/usr/share/lilypond/2.5.2/scm/fret-diagrams.scm][/usr/share/lilypond/2.5.2/scm/define-markup-commands.scm][/usr/share/lilypond/2.5.2/scm/define-grob-properties.scm][/usr/share/lilypond/2.5.2/scm/define-grobs.scm][/usr/share/lilypond/2.5.2/scm/define-grob-interfaces.scm][/usr/share/lilypond/2.5.2/scm/page-layout.scm][/usr/share/lilypond/2.5.2/scm/titling.scm][/usr/share/lilypond/2.5.2/scm/paper.scm][/usr/share/lilypond/2.5.2/scm/safe-lily.scm]Processing
> > `test.ly'
> > > Parsing...
> > >
> >
> [/usr/share/lilypond/2.5.2/ly/init.ly[/usr/share/lilypond/2.5.2/ly/declarations-init.ly[/usr/share/lilypond/2.5.2/ly/music-functions-init.ly][/usr/share/lilypond/2.5.2/ly/nederlands.ly][/usr/share/lilypond/2.5.2/ly/drumpitch-init.ly][/usr/share/lilypond/2.5.2/ly/chord-modifiers-init.ly][/usr/share/lilypond/2.5.2/ly/script-init.ly][/usr/share/lilypond/2.5.2/ly/scale-definitions-init.ly][/usr/share/lilypond/2.5.2/ly/grace-init.ly][/usr/share/lilypond/2.5.2/ly/midi-init.ly[/usr/share/lilypond/2.5.2/ly/performer-init.ly]][/usr/share/lilypond/2.5.2/ly/paper-defaults.ly[/usr/share/lilypond/2.5.2/ly/titling-init.ly]][/usr/share/lilypond/2.5.2/ly/engraver-init.ly][/usr/share/lilypond/2.5.2/ly/dynamic-scripts-init.ly][/usr/share/lilypond/2.5.2/ly/spanners-init.ly][/usr/share/lilypond/2.5.2/ly/property-init.ly]][test.ly]Interpreting
> > music... error: cannot find `feta20.afm'
> > > Music font has not been installed properly.Aborting
> > >
> > >
> > > Anne
> > >
> > >
> > >
> > > _______________________________________________
> > > lilypond-user mailing list
> > > [hidden email]
> > > http://lists.gnu.org/mailman/listinfo/lilypond-user
> >
> > --
> > =============================================
> > Mats Bengtsson
> > Signal Processing
> > Signals, Sensors and Systems
> > Royal Institute of Technology
> > SE-100 44  STOCKHOLM
> > Sweden
> > Phone: (+46) 8 790 8463
> >          Fax:   (+46) 8 790 7260
> > Email: [hidden email]
> > WWW: http://www.s3.kth.se/~mabe
> > =============================================
> >
> >
> > _______________________________________________
> > lilypond-user mailing list
> > [hidden email]
> > http://lists.gnu.org/mailman/listinfo/lilypond-user
> >
>
>
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
--
Tazz <[hidden email]>
Home



_______________________________________________
lilypond-user mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: Problem with finding fonts in lilypond

Mats Bengtsson-6
In reply to this post by Maurits Lamers-2
Version 2.4.2 is probably more recent than 2.5.2 (the latter is
a "unstable" development version that shouldn't have made its
way into any packaging system).

    /Mats

[hidden email] wrote:

> Hi all,
>
> I ran into this same problem with Gentoo Linux and version 2.5.2.
> So I installed version 2.4.2 instead... The same problem exists, but only for
> the lilybook command. If the lilypond-latex command is used, the problem
> doesn't occur, the font can be found and the music is set correctly.
> (I wonder if this also works when version 2.5.2 is installed ...)
>
> (I know it is time to go for version 2.6, but it is not yet possible to install
> that version using the portage system of Gentoo, 2.5.2 is the highest
> installable version.)
>
> Maybe this information can be helpful...
>
> regards
>
> Maurits Lamers
>
> Citeren Mats Bengtsson <[hidden email]>:
>
>
>>I would definitely recommend you to install the latest stable version,
>>version 2.4.x, of LilyPond instead of the development version you have
>>now.
>>
>>I've never user Gentoo, but on most other Linux distributions,
>>the LilyPond installation installs a file in /etc/profile.d/ that
>>sets some environment variables that are needed for LilyPond to
>>find font files and some other files. This file isn't sourced until
>>you start a new shell (or maybe you even have to logout and login
>>again), so if you use a shell that was open before the installation,
>>LilyPond will not work.
>>
>>    /Mats
>>
>>Tazz wrote:
>>
>>>Hello,
>>>
>>>I just installed lilypond 2.5.2 on my computer. I run linux Gentoo. I
>>>installed it using the gentoo portage.
>>>I also have tetex : 2.0.2-r1 installed.
>>>
>>>Now, when I try to get a very simple test file compiled with lilypond,
>>>it crashes with the message:
>>>Interpreting music... error: cannot find `feta20.afm'
>>>Music font has not been installed properly.Aborting
>>>
>>>
>>>I have been seeking the previous threads on this topic. It seems to be a
>>>path problem. However, when trying the different advices I could find,
>>>nothing worked. If I manually set the paths to all font directory with
>>>the -I option, it still crashes not finding fonts with kpathsea... so I
>>>suppose I need to set the link with Texmf right.. only problem I have no
>>>idea how to do this, I am not such an expert in TeX etc.. just know what
>>>is needed to use it ;-)
>>>
>>>I am running out of ideas now so I call for help.
>>>
>>>The verbose output is the following:
>>>
>>>bash-2.05b$ lilypond -V test.ly
>>>GNU LilyPond 2.5.2
>>>
>>>LILYPOND_DATADIR="/usr/share/lilypond"
>>>LOCAL_LILYPOND_DATADIR="/usr/share/lilypond/2.5.2"
>>>LOCALEDIR="/usr/share/locale"
>>>LILYPONDPREFIX=""
>>>
>>>
>>
> [/usr/share/lilypond/2.5.2/scm/lily-library.scm][/usr/share/lilypond/2.5.2/scm/define-music-types.scm][/usr/share/lilypond/2.5.2/scm/output-lib.scm][/usr/share/lilypond/2.5.2/scm/c++.scm][/usr/share/lilypond/2.5.2/scm/chord-ignatzek-names.scm][/usr/share/lilypond/2.5.2/scm/chord-entry.scm][/usr/share/lilypond/2.5.2/scm/chord-generic-names.scm][/usr/share/lilypond/2.5.2/scm/stencil.scm][/usr/share/lilypond/2.5.2/scm/new-markup.scm][/usr/share/lilypond/2.5.2/scm/bass-figure.scm][/usr/share/lilypond/2.5.2/scm/music-functions.scm][/usr/share/lilypond/2.5.2/scm/part-combiner.scm][/usr/share/lilypond/2.5.2/scm/define-music-properties.scm][/usr/share/lilypond/2.5.2/scm/auto-beam.scm][/usr/share/lilypond/2.5.2/scm/chord-name.scm][/usr/share/lilypond/2.5.2/scm/ly-from-scheme.scm][/usr/share/lilypond/2.5.2/scm/define-context-properties.scm][/usr/share/lilypond/2.5.2/scm/translation-functions.scm][/usr/share/lilypond/2.5.2/scm/script.scm][/usr/share/lilypond/2.5.2/scm/midi.scm][/usr/s

>
> hare/lilypond/2.5.2/scm/beam.scm][/usr/share/lilypond/2.5.2/scm/clef.scm][/usr/share/lilypond/2.5.2/scm/slur.scm][/usr/share/lilypond/2.5.2/scm/font.scm][/usr/share/lilypond/2.5.2/scm/encoding.scm][/usr/share/lilypond/2.5.2/scm/fret-diagrams.scm][/usr/share/lilypond/2.5.2/scm/define-markup-commands.scm][/usr/share/lilypond/2.5.2/scm/define-grob-properties.scm][/usr/share/lilypond/2.5.2/scm/define-grobs.scm][/usr/share/lilypond/2.5.2/scm/define-grob-interfaces.scm][/usr/share/lilypond/2.5.2/scm/page-layout.scm][/usr/share/lilypond/2.5.2/scm/titling.scm][/usr/share/lilypond/2.5.2/scm/paper.scm][/usr/share/lilypond/2.5.2/scm/safe-lily.scm]Processing
>
>>`test.ly'
>>
>>>Parsing...
>>>
>>
> [/usr/share/lilypond/2.5.2/ly/init.ly[/usr/share/lilypond/2.5.2/ly/declarations-init.ly[/usr/share/lilypond/2.5.2/ly/music-functions-init.ly][/usr/share/lilypond/2.5.2/ly/nederlands.ly][/usr/share/lilypond/2.5.2/ly/drumpitch-init.ly][/usr/share/lilypond/2.5.2/ly/chord-modifiers-init.ly][/usr/share/lilypond/2.5.2/ly/script-init.ly][/usr/share/lilypond/2.5.2/ly/scale-definitions-init.ly][/usr/share/lilypond/2.5.2/ly/grace-init.ly][/usr/share/lilypond/2.5.2/ly/midi-init.ly[/usr/share/lilypond/2.5.2/ly/performer-init.ly]][/usr/share/lilypond/2.5.2/ly/paper-defaults.ly[/usr/share/lilypond/2.5.2/ly/titling-init.ly]][/usr/share/lilypond/2.5.2/ly/engraver-init.ly][/usr/share/lilypond/2.5.2/ly/dynamic-scripts-init.ly][/usr/share/lilypond/2.5.2/ly/spanners-init.ly][/usr/share/lilypond/2.5.2/ly/property-init.ly]][test.ly]Interpreting
>
>>music... error: cannot find `feta20.afm'
>>
>>>Music font has not been installed properly.Aborting
>>>
>>>
>>>Anne
>>>
>>>
>>>
>>>_______________________________________________
>>>lilypond-user mailing list
>>>[hidden email]
>>>http://lists.gnu.org/mailman/listinfo/lilypond-user
>>
>>--
>>=============================================
>> Mats Bengtsson
>> Signal Processing
>> Signals, Sensors and Systems
>> Royal Institute of Technology
>> SE-100 44  STOCKHOLM
>> Sweden
>> Phone: (+46) 8 790 8463
>>         Fax:   (+46) 8 790 7260
>> Email: [hidden email]
>> WWW: http://www.s3.kth.se/~mabe
>>=============================================
>>
>>
>>_______________________________________________
>>lilypond-user mailing list
>>[hidden email]
>>http://lists.gnu.org/mailman/listinfo/lilypond-user
>>
>
>
>
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>
>
> _______________________________________________
> lilypond-user mailing list
> [hidden email]
> http://lists.gnu.org/mailman/listinfo/lilypond-user

--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463
         Fax:   (+46) 8 790 7260
        Email: [hidden email]
        WWW: http://www.s3.kth.se/~mabe
=============================================


_______________________________________________
lilypond-user mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-user