make install fails with Lily 2.7.x

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

make install fails with Lily 2.7.x

Cameron Horsburgh
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi folks,

I've been trying to build my own .deb of Lilypond 2.7 since around about
2.7.14. Back then I tried to use debbuild from within debian/ but that
didn't work too well, and I now understand that those scripts were
outdated.

So now I'm trying to do it a little more conventionally. I run
'./configure' and 'make' with no apparent difficulty. Then I use
'checkinstall -D' to create the deb (but I get the same result if I use
a traditional 'make install'). I end up with the following error:

- ------------------------------------------------------------------

Compiling cheatsheet.texi...
cheatsheet.texi is up to date.
Processing include: fdl.itexi
Reading fdl.itexi...
Dissecting...
Writing snippets...
All snippets are up to date...
Compiling fdl.texi...
fdl.texi is up to date.
lilypond-book.py: warning: option --psfonts not used
lilypond-book.py: warning: processing with dvips will have no fonts

DVIPS usage:
    dvips -h ./out/lilypond.psfonts ./out/lilypond.dvi
mv ./out/lilypond.texinfo out/lilypond.nexi 2>/dev/null || mv
./out/lilypond.texi out/lilypond.nexi
LANG= makeinfo  --enable-encoding -I ./out --output=./out/lilypond.info
out/lilypond.nexi
out/lilypond.nexi:179: warning: unrecognized encoding name `utf-8'.
/home/cameron/Work_Folder/sources/lilypond-2.7.17/Documentation/user/out//lilypond-book.texi:386:
warning: `.' or `,' must follow @xref, not `f'.
LANG= makeinfo  --enable-encoding -I ./out
- --output=./out/lilypond-internals.info out/lilypond-internals.nexi
out/lilypond-internals.nexi:10: warning: unrecognized encoding name `utf-8'.
/bin/sh
/home/cameron/Work_Folder/sources/lilypond-2.7.17/stepmake/stepmake/../bin/install-sh
- -c -d /usr/local/info/lilypond
/bin/sh
/home/cameron/Work_Folder/sources/lilypond-2.7.17/stepmake/stepmake/../bin/install-sh
- -c -d /usr/local/info/lilypond
install-info --remove --info-dir=/usr/local/info ./out/lilypond.info
install-info(./out/lilypond.info): failed to lock dir for editing! File
exists
try deleting /usr/local/info/dir.lock ?
install-info(./out/lilypond.info): no entry for file `lilypond'.
install-info --info-dir=/usr/local/info ./out/lilypond.info

install-info(./out/lilypond.info): Invalid info entry
make[2]: *** [local-install-info] Error 9
make[2]: Leaving directory
`/home/cameron/Work_Folder/sources/lilypond-2.7.17/Documentation/user'
make[1]: *** [install] Error 2
make[1]: Leaving directory
`/home/cameron/Work_Folder/sources/lilypond-2.7.17/Documentation'
make: *** [install] Error 2

- --------------------------------------------------------------------------

It seems to have problems with the font encoding in listed
lilypond.nexi. I tried editing that file and changed the utf-8 reference
to Latin-1, but I end up (not surprisingly) with other errors.

I have searched the archive and a similar problem was reported in
http://lists.gnu.org/archive/html/lilypond-devel/2005-08/msg00071.html

The replies seem to suggest that the problem was fixed, but apparently not!

For the record, I seem to have all the appropriate packages installed,
including the fonts listed in input/regression/utf-8.ly.

As a separate question, I only seem to have trouble building the
documentation, which frustrates me somewhat because I use the online
version of the docs anyway. Is there a rule I can use in the 'make' step
which will leave out the documentation? I've tried commenting out stuff
in the Makefile, but I just end up breaking more than I fix.

Thanks in advance...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDfbiRvoajcVq9gkURAhEhAJ9WmNE3f/lNnO0aKW71ffvrD+zFVACfft+w
lmleEJJ0T2d0GBxdHzpONfs=
=23zO
-----END PGP SIGNATURE-----


_______________________________________________
lilypond-devel mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-devel
Reply | Threaded
Open this post in threaded view
|

Re: make install fails with Lily 2.7.x

Jan Nieuwenhuizen
Cameron Horsburgh writes:

> install-info --remove --info-dir=/usr/local/info ./out/lilypond.info
> install-info(./out/lilypond.info): failed to lock dir for editing! File
> exists
> try deleting /usr/local/info/dir.lock ?

Did you try?

> I have searched the archive and a similar problem was reported in
> http://lists.gnu.org/archive/html/lilypond-devel/2005-08/msg00071.html

It's similar, but not the same.

> The replies seem to suggest that the problem was fixed, but apparently not!

That problem was fixed, this seems to be a problem with your system.

Jan.

--
Jan Nieuwenhuizen <[hidden email]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org


_______________________________________________
lilypond-devel mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-devel
Reply | Threaded
Open this post in threaded view
|

Re: make install fails with Lily 2.7.x

Cameron Horsburgh
Jan Nieuwenhuizen wrote:

Thanks for your reply!

> Cameron Horsburgh writes:
>
>
>>install-info --remove --info-dir=/usr/local/info ./out/lilypond.info
>>install-info(./out/lilypond.info): failed to lock dir for editing! File
>>exists
>>try deleting /usr/local/info/dir.lock ?
>
>
> Did you try?

Yes, I did. The result is exactly the same.

>
>
>>I have searched the archive and a similar problem was reported in
>>http://lists.gnu.org/archive/html/lilypond-devel/2005-08/msg00071.html
>
>
> It's similar, but not the same.
>
>
>>The replies seem to suggest that the problem was fixed, but apparently not!
>
>
> That problem was fixed, this seems to be a problem with your system.

Given that no one else seems to have this problem, I suspected as much!
Do you have any idea where I should start looking?

An alternative which would keep me happy for now is to build LilyPond
without the documentation. Is there a not-too-involved way to do this?

> Jan.
>



_______________________________________________
lilypond-devel mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-devel
Reply | Threaded
Open this post in threaded view
|

Re: make install fails with Lily 2.7.x

Jan Nieuwenhuizen
Cameron Horsburgh writes:

>>>install-info --remove --info-dir=/usr/local/info ./out/lilypond.info
>>>install-info(./out/lilypond.info): failed to lock dir for editing! File
>>>exists
>>>try deleting /usr/local/info/dir.lock ?
>>
>> Did you try?
>
> Yes, I did. The result is exactly the same.

> Do you have any idea where I should start looking?

I would investigate why install-info does not work for you, try running
the install-info commands manually.

> An alternative which would keep me happy for now is to build LilyPond
> without the documentation. Is there a not-too-involved way to do this?

You could try commenting-out the install-info commands.

Jan.

--
Jan Nieuwenhuizen <[hidden email]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org


_______________________________________________
lilypond-devel mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-devel
Reply | Threaded
Open this post in threaded view
|

Re: make install fails with Lily 2.7.x

Cameron Horsburgh
Jan Nieuwenhuizen wrote:

Thanks for the prompt reply.

> Cameron Horsburgh writes:
>
>
>>>>install-info --remove --info-dir=/usr/local/info ./out/lilypond.info
>>>>install-info(./out/lilypond.info): failed to lock dir for editing! File
>>>>exists
>>>>try deleting /usr/local/info/dir.lock ?
>>>
>>>Did you try?
>>
>>Yes, I did. The result is exactly the same.
>
>
>>Do you have any idea where I should start looking?
>
>
> I would investigate why install-info does not work for you, try running
> the install-info commands manually.
>
I've got absolutely no idea about any of this, but you've given me a
place to start looking. Thanks!

>
>>An alternative which would keep me happy for now is to build LilyPond
>>without the documentation. Is there a not-too-involved way to do this?
>
>
> You could try commenting-out the install-info commands.

I grepped around a bit and my problem rears its during the processing of
lilypond-2.7.17/Documentation/user/GNUmakefile

As you suggested I commented out the install-info commands and
everything built properly.

Thanks for your help!
>
> Jan.
>



_______________________________________________
lilypond-devel mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-devel
Reply | Threaded
Open this post in threaded view
|

Re: make install fails with Lily 2.7.x

Cameron Horsburgh
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Cameron Horsburgh wrote:

> Jan Nieuwenhuizen wrote:
>
> Thanks for the prompt reply.
>
>>Cameron Horsburgh writes:
>>
>>
>>
>>>>>install-info --remove --info-dir=/usr/local/info ./out/lilypond.info
>>>>>install-info(./out/lilypond.info): failed to lock dir for editing! File
>>>>>exists
>>>>>try deleting /usr/local/info/dir.lock ?
>>>>
>>>>Did you try?
>>>
>>>Yes, I did. The result is exactly the same.
>>
>>
>>>Do you have any idea where I should start looking?
>>
>>
>>I would investigate why install-info does not work for you, try running
>>the install-info commands manually.
>>
>
> I've got absolutely no idea about any of this, but you've given me a
> place to start looking. Thanks!
>
>
>>>An alternative which would keep me happy for now is to build LilyPond
>>>without the documentation. Is there a not-too-involved way to do this?
>>
>>
>>You could try commenting-out the install-info commands.
>
>
> I grepped around a bit and my problem rears its during the processing of
> lilypond-2.7.17/Documentation/user/GNUmakefile
>
> As you suggested I commented out the install-info commands and
> everything built properly.
>
> Thanks for your help!
>
>>Jan.
>>
>
>
>
>
> _______________________________________________
> lilypond-devel mailing list
> [hidden email]
> http://lists.gnu.org/mailman/listinfo/lilypond-devel
>

I've finally fixed this problem, so I thought I'd post back for the sake
of the archives.

I've been a little frustrated by the lack of a 2.7 series deb, so in the
true Free Software tradition I decided to make one myself! I know little
about these things, so I downloaded the RPM (2.7.12) from the website,
converted it to deb with alien, and installed it.

When 2.7.13 came out, I did the same thing. It didn't install--I now
know that the removal scripts weren't right for my setup, and 2.7.12
wouldn't uninstall. I tried again with 2.7.14, and then gave up.

My research suggested that a package could use the removal scripts of a
new package if it didn't have one itself. The thing to do, then, I
figured, was to build a native Debian package and install that.
Hopefully the removal scripts would be a little more useful.

Of course, that was a little naive, but it nearly worked. However, it
seems what little removal had occurred for the original 2.7.12 choked at
the removal of the info files.

So that explains why the install-info script failed.

I fixed everything by deleting a few lines in the prerm and preinst
scripts, then running apt-get remove again. That worked beautifully...
and so does make install!

Again, thanks for your help! I've learnt a lot about packaging and the
structure of the Lilypond source tree, so the effort certainly hasn't
been wasted.

Cameron Horsburgh
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDmqvFvoajcVq9gkURAuZRAJ9vPWyZZx59v5wWt9TfL2Yeljr+tgCfSsox
TDBxxd7ibpfY9Z5J9VtXzV8=
=w2+j
-----END PGP SIGNATURE-----


_______________________________________________
lilypond-devel mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-devel
Reply | Threaded
Open this post in threaded view
|

Re: make install fails with Lily 2.7.x

Erik Sandberg
On Saturday 10 December 2005 11.19, Cameron Horsburgh wrote:

> Cameron Horsburgh wrote:
> I've finally fixed this problem, so I thought I'd post back for the sake
> of the archives.
>
> I've been a little frustrated by the lack of a 2.7 series deb, so in the
> true Free Software tradition I decided to make one myself! I know little
> about these things, so I downloaded the RPM (2.7.12) from the website,
> converted it to deb with alien, and installed it.
>
> When 2.7.13 came out, I did the same thing. It didn't install--I now
> know that the removal scripts weren't right for my setup, and 2.7.12
> wouldn't uninstall. I tried again with 2.7.14, and then gave up.

Another way could be to use the control files etc. from the 2.6 packages, and
see if they work with 2.7 (my guess is that this could work pretty well,
since there are no major changes in dependencies).

--
Erik


_______________________________________________
lilypond-devel mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-devel