Re: music-drawing-routines.ps

2005-04-16 Thread Mats Bengtsson
Now I see, I should have noticed the problem earlier.
Just put a copy of the directory /usr/share/lilypond/2.4.5/ps/
below /usr/share/lilypond/2.4.5/dvips/. Probably the maintainer
of the lilypond package for your system hasn't noted the change
in the installation in version 2.4.5 (to make it compatibel with
teTeX 3.0). Please send him an email.
/Mats
dpeach wrote:
OK, I think we are getting closer to the problem.
What do the following commands return (note that the quotes
are back quotes not normal quotes):
grep dvips `kpsewhich texmf.cnf`
grep TEXPSHEADERS `kpsewhich texmf.cnf`

[EMAIL PROTECTED]:~$ grep dvips `kpsewhich texmf.cnf`
PSHEADERS.XDvi  = .;$TEXMF/%q{dvips,fonts/type1}//
TEXPICTS.XDvi   = .;$TEXMF/%q{dvips,tex}//
TEXPSHEADERS = .;$TEXMF/{dvips,fonts/{enc,type1,type3}}//
TEXPSHEADERS.gsftopk = .;$TEXMF/{dvips,fonts/{enc,type1,type3,truetype}}//
TEXCONFIG = $TEXMF/dvips//
% dvips's -M option.  Your first chance to specify whether the scripts
[EMAIL PROTECTED]:~$ grep TEXPSHEADERS `kpsewhich texmf.cnf`
TEXPSHEADERS = .;$TEXMF/{dvips,fonts/{enc,type1,type3}}//
TEXPSHEADERS.gsftopk = .;$TEXMF/{dvips,fonts/{enc,type1,type3,truetype}}//

This should give you a long file log with lots of debug printouts
related to how dvips searches for different files in the installation.

I am sending the log file to you Mats in an off-list email.
I really appreciate this.
dpeach
___
lilypond-user mailing list
lilypond-user@gnu.org
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
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: music-drawing-routines.ps

2005-04-15 Thread Mats Bengtsson

dpeach wrote:

[EMAIL PROTECTED]:~$ printenv TEXMF
{/usr/share/lilypond/2.4.5,{!!/home/david/.texmf-config,!!/home/david/.texmf-var,/home/david/texmf,!!/usr/share/texmf-config,!!/usr/share/texmf-var,!!/usr/share/texmf,!!/usr/share/texmf-local,!!/usr/share/texmf-dist}} 

Looks OK and tells me that you have teTeX version 3, which might
be highly relevant.

One thing I noticed about this output after I sent it was that it 
mentions 4 directories in my /home/david dir which do not exist! That 
seems important to me. I know 2 of them are hidden, but I have checked 
that and they are not there. This seems key to me.
No, that's completely normal!

[EMAIL PROTECTED]:~$ kpsewhich music-drawing-routines.ps
/usr/share/lilypond/2.4.5/tex/music-drawing-routines.ps
OK! I realize now that the relevant thing to check probably is what
kpsewhich -format=dvips config music-drawing-routines.ps
returns. Hopefully, it should answer with
/usr/share/lilypond/2.4.5/ps/music-drawing-routines.ps
on your system.
Nothing. No output.
OK, I think we are getting closer to the problem.
What do the following commands return (note that the quotes
are back quotes not normal quotes):
grep dvips `kpsewhich texmf.cnf`
grep TEXPSHEADERS `kpsewhich texmf.cnf`


So far, everything looks completely normal. As a last resort, you
could try to set the environment variable KPATHSEA_DEBUG to -1,
manually run the command:
dvips  -t letter   -u+ec-mftrace.map -u+lilypond.map -Ppdf peregrino
and then look through the resulting debug information that's printed to
stderr, to try to find out why the file isn't found.

