Re: Crippled PS/RPM output on RHEL5

2008-02-10 Thread Han-Wen Nienhuys
I'm stumped; I have no idea what is going on.

Sorry.


2008/2/8, Ozgur Yuksel [EMAIL PROTECTED]:
 On Feb 7, 2008 5:00 PM, Han-Wen Nienhuys [EMAIL PROTECTED] wrote:
  2008/2/7, Ozgur Yuksel [EMAIL PROTECTED]:
 I am working with GNU LilyPond 2.11.37 (the problem had existed with
 2.10 too) on one RHEL5 box and a FC7 box. Although I have proper
 output  with my FC7 box, I get crippled output (both PS and PDF) on
 RHEL5. The attached files bad.* show the crippled pdf and ps files of
 test.ly where it looks like good.png with fc7.
   
Can you post the output of a --verbose run on the RHEL5 box?
 
  Mats was right; the problem is in reading the correct fonts.
 
  Can you run an strace of the binary?  You'll probably have to modify
  the wrapper script (bin/lilypond) to be like
 
strace path/to/lilypond 
 
  The output will be huge.  I'm just looking for the places where
  libfontconfig.so.X.Y and libpango.so.X.Y is opened, so grep for
  libfontconfig and libpango
 
  --
 
  Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen
 

 Hi,
 I have changed ~/bin/lilypond as follows:

 #!/bin/sh
 me=`basename $0`
 export LD_LIBRARY_PATH=/home/oyuksel/lilypond/usr/lib/
 exec /usr/bin/strace -f -o lily.strace
 /home/oyuksel//lilypond/usr/bin/$me $@

 and got the strace output:

  $ grep libfontconfig  lily.strace
  4126  open(/home/oyuksel/lilypond/usr/lib/libfontconfig.so.1, O_RDONLY) = 3
  $ grep libpango lily.strace
  4126  open(/home/oyuksel/lilypond/usr/lib/libpangoft2-1.0.so.0, O_RDONLY) 
 = 3
  4126  open(/home/oyuksel/lilypond/usr/lib/libpango-1.0.so.0, O_RDONLY) = 3

 that seems OK to me actually.

 Regards,
 Ozgur

 --
 Linux Rulez!...
 http://xceptn.blogspot.com/
 To send encrypted message http://www.xceptn.com/xceptn.gpg



-- 
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Crippled PS/RPM output on RHEL5

2008-02-08 Thread Ozgur Yuksel
On Feb 7, 2008 5:00 PM, Han-Wen Nienhuys [EMAIL PROTECTED] wrote:
 2008/2/7, Ozgur Yuksel [EMAIL PROTECTED]:
I am working with GNU LilyPond 2.11.37 (the problem had existed with
2.10 too) on one RHEL5 box and a FC7 box. Although I have proper
output  with my FC7 box, I get crippled output (both PS and PDF) on
RHEL5. The attached files bad.* show the crippled pdf and ps files of
test.ly where it looks like good.png with fc7.
  
   Can you post the output of a --verbose run on the RHEL5 box?

 Mats was right; the problem is in reading the correct fonts.

 Can you run an strace of the binary?  You'll probably have to modify
 the wrapper script (bin/lilypond) to be like

   strace path/to/lilypond 

 The output will be huge.  I'm just looking for the places where
 libfontconfig.so.X.Y and libpango.so.X.Y is opened, so grep for
 libfontconfig and libpango

 --

 Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen


Hi,
I have changed ~/bin/lilypond as follows:

#!/bin/sh
me=`basename $0`
export LD_LIBRARY_PATH=/home/oyuksel/lilypond/usr/lib/
exec /usr/bin/strace -f -o lily.strace
/home/oyuksel//lilypond/usr/bin/$me $@

and got the strace output:

 $ grep libfontconfig  lily.strace
 4126  open(/home/oyuksel/lilypond/usr/lib/libfontconfig.so.1, O_RDONLY) = 3
 $ grep libpango lily.strace
 4126  open(/home/oyuksel/lilypond/usr/lib/libpangoft2-1.0.so.0, O_RDONLY) = 3
 4126  open(/home/oyuksel/lilypond/usr/lib/libpango-1.0.so.0, O_RDONLY) = 3

that seems OK to me actually.

Regards,
Ozgur

-- 
Linux Rulez!...
http://xceptn.blogspot.com/
To send encrypted message http://www.xceptn.com/xceptn.gpg


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Crippled PS/RPM output on RHEL5

