Re: Problem configuring lilypond 1.5.50

2002-04-04 Thread Mats Bengtsson

This is described in the FAQ on Lilypond installation, see
the last question at http://lilypond.org/wiki/?LilyPondInstall

   /Mats

 Hi,
 
 I try to configure lilypond-1.5.50 on my linux slackware 8 with 
 gcc-3.0.4,
 and i got this :
 
 [...]
 checking for kpathsea/kpathsea.h... no
 checking for kpse_find_file in -lkpathsea... no
 checking for kpse_find_file... no
 configure: error: Cannot find kpathsea functions.  You should install 
 kpathsea; see INSTALL.txt.  Rerun ./configure --without-kpathsea only 
 if kpathsea is not available for your platform.
 
 
 In fact my kpathsea.h is at /usr/share/texmf/include/kpathsea/kpathsea.h
 How can I tell it to the configure ?
 
 
 
 It would be great if you could help me with this !
 
 Best regards,
 
 Pierre.
 
 ___
 Lilypond-user mailing list
 [EMAIL PROTECTED]
 http://mail.gnu.org/mailman/listinfo/lilypond-user



___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user



Re: Problem configuring lilypond 1.5.50

2002-04-04 Thread Pierre

On 2002.04.04 10:33 Mats Bengtsson wrote:
 This is described in the FAQ on Lilypond installation, see
 the last question at http://lilypond.org/wiki/?LilyPondInstall
 
/Mats
 

ok thank you.
But a better solution may be to tell it to te configure like:
--with-kpathsea=/path/to/kpathsea
don't you think?

regards,

Pierre.

___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user



Re: Problem configuring lilypond 1.5.50

2002-04-04 Thread Mats Bengtsson

 On 2002.04.04 10:33 Mats Bengtsson wrote:
  This is described in the FAQ on Lilypond installation, see
  the last question at http://lilypond.org/wiki/?LilyPondInstall
  
 /Mats
  
 
 ok thank you.
 But a better solution may be to tell it to te configure like:
 --with-kpathsea=/path/to/kpathsea
 don't you think?

Yes, but the problem is that you have to specify the path
both the the include files and the lib files and the relative
location of those two directories may be different in different
installations.

Regarding your next email, it seems that configure has still not
found your kpathsea/kpathsea.h. Are you sure that you removed
config.cache before rerunning configure and that configure
reported 
checking for kpathsea/kpathsea.h... yes

'kpse_afm_format' is an enum value which should be defined in 
/usr/share/texmf/include/kpathsea/tex-file.h on your system.

   /Mats



___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user



Re: Problem configuring lilypond 1.5.50

2002-04-04 Thread Pierre

On 2002.04.04 14:27 Mats Bengtsson wrote:
  On 2002.04.04 10:33 Mats Bengtsson wrote:
   This is described in the FAQ on Lilypond installation, see
   the last question at http://lilypond.org/wiki/?LilyPondInstall
  
  /Mats
  
 
  ok thank you.
  But a better solution may be to tell it to te configure like:
  --with-kpathsea=/path/to/kpathsea
  don't you think?
 
 Yes, but the problem is that you have to specify the path
 both the the include files and the lib files and the relative
 location of those two directories may be different in different
 installations.

Yes but in that case you can do
--with-kpathsea-include=/path/to/kpathsea-include
--with-kpathsea-lib=/path/to/kpathsea-lib

 Regarding your next email, it seems that configure has still not
 found your kpathsea/kpathsea.h. Are you sure that you removed
 config.cache before rerunning configure and that configure
 reported
 checking for kpathsea/kpathsea.h... yes

Yes it's true...
I removed config.cache but always:

[...]
checking for kpathsea/kpathsea.h... no
checking for kpse_find_file in -lkpathsea... yes
checking for kpse_find_file... yes
checking whether to use kpathsea... yes
[...]

I attach the config.log to this mail so you can look what's wrong.

 'kpse_afm_format' is an enum value which should be defined in
 /usr/share/texmf/include/kpathsea/tex-file.h on your system.
 
/Mats
 
 

Pierre.



config.log
Description: Binary data


Re: Problem configuring lilypond 1.5.50

2002-04-03 Thread Norbert Koch

Pierre [EMAIL PROTECTED] writes:

 In fact my kpathsea.h is at /usr/share/texmf/include/kpathsea/kpathsea.h
 How can I tell it to the configure ?

 It would be great if you could help me with this !

The Real Fix (TM) would be to include extra-includes and
extra-libraries in configure to allow for non-standard paths.
Meanwhile, you may create symbolic links during the build, something
like 

cd /usr/include
ln -s /usr/share/texmf/include/kpathsea kpathsea
cd /usr/lib
ln -s /usr/share/texmf/lib/libkpathsea.a libkpathsea.a

You can remove the links afterwards, they are not needed during
runtime.  This worked for me.

norbert.

___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user