I set the environment variable as suggested. I ran the command and it 
gave me the same errors. I am clueless as to what stderr is and googling 
did not shed much more light on the situation. Can you elaborate?
stderr is short for standard error, read any introduction to UNIX
and shells for more information. Assuming that you use sh or bash
as your shell, what I want you to do is:
export KPATHSEA_DEBUG=-1
dvips  -t letter -u+ec-mftrace -u+lilypond -Ppdf peregrino  log 21
This should give you a long file log with lots of debug printouts
related to how dvips searches for different files in the installation.
   /Mats
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: music-drawing-routines.ps

2005-04-15 Thread dpeach
OK, I think we are getting closer to the problem.
What do the following commands return (note that the quotes
are back quotes not normal quotes):
grep dvips `kpsewhich texmf.cnf`
grep TEXPSHEADERS `kpsewhich texmf.cnf`
[EMAIL PROTECTED]:~$ grep dvips `kpsewhich texmf.cnf`
PSHEADERS.XDvi  = .;$TEXMF/%q{dvips,fonts/type1}//
TEXPICTS.XDvi   = .;$TEXMF/%q{dvips,tex}//
TEXPSHEADERS = .;$TEXMF/{dvips,fonts/{enc,type1,type3}}//
TEXPSHEADERS.gsftopk = .;$TEXMF/{dvips,fonts/{enc,type1,type3,truetype}}//
TEXCONFIG = $TEXMF/dvips//
% dvips's -M option.  Your first chance to specify whether the scripts
[EMAIL PROTECTED]:~$ grep TEXPSHEADERS `kpsewhich texmf.cnf`
TEXPSHEADERS = .;$TEXMF/{dvips,fonts/{enc,type1,type3}}//
TEXPSHEADERS.gsftopk = .;$TEXMF/{dvips,fonts/{enc,type1,type3,truetype}}//

This should give you a long file log with lots of debug printouts
related to how dvips searches for different files in the installation.
I am sending the log file to you Mats in an off-list email.
I really appreciate this.
dpeach
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: music-drawing-routines.ps

2005-04-14 Thread Mats Bengtsson
OK, time for some debugging!
- What do the following commands return?
printenv TEXMF
kpsewhich music-drawing-routines.ps
- What is the full path to the file in your installation?
   /Mats
dpeach wrote:
Sorry, I replied off list. Here is my reply again for the world to see.
Thanks for the reply Mats.
  but it looks as if the problem is that the environment variables
  are not set correctly. LilyPond comes with a script called
  lilypond-profile (or lilypond-profile.sh) that should be sourced
  to get the correct environment variable settings.
After figuring out how to source something (for those who don't know, 
you type: source then the file name of what it is you would like to 
source in a terminal) I did that with lilypond-profile.sh. I got no 
output, which from my reading is a good sign. But it still does not 
work. I then took a peek inside the script and saw some interesting 
things about directories. Tried to manually create some things, but 
running lilypond still gives me the same output in the end.

  Another possible problem that I know has appeared in some packaging
  of LilyPond is that only root had read permissions for some of the
  files under .../share/lilypond/.
Already looked into that and I have read permissions available for 
everyone. (It was automatically set for that, I did not change anything).

Any other thoughts?
dpeach
___
lilypond-user mailing list
lilypond-user@gnu.org
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
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: music-drawing-routines.ps

2005-04-14 Thread dpeach
Thanks again for your time.
- What do the following commands return?
printenv TEXMF
kpsewhich music-drawing-routines.ps
[EMAIL PROTECTED]:~$ printenv TEXMF
{/usr/share/lilypond/2.4.5,{!!/home/david/.texmf-config,!!/home/david/.texmf-var,/home/david/texmf,!!/usr/share/texmf-config,!!/usr/share/texmf-var,!!/usr/share/texmf,!!/usr/share/texmf-local,!!/usr/share/texmf-dist}}
[EMAIL PROTECTED]:~$ kpsewhich music-drawing-routines.ps
/usr/share/lilypond/2.4.5/tex/music-drawing-routines.ps
- What is the full path to the file in your installation?
Which file? The one I am having problems with?
There is one here: /usr/share/lilypond/2.4.5/tex/music-drawing-routines.ps
And one here:/usr/share/lilypond/2.4.5/ps/music-drawing-routines.ps
I have not dug in every directory to see where else it might reside. I 
have just stumbled onto those more or less. Both have permissions set 
to: -rw-r--r--  1 root root

