Olivier Guéry?ry | 3 Aug 18:57 2003
Picon

Fwd: source lilypond.profile failed 1.7.30 [nemolivier <at> free.fr]

On 2003.08.03 12:00, Olivier Guéry�ry wrote:
Hello,
After compilation, and installation, doing a 'source buildscripts/out/
lilypond-profile' kill my terminal (gnome-term).
I only tried the first of the 3 exemple
I tried with lily 1.7.27 with no problem but it apear in 1.7.29.
Reading the changelog it seems that changes apear in this file with the 
1.7.28
Here is my configuration : gentoo 1.4 / gnome 2.3.3

Némo.

--

-- 
Olivier <nemolivier <at> free.fr>
Han-Wen Nienhuys | 4 Aug 11:14 2003
Picon

Fwd: source lilypond.profile failed 1.7.30 [nemolivier <at> free.fr]

nemolivier <at> free.fr writes:
> On 2003.08.03 12:00, Olivier Gu,Airy$,3u=ry wrote:
> Hello,
> After compilation, and installation, doing a 'source buildscripts/out/
> lilypond-profile' kill my terminal (gnome-term).
> I only tried the first of the 3 exemple
> I tried with lily 1.7.27 with no problem but it apear in 1.7.29.
> Reading the changelog it seems that changes apear in this file with the 
> 1.7.28
> Here is my configuration : gentoo 1.4 / gnome 2.3.3
> 
> N,Aimo.

try removing the "exit 2" line, and adding

 echo invoked as "$0"

which shell do you use?  What does it print when you source it now?

--

-- 

Han-Wen Nienhuys   |   hanwen <at> cs.uu.nl   |   http://www.xs4all.nl/~hanwen 
Mats Bengtsson | 4 Aug 12:40 2003
Picon
Picon

Re: Fwd: source lilypond.profile failed 1.7.30 [nemolivier <at> free.fr]

What was it that didn't work?

You have to source the script in the shell window where you later
want to use LilyPond, so I don't understand why you killed your
terminal. Exactly what command did you use to source the file?
What shell do you use?

    /Mats

Olivier 翽 wrote:
> On 2003.08.03 12:00, Olivier Guéry�ry wrote:
> Hello,
> After compilation, and installation, doing a 'source buildscripts/out/
> lilypond-profile' kill my terminal (gnome-term).
> I only tried the first of the 3 exemple
> I tried with lily 1.7.27 with no problem but it apear in 1.7.29.
> Reading the changelog it seems that changes apear in this file with the 
> 1.7.28
> Here is my configuration : gentoo 1.4 / gnome 2.3.3
> 
> Némo.
> 

--

-- 
=============================================
	Mats Bengtsson
	Signal Processing
	Signals, Sensors and Systems
	Royal Institute of Technology
	SE-100 44  STOCKHOLM
(Continue reading)

Olivier Guéry?ry | 4 Aug 16:59 2003
Picon

Re: Fwd: source lilypond.profile failed 1.7.30 [nemolivier <at> free.fr]

Hello,
sorry for my bad english, you won't understand. When i run the command 
my terminal died ! It's not me killing him, it's a sucied :o)
My shell is zsh 4.1.0-dev-7 (i686-pc-linux-gnu) (from gentoo stable 
ebuilt).
I tried the changes Han-Wen sugest. One question : must I have to put
'echo invoked as "$0"' in replacment of 'exit 2' ?
When I do this, here is the output (the terminal have not died).

localhost/nemo-/home/sources/lilypond/lilypond-1.7.30/buildscripts/out 
$ source ./lilypond-profile

Error: This script cannot be run in a subshell; it MUST be sourced.
   EXAMPLE 1: One time use
          Do
              . ./lilypond-profile
    EXAMPLE 2: Local installation
          * Do
              mv lilypond-profile /home/nemo/bin/
          * Add
              .  /home/nemo/bin/lilypond-profile
          to either /home/nemo/.profile or /home/nemo/.bash_profile,
          * Logout.
   EXAMPLE 3: Global installation
          * Do
               mv lilypond-profile /etc/profile.d/lilypond.sh
          * Logout
    invoked as ./lilypond-profile

That's all, but the TEXMF is on, and I can use lilypond.
(Continue reading)

Jan Nieuwenhuizen | 4 Aug 18:05 2003
Picon

Re: Trouble compiling. Thinks FlexLexer isn't there

Pierre Abbat <phma <at> webjockey.net> writes:

> I'm trying to write a lilypond spell and running into this error while 
> configuring:
> 
> configure:2783: checking for FlexLexer.h
> configure:2793: c++ -E   conftest.C >/dev/null 2>conftest.out
> In file included from /usr/include/c++/3.2.1/backward/iostream.h:31,
>                  from /usr/include/FlexLexer.h:47,
>                  from configure:2789:
> /usr/include/c++/3.2.1/backward/backward_warning.h:32:2: warning: #warning 
> This file includes at least one deprecated or ant
> iquated header. Please consider using one of the 32 headers found in section 
> 17.4.1.2 of the C++ standard. Examples include
> substituting the <X> header for the <X.h> header for C++ includes, or 
> <sstream> instead of the deprecated header <strstream.
> h>. To disable this warning use -Wno-deprecated.