2008-02-07 Thread Ozgur Yuksel
On Feb 7, 2008 4:20 AM, Han-Wen Nienhuys [EMAIL PROTECTED] wrote:
 2008/2/4, Ozgur Yuksel [EMAIL PROTECTED]:
  Hi LilyPonders,
 
  I am working with GNU LilyPond 2.11.37 (the problem had existed with
  2.10 too) on one RHEL5 box and a FC7 box. Although I have proper
  output  with my FC7 box, I get crippled output (both PS and PDF) on
  RHEL5. The attached files bad.* show the crippled pdf and ps files of
  test.ly where it looks like good.png with fc7.

 Can you post the output of a --verbose run on the RHEL5 box?

 --
 Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen


Hi,

Here it is. Sorry it is somewhat big :)

Ozgur


GNU LilyPond 2.11.38
warning: Relocation: is absolute: argv0=/home/oyuksel//lilypond/usr/bin/lilypond
PATH=/home/oyuksel/lilypond/usr/bin (prepend)
Setting PATH to
/home/oyuksel/lilypond/usr/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/ho
me/oyuksel/bin:/sbin:/usr/sbin:/home/oyuksel/bin/wireless:/usr/local/kde/bin:/home/oyuksel/bin:/sbin:/usr/sbin:/
home/oyuksel/bin/wireless:/home/oyuksel/bin:/sbin:/usr/sbin:/home/oyuksel/bin/wireless
warning: Relocation: compile datadir=, new
datadir=/home/oyuksel/lilypond/usr/share/lilypond//current
warning: Relocation: framework_prefix=/home/oyuksel/lilypond/usr/bin/..
Setting INSTALLER_PREFIX to /home/oyuksel/lilypond/usr/bin/..
Relocation file: /home/oyuksel/lilypond/usr/bin/../etc/relocate//pango.reloc
Setting PANGO_RC_FILE to /home/oyuksel/lilypond/usr/bin/../etc/pango/pangorc
Setting PANGO_PREFIX to /home/oyuksel/lilypond/usr/bin/../
Relocation file:
/home/oyuksel/lilypond/usr/bin/../etc/relocate//fontconfig.reloc
Setting FONTCONFIG_FILE to
/home/oyuksel/lilypond/usr/bin/../etc/fonts/fonts.conf
Setting FONTCONFIG_PATH to /home/oyuksel/lilypond/usr/bin/../etc/fonts
Relocation file: /home/oyuksel/lilypond/usr/bin/../etc/relocate//gs.reloc
warning: no such directory:
/home/oyuksel/lilypond/usr/bin/../share/ghostscript/8.57/fonts for
GS_FONTPATH
warning: no such directory:
/home/oyuksel/lilypond/usr/bin/../share/gs/fonts for GS_FONTPATH
warning: no such directory:
/home/oyuksel/lilypond/usr/bin/../share/ghostscript/8.57/Resource for
GS_LIB
GS_LIB=/home/oyuksel/lilypond/usr/bin/../share/ghostscript/8.57/lib (prepend)
Setting GS_LIB to /home/oyuksel/lilypond/usr/bin/../share/ghostscript/8.57/lib
Relocation file: /home/oyuksel/lilypond/usr/bin/../etc/relocate//guile.reloc
GUILE_LOAD_PATH=/home/oyuksel/lilypond/usr/bin/../share/guile/1.8 (prepend)
Setting GUILE_LOAD_PATH to /home/oyuksel/lilypond/usr/bin/../share/guile/1.8
PATH=/home/oyuksel/lilypond/usr/bin/../bin (prepend)
Setting PATH to
/home/oyuksel/lilypond/usr/bin/../bin:/home/oyuksel/lilypond/usr/bin:/usr/kerberos/bin:/usr/loca
l/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/oyuksel/bin:/sbin:/usr/sbin:/home/oyuksel/bin/wireless:/usr/local/kde/b
in:/home/oyuksel/bin:/sbin:/usr/sbin:/home/oyuksel/bin/wireless:/home/oyuksel/bin:/sbin:/usr/sbin:/home/oyuksel/
bin/wireless
Setting GUILE_MIN_YIELD_1 to 65
Setting GUILE_MIN_YIELD_2 to 65
Setting GUILE_MIN_YIELD_MALLOC to 65
Setting GUILE_INIT_SEGMENT_SIZE_1 to 10485760
Setting GUILE_MAX_SEGMENT_SIZE to 104857600