I guess this is what I get for changing distros. :-)
dpeach
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: music-drawing-routines.ps

2005-04-14 Thread Mats Bengtsson

dpeach wrote:
Thanks again for your time.
- What do the following commands return?
printenv TEXMF
kpsewhich music-drawing-routines.ps

[EMAIL PROTECTED]:~$ printenv TEXMF
{/usr/share/lilypond/2.4.5,{!!/home/david/.texmf-config,!!/home/david/.texmf-var,/home/david/texmf,!!/usr/share/texmf-config,!!/usr/share/texmf-var,!!/usr/share/texmf,!!/usr/share/texmf-local,!!/usr/share/texmf-dist}} 
Looks OK and tells me that you have teTeX version 3, which might
be highly relevant.
[EMAIL PROTECTED]:~$ kpsewhich music-drawing-routines.ps
/usr/share/lilypond/2.4.5/tex/music-drawing-routines.ps
OK! I realize now that the relevant thing to check probably is what
kpsewhich -format=dvips config music-drawing-routines.ps
returns. Hopefully, it should answer with
/usr/share/lilypond/2.4.5/ps/music-drawing-routines.ps
on your system.
- What is the full path to the file in your installation?

Which file? The one I am having problems with?
There is one here: /usr/share/lilypond/2.4.5/tex/music-drawing-routines.ps
And one here:/usr/share/lilypond/2.4.5/ps/music-drawing-routines.ps
I have not dug in every directory to see where else it might reside. I 
have just stumbled onto those more or less. Both have permissions set 
to: -rw-r--r--  1 root root
Have you tried to read them (as a normal user) so it's not a problem
with the permissions higher up in the hierarchy?
So far, everything looks completely normal. As a last resort, you
could try to set the environment variable KPATHSEA_DEBUG to -1,
manually run the command:
dvips  -t letter   -u+ec-mftrace.map -u+lilypond.map -Ppdf peregrino
and then look through the resulting debug information that's printed to
stderr, to try to find out why the file isn't found.
If you wish, you could send me a private email with the debug output
if you can't figure it out yourself.
/Mats
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: music-drawing-routines.ps

2005-04-13 Thread dpeach
Sorry, I replied off list. Here is my reply again for the world to see.
Thanks for the reply Mats.
 but it looks as if the problem is that the environment variables
 are not set correctly. LilyPond comes with a script called
 lilypond-profile (or lilypond-profile.sh) that should be sourced
 to get the correct environment variable settings.
After figuring out how to source something (for those who don't know, 
you type: source then the file name of what it is you would like to 
source in a terminal) I did that with lilypond-profile.sh. I got no 
output, which from my reading is a good sign. But it still does not 
work. I then took a peek inside the script and saw some interesting 
things about directories. Tried to manually create some things, but 
running lilypond still gives me the same output in the end.

 Another possible problem that I know has appeared in some packaging
 of LilyPond is that only root had read permissions for some of the
 files under .../share/lilypond/.
Already looked into that and I have read permissions available for 
everyone. (It was automatically set for that, I did not change anything).

Any other thoughts?
dpeach
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: music-drawing-routines.ps

2005-04-12 Thread Mats Bengtsson
I don't know any details about how Slackware has packaged things,
but it looks as if the problem is that the environment variables
are not set correctly. LilyPond comes with a script called
lilypond-profile (or lilypond-profile.sh) that should be sourced
to get the correct environment variable settings. In Red Hat-like,
installations, this file is placed in /etc/profile.d/ which means
that it will be automatically sourced as soon as you start a new
shell (or maybe it's only when you login, I don't remember).
Another possible problem that I know has appeared in some packaging
of LilyPond is that only root had read permissions for some of the
files under .../share/lilypond/.
   /Mats
dpeach wrote:
I know this has been asked several times as I have gone through the 
archives. But it has mostly been associated with the 1.6.something version.

I am runnnig 2.4.5 on Slackware. It was installed from a slackpack that 
I got off of linuxpackages.org.

