Re: Compiling lilypond in emacs etc
Andrew Bernard writes: > What is the best way to add flags and options to the lilypond compile > command in the emacs lilypond mode? I use M-x compile RET for that. > Also, regarding the failure to widen the buffer after the narrowing > that takes place in certain cases, I see in the archives the > suggestion to wrap the instances of narrow-to-region in a > save-restriction block. Is that the proper solution? Depends on the code, of course. > And if so, why can't this be incorporated into the lilypond emacs code > in the distribution builds? Somebody has to do it. Things still don't happen by magic. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Compiling lilypond in emacs etc
What is the best way to add flags and options to the lilypond compile command in the emacs lilypond mode? Also, regarding the failure to widen the buffer after the narrowing that takes place in certain cases, I see in the archives the suggestion to wrap the instances of narrow-to-region in a save-restriction block. Is that the proper solution? And if so, why can't this be incorporated into the lilypond emacs code in the distribution builds? Andrew ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Compiling LilyPond on Linux Mint 19.1
On 20.12.18 12:21, Lukas-Fabian Moser wrote: Folks, this is mostly to give a reference to those who might hit the same problems that I had: I decided to switch from my ancient Linux Mint 17.3 to Linux Mint 19.1 yesterday. In order to set up a working build environment, I had to provide a working Guile 1.8 which seems not to be in the repositories any more. Have a look at the build script attached to https://lists.gnu.org/archive/html/bug-lilypond/2017-08/msg00038.html Knut ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Compiling LilyPond on Linux Mint 19.1
On Fri, Dec 21, 2018 at 07:06:43PM +0100, Urs Liska wrote: > > Am 21.12.18 um 09:06 schrieb Urs Liska: > > Hi Lukas, > > > > thanks for putting this together. Indeed since installing a distro > > that doesn't Guile 1.8 anymore I hadn't been able to compile > > LilyPond anymore. Once I managed to compile Guile 1.8 and do a build > > but for some reason I lost this option. I think the point was that > > after compiling Guile I had to actually change the way LilyPond's > > make was handled - which of course isn't sustainable. Some time ago I ran into the same problem with Guile 1.8 no longer being the default version of Guile in my distro (and in fact, not even installable anymore from the official repo), but Lilypond does not work with newer versions of Guile. Furthermore, Python 2.7 is also no longer the default in my distro, which is an added level of pain, though luckily I can still install Python 2.7, it's just not the default Python that would get invoked. Fortunately, I can compile my own version of Guile 1.8 as you did. Once that is done, I found that I actually don't need to change LilyPond's makefile; all I needed was to set $PATH and re-run LilyPond's autogen.sh with the appropriate customizations, like this: PATH=/usr/src/guile-1.8/bin:$PATH ./autogen.sh \ --with-python-include=/usr/include/python2.7/ \ CFLAGS="-Wno-sequence-point" \ LDFLAGS="-Wl,-rpath,/usr/src/guile-1.8/lib" Of course, replace /usr/src/guile-1.8 with the path to wherever you compiled Guile 1.8 (you don't actually need to install Guile 1.8 anywhere on your system; autogen.sh appeared smart enough to pick up the right files from Guile's source directory once that's built, and once you hacked $PATH to pick up Guile 1.8 before anything else); and replace /usr/include/python2.7 with wherever your distro installed Python 2.7's include files. After running this step, you should be able to just run make as usual, and it should be able to build Lilypond successfully. (I have put the above autogen.sh invocation in a script that I keep with my lilypond git clone, so that I don't have to type all of that every time! Though, truth be told, you really only need to re-run autogen.sh if you have a fresh git clone / source download, or you did a deep cleaning of the source tree. I found that I could still just run make after `git pull` without needing to run autogen.sh again.) Hope this info helps. T -- Leather is waterproof. Ever see a cow with an umbrella? ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Compiling LilyPond on Linux Mint 19.1
Am 21.12.18 um 09:06 schrieb Urs Liska: Hi Lukas, thanks for putting this together. Indeed since installing a distro that doesn't Guile 1.8 anymore I hadn't been able to compile LilyPond anymore. Once I managed to compile Guile 1.8 and do a build but for some reason I lost this option. I think the point was that after compiling Guile I had to actually change the way LilyPond's make was handled - which of course isn't sustainable. I'm also running Linux Mint 19.1, and followed your command list (and the previous instructions from the CG). Except that I already had some of the dependencies installed everything worked flawlessly, and I could run a make to compile LilyPond, register that in Frescobaldi and compile a .ly file with it. A warning about missing URW fonts was the only issue I encountered. make doc took the expected ages but worked without errors too! So I can confirm that the steps work on Linux Mint 19. Janek Wachoł has written a few scripts to help managing multiple LilyPond builds, which I really appreciated when I had them working. Basically they provide a configuration layer around the compilation, then create a local clone of the main code repository and build from that copy. That makes it possible to have multiple different builds from different branches (or even states of a branch) in parallel. I will see if I can integrate that with compiling through a self-compiled Guile and report back. Maybe these scripts are of use for others as well. I have looked again into these scripts and found that they (still) work well. The script that I suggest looking into is located at https://github.com/jan-warchol/cli-tools/blob/master/lilypond/build-lily.sh However, when it is considered of general use I'll ask Janek to extract the script from his scripts collection. In order to use the script two environment variables have to be exported (presumably from .bashrc): LILYPOND_GIT=/path/to/lilypond/source/repository LILYPOND_BUILD_DIR=/path/to/root/of/lilypond-builds When invoked without arguments the script will clone the source repository in its current state to the "current" subdirectory of LILYPOND_BUILD_DIR and build it from there. Settings to build other branches (or combinations of branches) to other target directories are described at the beginning of the script. Does this look interesting to anybody? Urs Best Urs Am 20.12.18 um 12:21 schrieb Lukas-Fabian Moser: Folks, this is mostly to give a reference to those who might hit the same problems that I had: I decided to switch from my ancient Linux Mint 17.3 to Linux Mint 19.1 yesterday. In order to set up a working build environment, I had to provide a working Guile 1.8 which seems not to be in the repositories any more. So in addition to following the instructions given in http://lilypond.org/doc/v2.19/Documentation/contributor/requirements-for-compiling-lilypond#linux-mint I also followed the most recent one of the various variations of steps for compiling Guile 1.8 that Federico Bruni gave in October 2017 (http://lilypond.1069038.n5.nabble.com/compiling-lilypond-in-debian-stretch-with-self-compiled-guile-1-8-td206683.html) git clone https://git.savannah.gnu.org/git/guile.git cd guile git checkout branch_release-1-8 ./autogen.sh ./configure --disable-error-on-warning --prefix=/usr/local make sudo make install sudo ldconfig echo "GUILE_CONFIG=/usr/local/bin/guile-config" >> ~/.bashrc Then, after restarting Bash, I could proceed to http://lilypond.org/doc/v2.19/Documentation/contributor/configuring-make and successfully compile current Master. (On my system, the echo [...] >> ~/.bashrc command added the given line without any new-line or whitespace, so I had to insert a newline in an editor.) Probably these instructions would need some more testing/polishing/adjusting to other distributions before they could reasonably be added to the Contributor's Guide, so I just thought it might be helpful to collect them once more here. (In fact I did run into a bit of trouble tonight, but this seems to have been because I wanted to re-use my old lilypond git directory which had been used for compiling on my old system, so it wasn't really a clean start. This might also mean my procedure can't be guaranteed to work on a really fresh Lilypond git folder, but I think they should - I removed the old build/ folder before the first succesful compile, so there shouldn't have been any remnants of earlier successful compilations.) Or would there have been a much easier way to success? (The upside for me: Now I have the necessary Python/Qt/Lilypond bindings to also run current Frescobaldi from the git repository following Urs's excellent instructions on https://github.com/wbsoft/frescobaldi/wiki/Run-Frescobaldi-3-on-Linux.) Best Lukas ___
Re: Compiling LilyPond on Linux Mint 19.1
Hi Federico and Lukas, Am 21.12.18 um 09:59 schrieb Federico Bruni: Il giorno ven 21 dic 2018 alle 9:06, Urs Liska ha scritto: [...] A warning about missing URW fonts was the only issue I encountered. make doc took the expected ages but worked without errors too! So I can confirm that the steps work on Linux Mint 19. Hi Urs this was discussed before but you might have missed it. You can use part of this script: https://github.com/fedelibre/LilyDevOS/blob/master/mkosi/debian/mkosi.extra/etc/skel/setup.sh#L39 to download the needed .otf files. AFAIK, only Fedora (?) includes .otf files in its URW fonts package, because I asked for it: https://bugzilla.redhat.com/show_bug.cgi?id=1496466#c18 Thanks, this seems to have worked. Fedora packager wrote that OTF files are not too big and decided that they can be distributed along with .t1 and .afm files. If somebody asked Debian to do the same for fonts-urw-base35 package, above script would be not necessary anymore - for Debian nor its derivatives (Ubuntu, Mint, etc.). But until that happens this information should be added to any CG. Although if I'm not mistaken this is not related to the "Linux Mint" part of the section, isn't it? Best Urs ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Compiling LilyPond on Linux Mint 19.1
Il giorno ven 21 dic 2018 alle 9:06, Urs Liska ha scritto: [...] A warning about missing URW fonts was the only issue I encountered. make doc took the expected ages but worked without errors too! So I can confirm that the steps work on Linux Mint 19. Hi Urs this was discussed before but you might have missed it. You can use part of this script: https://github.com/fedelibre/LilyDevOS/blob/master/mkosi/debian/mkosi.extra/etc/skel/setup.sh#L39 to download the needed .otf files. AFAIK, only Fedora (?) includes .otf files in its URW fonts package, because I asked for it: https://bugzilla.redhat.com/show_bug.cgi?id=1496466#c18 Fedora packager wrote that OTF files are not too big and decided that they can be distributed along with .t1 and .afm files. If somebody asked Debian to do the same for fonts-urw-base35 package, above script would be not necessary anymore - for Debian nor its derivatives (Ubuntu, Mint, etc.). ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Compiling LilyPond on Linux Mint 19.1
Hi Lukas, thanks for putting this together. Indeed since installing a distro that doesn't Guile 1.8 anymore I hadn't been able to compile LilyPond anymore. Once I managed to compile Guile 1.8 and do a build but for some reason I lost this option. I think the point was that after compiling Guile I had to actually change the way LilyPond's make was handled - which of course isn't sustainable. I'm also running Linux Mint 19.1, and followed your command list (and the previous instructions from the CG). Except that I already had some of the dependencies installed everything worked flawlessly, and I could run a make to compile LilyPond, register that in Frescobaldi and compile a .ly file with it. A warning about missing URW fonts was the only issue I encountered. make doc took the expected ages but worked without errors too! So I can confirm that the steps work on Linux Mint 19. Janek Wachoł has written a few scripts to help managing multiple LilyPond builds, which I really appreciated when I had them working. Basically they provide a configuration layer around the compilation, then create a local clone of the main code repository and build from that copy. That makes it possible to have multiple different builds from different branches (or even states of a branch) in parallel. I will see if I can integrate that with compiling through a self-compiled Guile and report back. Maybe these scripts are of use for others as well. Best Urs Am 20.12.18 um 12:21 schrieb Lukas-Fabian Moser: Folks, this is mostly to give a reference to those who might hit the same problems that I had: I decided to switch from my ancient Linux Mint 17.3 to Linux Mint 19.1 yesterday. In order to set up a working build environment, I had to provide a working Guile 1.8 which seems not to be in the repositories any more. So in addition to following the instructions given in http://lilypond.org/doc/v2.19/Documentation/contributor/requirements-for-compiling-lilypond#linux-mint I also followed the most recent one of the various variations of steps for compiling Guile 1.8 that Federico Bruni gave in October 2017 (http://lilypond.1069038.n5.nabble.com/compiling-lilypond-in-debian-stretch-with-self-compiled-guile-1-8-td206683.html) git clone https://git.savannah.gnu.org/git/guile.git cd guile git checkout branch_release-1-8 ./autogen.sh ./configure --disable-error-on-warning --prefix=/usr/local make sudo make install sudo ldconfig echo "GUILE_CONFIG=/usr/local/bin/guile-config" >> ~/.bashrc Then, after restarting Bash, I could proceed to http://lilypond.org/doc/v2.19/Documentation/contributor/configuring-make and successfully compile current Master. (On my system, the echo [...] >> ~/.bashrc command added the given line without any new-line or whitespace, so I had to insert a newline in an editor.) Probably these instructions would need some more testing/polishing/adjusting to other distributions before they could reasonably be added to the Contributor's Guide, so I just thought it might be helpful to collect them once more here. (In fact I did run into a bit of trouble tonight, but this seems to have been because I wanted to re-use my old lilypond git directory which had been used for compiling on my old system, so it wasn't really a clean start. This might also mean my procedure can't be guaranteed to work on a really fresh Lilypond git folder, but I think they should - I removed the old build/ folder before the first succesful compile, so there shouldn't have been any remnants of earlier successful compilations.) Or would there have been a much easier way to success? (The upside for me: Now I have the necessary Python/Qt/Lilypond bindings to also run current Frescobaldi from the git repository following Urs's excellent instructions on https://github.com/wbsoft/frescobaldi/wiki/Run-Frescobaldi-3-on-Linux.) Best Lukas ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Compiling LilyPond on Linux Mint 19.1
Folks, this is mostly to give a reference to those who might hit the same problems that I had: I decided to switch from my ancient Linux Mint 17.3 to Linux Mint 19.1 yesterday. In order to set up a working build environment, I had to provide a working Guile 1.8 which seems not to be in the repositories any more. So in addition to following the instructions given in http://lilypond.org/doc/v2.19/Documentation/contributor/requirements-for-compiling-lilypond#linux-mint I also followed the most recent one of the various variations of steps for compiling Guile 1.8 that Federico Bruni gave in October 2017 (http://lilypond.1069038.n5.nabble.com/compiling-lilypond-in-debian-stretch-with-self-compiled-guile-1-8-td206683.html) git clone https://git.savannah.gnu.org/git/guile.git cd guile git checkout branch_release-1-8 ./autogen.sh ./configure --disable-error-on-warning --prefix=/usr/local make sudo make install sudo ldconfig echo "GUILE_CONFIG=/usr/local/bin/guile-config" >> ~/.bashrc Then, after restarting Bash, I could proceed to http://lilypond.org/doc/v2.19/Documentation/contributor/configuring-make and successfully compile current Master. (On my system, the echo [...] >> ~/.bashrc command added the given line without any new-line or whitespace, so I had to insert a newline in an editor.) Probably these instructions would need some more testing/polishing/adjusting to other distributions before they could reasonably be added to the Contributor's Guide, so I just thought it might be helpful to collect them once more here. (In fact I did run into a bit of trouble tonight, but this seems to have been because I wanted to re-use my old lilypond git directory which had been used for compiling on my old system, so it wasn't really a clean start. This might also mean my procedure can't be guaranteed to work on a really fresh Lilypond git folder, but I think they should - I removed the old build/ folder before the first succesful compile, so there shouldn't have been any remnants of earlier successful compilations.) Or would there have been a much easier way to success? (The upside for me: Now I have the necessary Python/Qt/Lilypond bindings to also run current Frescobaldi from the git repository following Urs's excellent instructions on https://github.com/wbsoft/frescobaldi/wiki/Run-Frescobaldi-3-on-Linux.) Best Lukas ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: problems building documentation without compiling LilyPond
On Thu, Sep 17, 2009 at 12:25:26AM +0200, Patrick Schmidt wrote: > > Hmm. Maybe it's a problem with 2.13.3. I don't know about this > > file in particular, but I now see that there definitely *are* > > some files which require 2.13.4. > > I installed 2.13.4 and tried to build documentation. I'm sorry to say but I > still get the same error messages. Please don't send the entire log; the only important thing is the bus error from running lilypond on input/typography-demo.ly At the moment, the only thing I can think of is to wait until 2.13.4 is officially released, then ask on the bug list about the bus error. Don't bother with attempting to compile the docs until you can build that single file. Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: problems building documentation without compiling LilyPond
On Tue, Sep 15, 2009 at 10:05:23AM +0200, Patrick Schmidt wrote: > > Hmm. What happens if you try to compile input/typography-demo.ly > > manually? Try adding a -V to the lilypond call. > > I get a bus error (see file attached) Hmm. Maybe it's a problem with 2.13.3. I don't know about this file in particular, but I now see that there definitely *are* some files which require 2.13.4. I guess you'll have to wait until GUB is working again. If I don't at least get it bootstrapping within the first hour tomorrow, I'll try another approach to hacking it together. Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: problems building documentation without compiling LilyPond
On Mon, Sep 14, 2009 at 11:50:11PM +0200, Patrick Schmidt wrote: > I created two files (pngtopnm and pnmtopng). This is what they look like: That all looks good now. > I proceeded according to CG section "Building documentation without compiling > LilyPond". (I also changed the FLEXLEXER_File line in config.make and > grabbed the fonts from the ghostscript SVN server and ran ./configure > --with-ncsb-dir=/opt/local/share/ghostscript/fonts.) This shoudl not be necessary, but I don't think it would halt compiling. > The directory out-www remains empty. > > Pointers appreciated. Hmm. What happens if you try to compile input/typography-demo.ly manually? Try adding a -V to the lilypond call. Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: problems building documentation without compiling LilyPond
On Mon, Sep 14, 2009 at 09:09:33AM +0200, Patrick Schmidt wrote: > "which pngtopnm" returns "/opt/local/bin/pngtopnm", so it seems to work. No, that is wrong. As I said before, "which pngtopnm" should return the directory in which you put the files. Did you make them executable? You might want to have a quick google for "unix scripts" or "macosx bash scripts" or something like that, if you're unfamiliar with these terms. - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: problems building documentation without compiling LilyPond
That was quick, thanks! "which pngtopnm" returns "/opt/local/bin/pngtopnm", so it seems to work. I don't have time to test wether I can build the documentation now but I'll let you know as soon as I can. Cheers, patrick -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: problems building documentation without compiling LilyPond
Original-Nachricht > Datum: Mon, 14 Sep 2009 06:38:26 +0100 > Von: Graham Percival > An: Patrick Schmidt > CC: lilypond-user@gnu.org > Betreff: Re: problems building documentation without compiling LilyPond > On Sun, Sep 13, 2009 at 08:22:37AM +0200, Patrick Schmidt wrote: > > and added > > > > export > DYLD_LIBRARY_PATH=/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources:\ > > /opt/local/lib:$DYLD_LIBRARY_PATH > > That probably won't do anything. > > > Now bison 2.4.1 is detected. As I couldn't see any bison related errors > I assumed that section Bison 1.875 in CG section 2.1.6 Problems doesn't > apply to me. > > > > 2) Changed config.make file (FLEXLEXER_FILE = > /opt/local/include/FlexLexer.h) > > > > 3) Checked ls /opt/local/share/ghostscript/fonts > > None of that matters for making the docs. > > > There seems to be a spelling mistake in the CG. When I typed: > > > > svn export > http://svn.ghostscript.com/ghostscript/tags/urw-fonts-1.0.7pre44/ > > > > I got the message svn: command not found. > > You don't have svn installed?! Hmm, did you install the OSX > developer tools? It should have come on a separate DVD with the > OSX disks. > > I don't _think_ you need them installed to build the docs, but > this might become an issue later. svn 1.6.1 is now installed. The developer tools were already installed. > > > 4) I did not create scripts for pngtopnm and pnmtopng as I couldn't find > the corresponding executable programs in /sw/bin/. At least for dummies > like myself the CG is not clear enough, here. Do I have to create two text > files which contain something like that: > > > > #!/bin/bash > > exec /sw/bin/pngtopnm "$@" > > > > and save these files in /sw/lib/? Do I have to add > > > > export DYLD_LIBRARY_PATH=/sw/lib to ~./profile or just type it in the > terminal? Is it a problem that I installed netpbm even though it's quite old > (2005)? The man-pages of netpbm mentioned that pngtopnm and pnmtopng are > part of netbpm. Sorry for these questions but obviously it's not clear to me. > > Replace /sw/ with /opt/local. /sw is the fink package manager stuff; > /opt is the macports. I'll add a warning about this. > > On MacOS X with macports, you should use this: > > @verbatim > export DYLD_LIBRARY_PATH=/opt/local/lib > exec /opt/local/bin/pngtopnm "$@" > @end verbatim > > > > This step is the cause of your problems, BTW. Remember to add two > files: pngtopnm, and pnmtopng, and change the relevant portion of > the second line. In which directory do I have to save these two files? Thanks for your help and your patience" patrick -- Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3 - sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: problems building documentation without compiling LilyPond
On Mon, Sep 14, 2009 at 09:01:06AM +0200, Patrick Schmidt wrote: > > > This step is the cause of your problems, BTW. Remember to add two > > files: pngtopnm, and pnmtopng, and change the relevant portion of > > the second line. > In which directory do I have to save these two files? Any directory such that they come first in your PATH. You might even want to add an extra directory like $HOME/bin/ to your path, just to dump those files in it. which pngtopnm should return the filename of your new file. Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: problems building documentation without compiling LilyPond
On Sun, Sep 13, 2009 at 08:22:37AM +0200, Patrick Schmidt wrote: > and added > > export > DYLD_LIBRARY_PATH=/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources:\ > /opt/local/lib:$DYLD_LIBRARY_PATH That probably won't do anything. > Now bison 2.4.1 is detected. As I couldn't see any bison related errors I > assumed that section Bison 1.875 in CG section 2.1.6 Problems doesn't apply > to me. > > 2) Changed config.make file (FLEXLEXER_FILE = /opt/local/include/FlexLexer.h) > > 3) Checked ls /opt/local/share/ghostscript/fonts None of that matters for making the docs. > There seems to be a spelling mistake in the CG. When I typed: > > svn export http://svn.ghostscript.com/ghostscript/tags/urw-fonts-1.0.7pre44/ > > I got the message svn: command not found. You don't have svn installed?! Hmm, did you install the OSX developer tools? It should have come on a separate DVD with the OSX disks. I don't _think_ you need them installed to build the docs, but this might become an issue later. > 4) I did not create scripts for pngtopnm and pnmtopng as I couldn't find the > corresponding executable programs in /sw/bin/. At least for dummies like > myself the CG is not clear enough, here. Do I have to create two text files > which contain something like that: > > #!/bin/bash > exec /sw/bin/pngtopnm "$@" > > and save these files in /sw/lib/? Do I have to add > > export DYLD_LIBRARY_PATH=/sw/lib to ~./profile or just type it in the > terminal? Is it a problem that I installed netpbm even though it's quite old > (2005)? The man-pages of netpbm mentioned that pngtopnm and pnmtopng are part > of netbpm. Sorry for these questions but obviously it's not clear to me. Replace /sw/ with /opt/local. /sw is the fink package manager stuff; /opt is the macports. I'll add a warning about this. On MacOS X with macports, you should use this: @verbatim export DYLD_LIBRARY_PATH=/opt/local/lib exec /opt/local/bin/pngtopnm "$@" @end verbatim This step is the cause of your problems, BTW. Remember to add two files: pngtopnm, and pnmtopng, and change the relevant portion of the second line. Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: problems building documentation without compiling LilyPond
On Fri, Sep 11, 2009 at 05:24:25PM +0200, Patrick Schmidt wrote: > OK, in the meantime I de- and reinstalled MacPorts (MacPorts > base version 1.8.0 installed). I installed bison (sudo port > install bison). bison --version still returns 1.28 whereas > bison1 --version returns 1.875. How can I prompt my system to > use version 1.875? See my previous reply. In the attached log, I saw: patrick-schmidts-computer:~/lilypond PLS$ cp GNUmakefile.in GNUmakefile cp: GNUmakefile: Permission denied You must have ran this command as root. Please make sure that everything in the lilypond directory is owned by your user, then try this again. In general, follow the instructions step-by-step, but if you see any warnings or errors, DO NOT continue to the next step. ... oh, also make sure you read the warning about OSX at the bottom of the "building with the documentation without compiling lilypond" page. That will fix the dyld error. Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: problems building documentation without compiling LilyPond
On Thu, Sep 10, 2009 at 10:07:37PM +0200, Patrick Schmidt wrote: > > I added export PATH=$PATH:/opt/local/bin to .bash_profile and > created the directories portslocation and dports manually. Then > I entered export PATH=$PATH:/opt/local/bin and got the same > error messages as above. > > Maybe this helps?! Yes, that helps us identify the problem. Reverse the order, i.e. export PATH=:/opt/local/bin:$PATH this way, the newer programs installed by darwinports will be found before the old programs. Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: problems building documentation without compiling LilyPond
Original-Nachricht > Datum: Thu, 10 Sep 2009 20:32:26 +0100 > Von: Graham Percival > An: Reinhold Kainhofer > CC: Patrick Schmidt , lilypond-user@gnu.org > Betreff: Re: problems building documentation without compiling LilyPond > On Thu, Sep 10, 2009 at 07:06:13PM +0200, Reinhold Kainhofer wrote: > > Am Donnerstag, 10. September 2009 18:27:04 schrieb Patrick Schmidt: > > > I'm having problems to build documentation (without compiling > LilyPond) on > > > MacOS X 10.4.11. My www-out directory only contains the file > dummy.dep. For > > > error messages see attached file. > > > > Also, "cp GNUmakefile.in GNUmakefile" will never work (that's like > trying to > > execute a source file without compiling it)! GNUmakefile will be > produced > > by autogen, if you have all the necessary applications installed... > > Jan or Han-Wen said we could do this. Unless something changed in > the past year -- which it might have :( -- it will work. I spent > at least three years doing that. > > > Also, you might need to install pngtopnm: > > > > sh: line 1: pngtopnm: command not found > > Yes, this will be necessary. > > > I'm wondering more about these lines that happened during "make -C > python": > > powerpc-apple-darwin8-gcc-4.0.1: ERROR:: No such file or directory > powerpc-apple-darwin8-gcc-4.0.1: pkg-config: No such file or > directory > powerpc-apple-darwin8-gcc-4.0.1: not: No such file or directory > powerpc-apple-darwin8-gcc-4.0.1: found: No such file or directory > ... > cc1: error: unrecognized command line option "-fcflags" > cc1: error: unrecognized command line option "-fcflags" > cc1: error: unrecognized command line option "-fcflags" > cc1: error: unrecognized command line option "-fcflags" > lipo: can't open input file: /var/tmp//ccjUksrx.out (No such file > or directory) > make: *** [out/midi.lo] Error 1 > > > if he can't build python stuff (namely lilypond-book), then he's > hosed. > > I could try to look at this in a day or two, but there's lots of > other things I need to be doing in town and university. (such as > buying toilet paper. Gee, these residences are cheap! I figured > they'd give me one roll so I didn't have to find a Tesco or > Sainsburys or whatever on my very first day here...!) :-) Good luck! > > > For anybody who cares about the new website, especially getting it > running on master, helping him fix (or just install the additional > software) would be a good thing. :) > > Cheers, > - Graham I think the main problem is that there is something wrong with my installation of MacPort/Darwinport even though I got the message that it was successful. All my other problems seem to be related to this issue as the additional software needs darwinports to be installed. When I type sudo port -d selfupdate I get the following errors: DEBUG: Synchronizing ports tree(s) Synchronizing local ports tree from rsync://rsync.macports.org/release/ports/ DEBUG: /usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.org/release/ports/ /opt/local/var/macports/sources/rsync.macports.org/release/ports dyld: lazy symbol binding failed: Symbol not found: _close$UNIX2003 Referenced from: /opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib Expected in: /usr/lib/libSystem.B.dylib dyld: Symbol not found: _close$UNIX2003 Referenced from: /opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib Expected in: /usr/lib/libSystem.B.dylib dyld: lazy symbol binding failed: Symbol not found: _close$UNIX2003 Referenced from: /opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib Expected in: /usr/lib/libSystem.B.dylib dyld: Symbol not found: _close$UNIX2003 Referenced from: /opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib Expected in: /usr/lib/libSystem.B.dylib Trace/BPT trap When I type cd /opt/local/bin/portslocation/dports/fontconfig I get the message: No such file or directory. I added export PATH=$PATH:/opt/local/bin to .bash_profile and created the directories portslocation and dports manually. Then I entered export PATH=$PATH:/opt/local/bin and got the same error messages as above. Maybe this helps?! Thanks for any hint, patrick -- Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3 - sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: problems building documentation without compiling LilyPond
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Donnerstag, 10. September 2009 21:32:26 schrieb Graham Percival: > On Thu, Sep 10, 2009 at 07:06:13PM +0200, Reinhold Kainhofer wrote: > > Am Donnerstag, 10. September 2009 18:27:04 schrieb Patrick Schmidt: > > > I'm having problems to build documentation (without compiling LilyPond) > > > on MacOS X 10.4.11. My www-out directory only contains the file > > > dummy.dep. For error messages see attached file. > > > > Also, "cp GNUmakefile.in GNUmakefile" will never work (that's like trying > > to execute a source file without compiling it)! GNUmakefile will be > > produced by autogen, if you have all the necessary applications > > installed... > > Jan or Han-Wen said we could do this. Unless something changed in > the past year -- which it might have :( -- it will work. I spent > at least three years doing that. Okay, that's right, GNUmakefile.in does not contain any variables that will be replaced, so it should work. > I'm wondering more about these lines that happened during "make -C > python": > > powerpc-apple-darwin8-gcc-4.0.1: ERROR:: No such file or directory > powerpc-apple-darwin8-gcc-4.0.1: pkg-config: No such file or > directory > powerpc-apple-darwin8-gcc-4.0.1: not: No such file or directory > powerpc-apple-darwin8-gcc-4.0.1: found: No such file or directory The autogen.sh script runs pkg-config on the various library names. However, pkg-config is not installed, either. The problem is that the string returned from the pkg-config call is stored into e.g. FREETYPE2_CFLAGS, PANGO_FT2_CFLAGS, etc. and then used in various calls reinh...@einstein:~/lilypond/lilypond$ grep -e ERROR config.make FREETYPE2_CFLAGS = ERROR: pkg-config not found --cflags freetype2 >= 2.1.10 PANGO_FT2_CFLAGS = ERROR: pkg-config not found --cflags pangoft2 >= 1.6.0 FONTCONFIG_LIBS = ERROR: pkg-config not found --libs fontconfig >= 2.2.0 FREETYPE2_LIBS = ERROR: pkg-config not found --libs freetype2 >= 2.1.10 PANGO_FT2_LIBS = ERROR: pkg-config not found --libs pangoft2 >= 1.6.0 If pkg-config is installed, it returns the appropriate flags and pathes, but in this case, things are simply terribly broken, since the build requirements are not available. > if he can't build python stuff (namely lilypond-book), then he's > hosed. Apparently, he needs pkg-config installed... Cheers, Reinhold - -- - -- Reinhold Kainhofer, reinh...@kainhofer.com, http://reinhold.kainhofer.com/ * Financial & Actuarial Math., Vienna Univ. of Technology, Austria * http://www.fam.tuwien.ac.at/, DVR: 0005886 * LilyPond, Music typesetting, http://www.lilypond.org -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iD8DBQFKqVqbTqjEwhXvPN0RAjP9AKCfFHVyAFCePxYrhChjnJHQNmdPPACfaerZ 03WcHKV0/HZUbzYtyuS56Eg= =yssn -END PGP SIGNATURE- ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: problems building documentation without compiling LilyPond
On Thu, Sep 10, 2009 at 07:06:13PM +0200, Reinhold Kainhofer wrote: > Am Donnerstag, 10. September 2009 18:27:04 schrieb Patrick Schmidt: > > I'm having problems to build documentation (without compiling LilyPond) on > > MacOS X 10.4.11. My www-out directory only contains the file dummy.dep. For > > error messages see attached file. > > Also, "cp GNUmakefile.in GNUmakefile" will never work (that's like trying to > execute a source file without compiling it)! GNUmakefile will be produced > by autogen, if you have all the necessary applications installed... Jan or Han-Wen said we could do this. Unless something changed in the past year -- which it might have :( -- it will work. I spent at least three years doing that. > Also, you might need to install pngtopnm: > > sh: line 1: pngtopnm: command not found Yes, this will be necessary. I'm wondering more about these lines that happened during "make -C python": powerpc-apple-darwin8-gcc-4.0.1: ERROR:: No such file or directory powerpc-apple-darwin8-gcc-4.0.1: pkg-config: No such file or directory powerpc-apple-darwin8-gcc-4.0.1: not: No such file or directory powerpc-apple-darwin8-gcc-4.0.1: found: No such file or directory ... cc1: error: unrecognized command line option "-fcflags" cc1: error: unrecognized command line option "-fcflags" cc1: error: unrecognized command line option "-fcflags" cc1: error: unrecognized command line option "-fcflags" lipo: can't open input file: /var/tmp//ccjUksrx.out (No such file or directory) make: *** [out/midi.lo] Error 1 if he can't build python stuff (namely lilypond-book), then he's hosed. I could try to look at this in a day or two, but there's lots of other things I need to be doing in town and university. (such as buying toilet paper. Gee, these residences are cheap! I figured they'd give me one roll so I didn't have to find a Tesco or Sainsburys or whatever on my very first day here...!) For anybody who cares about the new website, especially getting it running on master, helping him fix (or just install the additional software) would be a good thing. :) Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: problems building documentation without compiling LilyPond
Am Donnerstag, 10. September 2009 18:27:04 schrieb Patrick Schmidt: > Hi all, > > I'm having problems to build documentation (without compiling LilyPond) on > MacOS X 10.4.11. My www-out directory only contains the file dummy.dep. For > error messages see attached file. You might also want to take a look yourself. For example the following error messages found in your file should give you a good hint what should be done: WARNING: Please consider installing optional programs: bison >= 1.29 (installed: 1.28) guile ERROR: Please install required programs: echo no guile-config >= 1.8.0 (installed: ) libguile (libguile-dev, guile-devel or guile-dev package). GUILE-with-rational-bugfix pkg-config See INSTALL.txt for more information on how to build LilyPond Also, "cp GNUmakefile.in GNUmakefile" will never work (that's like trying to execute a source file without compiling it)! GNUmakefile will be produced by autogen, if you have all the necessary applications installed... Also, you might need to install pngtopnm: sh: line 1: pngtopnm: command not found Hope that helps, Reinhold -- -- Reinhold Kainhofer, reinh...@kainhofer.com, http://reinhold.kainhofer.com/ * Financial & Actuarial Math., Vienna Univ. of Technology, Austria * http://www.fam.tuwien.ac.at/, DVR: 0005886 * LilyPond, Music typesetting, http://www.lilypond.org ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Compiling lilypond
Op dinsdag 29 mei 2007, schreef Thomas Gollenia: > Hi, > > When I tried to compile lilypond (all dependencies should be solved) > it came up with the following error message: > > chmod 755 out/lilypond-invoke-editor > /usr/bin/perl /Users/Thommy/Documents/Downloads/lilypond-2.10.25/ > buildscripts/out/help2man out/lilypond-invoke-editor > out/lilypond- > invoke-editor.1 > help2man: can't get `--help' info from out/lilypond-invoke-editor > make[1]: *** [out/lilypond-invoke-editor.1] Error 1 > make: *** [all] Error 2 I got the same problem. I found the solution by executing scripts/out/lilypond-invoke-editor by hand, which showed that guile could not execute that script because it had been built without regexp support. Right now I'm recompiling guile with regexp support (--enable-regex). best regards, Wilbert Berendsen -- http://www.wilbertberendsen.nl/ "You must be the change you wish to see in the world." -- Mahatma Gandi ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Compiling lilypond
Hi, When I tried to compile lilypond (all dependencies should be solved) it came up with the following error message: chmod 755 out/lilypond-invoke-editor /usr/bin/perl /Users/Thommy/Documents/Downloads/lilypond-2.10.25/ buildscripts/out/help2man out/lilypond-invoke-editor > out/lilypond- invoke-editor.1 help2man: can't get `--help' info from out/lilypond-invoke-editor make[1]: *** [out/lilypond-invoke-editor.1] Error 1 make: *** [all] Error 2 I have a MacBook, and the required programs (guile, bison, etc) were installed using MacPorts, except of mftrace, which I downloaded and compiled from the lilypond website. greetings, Thomas Gollenia ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Compiling lilypond files from Mutopia
On May 27, 2006, at 8:17 AM, Peter Clarke wrote: Dear list, I would like to compile a Lilypond file downloaded from Mutopia. It needs an include file (paper-20.ly). Where can I get this? And does that define all the 'extra' syntax the .ly file seems to contain? Thanks, Peter C Unfortunately, there is no simple way for the Mutopia maintainer (Chris Sawer) to update all the files with each new Lilypond version. I would suggest using the latest stable Lilypond version's convert-ly to update the file. If you can download one of the compiled binary Lilypond versions, use the "convert" function. Depending on how old is the Lilypond version of the Mutopia file, you may have to do some further editing. Regards, Stan ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Compiling lilypond files from Mutopia
Dear list, I would like to compile a Lilypond file downloaded from Mutopia. It needs an include file (paper-20.ly). Where can I get this? And does that define all the 'extra' syntax the .ly file seems to contain? Thanks, Peter C ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Compiling Lilypond-2.6.4 for FreeBSD 5.4
This assumes you know how to use cvsup and portupgrade, and know how to build ports from source. If you don't, consult the FreeBSD handbook. First, using cvsup update your ports tree. Next run portsdb -uU, then pkgdb -F. Use pkg_info to see if you already have: texinfo teTeX-base teTeX-texmf ghostscript-gnu OR ghostscript-afpl mftrace If you have any of these already installed, use portupgrade -R to upgrade them to the latest versions. If you don't, build them from source. In the case of teTeX, you can build /usr/ports/print/teTeX and that should build everything you need. If it doesn't, we'll take care of that later. Download lilypond-2.6.4.tar.gz into /usr/ports/distfiles. As root [preferably running sudo], run 'tar -xzf lilypond-2.6.4.tar.gz'. Change to the lilypond-2.6.4 directory. As root, edit configure, changing every instance of '4.7' in the file to '4.6'. As root, run ./configure. If configure bombs because of old or missing programs, install what it asks for. If configure runs ok, then as root run 'gmake install'. There will be many complaints about too many errors, etc., but that is mainly about building the texinfo docs. If it finishes without a hitch, you're ready to roll. Note that if you're upgrading from 2.2.2, you will have to run convert- ly to convert your old lilypond files to current syntax. Read 'man convert-ly'. If you have any questions, post them. I built this on an i386 machine running FreeBSD 5.4-RELEASE-p1. -- 72, Jim N0OCT ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Compiling Lilypond-2.6.0 On Gentoo
On Fri, 2005-07-01 at 21:59 -0700, Daniel Johnson wrote: > If you are going to be building the documentation on Gentoo (i.e. you > have "doc" in your USE variable) it is almost imperative that you use a > version of Guile newer than the latest stable -- use a CVS snapshot of > the development branch, and you get Han-Wen's garbage-collection > patches. What I wound up doing was the following (as root): Thanks for the advice, Daniel, I'll remember that if I try to compile the documentation. I did, however, solve the original problem I was having. I recompiled tetex, and swapped autotrace for potrace. I'm not sure which of the two was the culprit, but lilypond 2.6 compiled and is running fine now. Thanks for the help, Scott -- "Oh, people can come up with statistics to prove anything. 14% of people know that." -- Homer Simpson ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Compiling Lilypond-2.6.0 On Gentoo
If you are going to be building the documentation on Gentoo (i.e. you have "doc" in your USE variable) it is almost imperative that you use a version of Guile newer than the latest stable -- use a CVS snapshot of the development branch, and you get Han-Wen's garbage-collection patches. What I wound up doing was the following (as root): ***WARNING: UGLY HACKS*** 1. cd ~ 2. wget ftp://ftp.dt.e-technik.uni-dortmund.de/pub/guile/snapshots/guile-core.unstable.tar.gz 3. tar xzf guile-core.unstable.tar.gz 4. tar czf guile-1.7.2.tar.gz guile-core.unstable* 5. mv guile-1.7.2.tar.gz /usr/portage/distfiles 6. mkdir -p $PORTDIR_OVERLAY/dev-util/guile/ 7. cd $PORTDIR_OVERLAY/dev-util/guile 8. cp /usr/portage/dev-util/guile-1.6.8.ebuild ./guile-1.7.2.ebuild 9. edit guile-1.7.2.ebuild. Add dev-libs/gmp to the DEPEND var. Remove the line that patches in case of GCC 4.0 (unless you are running GCC 4, in which case you'll have to figure out how to modify the patch yourself) 10. ebuild guile-1.7.2.ebuild digest 11. emerge guile 12. cd $PORTDIR_OVERLAY/media-sound/lilypond 13. edit lilypond-2.6.0.ebuild. In the src_install function, comment out the entire "if use doc;" block. 14. ebuild lilypond-2.6.0.ebuild digest 15. mkdir -p /var/tmp/portage/lilypond-2.6.0/work 16. USE="doc" FEATURES="keepwork" emerge lilypond 17. mkdir -p /usr/share/doc/lilypond; cd /usr/share/doc/lilypond 18. tar xzf /var/tmp/portage/lilypond-2.6.0/work/lilypond-2.6.0/out-www/web.tar.gz I'm sure there are better ways of doing this but this was my quick & dirty method. Building of documentation proceeded at a very nice pace, and didn't crash like it has been doing for the last month or so. This should also help users who are building massive documents with lilypond-book. I sure hope the Gentoo team supports this stuff without my hacks soon... but that's unlikely since they seem to be stalled on creating an ESP Ghostscript 8.15rc3 ebuild. And forget about Guile CVS... development and release of Guile seems to happen at a snail's pace, and I don't think anyone other than Han-Wen has placed any importance on the GC portion of Guile. We are *so* spoiled with the pace of Lilypond development! --Daniel Joe Neeman wrote: >If this list allows .tar.bz2 attachments, you could try unpacking the >attachment into your $PORTDIR_OVERLAY directory. It adds ebuilds for the >correct versions of mftrace and fontforge, so it should help resolve any >dependency problems. > >Joe > > ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Compiling Lilypond-2.6.0 On Gentoo
Joe Neeman wrote: If this list allows .tar.bz2 attachments, you could try unpacking the attachment into your $PORTDIR_OVERLAY directory. It adds ebuilds for the correct versions of mftrace and fontforge, so it should help resolve any dependency problems. Joe Hi Joe, Thanks for taking the time to respond! I believe I am using the same versions of mftrace and fontforge as you have so kindly provided me with. I suspect the problem may be an environmental variable of some sort. Nonetheless, I'll give these ebuilds a go and see how things progress. Thanks again, Scott ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Compiling Lilypond-2.6.0 On Gentoo
If this list allows .tar.bz2 attachments, you could try unpacking the attachment into your $PORTDIR_OVERLAY directory. It adds ebuilds for the correct versions of mftrace and fontforge, so it should help resolve any dependency problems. Joe lilypond-ebuild.tar.bz2 Description: Binary data ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Compiling Lilypond-2.6.0 On Gentoo
Hi All, I am eager to give Lilypond-2.6.0 a try! However, on my Gentoo box, I get the following error during the compile: mf-nowin -progname=mf "\mode:=laserjet; nonstopmode; input feta11.mf;" This is METAFONT, Version 2.71828 (Web2C 7.5.4) kpathsea: Running mktexfmt mf.base tcfmgr: config file `tcfmgr.map' (usually in $TEXMFMAIN/texconfig) not found. fmtutil: config file `fmtutil.cnf' not found. I can't find the base file `mf.base'! make[1]: *** [out/feta11.tfm] Error 1 make[1]: Leaving directory `/home/portage/lilypond-2.6.0/work/lilypond-2.6.0/mf'make: *** [all] Error 2 I did a bit of searching around, and it seems that there are a few other gentoo users with a similar error (albeit on an earlier version of lilypond - 2.5.2: http://bugs.gentoo.org/show_bug.cgi?id=90334 ). It seems to be related to tetex, but I do have the latest gentoo version installed (3.0-r2). However, I also see that I can do a: make -C mf get-pfa that appears to download and extract pretraced fonts from an rpm package. Cool. But, after the above make (apparently successfully), I follow it up with a 'make all' and still run into the same error as above. So, could anyone shed some light on the original error; or perhaps explain how the 'get-pfa' option should be used. Thanks very much for you help, and for a great program! Best, Scott -- "Oh, people can come up with statistics to prove anything. 14% of people know that." -- Homer Simpson ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Compiling Lilypond...
J. L. writes: > Which ec-fonts-mftraced package does Cygwin need to use? Any of http://lilypond.org/download/fonts/ http://lilypond.org/cygwin/uploads/ec-fonts-mftraced Jan. -- Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter http://www.xs4all.nl/~jantien | http://www.lilypond.org ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Compiling Lilypond...
Hi, Which ec-fonts-mftraced package does Cygwin need to use? Aligorith _ Surf the net and talk on the phone with Xtra JetStream @ http://xtra.co.nz/jetstream ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Compiling Lilypond
Building lilypond on cygwin is not a simple task. I always have to experiment for some time before I can build it along with the doc. However, if you don't want to build the doc, you will have a much easier task. - some of them can be downloaded from http://anfaenger.de/cygwin, then istalling from directory - potrace is just to be put in the /bin directory IIRC - I don't know if the current version of mftrace is repaired now, but it had problems with .exe files, I had to edit ./configure or the makefile - texinfo 4.7 must be compiled and installed via make, and netpbm as well. Texinfo 4.7 has a bug in texi2dvi (it tries to be too smart...), so texi2dvi must be edited to correctly find tex. - ImageMagick is now released as a cygwin package I'm not sure if that's all. But you can see that most of the problems are related to doc-building. Bert ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Compiling Lilypond
Bother! Can someone tell me how to install separate packages for Cygwin? (i.e. MFTrace, and its dependancies). Aligorith _ Theres never been a better time to get Xtra JetStream @ http://xtra.co.nz/jetstream ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: compiling lilypond
I'm pretty sure I have it installed; when I type mf at the prompt I get: This is METAFONT, Version 2.7182 (Web2C 7.4.5) ** I have the files mf and mfw in /usr/share/texmf/bin Configure detects everything automatically except kpathsea, which is installed in the default directory /usr/share/texmf/(lib; include) and does not complain after typing export LDFLAGS. etc. It does tell me to please consider installing optional programs: kpsewhich, (how would I do that?) Also, maybe I'm doing something really stupid, because I'm a bit of a linux newbie. Anyway, thanks for your help (& congrats on the new release!), David --- Jan Nieuwenhuizen <[EMAIL PROTECTED]> wrote: > sdf sdfs writes: > > > make[1]: Entering directory > > `/home/david/lilypond-2.4.0/mf' > > echo mf mfont not found "\mode:=laserjet; > nonstopmode; > > You should install metafont, probably in the tetex > package. I'm > surprised that configure did not complain about > metafont. > > Jan. > > -- > Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - > The music typesetter > http://www.xs4all.nl/~jantien | > http://www.lilypond.org > __ Post your free ad now! http://personals.yahoo.ca ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: compiling lilypond
sdf sdfs writes: > make[1]: Entering directory > `/home/david/lilypond-2.4.0/mf' > echo mf mfont not found "\mode:=laserjet; nonstopmode; You should install metafont, probably in the tetex package. I'm surprised that configure did not complain about metafont. Jan. -- Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter http://www.xs4all.nl/~jantien | http://www.lilypond.org ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
compiling lilypond
Hi. I've been trying to compile lilypond for several weeks on various setups. I (think I) have installed all the necessary programs in INSTALL.txt and ecfonts, but it still doesn't go all the way. Here is the last bit of the compiler output on my Slackware 10 system, any help would be appreciated, Thanks! David ./out/template5.o ./out/tempo-performer.o ./out/text-engraver.o ./out/text-item.o ./out/text-spanner-engraver.o ./out/text-spanner.o ./out/tfm-reader.o ./out/tfm.o ./out/tie-column.o ./out/tie-engraver.o ./out/tie-performer.o ./out/tie.o ./out/time-scaled-music-iterator.o ./out/time-scaled-music.o ./out/time-signature-engraver.o ./out/time-signature-performer.o ./out/time-signature.o ./out/timing-engraver.o ./out/timing-translator.o ./out/translator-ctors.o ./out/translator-group.o ./out/translator-property.o ./out/translator-scheme.o ./out/translator.o ./out/transposed-music.o ./out/trill-spanner-engraver.o ./out/tuplet-bracket.o ./out/tuplet-engraver.o ./out/type-swallow-translator.o ./out/un-relativable-music.o ./out/unfolded-repeat-iterator.o ./out/untransposable-music.o ./out/vaticana-ligature-engraver.o ./out/vaticana-ligature.o ./out/vertical-align-engraver.o ./out/virtual-font-metric.o ./out/volta-bracket.o ./out/volta-engraver.o ./out/lexer.o ./out/parser.o ./out/../../flower/out/library.a -lkpathsea -L/usr/share/texmf/lib -L/usr/share/texmf/lib -lguile -lguile-ltdl -lqthreads -lpthread -lcrypt -lm /usr/bin/perl /home/david/lilypond-2.4.0/buildscripts/out/help2man out/lilypond > out/lilypond.1 make PACKAGE=LILYPOND package=lilypond -C include man && true make[2]: Entering directory `/home/david/lilypond-2.4.0/lily/include' true make[2]: Leaving directory `/home/david/lilypond-2.4.0/lily/include' make PACKAGE=LILYPOND package=lilypond -C include all && true make[2]: Entering directory `/home/david/lilypond-2.4.0/lily/include' true make[2]: Leaving directory `/home/david/lilypond-2.4.0/lily/include' make[1]: Leaving directory `/home/david/lilypond-2.4.0/lily' make[1]: Entering directory `/home/david/lilypond-2.4.0/mf' echo mf mfont not found "\mode:=laserjet; nonstopmode; input feta11.mf;" mf mfont not found \mode:=laserjet; nonstopmode; input feta11.mf; mv feta11.log feta11.tfm ./out mv: cannot stat `feta11.log': No such file or directory mv: cannot stat `feta11.tfm': No such file or directory make[1]: *** [out/feta11.tfm] Error 1 make[1]: Leaving directory `/home/david/lilypond-2.4.0/mf' make: *** [all] Error 2 __ Post your free ad now! http://personals.yahoo.ca ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Compiling Lilypond-2.3.11 on Slackware 10
Finally it worked! In Slackware 10 keeping lilypond-profile.sh in /etc/profile.d/ does not work. To make it work I did the following: Copied buildcripts/out/lilypond-profile to /usr/bin Then, I appended the following line: source /usr/bin/lilypond-profile to the end of /etc/profile. Logout and login. Now Lilypond-2.3.11 is working fine. Strangely, this is working even for csh without using lilypond-login. Thanks Mr. Mats Bengtsson for your patient help. Anand On 08/18/2004 08:37:35 PM, Mats Bengtsson wrote: OK, now you have managed to source the file. However, it seems that your installation of teTeX doesn't behave as it should. What does the following sequence of commands return? unset TEXMF kpsexpand \$TEXMF kpsewhich texmf.cnf Also, you should try to figure out why you didn't manage to source the file earlier. /Mats R S Ananda Murthy wrote: On 08/18/2004 06:48:28 PM, Mats Bengtsson wrote: First of all, I hope that we are talking about the file buildscripts/out/lilypond-profile and NOT buildscripts/lilypond-profile.sh To help us understand what's going on, try the following: - Go to the lilypond-* directory where you run the compilation - Run the command set -x this will make bash echo every line it executes - Run (I hope you have noted the initial dot followed by a space) . buildscripts/out/lilypond-profile I was missing the starting . and space! - Reset bash to normal behaviour by running set +x Send the resulting output to the mailing list. /Mats This is the resulting output: + . buildscripts/out/lilypond-profile ++ '[' -n '' ']' +++ basename bash ++ '[' -z '' -a bash = lilypond-profile ']' ++ '[' -z '' ']' +++ echo /usr/share/lilypond/2.3.11 +++ sed 's!//!/!g' ++ datadir=/usr/share/lilypond/2.3.11 +++ echo '{/usr/share/lilypond/2.3.11,}' +++ grep /usr/share/lilypond/2.3.11 ++ '[' -z '{/usr/share/lilypond/2.3.11,}' ']' After this if I now type the command printenv TEXMF I get: + printenv TEXMF {/usr/share/lilypond/2.3.11,} Anand R S Ananda Murthy wrote: On 08/18/2004 01:48:08 PM, Mats Bengtsson wrote: I'm cross-posting to lilypond-user, to increase the chance that you get help from some Slackware user. R S Ananda Murthy wrote: On 08/17/2004 08:45:10 PM, Mats Bengtsson wrote: Did you start a new shell first? Yes. I was wrong, you probably have to logout/login again to make bash read the profile files. Hopefully this helps What does the following command return: printenv TEXMF Nothing. Which indicates that the lilypond-profile file wasn't read. If you are eager to get started (waiting for some Slackware user on the list to provide more help), just run . /.../lilypond-profile in the shell where you want to run LilyPond. I did this after making lilypond-profile executable. But after this, if I do printenv TEXMF I get nothing. So, I feel there is something wrong in lilypond-profile. I think, if this is set right, Lilypond- 2.3.11 may work properly on Slackware 10. In another mail, you wrote Hello, While invoking Lilypond, what sould be the following environment variables: TEXMF LILYPONDPREFIX LANG How to set these variables? Can anybody give some examples? If you did 'make install', you should leave LILYPONDPREFIX unset. The same goes for LANG, unless you want your programs to speak some other language than english. If you try to set the TEXMF variable yourself, it's very likely to get wrong, that's why we have the lilypond-profile file. /Mats R S Ananda Murthy wrote: On 08/17/2004 08:07:33 PM, R S Ananda Murthy wrote: I am hereby placing this discussion in the mailing list. Anand On 08/17/2004 03:51:01 PM, Mats Bengtsson wrote: Please keep the discussion on the mailing list, for the benefit of yourself since you get access to the collected expertise on the list and for the benefit of others who experience similar problems. Feel free to quote my answer below if you wish. R S Ananda Murthy wrote: Hello, Thanks for your mail. Now Lilypond-2.3.11 is running on Slackware 10! I installed mftraced ec fonts. I have done texhash. But when I do lilypond test.py I get the following message: Now processing `test.ly' Parsing... Interpreting music... error: can't find `feta20.afm' Music font has not been installed properly. Aborting I have not understood what I should do with the scripts lilypond-profile lilypond-login I am using bash. Could you please help. I don't know how things are setup in Slackware. On RedHat systems, there's a directory /etc/profile.d/, where you can put the file lilypond-profile (renamed to lilypond-profile.sh) so it will be automatically read as soon as you start a new shell. Otherwise, you can add a line . /whatever/path/to/the/file/lilypond-profile in your own ~/.profile /Mats ___ lilypond-devel mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-devel Hello, As mentioned above, I copied lilypond-profile.sh into /etc/ profile. d. In
Re: Compiling Lilypond-2.3.11 on Slackware 10
OK, now you have managed to source the file. However, it seems that your installation of teTeX doesn't behave as it should. What does the following sequence of commands return? unset TEXMF kpsexpand \$TEXMF kpsewhich texmf.cnf Also, you should try to figure out why you didn't manage to source the file earlier. /Mats R S Ananda Murthy wrote: On 08/18/2004 06:48:28 PM, Mats Bengtsson wrote: First of all, I hope that we are talking about the file buildscripts/out/lilypond-profile and NOT buildscripts/lilypond-profile.sh To help us understand what's going on, try the following: - Go to the lilypond-* directory where you run the compilation - Run the command set -x this will make bash echo every line it executes - Run (I hope you have noted the initial dot followed by a space) . buildscripts/out/lilypond-profile - Reset bash to normal behaviour by running set +x Send the resulting output to the mailing list. /Mats This is the resulting output: + . buildscripts/out/lilypond-profile ++ '[' -n '' ']' +++ basename bash ++ '[' -z '' -a bash = lilypond-profile ']' ++ '[' -z '' ']' +++ echo /usr/share/lilypond/2.3.11 +++ sed 's!//!/!g' ++ datadir=/usr/share/lilypond/2.3.11 +++ echo '{/usr/share/lilypond/2.3.11,}' +++ grep /usr/share/lilypond/2.3.11 ++ '[' -z '{/usr/share/lilypond/2.3.11,}' ']' After this if I now type the command printenv TEXMF I get: + printenv TEXMF {/usr/share/lilypond/2.3.11,} Anand R S Ananda Murthy wrote: On 08/18/2004 01:48:08 PM, Mats Bengtsson wrote: I'm cross-posting to lilypond-user, to increase the chance that you get help from some Slackware user. R S Ananda Murthy wrote: On 08/17/2004 08:45:10 PM, Mats Bengtsson wrote: Did you start a new shell first? Yes. I was wrong, you probably have to logout/login again to make bash read the profile files. Hopefully this helps What does the following command return: printenv TEXMF Nothing. Which indicates that the lilypond-profile file wasn't read. If you are eager to get started (waiting for some Slackware user on the list to provide more help), just run . /.../lilypond-profile in the shell where you want to run LilyPond. I did this after making lilypond-profile executable. But after this, if I do printenv TEXMF I get nothing. So, I feel there is something wrong in lilypond-profile. I think, if this is set right, Lilypond- 2.3.11 may work properly on Slackware 10. In another mail, you wrote Hello, While invoking Lilypond, what sould be the following environment variables: TEXMF LILYPONDPREFIX LANG How to set these variables? Can anybody give some examples? If you did 'make install', you should leave LILYPONDPREFIX unset. The same goes for LANG, unless you want your programs to speak some other language than english. If you try to set the TEXMF variable yourself, it's very likely to get wrong, that's why we have the lilypond-profile file. /Mats R S Ananda Murthy wrote: On 08/17/2004 08:07:33 PM, R S Ananda Murthy wrote: I am hereby placing this discussion in the mailing list. Anand On 08/17/2004 03:51:01 PM, Mats Bengtsson wrote: Please keep the discussion on the mailing list, for the benefit of yourself since you get access to the collected expertise on the list and for the benefit of others who experience similar problems. Feel free to quote my answer below if you wish. R S Ananda Murthy wrote: Hello, Thanks for your mail. Now Lilypond-2.3.11 is running on Slackware 10! I installed mftraced ec fonts. I have done texhash. But when I do lilypond test.py I get the following message: Now processing `test.ly' Parsing... Interpreting music... error: can't find `feta20.afm' Music font has not been installed properly. Aborting I have not understood what I should do with the scripts lilypond-profile lilypond-login I am using bash. Could you please help. I don't know how things are setup in Slackware. On RedHat systems, there's a directory /etc/profile.d/, where you can put the file lilypond-profile (renamed to lilypond-profile.sh) so it will be automatically read as soon as you start a new shell. Otherwise, you can add a line . /whatever/path/to/the/file/lilypond-profile in your own ~/.profile /Mats ___ lilypond-devel mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-devel Hello, As mentioned above, I copied lilypond-profile.sh into /etc/ profile. d. In Slackware 10 also we have /etc/profile.d. Now I tried lilypond test.ly where the content of test.ly is { c'4 e' g' } But I still get the message: Now processing `test.ly' Parsing... Interpreting music... error: can't find `feta20.afm' Music font has not been installed properly. Aborting I have installed mftraced ec fonts and done texhash. What is the problem? Anand ___ lilypond-devel mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-devel -- ==
Re: Compiling Lilypond-2.3.11 on Slackware 10
On 08/18/2004 06:48:28 PM, Mats Bengtsson wrote: First of all, I hope that we are talking about the file buildscripts/out/lilypond-profile and NOT buildscripts/lilypond-profile.sh To help us understand what's going on, try the following: - Go to the lilypond-* directory where you run the compilation - Run the command set -x this will make bash echo every line it executes - Run (I hope you have noted the initial dot followed by a space) . buildscripts/out/lilypond-profile - Reset bash to normal behaviour by running set +x Send the resulting output to the mailing list. /Mats This is the resulting output: + . buildscripts/out/lilypond-profile ++ '[' -n '' ']' +++ basename bash ++ '[' -z '' -a bash = lilypond-profile ']' ++ '[' -z '' ']' +++ echo /usr/share/lilypond/2.3.11 +++ sed 's!//!/!g' ++ datadir=/usr/share/lilypond/2.3.11 +++ echo '{/usr/share/lilypond/2.3.11,}' +++ grep /usr/share/lilypond/2.3.11 ++ '[' -z '{/usr/share/lilypond/2.3.11,}' ']' After this if I now type the command printenv TEXMF I get: + printenv TEXMF {/usr/share/lilypond/2.3.11,} Anand R S Ananda Murthy wrote: On 08/18/2004 01:48:08 PM, Mats Bengtsson wrote: I'm cross-posting to lilypond-user, to increase the chance that you get help from some Slackware user. R S Ananda Murthy wrote: On 08/17/2004 08:45:10 PM, Mats Bengtsson wrote: Did you start a new shell first? Yes. I was wrong, you probably have to logout/login again to make bash read the profile files. Hopefully this helps What does the following command return: printenv TEXMF Nothing. Which indicates that the lilypond-profile file wasn't read. If you are eager to get started (waiting for some Slackware user on the list to provide more help), just run . /.../lilypond-profile in the shell where you want to run LilyPond. I did this after making lilypond-profile executable. But after this, if I do printenv TEXMF I get nothing. So, I feel there is something wrong in lilypond-profile. I think, if this is set right, Lilypond- 2.3.11 may work properly on Slackware 10. In another mail, you wrote Hello, While invoking Lilypond, what sould be the following environment variables: TEXMF LILYPONDPREFIX LANG How to set these variables? Can anybody give some examples? If you did 'make install', you should leave LILYPONDPREFIX unset. The same goes for LANG, unless you want your programs to speak some other language than english. If you try to set the TEXMF variable yourself, it's very likely to get wrong, that's why we have the lilypond-profile file. /Mats R S Ananda Murthy wrote: On 08/17/2004 08:07:33 PM, R S Ananda Murthy wrote: I am hereby placing this discussion in the mailing list. Anand On 08/17/2004 03:51:01 PM, Mats Bengtsson wrote: Please keep the discussion on the mailing list, for the benefit of yourself since you get access to the collected expertise on the list and for the benefit of others who experience similar problems. Feel free to quote my answer below if you wish. R S Ananda Murthy wrote: Hello, Thanks for your mail. Now Lilypond-2.3.11 is running on Slackware 10! I installed mftraced ec fonts. I have done texhash. But when I do lilypond test.py I get the following message: Now processing `test.ly' Parsing... Interpreting music... error: can't find `feta20.afm' Music font has not been installed properly. Aborting I have not understood what I should do with the scripts lilypond-profile lilypond-login I am using bash. Could you please help. I don't know how things are setup in Slackware. On RedHat systems, there's a directory /etc/profile.d/, where you can put the file lilypond-profile (renamed to lilypond-profile.sh) so it will be automatically read as soon as you start a new shell. Otherwise, you can add a line . /whatever/path/to/the/file/lilypond-profile in your own ~/.profile /Mats ___ lilypond-devel mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-devel Hello, As mentioned above, I copied lilypond-profile.sh into /etc/ profile. d. In Slackware 10 also we have /etc/profile.d. Now I tried lilypond test.ly where the content of test.ly is { c'4 e' g' } But I still get the message: Now processing `test.ly' Parsing... Interpreting music... error: can't find `feta20.afm' Music font has not been installed properly. Aborting I have installed mftraced ec fonts and done texhash. What is the problem? Anand ___ lilypond-devel mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-devel -- = 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 = __
Re: Compiling Lilypond-2.3.11 on Slackware 10
First of all, I hope that we are talking about the file buildscripts/out/lilypond-profile and NOT buildscripts/lilypond-profile.sh To help us understand what's going on, try the following: - Go to the lilypond-* directory where you run the compilation - Run the command set -x this will make bash echo every line it executes - Run (I hope you have noted the initial dot followed by a space) . buildscripts/out/lilypond-profile - Reset bash to normal behaviour by running set +x Send the resulting output to the mailing list. /Mats R S Ananda Murthy wrote: On 08/18/2004 01:48:08 PM, Mats Bengtsson wrote: I'm cross-posting to lilypond-user, to increase the chance that you get help from some Slackware user. R S Ananda Murthy wrote: On 08/17/2004 08:45:10 PM, Mats Bengtsson wrote: Did you start a new shell first? Yes. I was wrong, you probably have to logout/login again to make bash read the profile files. Hopefully this helps What does the following command return: printenv TEXMF Nothing. Which indicates that the lilypond-profile file wasn't read. If you are eager to get started (waiting for some Slackware user on the list to provide more help), just run . /.../lilypond-profile in the shell where you want to run LilyPond. I did this after making lilypond-profile executable. But after this, if I do printenv TEXMF I get nothing. So, I feel there is something wrong in lilypond-profile. I think, if this is set right, Lilypond- 2.3.11 may work properly on Slackware 10. In another mail, you wrote Hello, While invoking Lilypond, what sould be the following environment variables: TEXMF LILYPONDPREFIX LANG How to set these variables? Can anybody give some examples? If you did 'make install', you should leave LILYPONDPREFIX unset. The same goes for LANG, unless you want your programs to speak some other language than english. If you try to set the TEXMF variable yourself, it's very likely to get wrong, that's why we have the lilypond-profile file. /Mats R S Ananda Murthy wrote: On 08/17/2004 08:07:33 PM, R S Ananda Murthy wrote: I am hereby placing this discussion in the mailing list. Anand On 08/17/2004 03:51:01 PM, Mats Bengtsson wrote: Please keep the discussion on the mailing list, for the benefit of yourself since you get access to the collected expertise on the list and for the benefit of others who experience similar problems. Feel free to quote my answer below if you wish. R S Ananda Murthy wrote: Hello, Thanks for your mail. Now Lilypond-2.3.11 is running on Slackware 10! I installed mftraced ec fonts. I have done texhash. But when I do lilypond test.py I get the following message: Now processing `test.ly' Parsing... Interpreting music... error: can't find `feta20.afm' Music font has not been installed properly. Aborting I have not understood what I should do with the scripts lilypond-profile lilypond-login I am using bash. Could you please help. I don't know how things are setup in Slackware. On RedHat systems, there's a directory /etc/profile.d/, where you can put the file lilypond-profile (renamed to lilypond-profile.sh) so it will be automatically read as soon as you start a new shell. Otherwise, you can add a line . /whatever/path/to/the/file/lilypond-profile in your own ~/.profile /Mats ___ lilypond-devel mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-devel Hello, As mentioned above, I copied lilypond-profile.sh into /etc/ profile. d. In Slackware 10 also we have /etc/profile.d. Now I tried lilypond test.ly where the content of test.ly is { c'4 e' g' } But I still get the message: Now processing `test.ly' Parsing... Interpreting music... error: can't find `feta20.afm' Music font has not been installed properly. Aborting I have installed mftraced ec fonts and done texhash. What is the problem? Anand ___ lilypond-devel mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-devel -- = 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-devel mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-devel -- = 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 =
Re: Compiling Lilypond-2.3.11 on Slackware 10
On 08/18/2004 01:48:08 PM, Mats Bengtsson wrote: I'm cross-posting to lilypond-user, to increase the chance that you get help from some Slackware user. R S Ananda Murthy wrote: On 08/17/2004 08:45:10 PM, Mats Bengtsson wrote: Did you start a new shell first? Yes. I was wrong, you probably have to logout/login again to make bash read the profile files. Hopefully this helps What does the following command return: printenv TEXMF Nothing. Which indicates that the lilypond-profile file wasn't read. If you are eager to get started (waiting for some Slackware user on the list to provide more help), just run . /.../lilypond-profile in the shell where you want to run LilyPond. I did this after making lilypond-profile executable. But after this, if I do printenv TEXMF I get nothing. So, I feel there is something wrong in lilypond-profile. I think, if this is set right, Lilypond- 2.3.11 may work properly on Slackware 10. In another mail, you wrote Hello, While invoking Lilypond, what sould be the following environment variables: TEXMF LILYPONDPREFIX LANG How to set these variables? Can anybody give some examples? If you did 'make install', you should leave LILYPONDPREFIX unset. The same goes for LANG, unless you want your programs to speak some other language than english. If you try to set the TEXMF variable yourself, it's very likely to get wrong, that's why we have the lilypond-profile file. /Mats R S Ananda Murthy wrote: On 08/17/2004 08:07:33 PM, R S Ananda Murthy wrote: I am hereby placing this discussion in the mailing list. Anand On 08/17/2004 03:51:01 PM, Mats Bengtsson wrote: Please keep the discussion on the mailing list, for the benefit of yourself since you get access to the collected expertise on the list and for the benefit of others who experience similar problems. Feel free to quote my answer below if you wish. R S Ananda Murthy wrote: Hello, Thanks for your mail. Now Lilypond-2.3.11 is running on Slackware 10! I installed mftraced ec fonts. I have done texhash. But when I do lilypond test.py I get the following message: Now processing `test.ly' Parsing... Interpreting music... error: can't find `feta20.afm' Music font has not been installed properly. Aborting I have not understood what I should do with the scripts lilypond-profile lilypond-login I am using bash. Could you please help. I don't know how things are setup in Slackware. On RedHat systems, there's a directory /etc/profile.d/, where you can put the file lilypond-profile (renamed to lilypond-profile.sh) so it will be automatically read as soon as you start a new shell. Otherwise, you can add a line . /whatever/path/to/the/file/lilypond-profile in your own ~/.profile /Mats ___ lilypond-devel mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-devel Hello, As mentioned above, I copied lilypond-profile.sh into /etc/ profile. d. In Slackware 10 also we have /etc/profile.d. Now I tried lilypond test.ly where the content of test.ly is { c'4 e' g' } But I still get the message: Now processing `test.ly' Parsing... Interpreting music... error: can't find `feta20.afm' Music font has not been installed properly. Aborting I have installed mftraced ec fonts and done texhash. What is the problem? Anand ___ lilypond-devel mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-devel -- = 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-devel mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-devel -- = 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 [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Compiling Lilypond-2.3.11 on Slackware 10
I'm cross-posting to lilypond-user, to increase the chance that you get help from some Slackware user. R S Ananda Murthy wrote: On 08/17/2004 08:45:10 PM, Mats Bengtsson wrote: Did you start a new shell first? Yes. I was wrong, you probably have to logout/login again to make bash read the profile files. Hopefully this helps What does the following command return: printenv TEXMF Nothing. Which indicates that the lilypond-profile file wasn't read. If you are eager to get started (waiting for some Slackware user on the list to provide more help), just run . /.../lilypond-profile in the shell where you want to run LilyPond. In another mail, you wrote Hello, While invoking Lilypond, what sould be the following environment variables: TEXMF LILYPONDPREFIX LANG How to set these variables? Can anybody give some examples? If you did 'make install', you should leave LILYPONDPREFIX unset. The same goes for LANG, unless you want your programs to speak some other language than english. If you try to set the TEXMF variable yourself, it's very likely to get wrong, that's why we have the lilypond-profile file. /Mats R S Ananda Murthy wrote: On 08/17/2004 08:07:33 PM, R S Ananda Murthy wrote: I am hereby placing this discussion in the mailing list. Anand On 08/17/2004 03:51:01 PM, Mats Bengtsson wrote: Please keep the discussion on the mailing list, for the benefit of yourself since you get access to the collected expertise on the list and for the benefit of others who experience similar problems. Feel free to quote my answer below if you wish. R S Ananda Murthy wrote: Hello, Thanks for your mail. Now Lilypond-2.3.11 is running on Slackware 10! I installed mftraced ec fonts. I have done texhash. But when I do lilypond test.py I get the following message: Now processing `test.ly' Parsing... Interpreting music... error: can't find `feta20.afm' Music font has not been installed properly. Aborting I have not understood what I should do with the scripts lilypond-profile lilypond-login I am using bash. Could you please help. I don't know how things are setup in Slackware. On RedHat systems, there's a directory /etc/profile.d/, where you can put the file lilypond-profile (renamed to lilypond-profile.sh) so it will be automatically read as soon as you start a new shell. Otherwise, you can add a line . /whatever/path/to/the/file/lilypond-profile in your own ~/.profile /Mats ___ lilypond-devel mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-devel Hello, As mentioned above, I copied lilypond-profile.sh into /etc/profile. d. In Slackware 10 also we have /etc/profile.d. Now I tried lilypond test.ly where the content of test.ly is { c'4 e' g' } But I still get the message: Now processing `test.ly' Parsing... Interpreting music... error: can't find `feta20.afm' Music font has not been installed properly. Aborting I have installed mftraced ec fonts and done texhash. What is the problem? Anand ___ lilypond-devel mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-devel -- = 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-devel mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-devel -- = 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 [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Compiling Lilypond-2.3.11 on Slackware 10
Hello, I am trying to compile Lilypond-2.3.11 on Slackware 10. All the dependencies have been satisfied. But while compiling I got the following error message: kpath.cc: In function `String kpathsea_find_afm(const char*)': kpath.cc:47: error: `kpse_afm_format' undeclared (first use this function) kpath.cc:47: error: (Each undeclared identifier is reported only once for each function it appears in.) kpath.cc:47: error: `kpse_find_file' undeclared (first use this function) kpath.cc: In function `String kpathsea_find_tfm(const char*)': kpath.cc:73: error: `kpse_tfm_format' undeclared (first use this function) kpath.cc:73: error: `kpse_find_file' undeclared (first use this function) kpath.cc: In function `void initialize_kpathsea(char*)': kpath.cc:86: warning: unused parameter `char*av0' make[1]: *** [out/kpath.o] Error 1 make[1]: Leaving directory `/root/lilypond-2.2.5/lily' make: *** [all] Error 2 Can anybody help me solve this? Thanks for your help. Anand ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Help compiling lilypond needed...
Hi.. I've tried compiling lilypond getting a lot of problems. This is a commented log of my try to install lilypond. Maybe it can be useful to help me install it (already have manuals printed... but without the software it is hard to write music :-). My linux box is an old Slackware 8.0 updated with: gcc 3.3 glibc 2.3.2 and many more software like perl, make, python and so on... Trying to configure (crossing my thumbs): ./configure [...] ERROR: Please install required programs: kpathsea (libkpathsea-dev, kpathsea-devel or tetex-devel package). Else, please specify the location of your kpathsea using --with-kpathsea-include and --with-kpathsea-lib options. You should install kpathsea; see INSTALL.txt. Rerun ./configure --without-kpathsea only if kpathsea is not available for your platform. OK! In fact they are somewhere in a weird place. Let specify it: ./configure --with-kpathsea-include=/usr/share/texmf/include/ \ --with-kpathsea-lib=/usr/share/texmf/lib/ [...] ERROR: Please install required programs: kpathsea (libkpathsea-dev, kpathsea-devel or tetex-devel package). Else, please specify the location of your kpathsea using --with-kpathsea-include and --with-kpathsea-lib options. You should install kpathsea; see INSTALL.txt. Rerun ./configure --without-kpathsea only if kpathsea is not available for your platform. As this is not working in a clean way, let us look into the config.log file: configure:6335: checking for kpathsea/kpathsea.h configure:6342: result: yes configure:6356: checking for kpse_find_file in -lkpathsea configure:6387: g++ -o conftest -O2 -finline-functions -g -I/usr/share/texmf/include/ -L/usr/share/texmf/lib/ conftest.cc -lkpathsea >&5 configure:6371:1: warning: "PACKAGE_NAME" redefined configure:6365:1: warning: this is the location of the previous definition /usr/share/texmf/lib//libkpathsea.a(cnf.o)(.text+0x1b): In function `do_line': : undefined reference to `__ctype_b' /usr/share/texmf/lib//libkpathsea.a(cnf.o)(.text+0x58): In function `do_line': : undefined reference to `__ctype_b' /usr/share/texmf/lib//libkpathsea.a(cnf.o)(.text+0xb4): In function `do_line': : undefined reference to `__ctype_b' /usr/share/texmf/lib//libkpathsea.a(cnf.o)(.text+0xe8): In function `do_line': : undefined reference to `__ctype_b' /usr/share/texmf/lib//libkpathsea.a(cnf.o)(.text+0x129): In function `do_line': : undefined reference to `__ctype_b' /usr/share/texmf/lib//libkpathsea.a(cnf.o)(.text+0x165): more undefined references to `__ctype_b' follow /usr/share/texmf/lib//libkpathsea.a(uppercasify.o)(.text+0x2e): In function `uppercasify': : undefined reference to `__ctype_toupper' /usr/share/texmf/lib//libkpathsea.a(variable.o)(.text+0x303): In function `kpse_var_expand': : undefined reference to `__ctype_b' /usr/share/texmf/lib//libkpathsea.a(variable.o)(.text+0x316): In function `kpse_var_expand': : undefined reference to `__ctype_b' collect2: ld returned 1 exit status Then, where should be __ctype_b defined? Took the config cc file used to test kpathsea, and commented almost everything resulting in: #ifdef __cplusplus extern "C" #endif char kpse_find_file () int main () { kpse_find_file (); ; return 0; } giving the same error. Commenting first three lines, I get: [EMAIL PROTECTED] _]$ g++ -o _ -O2 -finline-functions -g -I/usr/share/texmf/include/ -L/usr/share/texmf/lib/ _.cc -lkpathsea /tmp/ccdQYEVm.o(.text+0xa): In function `main': /opt/MISC/_/lilypond-1.8.1/_/_.cc:50: undefined reference to `kpse_find_file()' collect2: ld returned 1 exit status [EMAIL PROTECTED] _]$ which means my libkpathsea does not have a kpse_find_file implementation? But if I run [EMAIL PROTECTED] _]$ nm /usr/share/texmf/lib/libkpathsea.a |grep kpse_find_file 1418 T kpse_find_file I'am not sure what this means... but if I add an implementation for that function to the test C code it compiles. I don't know if this is a too old kpathsea or if there is some other reason. ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Problems Compiling Lilypond with gcc-3.3
[EMAIL PROTECTED] writes: > > If it has been planned that the use of multi-line string literals is > to become obsolete, shouldn't the code in the appropriate source > files be changed, i.e. put backslashes before newlines in multiline > string literals? In particular, many of the ENTER_DESCRIPTION entries > have this problem, as in the following (from a2-engraver.cc): > this has been addressed in the 1.7 series. Since 1.8 will be released within a week, we have no interest in fixing it for 1.6 (but patches are appreciated.) -- Han-Wen Nienhuys | [EMAIL PROTECTED] | http://www.xs4all.nl/~hanwen ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Problems Compiling Lilypond with gcc-3.3
Dear Lilypond Developers: Recently I attempted to build and install lilypond 1.6.10-2 from source, using fink (MacOS X 10.2.6) and gcc 3.3. compilation failed repeatedly, with the messages: rm -f ./out/a2-engraver.dep; DEPENDENCIES_OUTPUT="./out/a2-engraver.dep ./out/a2-engraver.o" c++ -c -DHAVE_CONFIG_H -DSTRING_UTILS_INLINED -Iinclude -I./out -I../flower/include -I../flower/./out -I../flower/include -O2 -finline-functions -g -no-cpp-precomp -I/sw/include -I/sw/include -O2 -finline-functions -g -no-cpp-precomp -I/sw/include -I/sw/include -Wall -W -Wmissing-prototypes -Wconversion -o out/a2-engraver.o a2-engraver.cc a2-engraver.cc:203:19: missing terminating " character a2-engraver.cc:212:1: missing terminating " character a2-engraver.cc:214:19: missing terminating " character a2-engraver.cc:215:97: missing terminating " character a2-engraver.cc:217:21: macro "ENTER_DESCRIPTION" passed 11 arguments, but takes just 6 a2-engraver.cc:217: warning: ISO C++ forbids declaration of `ENTER_DESCRIPTION' with no type gnumake[1]: *** [out/a2-engraver.o] Error 1 gnumake: *** [all] Error 2 ### execution of ulimit failed, exit code 2 Failed: compiling lilypond-1.6.10-2 failed One of the members of the fink Beginners' List kindly showed me an Apple web page, advising of compatibility problems between fink and gcc 3.3, and explaining how to use the earier gcc 3.1 compiler. When I did that, lilypond compiled and installed successfully, but still with warnings like: a2-engraver.cc:203:19: warning: \ multi-line string literals are deprecated If it has been planned that the use of multi-line string literals is to become obsolete, shouldn't the code in the appropriate source files be changed, i.e. put backslashes before newlines in multiline string literals? In particular, many of the ENTER_DESCRIPTION entries have this problem, as in the following (from a2-engraver.cc): ENTER_DESCRIPTION(A2_engraver, /* descr */ "Part combine engraver for orchestral scores. The markings @emph{a2}, @emph{Solo} and @emph{Solo II}, are created by this engraver. It also acts upon instructions of the part combiner. Another thing that the this engraver, is forcing of stem, slur and tie directions, always when both threads are not identical; up for the musicexpr called @code{one}, down for the musicexpr called @code{two}. ",... Thank you for Lilypond, Jonathan ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
RE: Compiling Lilypond 1.7.4
Hi, Many thanks Klaus. My mistake was putting duff information in the e-mail ;) I checked /etc/ld.so.conf and it contained /usr/local/lib. However, running ldconfig cured the problem. I'm not sure what the problem was in the end, but I will look into it a bit more. Up and running! Wahay! Cheers! Ralph -Original Message- From: Klaus Zimmermann [mailto:klaus_zimmermann@;gmx.de] Sent: 05 November 2002 22:27 To: Ralph Little Cc: '[EMAIL PROTECTED]' Subject: Re: Compiling Lilypond 1.7.4 Ralph Little wrote: > Hi, > I am trying to get Lily 1.7.4 up and running on Redhat 8 > I have built and installed Guile1.6 from source, and there is a > /usr/local/lib/libguile.so.12 (sym linked to libguile.so.12.3.0), > and guile (/usr/local/bin/guile) fires up fine. > > I saw some posts on a similar vein previously, and I have checked that > /usr/local/bin is in /etc/ld.so.conf. I think you should rather include /usr/local/lib not bin. After you've checked that you should execute ldconfig as root (which wouldn't hurt anyway). regards Klaus -- Our communications with you matter to us. This e-mail and any attachments are confidential and are sent on the basis of our copyright, e-mail and security policy which can be inspected at our website at http://www.tribaldata.co.uk/html/contact.html#6. If you are not the intended recipient, please notify the sender and delete this message. Thank you. -- ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: Compiling Lilypond 1.7.4
Ralph Little wrote: Hi, I am trying to get Lily 1.7.4 up and running on Redhat 8 I have built and installed Guile1.6 from source, and there is a /usr/local/lib/libguile.so.12 (sym linked to libguile.so.12.3.0), and guile (/usr/local/bin/guile) fires up fine. > I saw some posts on a similar vein previously, and I have checked that /usr/local/bin is in /etc/ld.so.conf. I think you should rather include /usr/local/lib not bin. After you've checked that you should execute ldconfig as root (which wouldn't hurt anyway). regards Klaus ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Compiling Lilypond 1.7.4
Hi, I am trying to get Lily 1.7.4 up and running on Redhat 8 I have built and installed Guile1.6 from source, and there is a /usr/local/lib/libguile.so.12 (sym linked to libguile.so.12.3.0), and guile (/usr/local/bin/guile) fires up fine. But... When I try "ly2dvi test.ly" I get: -8<-8<-8<-8<-8<-8<-- Running LilyPond... lilypond: error while loading shared libraries: libguile.so.12: cannot open shared object file: No such file or directory LilyPond failed on an input file (exit status 127). Trying to salvage the rest. warning: no LilyPond output found for `test' Running LaTeX... -8<-8<-8<-8<-8<-8<-- I saw some posts on a similar vein previously, and I have checked that /usr/local/bin is in /etc/ld.so.conf. Any ideas? Much obliged in advance Ralph -- Our communications with you matter to us. This e-mail and any attachments are confidential and are sent on the basis of our copyright, e-mail and security policy which can be inspected at our website at http://www.tribaldata.co.uk/html/contact.html#6. If you are not the intended recipient, please notify the sender and delete this message. Thank you. -- ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Compiling lilypond 1.6.2 with gcc 3.2 and flex 1.5.19 'howto'
Hello, Using gcc 3.2 and flex 1.5.19 (ftp://ftp.uncg.edu/people/wlestes/), and thanks to advices from Joerg Anders (thanks a lot), I manage to compile lilypond 1.6.2 by adding : using namespace std; at the top of lily/lexer.ll I report this in the hope that it will be useful for other users... (I did not need to use others fixs in complement, configure ; make all works fine.) Many thanks to people who answered my messages in lilypond-users mailing-list and help me to resolve that problem :-)... I can now use the last version of lilypond thanks to these helps :-) Alex. PS : little patch attached. --- lily/lexer.ll Tue Sep 10 17:46:10 2002 +++ lily/lexer.ll.old Tue Sep 10 17:46:28 2002 @@ -22,7 +22,6 @@ */ -using namespace std; /* to avoid errors with gcc-3.2 (and flex 1.5.19) (dirty trick ?) */ #include #include #include
Re: problem compiling lilypond
> Hello, > > I'd appreciate any help you could give with compiling lilypond. I do >``configure'', > and it works. When I do ``make'', I get a bunch of output, ending in the following: > > bison -d parser.yy > parser.yy contains 2 shift/reduce conflicts. > mv parser.yy.tab.h out/parser.hh > mv: cannot stat `parser.yy.tab.h': No such file or directory > > I'm compiling lilypond 1.4.8 on Linux (Mandrake). I think I have all the software > that's supposed to be needed: teX, GUILE, etc. This problem should be solved in the latest stable release 1.4.14, I recommend that you try that one instead. > (BTW, I couldn't tell from the INSTALL.txt file or from the lilybond website > whether [EMAIL PROTECTED] was a mailing list, or an address that would > go to a particular person, and if it's a mailing list, > it would also be nice if it could state whether > e-mailing to this list would result in one's non-spamproofed e-mail address > being posted on the web.) It's certainly a mailing list (I can find exactly this phrasing several places in the documentation and on the web site, don't know where you looked). I you click on "Mailing lists" on the web page, you'll find links to the archives where you can see that many people are active whith questions and answers. Also, I'm afraid that you'll find quite some spam there as well. As far as I understand, mailing list service we use doesn't have a very good spam filter. /Mats ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
problem compiling lilypond
Hello, I'd appreciate any help you could give with compiling lilypond. I do ``configure'', and it works. When I do ``make'', I get a bunch of output, ending in the following: bison -d parser.yy parser.yy contains 2 shift/reduce conflicts. mv parser.yy.tab.h out/parser.hh mv: cannot stat `parser.yy.tab.h': No such file or directory I'm compiling lilypond 1.4.8 on Linux (Mandrake). I think I have all the software that's supposed to be needed: teX, GUILE, etc. (BTW, I couldn't tell from the INSTALL.txt file or from the lilybond website whether [EMAIL PROTECTED] was a mailing list, or an address that would go to a particular person, and if it's a mailing list, it would also be nice if it could state whether e-mailing to this list would result in one's non-spamproofed e-mail address being posted on the web.) Thanks in advance for any help! Ben Crowell ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: Problem compiling lilypond 1.5.50
On 2002.04.16 21:24 Han-Wen Nienhuys wrote: > > Can you check if the lilypond binary works? I.e. run > > lily/out/lilypond > Hum, i think no : # ./lily/out-gcc-3.0/lilypond Segmentation fault > -- > > Han-Wen Nienhuys | [EMAIL PROTECTED]| > http://www.cs.uu.nl/~hanwen/ > Pierre. ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: Problem compiling lilypond 1.5.50
Can you check if the lilypond binary works? I.e. run lily/out/lilypond -- Han-Wen Nienhuys | [EMAIL PROTECTED]| http://www.cs.uu.nl/~hanwen/ ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: Problem compiling lilypond 1.5.50
On 2002.04.16 09:58 Mats Bengtsson wrote: > > Now i got this : > > > > root@pierre:/tmp/lilypond-1.5.52/make# patch -p0 < patch patching > file > > lilypond-vars.make > > patch: malformed patch at line 8: $(input-dir)/tricks/ -I > > $(input-dir)/regression/ -I $(input-dir)/test/ -I > > During the mail transfer or when copying the patch an extra > newline has appeared in the patch. The easiest is actually > to edit the file make/lilypond-vars.make manually, just replace > the "mf/out" at the end of line 40 with "mf/$(outdir)" > > /Mats > Ok thank you, it solves this problem. But now i got another problem : [...] gmake[1]: Entering directory `/tmp/lilypond-1.5.52/Documentation' gmake PACKAGE=LILYPOND package=lilypond -C user all && gmake PACKAGE=LILYPOND package=lilypond -C bibliography all && gmake PACKAGE=LILYPOND package=lilypond -C pictures all && gmake PACKAGE=LILYPOND package=lilypond -C topdocs all && gmake PACKAGE=LILYPOND package=lilypond -C misc all && gmake PACKAGE=LILYPOND package=lilypond -C windows all && true gmake[2]: Entering directory `/tmp/lilypond-1.5.52/Documentation/user' rm -f out-gcc-3.0/lilypond.nexi /usr/local/bin/python ../.././scripts/lilypond-book.py -I /tmp/lilypond-1.5.52/Documentation/user -I ./out-gcc-3.0 -I../.././input -I ../.././input/tricks/ -I ../.././input/regression/ -I ../.././input/test/ -I ../.././input/tutorial/ -I /tmp/lilypond-1.5.52/mf/./out-gcc-3.0 --dependencies --outdir=./out-gcc-3.0 --format=texi --no-lily lilypond.tely lilypond-book (GNU LilyPond) 1.5.18 extra_mem_top=100 extra_mem_bottom=100 pool_size=25 Reading `/tmp/lilypond-1.5.52/Documentation/user/lilypond.tely' Reading `/tmp/lilypond-1.5.52/Documentation/user/dedication.itely' Reading `/tmp/lilypond-1.5.52/Documentation/user/macros.itexi' Reading `/tmp/lilypond-1.5.52/Documentation/user/preface.itely' Reading `/tmp/lilypond-1.5.52/Documentation/user/tutorial.itely' Reading `/tmp/lilypond-1.5.52/Documentation/user/refman.itely' Reading `/tmp/lilypond-1.5.52/Documentation/user/internals.itely' Reading `/tmp/lilypond-1.5.52/Documentation/user/invoking.itexi' Reading `/tmp/lilypond-1.5.52/Documentation/user/bugs.itexi' Reading `/tmp/lilypond-1.5.52/Documentation/user/ly2dvi.itexi' Reading `/tmp/lilypond-1.5.52/Documentation/user/convert-ly.itexi' Reading `/tmp/lilypond-1.5.52/Documentation/user/lilypond-book.itely' Reading `/tmp/lilypond-1.5.52/Documentation/user/converters.itely' Reading `/tmp/lilypond-1.5.52/Documentation/user/literature.itely' Reading `/tmp/lilypond-1.5.52/Documentation/user/appendices.itely' Reading `/tmp/lilypond-1.5.52/Documentation/user/fdl.itexi' Reading `../.././input/tutorial/os-score.ly' Reading `../.././input/tutorial/os-flute-2.ly' Reading `../.././input/tutorial/sammartini.ly' Reading `/tmp/lilypond-1.5.52/mf/./out-gcc-3.0/feta16list.ly' Writing `./out-gcc-3.0/lilypond.texi' Writing `./out-gcc-3.0/lilypond.dep' mv out-gcc-3.0/lilypond.texi out-gcc-3.0/lilypond.nexi chmod -w out-gcc-3.0/lilypond.nexi makeinfo --output=./out-gcc-3.0/lilypond.info out-gcc-3.0/lilypond.nexi cd ./out-gcc-3.0 && ../../.././lily/out-gcc-3.0/lilypond ../../.././ly/generate-documentation gmake[2]: *** [out-gcc-3.0/lilypond-internals.nexi] Error 139 rm out-gcc-3.0/lilypond.nexi gmake[2]: Leaving directory `/tmp/lilypond-1.5.52/Documentation/user' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/tmp/lilypond-1.5.52/Documentation' gmake: *** [all] Error 2 regards, Pierre. ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: Problem compiling lilypond 1.5.50
[EMAIL PROTECTED] writes: > > Now i got this : > > > > root@pierre:/tmp/lilypond-1.5.52/make# patch -p0 < patch patching file > > lilypond-vars.make > > patch: malformed patch at line 8: $(input-dir)/tricks/ -I > > $(input-dir)/regression/ -I $(input-dir)/test/ -I > > During the mail transfer or when copying the patch an extra > newline has appeared in the patch. The easiest is actually > to edit the file make/lilypond-vars.make manually, just replace > the "mf/out" at the end of line 40 with "mf/$(outdir)" -- Han-Wen Nienhuys | [EMAIL PROTECTED]| http://www.cs.uu.nl/~hanwen/ ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: Problem compiling lilypond 1.5.50
> Now i got this : > > root@pierre:/tmp/lilypond-1.5.52/make# patch -p0 < patch patching file > lilypond-vars.make > patch: malformed patch at line 8: $(input-dir)/tricks/ -I > $(input-dir)/regression/ -I $(input-dir)/test/ -I During the mail transfer or when copying the patch an extra newline has appeared in the patch. The easiest is actually to edit the file make/lilypond-vars.make manually, just replace the "mf/out" at the end of line 40 with "mf/$(outdir)" /Mats ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: Problem compiling lilypond 1.5.50
On 2002.04.15 17:59 Han-Wen Nienhuys wrote: > [EMAIL PROTECTED] writes: > > > > ... > > > > File not found `feta16list.ly' > > > > > > Strange, this file should have been generated in > > > the directory mf/out/ earlier during the build > > > process, together with the files, feta16.afm, feta16.dep, > > > feta16.enc, feta16.log, feta16.tex and feta16.tfm, among > > > others. > > > > In fact it's there : > > > > root@pierre:/tmp/lilypond-1.5.52# find . -name feta16list.ly > > ./mf/out-gcc-3.0/feta16list.ly > > Try this (and the website will still not build). Notice that the bug > you reported was in building the doco ; you should have a working > lilypond executable already. > > > > --- lilypond-vars.make.~1.26.~Mon Mar 18 01:11:27 2002 > +++ lilypond-vars.makeMon Apr 15 17:56:38 2002 > @@ -37,7 +37,7 @@ > CONVERT_LY = $(script-dir)/convert-ly.py > LILYPOND = $(depth)/$(builddir)/lily/$(outconfbase)/lilypond > LILYPOND_BOOK = $(script-dir)/lilypond-book.py > -LILYPOND_BOOK_INCLUDES = -I $(pwd) -I $(outdir) -I$(input-dir) -I > $(input-dir)/tricks/ -I $(input-dir)/regression/ -I $(input-dir)/test/ > -I $(input-dir)/tutorial/ -I $(topdir)/mf/out > +LILYPOND_BOOK_INCLUDES = -I $(pwd) -I $(outdir) -I$(input-dir) -I > $(input-dir)/tricks/ -I $(input-dir)/regression/ -I $(input-dir)/test/ > -I $(input-dir)/tutorial/ -I $(topdir)/mf/out -I > $(topdir)/mf/$(outdir)/ > LY2DVI = $(script-dir)/ly2dvi.py > LYS_TO_TELY = $(buildscript-dir)/lys-to-tely.py > PS_TO_GIFS = $(buildscript-dir)/ps-to-gifs.sh > Now i got this : root@pierre:/tmp/lilypond-1.5.52/make# patch -p0 < patch patching file lilypond-vars.make patch: malformed patch at line 8: $(input-dir)/tricks/ -I $(input-dir)/regression/ -I $(input-dir)/test/ -I > -- > > Han-Wen Nienhuys | [EMAIL PROTECTED]| > http://www.cs.uu.nl/~hanwen/ > > Pierre. ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: Problem compiling lilypond 1.5.50
[EMAIL PROTECTED] writes: > > > ... > > > File not found `feta16list.ly' > > > > Strange, this file should have been generated in > > the directory mf/out/ earlier during the build > > process, together with the files, feta16.afm, feta16.dep, > > feta16.enc, feta16.log, feta16.tex and feta16.tfm, among > > others. > > In fact it's there : > > root@pierre:/tmp/lilypond-1.5.52# find . -name feta16list.ly > ./mf/out-gcc-3.0/feta16list.ly Try this (and the website will still not build). Notice that the bug you reported was in building the doco ; you should have a working lilypond executable already. --- lilypond-vars.make.~1.26.~ Mon Mar 18 01:11:27 2002 +++ lilypond-vars.make Mon Apr 15 17:56:38 2002 @@ -37,7 +37,7 @@ CONVERT_LY = $(script-dir)/convert-ly.py LILYPOND = $(depth)/$(builddir)/lily/$(outconfbase)/lilypond LILYPOND_BOOK = $(script-dir)/lilypond-book.py -LILYPOND_BOOK_INCLUDES = -I $(pwd) -I $(outdir) -I$(input-dir) -I $(input-dir)/tricks/ -I $(input-dir)/regression/ -I $(input-dir)/test/ -I $(input-dir)/tutorial/ -I $(topdir)/mf/out +LILYPOND_BOOK_INCLUDES = -I $(pwd) -I $(outdir) -I$(input-dir) -I +$(input-dir)/tricks/ -I $(input-dir)/regression/ -I $(input-dir)/test/ -I +$(input-dir)/tutorial/ -I $(topdir)/mf/out -I $(topdir)/mf/$(outdir)/ LY2DVI = $(script-dir)/ly2dvi.py LYS_TO_TELY = $(buildscript-dir)/lys-to-tely.py PS_TO_GIFS = $(buildscript-dir)/ps-to-gifs.sh -- Han-Wen Nienhuys | [EMAIL PROTECTED]| http://www.cs.uu.nl/~hanwen/ ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: Problem compiling lilypond 1.5.50
On 2002.04.15 11:25 Mats Bengtsson wrote: > Congratulations, you have successfully built Lilypond. > When you have come this far in the building process, it > just works on producing Info versions of the documentation. > > > /usr/local/bin/python ../.././scripts/lilypond-book.py -I > > /tmp/lilypond-1.5.52/Documentation/user -I ./out-gcc-3.0 > > -I../.././input -I ../.././input/tricks/ -I > ../.././input/regression/ > > -I ../.././input/test/ -I ../.././input/tutorial/ -I > > /tmp/lilypond-1.5.52/mf/out --dependencies --outdir=./out-gcc-3.0 > > --format=texi --no-lily lilypond.tely > > ... > > File not found `feta16list.ly' > > Strange, this file should have been generated in > the directory mf/out/ earlier during the build > process, together with the files, feta16.afm, feta16.dep, > feta16.enc, feta16.log, feta16.tex and feta16.tfm, among > others. In fact it's there : root@pierre:/tmp/lilypond-1.5.52# find . -name feta16list.ly ./mf/out-gcc-3.0/feta16list.ly > If you can't find these files, try > >>make -C mf clean > >>make -C mf > If you still don't get any mf/out/feta* files, send us > a log of the 'make -C mf'. > > /Mats > Pierre. ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: Problem compiling lilypond 1.5.50
Congratulations, you have successfully built Lilypond. When you have come this far in the building process, it just works on producing Info versions of the documentation. > /usr/local/bin/python ../.././scripts/lilypond-book.py -I > /tmp/lilypond-1.5.52/Documentation/user -I ./out-gcc-3.0 > -I../.././input -I ../.././input/tricks/ -I ../.././input/regression/ > -I ../.././input/test/ -I ../.././input/tutorial/ -I > /tmp/lilypond-1.5.52/mf/out --dependencies --outdir=./out-gcc-3.0 > --format=texi --no-lily lilypond.tely > ... > File not found `feta16list.ly' Strange, this file should have been generated in the directory mf/out/ earlier during the build process, together with the files, feta16.afm, feta16.dep, feta16.enc, feta16.log, feta16.tex and feta16.tfm, among others. If you can't find these files, try >>make -C mf clean >>make -C mf If you still don't get any mf/out/feta* files, send us a log of the 'make -C mf'. /Mats ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: Problem compiling lilypond 1.5.50
On 2002.04.14 23:28 Han-Wen Nienhuys wrote: > [EMAIL PROTECTED] writes: > > -Wmissing-prototypes -Wconversion -o out/lexer.o out/lexer.cc > > In file included from /usr/include/FlexLexer.h:47, > > from out/lexer.cc:241: > > /usr/local/include/g++-v3/backward/iostream.h:36: using directive > > `istream'introduced ambiguous type `istream' > > check out the INSTALL instruction where it says GCC 3.0 I followed these instructions and now i got : # gmake conf=gcc-3.0 [...] gmake[1]: Entering directory `/tmp/lilypond-1.5.52/Documentation' gmake PACKAGE=LILYPOND package=lilypond -C user all && gmake PACKAGE=LILYPOND package=lilypond -C bibliography all && gmake PACKAGE=LILYPOND package=lilypond -C pictures all && gmake PACKAGE=LILYPOND package=lilypond -C topdocs all && gmake PACKAGE=LILYPOND package=lilypond -C misc all && gmake PACKAGE=LILYPOND package=lilypond -C windows all && true gmake[2]: Entering directory `/tmp/lilypond-1.5.52/Documentation/user' rm -f out-gcc-3.0/lilypond.nexi /usr/local/bin/python ../.././scripts/lilypond-book.py -I /tmp/lilypond-1.5.52/Documentation/user -I ./out-gcc-3.0 -I../.././input -I ../.././input/tricks/ -I ../.././input/regression/ -I ../.././input/test/ -I ../.././input/tutorial/ -I /tmp/lilypond-1.5.52/mf/out --dependencies --outdir=./out-gcc-3.0 --format=texi --no-lily lilypond.tely lilypond-book (GNU LilyPond) 1.5.18 extra_mem_top=100 extra_mem_bottom=100 pool_size=25 Reading `/tmp/lilypond-1.5.52/Documentation/user/lilypond.tely' Reading `/tmp/lilypond-1.5.52/Documentation/user/dedication.itely' Reading `/tmp/lilypond-1.5.52/Documentation/user/macros.itexi' Reading `/tmp/lilypond-1.5.52/Documentation/user/preface.itely' Reading `/tmp/lilypond-1.5.52/Documentation/user/tutorial.itely' Reading `/tmp/lilypond-1.5.52/Documentation/user/refman.itely' Reading `/tmp/lilypond-1.5.52/Documentation/user/internals.itely' Reading `/tmp/lilypond-1.5.52/Documentation/user/invoking.itexi' Reading `/tmp/lilypond-1.5.52/Documentation/user/bugs.itexi' Reading `/tmp/lilypond-1.5.52/Documentation/user/ly2dvi.itexi' Reading `/tmp/lilypond-1.5.52/Documentation/user/convert-ly.itexi' Reading `/tmp/lilypond-1.5.52/Documentation/user/lilypond-book.itely' Reading `/tmp/lilypond-1.5.52/Documentation/user/converters.itely' Reading `/tmp/lilypond-1.5.52/Documentation/user/literature.itely' Reading `/tmp/lilypond-1.5.52/Documentation/user/appendices.itely' Reading `/tmp/lilypond-1.5.52/Documentation/user/fdl.itexi' Reading `../.././input/tutorial/os-score.ly' Reading `../.././input/tutorial/os-flute-2.ly' Reading `../.././input/tutorial/sammartini.ly' File not found `feta16list.ly' Exiting ... Traceback (most recent call last): File "../.././scripts/lilypond-book.py", line 1376, in ? do_file(input_filename) File "../.././scripts/lilypond-book.py", line 1281, in do_file chunks = chop_chunks(chunks, 'lilypond-file', make_lilypond_file, 1) File "../.././scripts/lilypond-book.py", line 850, in chop_chunks newchunks = newchunks + func(m) File "../.././scripts/lilypond-book.py", line 811, in make_lilypond_file (content, nm) = find_file(m.group('filename')) File "../.././scripts/lilypond-book.py", line 768, in find_file error ("File not found `%s'\n" % name) File "../.././scripts/lilypond-book.py", line 565, in error raise 'Exiting.' Exiting. gmake[2]: *** [out-gcc-3.0/lilypond.nexi] Error 1 gmake[2]: Leaving directory `/tmp/lilypond-1.5.52/Documentation/user' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/tmp/lilypond-1.5.52/Documentation' gmake: *** [all] Error 2 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
Re: Problem compiling lilypond 1.5.50
On 2002.04.14 23:28 Han-Wen Nienhuys wrote: > [EMAIL PROTECTED] writes: > > -Wmissing-prototypes -Wconversion -o out/lexer.o out/lexer.cc > > In file included from /usr/include/FlexLexer.h:47, > > from out/lexer.cc:241: > > /usr/local/include/g++-v3/backward/iostream.h:36: using directive > > `istream'introduced ambiguous type `istream' > > check out the INSTALL instruction where it says GCC 3.0 Ok i'm sorry, thank you. Is it a bug from flex ? > -- > Han-Wen Nienhuys | [EMAIL PROTECTED]| > http://www.cs.uu.nl/~hanwen/ > Pierre. ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: Problem compiling lilypond 1.5.50
On 2002.04.14 23:28 Jan Nieuwenhuizen wrote: > Pierre <[EMAIL PROTECTED]> writes: > > > >> lexer.ll: In member function `virtual int My_lily_lexer::yylex()': > >> lexer.ll:502: cannot convert `std::istream*' to `istream*' in > > > > I have the same problem with lilypond-1.5.52 > > It looks like you have versions of flex and gcc that don't work > together; ie, upgrade flex or downgrade gcc. What versions do you > use? > > Jan. I have flex 2.5.4a and gcc 3.0.4 > -- > Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music > typesetter > http://www.xs4all.nl/~jantien | http://www.lilypond.org > Regards, Pierre. ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: Problem compiling lilypond 1.5.50
Pierre <[EMAIL PROTECTED]> writes: >> lexer.ll: In member function `virtual int My_lily_lexer::yylex()': >> lexer.ll:502: cannot convert `std::istream*' to `istream*' in > > I have the same problem with lilypond-1.5.52 It looks like you have versions of flex and gcc that don't work together; ie, upgrade flex or downgrade gcc. What versions do you use? Jan. -- Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter http://www.xs4all.nl/~jantien | http://www.lilypond.org ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: Problem compiling lilypond 1.5.50
[EMAIL PROTECTED] writes: > -Wmissing-prototypes -Wconversion -o out/lexer.o out/lexer.cc > In file included from /usr/include/FlexLexer.h:47, > from out/lexer.cc:241: > /usr/local/include/g++-v3/backward/iostream.h:36: using directive > `istream'introduced ambiguous type `istream' check out the INSTALL instruction where it says GCC 3.0 -- Han-Wen Nienhuys | [EMAIL PROTECTED]| http://www.cs.uu.nl/~hanwen/ ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: Problem compiling lilypond 1.5.50
On 2002.04.12 16:19 Pierre wrote: > On 2002.04.04 14:06 Pierre wrote: >> Hi, >> >> Now i got a problem during the compilation : >> >> # gmake >> gmake --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C >> buildscripts all && gmake --no-builtin-rules PACKAGE=LILYPOND >> package=lilypond -C scripts all && gmake --no-builtin-rules >> PACKAGE=LILYPOND package=lilypond -C flower all && gmake >> --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C lily all && >> gmake --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C mf all >> && gmake --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C ly >> all && gmake --no-builtin-rules PACKAGE=LILYPOND package=lilypond >> -C tex all && gmake --no-builtin-rules PACKAGE=LILYPOND >> package=lilypond -C ps all && gmake --no-builtin-rules >> PACKAGE=LILYPOND package=lilypond -C scm all && gmake >> --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C python all >> && gmake --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C po >> all && gmake --no-builtin-rules PACKAGE=LILYPOND package=lilypond >> -C make all && gmake --no-builtin-rules PACKAGE=LILYPOND >> package=lilypond -C intl all && gmake --no-builtin-rules >> PACKAGE=LILYPOND package=lilypond -C debian all && gmake >> --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C ./stepmake >> all && gmake --no-builtin-rules PACKAGE=LILYPOND package=lilypond >> -C Documentation all && gmake --no-builtin-rules PACKAGE=LILYPOND >> package=lilypond -C input all && gmake --no-builtin-rules >> PACKAGE=LILYPOND package=lilypond -C mutopia all && gmake >> --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C ports all && >> true >> gmake[1]: Entering directory `/tmp/lilypond-1.5.50/buildscripts' >> true >> gmake[1]: Leaving directory `/tmp/lilypond-1.5.50/buildscripts' >> gmake[1]: Entering directory `/tmp/lilypond-1.5.50/scripts' >> true >> true >> gmake[1]: Leaving directory `/tmp/lilypond-1.5.50/scripts' >> gmake[1]: Entering directory `/tmp/lilypond-1.5.50/flower' >> gmake PACKAGE=LILYPOND package=lilypond -C include all && true >> gmake[2]: Entering directory `/tmp/lilypond-1.5.50/flower/include' >> true >> gmake[2]: Leaving directory `/tmp/lilypond-1.5.50/flower/include' >> gmake[1]: Leaving directory `/tmp/lilypond-1.5.50/flower' >> gmake[1]: Entering directory `/tmp/lilypond-1.5.50/lily' >> rm -f ./out/kpath.dep; DEPENDENCIES_OUTPUT="./out/kpath.dep >> ./out/kpath.o" c++ -c -DHAVE_CONFIG_H -DSTRING_UTILS_INLINED >> -Iinclude -I./out -I.././lib/include -I../lib/./out >> -I.././flower/include -I../flower/./out -I../flower/include -O3 >> -march=i686 -O2 -finline-functions -g -O3 -march=i686 >> -I/usr/share/texmf/include -O2 -finline-functions -g >> -I/usr/local/include -Wall -W -Wmissing-prototypes -Wconversion -o >> out/kpath.o kpath.cc >> kpath.cc: In function `String ly_find_afm(const char*)': >> kpath.cc:36: `kpse_afm_format' undeclared (first use this function) >> kpath.cc:36: (Each undeclared identifier is reported only once for >> each function it appears in.) >> kpath.cc:36: `kpse_find_file' undeclared (first use this function) >> kpath.cc: In function `String ly_find_tfm(const char*)': >> kpath.cc:62: `kpse_tfm_format' undeclared (first use this function) >> kpath.cc: In function `void ly_init_kpath(char*)': >> kpath.cc:77: warning: unused parameter `char*av0' >> gmake[1]: *** [out/kpath.o] Error 1 >> gmake[1]: Leaving directory `/tmp/lilypond-1.5.50/lily' >> gmake: *** [all] Error 2 >> > > Now that kpathsea.h is correctly detected, i don't have this error > anymore > compiling lilypond 1.5.51. > But i got another one : > > [...] > gmake[1]: Entering directory `/tmp/lilypond-1.5.51/lily' > rm -f ./out/lexer.dep; DEPENDENCIES_OUTPUT="./out/lexer.dep > ./out/lexer.o" c++ -c -DHAVE_CONFIG_H -DSTRING_UTILS_INLINED > -Iinclude -I./out -I.././lib/include -I../lib/./out > -I.././flower/include -I../flower/./out -I../flower/include -O3 > -march=i686 -I/usr/share/texmf/include -O2 -finline-functions -g > -O3 -march=i686 -O2 -finline-functions -g -O3 -march=i686 > -I/usr/share/texmf/include -I/usr/local/include -Wall -W > -Wmissing-prototypes -Wconversion -o out/lexer.o out/lexer.cc > In file included from /usr/include/Flex
Re: Problem compiling lilypond 1.5.50
On 2002.04.04 14:06 Pierre wrote: > Hi, > > Now i got a problem during the compilation : > > # gmake > gmake --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C > buildscripts all && gmake --no-builtin-rules PACKAGE=LILYPOND > package=lilypond -C scripts all && gmake --no-builtin-rules > PACKAGE=LILYPOND package=lilypond -C flower all && gmake > --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C lily all && > gmake --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C mf all > && gmake --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C ly > all && gmake --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C > tex all && gmake --no-builtin-rules PACKAGE=LILYPOND > package=lilypond -C ps all && gmake --no-builtin-rules > PACKAGE=LILYPOND package=lilypond -C scm all && gmake > --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C python all > && gmake --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C po > all && gmake --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C > make all && gmake --no-builtin-rules PACKAGE=LILYPOND > package=lilypond -C intl all && gmake --no-builtin-rules > PACKAGE=LILYPOND package=lilypond -C debian all && gmake > --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C ./stepmake > all && gmake --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C > Documentation all && gmake --no-builtin-rules PACKAGE=LILYPOND > package=lilypond -C input all && gmake --no-builtin-rules > PACKAGE=LILYPOND package=lilypond -C mutopia all && gmake > --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C ports all && > true > gmake[1]: Entering directory `/tmp/lilypond-1.5.50/buildscripts' > true > gmake[1]: Leaving directory `/tmp/lilypond-1.5.50/buildscripts' > gmake[1]: Entering directory `/tmp/lilypond-1.5.50/scripts' > true > true > gmake[1]: Leaving directory `/tmp/lilypond-1.5.50/scripts' > gmake[1]: Entering directory `/tmp/lilypond-1.5.50/flower' > gmake PACKAGE=LILYPOND package=lilypond -C include all && true > gmake[2]: Entering directory `/tmp/lilypond-1.5.50/flower/include' > true > gmake[2]: Leaving directory `/tmp/lilypond-1.5.50/flower/include' > gmake[1]: Leaving directory `/tmp/lilypond-1.5.50/flower' > gmake[1]: Entering directory `/tmp/lilypond-1.5.50/lily' > rm -f ./out/kpath.dep; DEPENDENCIES_OUTPUT="./out/kpath.dep > ./out/kpath.o" c++ -c -DHAVE_CONFIG_H -DSTRING_UTILS_INLINED > -Iinclude -I./out -I.././lib/include -I../lib/./out > -I.././flower/include -I../flower/./out -I../flower/include -O3 > -march=i686 -O2 -finline-functions -g -O3 -march=i686 > -I/usr/share/texmf/include -O2 -finline-functions -g > -I/usr/local/include -Wall -W -Wmissing-prototypes -Wconversion -o > out/kpath.o kpath.cc > kpath.cc: In function `String ly_find_afm(const char*)': > kpath.cc:36: `kpse_afm_format' undeclared (first use this function) > kpath.cc:36: (Each undeclared identifier is reported only once for > eachfunction it appears in.) > kpath.cc:36: `kpse_find_file' undeclared (first use this function) > kpath.cc: In function `String ly_find_tfm(const char*)': > kpath.cc:62: `kpse_tfm_format' undeclared (first use this function) > kpath.cc: In function `void ly_init_kpath(char*)': > kpath.cc:77: warning: unused parameter `char*av0' > gmake[1]: *** [out/kpath.o] Error 1 > gmake[1]: Leaving directory `/tmp/lilypond-1.5.50/lily' > gmake: *** [all] Error 2 > Now that kpathsea.h is correctly detected, i don't have this error anymore compiling lilypond 1.5.51. But i got another one : [...] gmake[1]: Entering directory `/tmp/lilypond-1.5.51/lily' rm -f ./out/lexer.dep; DEPENDENCIES_OUTPUT="./out/lexer.dep ./out/lexer.o" c++ -c -DHAVE_CONFIG_H -DSTRING_UTILS_INLINED -Iinclude -I./out -I.././lib/include -I../lib/./out -I.././flower/include -I../flower/./out -I../flower/include -O3 -march=i686 -I/usr/share/texmf/include -O2 -finline-functions -g -O3 -march=i686 -O2 -finline-functions -g -O3 -march=i686 -I/usr/share/texmf/include -I/usr/local/include -Wall -W -Wmissing-prototypes -Wconversion -o out/lexer.o out/lexer.cc In file included from /usr/include/FlexLexer.h:47, from out/lexer.cc:241: /usr/local/include/g++-v3/backward/iostream.h:36: using directive `istream'introduced ambiguous type `istream' lexer.ll: In member function `virtual int My_lily_lexer::yylex()': lexer.ll:502: cannot convert `std::istream*' to `istream*' in assignment lexer.ll: In member function `void yyFlexLexe
Problem compiling lilypond 1.5.50
Hi, Now i got a problem during the compilation : # gmake gmake --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C buildscripts all && gmake --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C scripts all && gmake --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C flower all && gmake --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C lily all && gmake --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C mf all && gmake --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C ly all && gmake --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C tex all && gmake --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C ps all && gmake --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C scm all && gmake --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C python all && gmake --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C po all && gmake --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C make all && gmake --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C intl all && gmake --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C debian all && gmake --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C ./stepmake all && gmake --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C Documentation all && gmake --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C input all && gmake --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C mutopia all && gmake --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C ports all && true gmake[1]: Entering directory `/tmp/lilypond-1.5.50/buildscripts' true gmake[1]: Leaving directory `/tmp/lilypond-1.5.50/buildscripts' gmake[1]: Entering directory `/tmp/lilypond-1.5.50/scripts' true true gmake[1]: Leaving directory `/tmp/lilypond-1.5.50/scripts' gmake[1]: Entering directory `/tmp/lilypond-1.5.50/flower' gmake PACKAGE=LILYPOND package=lilypond -C include all && true gmake[2]: Entering directory `/tmp/lilypond-1.5.50/flower/include' true gmake[2]: Leaving directory `/tmp/lilypond-1.5.50/flower/include' gmake[1]: Leaving directory `/tmp/lilypond-1.5.50/flower' gmake[1]: Entering directory `/tmp/lilypond-1.5.50/lily' rm -f ./out/kpath.dep; DEPENDENCIES_OUTPUT="./out/kpath.dep ./out/kpath.o" c++ -c -DHAVE_CONFIG_H -DSTRING_UTILS_INLINED -Iinclude -I./out -I.././lib/include -I../lib/./out -I.././flower/include -I../flower/./out -I../flower/include -O3 -march=i686 -O2 -finline-functions -g -O3 -march=i686 -I/usr/share/texmf/include -O2 -finline-functions -g -I/usr/local/include -Wall -W -Wmissing-prototypes -Wconversion -o out/kpath.o kpath.cc kpath.cc: In function `String ly_find_afm(const char*)': kpath.cc:36: `kpse_afm_format' undeclared (first use this function) kpath.cc:36: (Each undeclared identifier is reported only once for eachfunction it appears in.) kpath.cc:36: `kpse_find_file' undeclared (first use this function) kpath.cc: In function `String ly_find_tfm(const char*)': kpath.cc:62: `kpse_tfm_format' undeclared (first use this function) kpath.cc: In function `void ly_init_kpath(char*)': kpath.cc:77: warning: unused parameter `char*av0' gmake[1]: *** [out/kpath.o] Error 1 gmake[1]: Leaving directory `/tmp/lilypond-1.5.50/lily' gmake: *** [all] Error 2 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
Re: trouble compiling lilypond-1.5.21
> Hello! > > I'm trying to get lilypond up and running on my linux box (Ive installed and > used an old version on a previos linux machine). I've installed guile V1.4 > without incedent, but when I try compiling lilypond I get some undefined > symbols which I assume should be coming from libguile: If you want to use Lilypond for some serious typesetting, I recommend using the latest 1.4.x version, the 1.5.x series is experimental and has a number of problems. One of these problems is that 1.5.21 and 1.5.22 only compile if you have the latest beta version of Guile installed. I really hope that Han-Wen will make the next 1.5.x versions compatible with Guile 1.4 again. /Mats > > /export/home/sheldonw/annex/lilypond-1.5.21/lily/lily-guile.cc:254: undefined > reference to `scm_current_module' > /export/home/sheldonw/annex/lilypond-1.5.21/lily/lily-guile.cc:255: undefined > reference to `scm_c_resolve_module' > /export/home/sheldonw/annex/lilypond-1.5.21/lily/lily-guile.cc:255: undefined > reference to `scm_set_current_module' > /export/home/sheldonw/annex/lilypond-1.5.21/lily/lily-guile.cc:264: undefined > reference to `scm_set_current_module' > ./out/paper-outputter.o: In function > `Paper_outputter::output_Real_def(String, double)': > /export/home/sheldonw/annex/lilypond-1.5.21/lily/paper-outputter.cc:94: > undefined reference to `scm_apply_2' > ./out/paper-outputter.o: In function > `Paper_outputter::output_String_def(String, String)': > /export/home/sheldonw/annex/lilypond-1.5.21/lily/paper-outputter.cc:94: > undefined reference to `scm_apply_2' > ./out/paper-outputter.o: In function `Paper_outputter::output_int_def(String, > int)': > /export/home/sheldonw/annex/lilypond-1.5.21/lily/paper-outputter.cc:94: > undefined reference to `scm_apply_2' > ./out/paper-outputter.o: In function > `Paper_outputter::write_header_field_to_file(String, void *, void *)': > /export/home/sheldonw/annex/lilypond-1.5.21/lily/paper-outputter.cc:94: > undefined reference to `scm_apply_2' > ./out/paper-outputter.o: In function `Paper_outputter::output_scheme(void *)': > /export/home/sheldonw/annex/lilypond-1.5.21/lily/paper-outputter.cc:94: > undefined reference to `scm_apply_2' > collect2: ld returned 1 exit status > make[1]: *** [out/lilypond] Error 1 > rm out/lexer.cc out/parser.cc > make[1]: Leaving directory `/export/home/sheldonw/annex/lilypond-1.5.21/lily' > make: *** [all] Error 2 > cymbal:lilypond-1.5.21> > > > I've been unable to find a verssion of libguild on the FTP mirror sites that > has these symbols. > Can anyone throw some light on this. I've been totally unsuccessful getting > older versions of lilypond to install. The compile goes OK, but lilypond > emits errors like "scm_object_unprotect called on an unprotected object" and > exits. > > I *really* want to get this to work! Thanks a lot for your time... > > -- > -sheldon white- :^/ > > [EMAIL PROTECTED] > > I'd give my right arm to be ambidextrous. > --Bill Bruford-- > > ___ > 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
trouble compiling lilypond-1.5.21
Hello! I'm trying to get lilypond up and running on my linux box (Ive installed and used an old version on a previos linux machine). I've installed guile V1.4 without incedent, but when I try compiling lilypond I get some undefined symbols which I assume should be coming from libguile: /export/home/sheldonw/annex/lilypond-1.5.21/lily/lily-guile.cc:254: undefined reference to `scm_current_module' /export/home/sheldonw/annex/lilypond-1.5.21/lily/lily-guile.cc:255: undefined reference to `scm_c_resolve_module' /export/home/sheldonw/annex/lilypond-1.5.21/lily/lily-guile.cc:255: undefined reference to `scm_set_current_module' /export/home/sheldonw/annex/lilypond-1.5.21/lily/lily-guile.cc:264: undefined reference to `scm_set_current_module' ./out/paper-outputter.o: In function `Paper_outputter::output_Real_def(String, double)': /export/home/sheldonw/annex/lilypond-1.5.21/lily/paper-outputter.cc:94: undefined reference to `scm_apply_2' ./out/paper-outputter.o: In function `Paper_outputter::output_String_def(String, String)': /export/home/sheldonw/annex/lilypond-1.5.21/lily/paper-outputter.cc:94: undefined reference to `scm_apply_2' ./out/paper-outputter.o: In function `Paper_outputter::output_int_def(String, int)': /export/home/sheldonw/annex/lilypond-1.5.21/lily/paper-outputter.cc:94: undefined reference to `scm_apply_2' ./out/paper-outputter.o: In function `Paper_outputter::write_header_field_to_file(String, void *, void *)': /export/home/sheldonw/annex/lilypond-1.5.21/lily/paper-outputter.cc:94: undefined reference to `scm_apply_2' ./out/paper-outputter.o: In function `Paper_outputter::output_scheme(void *)': /export/home/sheldonw/annex/lilypond-1.5.21/lily/paper-outputter.cc:94: undefined reference to `scm_apply_2' collect2: ld returned 1 exit status make[1]: *** [out/lilypond] Error 1 rm out/lexer.cc out/parser.cc make[1]: Leaving directory `/export/home/sheldonw/annex/lilypond-1.5.21/lily' make: *** [all] Error 2 cymbal:lilypond-1.5.21> I've been unable to find a verssion of libguild on the FTP mirror sites that has these symbols. Can anyone throw some light on this. I've been totally unsuccessful getting older versions of lilypond to install. The compile goes OK, but lilypond emits errors like "scm_object_unprotect called on an unprotected object" and exits. I *really* want to get this to work! Thanks a lot for your time... -- -sheldon white- :^/ [EMAIL PROTECTED] I'd give my right arm to be ambidextrous. --Bill Bruford-- ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user