lilypond-user
[Top][All Lists]
Advanced

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

Re: text font problems with 2.6.4 for windows?


From: Mats Bengtsson
Subject: Re: text font problems with 2.6.4 for windows?
Date: Wed, 02 Nov 2005 11:18:06 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511

Thanks for your efforts! However, is it really that hard to make a simple
test case yourself? There are still a number of problems to solve:

When you run from the Windows (XP) command window:

1. Python is still not setup correctly. For example, you get:
>>midi2ly
Traceback (most recent call last):
 File "C:\Program Files\LilyPond\usr\bin\midi2ly.py", line 24, in ?
   import getopt
ImportError: No module named getopt

2. More on Python. I tried to run it stand-alone and got:
>>python
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Python 2.4.2 (#1, Nov  2 2005, 01:27:15)
[GCC 3.4.4 (mingw special)] on mingw32msvc2
Type "help", "copyright", "credits" or "license" for more information.
>>>

 When I did
>>set PYTHONHOME="C:\Program Files\LilyPond\usr\lib\python2.4

 it worked somewhat better, but it still doesn't find all modules:
>>python
Python 2.4.2 (#1, Nov  2 2005, 01:27:15)
[GCC 3.4.4 (mingw special)] on mingw32msvc2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> import getopt
Traceback (most recent call last):
 File "<stdin>", line 1, in ?
ImportError: No module named getopt
>>>

3. You still have to call lilypond with full path, otherwise you get:

>>lilypond
GNU LilyPond 2.6.4
ERROR: In procedure primitive-load-path:
ERROR: Unable to find file "ice-9/boot-9.scm" in load path
 As far as I could see from the CVS change logs, it seems that you tried
 to fix this problem but it still doesn't work.


4. On the positive side: It seems that your settings of PATH, PATHEXT
 and PYTHONPATH work well, at least on WinXP after the first
 reboot.

   /Mats

Jan Nieuwenhuizen wrote:

Mats Bengtsson writes:

On the other hand, I just tried John Mandereau's hints:

I have prepared 2.6.4-3 packages with python compiled for console and
incorporating John's hints (apart from downloading python manually :-).
For PATH, PYTHONPATH and PATHEXT to be set automagically, you may have
to reboot.  But other than that, the python scripts should work ootb.

Can you take a good stab at this again?

Jan.


$ cd LilyPond
02:57:38 address@hidden:~/LilyPond
$ PATH="/cygdrive/c/Program Files/LilyPond/usr/bin:$PATH"
02:57:42 address@hidden:~/LilyPond
$ export PYTHONPATH='/Program Files/LilyPond/usr/lib/python2.4'
02:57:49 address@hidden:~/LilyPond
$ export PATHEXT=$PATHEXT:.PY
02:57:53 address@hidden:~/LilyPond
$ /cygdrive/c/WINDOWS/system32/cmd.exe
Microsoft Windows XP [versie 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

c:\Program Files\LilyPond>midi2ly.py --help
midi2ly.py --help
Usage: c:\Program Files\LilyPond\usr\bin\midi2ly.py [OPTIONS]... FILE

Convert MIDI to LilyPond source.

Options:
...


--
=============================================
        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: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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