LILYPOND_DATADIR=/usr/share/lilypond/2.11.38
LOCALEDIR=/usr/share/locale

Effective prefix: /home/oyuksel/lilypond/usr/share/lilypond/current
FONTCONFIG_FILE=/home/oyuksel/lilypond/usr/bin/../etc/fonts/fonts.conf
FONTCONFIG_PATH=/home/oyuksel/lilypond/usr/bin/../etc/fonts
GS_LIB=/home/oyuksel/lilypond/usr/bin/../share/ghostscript/8.57/lib
GUILE_LOAD_PATH=/home/oyuksel/lilypond/usr/bin/../share/guile/1.8
PANGO_RC_FILE=/home/oyuksel/lilypond/usr/bin/../etc/pango/pangorc
PANGO_PREFIX=/home/oyuksel/lilypond/usr/bin/../
PATH=/home/oyuksel/lilypond/usr/bin/../bin:/home/oyuksel/lilypond/usr/bin:/usr/kerberos/bin:/usr/local/bin:/usr
/bin:/bin:/usr/X11R6/bin:/home/oyuksel/bin:/sbin:/usr/sbin:/home/oyuksel/bin/wireless:/usr/local/kde/bin:/home/o
yuksel/bin:/sbin:/usr/sbin:/home/oyuksel/bin/wireless:/home/oyuksel/bin:/sbin:/usr/sbin:/home/oyuksel/bin/wirele
ss
[]
[/home/oyuksel/lilypond/usr/share/lilypond/current/scm/lily-library.scm][/home/oyuksel/lilypond/usr/share/lilypo
nd/current/scm/file-cache.scm][/home/oyuksel/lilypond/usr/share/lilypond/current/scm/define-event-classes.scm][/
home/oyuksel/lilypond/usr/share/lilypond/current/scm/define-music-types.scm][/home/oyuksel/lilypond/usr/share/li
lypond/current/scm/output-lib.scm][/home/oyuksel/lilypond/usr/share/lilypond/current/scm/c++.scm][/home/oyuksel/
lilypond/usr/share/lilypond/current/scm/chord-ignatzek-names.scm][/home/oyuksel/lilypond/usr/share/lilypond/curr
ent/scm/chord-entry.scm][/home/oyuksel/lilypond/usr/share/lilypond/current/scm/chord-generic-names.scm][/home/oy
uksel/lilypond/usr/share/lilypond/current/scm/stencil.scm][/home/oyuksel/lilypond/usr/share/lilypond/current/scm

Re: Crippled PS/RPM output on RHEL5

2008-02-07 Thread Han-Wen Nienhuys
2008/2/7, Ozgur Yuksel [EMAIL PROTECTED]:
   I am working with GNU LilyPond 2.11.37 (the problem had existed with
   2.10 too) on one RHEL5 box and a FC7 box. Although I have proper
   output  with my FC7 box, I get crippled output (both PS and PDF) on
   RHEL5. The attached files bad.* show the crippled pdf and ps files of
   test.ly where it looks like good.png with fc7.
 
  Can you post the output of a --verbose run on the RHEL5 box?

Mats was right; the problem is in reading the correct fonts.

Can you run an strace of the binary?  You'll probably have to modify
the wrapper script (bin/lilypond) to be like

  strace path/to/lilypond 

The output will be huge.  I'm just looking for the places where
libfontconfig.so.X.Y and libpango.so.X.Y is opened, so grep for
libfontconfig and libpango

-- 
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Fwd: Crippled PS/RPM output on RHEL5

2008-02-06 Thread Mats Bengtsson
This looks very weird. I've never seen exactly this problem before, but 
it looks
as if the font metrics information is lost so that LilyPond thinks that 
the characters

have zero width. I assume you have installed using the Any x86
package from http://lilypond.org/web/install/ and that you haven't compiled
the program yourself, right? Could you please try the packages for
version 2.10.33-1 and 2.11.38-1 from the download site, and check if they
have the same problem.

  /Mats

Ozgur Yuksel wrote:

Please find the attachments as good.png, bad.png and test.zip
(including the ly source)..


-- Forwarded message --
From: Ozgur Yuksel [EMAIL PROTECTED]
Date: Feb 4, 2008 7:48 PM
Subject: Crippled PS/RPM output on RHEL5
To: lilypond-user@gnu.org


Hi LilyPonders,

I am working with GNU LilyPond 2.11.37 (the problem had existed with
2.10 too) on one RHEL5 box and a FC7 box. Although I have proper
output  with my FC7 box, I get crippled output (both PS and PDF) on
RHEL5. The attached files bad.* show the crippled pdf and ps files of
test.ly where it looks like good.png with fc7.

Any ideas are welcome.

Cheers,
Ozgur

--
Linux Rulez!...
http://xceptn.blogspot.com/
To send encrypted message http://www.xceptn.com/xceptn.gpg



  









___
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: Fwd: Crippled PS/RPM output on RHEL5

2008-02-06 Thread Ozgur Yuksel
Hi,

I have tested now both 2.10.33-1 and 2.11.38-1 and result was exactly the same.

Ozgur

On Feb 6, 2008 5:12 PM, Mats Bengtsson [EMAIL PROTECTED] wrote:
 This looks very weird. I've never seen exactly this problem before, but
 it looks
 as if the font metrics information is lost so that LilyPond thinks that
 the characters
 have zero width. I assume you have installed using the Any x86
 package from http://lilypond.org/web/install/ and that you haven't compiled
 the program yourself, right? Could you please try the packages for
 version 2.10.33-1 and 2.11.38-1 from the download site, and check if they
 have the same problem.

/Mats

 Ozgur Yuksel wrote:
  Please find the attachments as good.png, bad.png and test.zip
  (including the ly source)..
 
 
  -- Forwarded message --
  From: Ozgur Yuksel [EMAIL PROTECTED]
  Date: Feb 4, 2008 7:48 PM
  Subject: Crippled PS/RPM output on RHEL5
  To: lilypond-user@gnu.org
 
 
  Hi LilyPonders,
 
  I am working with GNU LilyPond 2.11.37 (the problem had existed with
  2.10 too) on one RHEL5 box and a FC7 box. Although I have proper
  output  with my FC7 box, I get crippled output (both PS and PDF) on
  RHEL5. The attached files bad.* show the crippled pdf and ps files of
  test.ly where it looks like good.png with fc7.
 
  Any ideas are welcome.
 
  Cheers,
  Ozgur
 
  --
  Linux Rulez!...
  http://xceptn.blogspot.com/
  To send encrypted message http://www.xceptn.com/xceptn.gpg
 
 
 
 
 
  
 
 
  
 
  
 
  ___
  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
 =





-- 
Linux Rulez!...
http://xceptn.blogspot.com/
To send encrypted message http://www.xceptn.com/xceptn.gpg


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Crippled PS/RPM output on RHEL5

2008-02-06 Thread Han-Wen Nienhuys
2008/2/4, Ozgur Yuksel [EMAIL PROTECTED]:
 Hi LilyPonders,

 I am working with GNU LilyPond 2.11.37 (the problem had existed with
 2.10 too) on one RHEL5 box and a FC7 box. Although I have proper
 output  with my FC7 box, I get crippled output (both PS and PDF) on
 RHEL5. The attached files bad.* show the crippled pdf and ps files of
 test.ly where it looks like good.png with fc7.

Can you post the output of a --verbose run on the RHEL5 box?

-- 
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Crippled PS/RPM output on RHEL5

2008-02-05 Thread Mats Bengtsson

Unfortunately, your attachments didn't reach the mailing list.
I'm not sure what kind of attachments are accepted by the mailing list
server, but at least PNG files and ZIP files should work, as long as
they are not too large (perhaps you just forgot to attach the files).

  /Mats

Ozgur Yuksel wrote:

Hi LilyPonders,

I am working with GNU LilyPond 2.11.37 (the problem had existed with
2.10 too) on one RHEL5 box and a FC7 box. Although I have proper
output  with my FC7 box, I get crippled output (both PS and PDF) on
RHEL5. The attached files bad.* show the crippled pdf and ps files of
test.ly where it looks like good.png with fc7.

Any ideas are welcome.

Cheers,
Ozgur

  


--
=
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


Crippled PS/RPM output on RHEL5

2008-02-04 Thread Ozgur Yuksel
Hi LilyPonders,

I am working with GNU LilyPond 2.11.37 (the problem had existed with
2.10 too) on one RHEL5 box and a FC7 box. Although I have proper
output  with my FC7 box, I get crippled output (both PS and PDF) on
RHEL5. The attached files bad.* show the crippled pdf and ps files of
test.ly where it looks like good.png with fc7.

Any ideas are welcome.

Cheers,
Ozgur

-- 
Linux Rulez!...
http://xceptn.blogspot.com/
To send encrypted message http://www.xceptn.com/xceptn.gpg


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user