lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Lyx 2.0 Beta 1, LilyPond OS X, MacTeX etc. - got it to work with dif


From: Marc Mouries
Subject: Re: Lyx 2.0 Beta 1, LilyPond OS X, MacTeX etc. - got it to work with different gs
Date: Tue, 07 Dec 2010 21:49:37 -0500

Talking about Ghostscript, I noticed that the latest version is GPL Ghostscript 9.00 released 2010-09-17
Wouldn't it make sense to update it in the lilypond distribution to benefit from the updates and ease the integration with other authoring software like LyX?


On Dec 6, 2010, at 10:16 PM, Henry Flurry wrote:

The lilypond 2.1.13.41-1 version of gs was crashing in LyX.  I was able to get this version of gs working in a shell by setting specific environment variables, but I could not find a way to set these variables for LyX, so I could not get instant preview (or DVI output) of lilypond scores within LyX.

I was able to work around this by putting the lilypond bin path at the END of the path variable set in LyX -> Preferences.  Then, LyX would pick up a different version of gs that didn't crash.

Now it works fine.

Again, I reported the bug to lilypond developers, and hopefully in a later version it will be addressed.

Thanks!

Henry Flurry
Music Flash Class - a music flash card app for iPhone/iPod Touch versatile enough for your teaching
www.MusicFlashClass.com


On Dec 4, 2010, at 10:29 PM, Henry Flurry wrote:

Further research shows that gs is not finding a dynamic library.  Console reports:

dyld: Library not loaded: ./bin/../sobin/libgs.8.70.dylib

I tried to soft link from lib (which contains the dyld) to sobin, but that still didn't work.  gs also failed from command line.

However, if I did this in bash:

export DYLD_LIBRARY_PATH=/Applications/_AudioMusicRelated/LilyPond.app/Contents/Resources/lib:$DYLD_LIBRARY_PATH 
Then the gs would work from the commmand line.

But I can't find a way to tell LyX to set up the DYLD_LIBRAY_PATH for calling gs.

I'm assuming that this is a bug in lilypond distribution, so I submitted a bug to them.

Other ideas?

Thanks!
henry


On Dec 4, 2010, at 9:53 AM, Henry Flurry wrote:

OK - got a bit further!

Changing the path variable didn't do it.  Reviewing old emails again, I see that the PATH variable can be set in the shell OR in the Lyx -> Preferences -> Paths -> PATH Prefix

THEN, you need to do:

Lyx -> Reconfigure

(This was a step I was missing for a while.)

NOW, the lilypond example loads up without complaint.

BUT, I get an Apple app crash panel with the following error:

"gs cannot be opened because of a problem"

with some problem details looking like:

Process: gs [6477] 
Path: /Applications/_AudioMusicRelated/LilyPond.app/Contents/Resources/bin/gs 
Identifier: gs Version: ??? (???) 
Code Type: X86 (Native) 
Parent Process: dvipng [6476] 
Date/Time: 2010-12-04 09:35:21.031 -0700 
OS Version: Mac OS X 10.6.5 (10H574) 
Report Version: 6 Anonymous 
UUID: 219AD32B-CD4E-46DE-A36B-439CEBBA839D  
Exception Type: EXC_BREAKPOINT (SIGTRAP) 
Exception Codes: 0x0000000000000002, 0x0000000000000000 Crashed Thread:  0 

Which to me suggests the problem is occurring when generating an png file.

This type of crash will come up when I:

View -> DVI
View -> HTML
View -> OpenDocument

However, the following work fine:

View -> PDF

Now it sounds like there is a problem with lilypond's gs itself.

Would you agree?

(I just upgraded lilypond "OS X" to 2.13.41-1, and the same symptoms occur.)

Thoughts?

Thanks!
Henry


_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user


reply via email to

[Prev in Thread] Current Thread [Next in Thread]