Lilypond seems to be running fine. After the .dvi file is made and it is 
trying to convert to .ps is where I have the problem. I get this output 
at the end of compiling my song.

Error invoking `dvips  -t letter   -u+ec-mftrace.map -u+lilypond.map 
-Ppdf peregrino  /dev/null 21 '. Return value 256
Converting to `peregrino.pdf'...Error invoking `ps2pdf 
-sPAPERSIZE=letter peregrino.ps  /dev/null 21 '. Return value 256

I thought it had to do with my fonts, since I installed the 
ec-fonts-mftraced after installing lilypond. I then did a reinstall of 
lilypond and have the same problem. The fonts came from Linuxpackages too.

Here is the pertinant output when running --verbose.
Output written on peregrino.dvi (2 pages, 69860 bytes).
Transcript written on peregrino.log.
Invoking `dvips  -t letter   -u+ec-mftrace.map -u+lilypond.map -Ppdf 
peregrino'...
This is dvips(k) 5.95a Copyright 2005 Radical Eye Software 
(www.radicaleye.com)
' TeX output 2005.04.11:2320' - peregrino.ps
dvips: ! Couldn't find header file music-drawing-routines.ps
Error invoking `dvips  -t letter   -u+ec-mftrace.map -u+lilypond.map 
-Ppdf peregrino'. Return value 256
Converting to `peregrino.pdf'...Invoking `ps2pdf  -sPAPERSIZE=letter 
peregrino.ps'...
ESP Ghostscript 815.00:  Could not open the file peregrino.pdf .
 Unable to open the initial device, quitting.
Error invoking `ps2pdf  -sPAPERSIZE=letter peregrino.ps'. Return value 
256

I know where music-drawing-routines.ps is. Now I just need to be able to 
tell dvips where to find it.

Thanks for your help.
dpeach
___
lilypond-user mailing list
lilypond-user@gnu.org
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
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


music-drawing-routines.ps

2005-04-11 Thread dpeach
I know this has been asked several times as I have gone through the 
archives. But it has mostly been associated with the 1.6.something version.

I am runnnig 2.4.5 on Slackware. It was installed from a slackpack that 
I got off of linuxpackages.org.

Lilypond seems to be running fine. After the .dvi file is made and it is 
trying to convert to .ps is where I have the problem. I get this output 
at the end of compiling my song.

Error invoking `dvips  -t letter   -u+ec-mftrace.map -u+lilypond.map 
-Ppdf peregrino  /dev/null 21 '. Return value 256
Converting to `peregrino.pdf'...Error invoking `ps2pdf 
-sPAPERSIZE=letter peregrino.ps  /dev/null 21 '. Return value 256

I thought it had to do with my fonts, since I installed the 
ec-fonts-mftraced after installing lilypond. I then did a reinstall of 
lilypond and have the same problem. The fonts came from Linuxpackages too.

Here is the pertinant output when running --verbose.
Output written on peregrino.dvi (2 pages, 69860 bytes).
Transcript written on peregrino.log.
Invoking `dvips  -t letter   -u+ec-mftrace.map -u+lilypond.map -Ppdf 
peregrino'...
This is dvips(k) 5.95a Copyright 2005 Radical Eye Software 
(www.radicaleye.com)
' TeX output 2005.04.11:2320' - peregrino.ps
dvips: ! Couldn't find header file music-drawing-routines.ps
Error invoking `dvips  -t letter   -u+ec-mftrace.map -u+lilypond.map 
-Ppdf peregrino'. Return value 256
Converting to `peregrino.pdf'...Invoking `ps2pdf  -sPAPERSIZE=letter 
peregrino.ps'...
ESP Ghostscript 815.00:  Could not open the file peregrino.pdf .
 Unable to open the initial device, quitting.
Error invoking `ps2pdf  -sPAPERSIZE=letter peregrino.ps'. Return value 256

I know where music-drawing-routines.ps is. Now I just need to be able to 
tell dvips where to find it.

Thanks for your help.
dpeach
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user