On Fri, Jun 5, 2009 at 1:21 PM, Graham Percival <gra...@percival-music.ca>wrote:

> On Fri, Jun 05, 2009 at 01:11:35PM -0500, Jonathan Kulp wrote:
> > Reading music-glossary.tely...
> > Dissecting...
> > lilypond-book.py (GNU LilyPond) 2.13.1
> > Traceback (most recent call last):
> >   File "../../scripts/lilypond-book.py", line 2108, in <module>
> >     main ()
> >   File "../../scripts/lilypond-book.py", line 2090, in main
> >     chunks = do_file (files[0])
> >   File "../../scripts/lilypond-book.py", line 1994, in do_file
> >     do_process_cmd (chunks, input_fullname, global_options)
> >   File "../../scripts/lilypond-book.py", line 1825, in do_process_cmd
> >     write_file_map (outdated, input_name)
> >   File "../../scripts/lilypond-book.py", line 1796, in write_file_map
> >     'snippet-map-%d.ly' % snippet_list_checksum (lys)), 'w')
> > IOError: [Errno 13] Permission denied:
> '/home/lilydev/lilypond/out/lybook-db/
> > snippet-map-878246912.ly'
> > make[1]: *** [out-www/music-glossary.texi] Error 1
> > make[1]: Leaving directory `/home/lilydev/lilypond/Documentation/user'
> > make: *** [doc-stage-1] Error 2
>
> Don't mess up root and your normal user.  I know it's tempting
> when you're install new software and testing ./autogen.sh
>
>  cd ~/lilypond-src
>  find . -user "root"
>
> if you see anything,
>  sudo find . -user "root" | xargs rm -rf
>
> Cheers,
> - Graham
>
> PS I spent 15 minutes on this problem two days ago, so it's fresh
> in my mind.  :)
>


Thanks Graham. There was a ton of stuff owned by root in the lybook-db/
directory. I tried your command to xarg rm -rf but it said permission denied
(even though I did it as sudo and typed the password).  What I did was a
sudo chown -R and then chgrp -R to reassign the owner and group. Now it's
compiling away. :)

What I don't understand is how the permissions got jacked up in the first
place. I didn't do anything different this time than I usually do.  I've
never had the permissions problem before. Maybe I put a "sudo" in there
inadvertently but I don't recall doing any sudos until "sudo make install."
Do you think that was the problem?

Re: the lilybuntu remix, I've removed a ton of applications but I can't get
the .iso image below 853 MB. I'll try it with the xfce desktop and if that
doesn't help I'll try it with ubuntu-lite, which does not yet have a stable
release but is only 356 MB on the live CD, leaving plenty of room to add the
lilypond build dependencies.
-- 
Jonathan Kulp
http://www.jonathankulp.com
_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to