OK, now you have managed to source the file.

However, it seems that your installation of teTeX doesn't
behave as it should.

What does the following sequence of commands return?

unset TEXMF
kpsexpand \$TEXMF
kpsewhich texmf.cnf


Also, you should try to figure out why you didn't manage to source the file earlier.

   /Mats


R S Ananda Murthy wrote:
On 08/18/2004 06:48:28 PM, Mats Bengtsson wrote:

First of all, I hope that we are talking about the file
buildscripts/out/lilypond-profile
and NOT
buildscripts/lilypond-profile.sh

To help us understand what's going on, try the following:
- Go to the lilypond-* directory where you run the compilation

- Run the command
set -x
  this will make bash echo every line it executes

- Run (I hope you have noted the initial dot followed by a space)
. buildscripts/out/lilypond-profile

- Reset bash to normal behaviour by running
set +x

Send the resulting output to the mailing list.

/Mats


This is the resulting output:

+ . buildscripts/out/lilypond-profile
++ '[' -n '' ']'
+++ basename bash
++ '[' -z '' -a bash = lilypond-profile ']'
++ '[' -z '' ']'
+++ echo /usr/share/lilypond/2.3.11
+++ sed 's!//!/!g'
++ datadir=/usr/share/lilypond/2.3.11
+++ echo '{/usr/share/lilypond/2.3.11,}'
+++ grep /usr/share/lilypond/2.3.11
++ '[' -z '{/usr/share/lilypond/2.3.11,}' ']'

After this if I now type the command printenv TEXMF I get:

+ printenv TEXMF
{/usr/share/lilypond/2.3.11,}

Anand

R S Ananda Murthy wrote:



On 08/18/2004 01:48:08 PM, Mats Bengtsson wrote:

I'm cross-posting to lilypond-user, to increase the chance
that you get help from some Slackware user.

R S Ananda Murthy wrote:

On 08/17/2004 08:45:10 PM, Mats Bengtsson wrote:

Did you start a new shell first?




Yes.



I was wrong, you probably have to logout/login again to make bash read the profile files. Hopefully this helps

What does the following command return:
printenv TEXMF



Nothing.



Which indicates that the lilypond-profile file wasn't read.

If you are eager to get started (waiting for some Slackware
user on the list to provide more help), just run
. /.../lilypond-profile
in the shell where you want to run LilyPond.



I did this after making lilypond-profile executable. But after this, if I do printenv TEXMF I get nothing. So, I feel there is something wrong in lilypond-profile. I think, if this is set right, Lilypond- 2.3.11 may work properly on Slackware 10.


In another mail, you wrote

Hello,

While invoking Lilypond, what sould be the following environment
variables:

TEXMF
LILYPONDPREFIX
LANG

How to set these variables? Can anybody give some examples?



If you did 'make install', you should leave LILYPONDPREFIX unset. The same goes for LANG, unless you want your programs to speak some other language than english. If you try to set the TEXMF variable yourself, it's very likely to get wrong, that's why we have the lilypond-profile file.

   /Mats




R S Ananda Murthy wrote:

On 08/17/2004 08:07:33 PM, R S Ananda Murthy wrote:

I am hereby placing this discussion in the mailing list.

Anand

On 08/17/2004 03:51:01 PM, Mats Bengtsson wrote:

Please keep the discussion on the mailing list, for the
benefit of yourself since you get access to the collected
expertise on the list and for the benefit of others who experience
similar problems. Feel free to quote my answer below if you wish.



R S Ananda Murthy wrote:

Hello,

Thanks for your mail. Now Lilypond-2.3.11 is running on Slackware 10! I installed mftraced ec fonts. I have done texhash. But when I do

lilypond test.py

I get the following message:

Now processing `test.ly'
Parsing...
Interpreting music... error: can't find `feta20.afm'
Music font has not been installed properly.  Aborting

I have not understood what I should do with the scripts

lilypond-profile
lilypond-login

I am using bash. Could you please help.





I don't know how things are setup in Slackware. On RedHat systems,
there's a directory /etc/profile.d/, where you can put the file
lilypond-profile (renamed to lilypond-profile.sh) so it will be
automatically read as soon as you start a new shell.
Otherwise, you can add a line
. /whatever/path/to/the/file/lilypond-profile
in your own ~/.profile


/Mats






_______________________________________________
lilypond-devel mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-devel





Hello,

As mentioned above, I copied lilypond-profile.sh into /etc/ profile. d. In Slackware 10 also we have /etc/profile.d. Now I tried

lilypond test.ly

where the content of test.ly is

{ c'4 e' g' }

But I still get the message:

Now processing `test.ly'
Parsing...
Interpreting music... error: can't find `feta20.afm'
Music font has not been installed properly.  Aborting

I have installed mftraced ec fonts and done texhash. What is the problem?

Anand


_______________________________________________ lilypond-devel mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-devel




-- =============================================
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: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=============================================





_______________________________________________ lilypond-devel mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-devel



-- =============================================
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: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=============================================




_______________________________________________
lilypond-devel mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-devel


--
=============================================
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: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=============================================



_______________________________________________ lilypond-user mailing list [EMAIL PROTECTED] 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: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe =============================================


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

Reply via email to