This won't be quick, this won't be easy, but if I succeed, I hope it will be an example, of what to do, or what not to do, depending on how it turns out, so stay tuned. All updates from me will be added to this initial post, not as a reply.
Latest Source:
http://download.linuxaudio.org/lilypond/sources/v2.12/lilypond-2.12.2.tar.gzPCLinuxOS src.rpm:
ftp://ibiblio.org/pub/linux/distributions/pclinuxos/apt/pclinuxos/2007/SRPMS.extra/lilypond-2.11.33-2pclos2007.src.rpmExecuting(%prep): /bin/sh -e /home/joe/src/tmp/rpm-tmp.88521
+ umask 022
+ cd /home/joe/src/rpm/BUILD
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/joe/src/rpm/BUILD
+ rm -rf lilypond-2.12.2
+ /usr/bin/gzip -dc /home/joe/src/rpm/SOURCES/lilypond-2.12.2.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd lilypond-2.12.2
+ echo 'Patch #2 (lilypond-2.8.6-tex-use-utf8.patch):'
Patch #2 (lilypond-2.8.6-tex-use-utf8.patch):
+ patch -p1 -b --suffix .utf8 -s
The text leading up to this was:
--------------------------
|--- lilypond-2.8.6/tex/lilyponddefs.tex.utf8 2005-04-02 18:28:17.000000000 +0200
|+++ lilypond-2.8.6/tex/lilyponddefs.tex 2005-07-27 01:50:31.000000000 +0200
--------------------------
File to patch:
Seen that before, recently too. Soon as I solve it, will post back.
Hoping that the latest source is compatible with our current setup, I removed the patches, they would probably have to be redone anyway.
checking whether compiler understands -pipe... ./configure: line 3709: syntax error near unexpected token `newline'
./configure: line 3709: `yes:'Soon as I solve that, I will post back. (Looking at the spec file from maik)
OK, after reviewing my current spec file, and the one from maik, I have decided to download the src.rpm maik linked to. This will take a while.
error: Could not open %files file /home/joe/src/rpm/BUILD/lilypond-2.12.2/lilypond.lang: No such file or directory
Fix the error(s) and try again
Odd.
Executing(%prep): /bin/sh -e /home/joe/src/tmp/rpm-tmp.2710
.....
+ exit 0
So far so good.
checking whether compiler understands -pipe... ./configure: line 3709: syntax error near unexpected token `newline' Same Error, even with the new src.rpm and it's current patches. Will report back when I get past this.
Finally found something:
http://osdir.com/ml/bug-lilypond-gnu/2009-08/msg00007.htmlWill be trying out that fix.
Ouch, well the configure in the source looks right, according to that site, so is autoconf rewriting it in the build? Hmm.
I commented autoconf out of the spec file, and now it's moving right along, I hope it's doing something useful.
relocate.cc:279: error: invalid conversion from ‘const char*’ to ‘char*’
make[1]: *** [out/relocate.o] Error 1DOH!
------------------------
gseaman got a newer version built, so I'm not killing myself over this one. End of Project.... End of Thread.