It seems that your distribution ships a version of flex that does not
match the version of your compiler.

Try upgrading flex, or downgrading gcc.  You should consider filing a
bugreport to your distribution.

Jan.

--

-- 
Jan Nieuwenhuizen <janneke <at> gnu.org> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org
(Continue reading)

Jan Nieuwenhuizen | 4 Aug 18:56 2003
Picon

Re: Fwd: source lilypond.profile failed 1.7.30 [nemolivier <at> free.fr]

Olivier Guéryéry <nemolivier <at> free.fr> writes:

> sorry for my bad english, you won't understand. When i run the command
> my terminal died ! It's not me killing him, it's a sucied :o)
> My shell is zsh 4.1.0-dev-7 (i686-pc-linux-gnu) (from gentoo stable
> ebuilt).

We understand.

> I tried the changes Han-Wen sugest.

>     invoked as ./lilypond-profile

Yes, that was it.

> That's all, but the TEXMF is on, and I can use lilypond.

Thanks, I've checked in a woraround for ZSH.  Near the top of
lilypond-profile is now:

    # workaround for ZSH posix $0-problem
    [ -n "$ZSH_NAME" ] && setopt nofunctionargzero

I'm not very happy about this, it turns out that ZSH has a documented
posix problem with $0 inside functions and when sourcing.

Jan.

--

-- 
Jan Nieuwenhuizen <janneke <at> gnu.org> | GNU LilyPond - The music typesetter
(Continue reading)

Han-Wen Nienhuys | 4 Aug 18:55 2003
Picon

Re: Fwd: source lilypond.profile failed 1.7.30 [nemolivier <at> free.fr]

nemolivier <at> free.fr writes:
> Hello,
> sorry for my bad english, you won't understand. When i run the command 
> my terminal died ! It's not me killing him, it's a sucied :o)
> My shell is zsh 4.1.0-dev-7 (i686-pc-linux-gnu) (from gentoo stable 
> ebuilt).

Ok. I added another check for Zsh ; does anyone other odd semi-sh
compatible shells?

--

-- 

Han-Wen Nienhuys   |   hanwen <at> cs.uu.nl   |   http://www.xs4all.nl/~hanwen 
Pierre Abbat | 4 Aug 15:06 2003
Picon

Am I on the wrong list?

A few days ago I asked about a problem I have compiling Lilypond ("Trouble 
compiling. Thinks FlexLexer isn't there") and no one's answered me yet. Am I 
asking on the wrong list?

phma
--

-- 
.i toljundi do .ibabo mi'afra tu'a do
.ibabo damba do .ibabo do jinga
.icu'u la ma'atman.
Mats Bengtsson | 5 Aug 15:53 2003
Picon
Picon

Small problems in the manual

Sorry to bother this mailing list with such minor details, but
the computer where I had Lilypond installed seems to be dying, so
I can't fix it myself at the moment.

I noticed that the latest version of the manual (at least the
latest one on the web) didn't have any direct index term for
"Frenched scores" but did have one left over for "Hara kiri".

    /Mats
--

-- 
=============================================
	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: mats.bengtsson <at> s3.kth.se
	WWW: http://www.s3.kth.se/~mabe
=============================================
Lucas Gonze | 5 Aug 16:26 2003
Picon

can't find file: `init.midi'

Bug: lilypond is unable to play a midi file.  The error report is  
"can't find file: `init.midi'"

bash-2.05a$ lilypond *.midi
GNU LilyPond 1.6.7
warning: can't find file: `init.midi'
warning: (search path:  
`/sw/share/lilypond/1.6.7/ps:/sw/share/lilypond/1.6.7/tfm:/sw/share/ 
lilypond/1.6.7/scm:/sw/share/lilypond/1.6.7/mf/out:/sw/share/lilypond/ 
1.6.7/afm:/sw/share/lilypond/1.6.7/ly:/sw/share/lilypond/ps:/sw/share/ 
lilypond/tfm:/sw/share/lilypond/scm:/sw/share/lilypond/mf/out:/sw/ 
share/lilypond/afm:/sw/share/lilypond/ly:')

Those appear to be warnings, not errors, but since no audio output is  
produced I assume they're the cause of the problem.  There is no file  
named init.midi on my system.

This is OS X:
Darwin localhost 6.6 Darwin Kernel Version 6.6: Thu May  1 21:48:54 PDT  
2003; root:xnu/xnu-344.34.obj~1/RELEASE_PPC  Power Macintosh powerpc

Lilypond version is 1.6.7.

Thanks in advance.

- Lucas Gonze

Gmane