[PlanetCCRMA] Midishare SRPM build error

Fernando Lopez-Lezcano nando@ccrma.Stanford.EDU
Sat Feb 19 16:22:01 2005


On Sat, 2005-02-19 at 15:54, Peter Lawler wrote:
> Fernando Lopez-Lezcano wrote:
> >On Sat, 2005-02-19 at 14:53, Peter Lawler wrote:
> >>I'm trying to get rosegarden to compile from SRPM on a yum-built FC3 
> >>system. I'm currently stuck on the midishare dependency. Anny 
> >>suugestions appreciated.
> >>
> >>rpmbuild -ba --target=i686 midishare-1.86-4.spec
> >>......
> >>make[1]: Entering directory 
> >>`/usr/src/redhat/BUILD/midishare-1.86/src/linux/kernel'
> >>gcc -O6 -Wall -D_LOOSE_KERNEL_NAMES -DMODVERSIONS -D__Pentium__ 
> >>-DCONFIG_KERNELD -DMODULE -D__KERNEL__ -DLINUX -D__BOOT_KERNEL_H_ 
> >>-D__BOOT_KERNEL_SMP=1 -D__BOOT_KERNEL_UP=0 -D__MODULE_KERNEL_i686=1 
> >>-D__BOOT_KERNEL_ENTERPRISE=0 -D__BOOT_KERNEL_BIGMEM=0 -DMODULE 
> >>-DMODVERSIONS -I/lib/modules/2.6.10-1.766_FC3smp/build/include/ 
> >
> >Well, two things. 
> >
> >First, to my knowledge rosegarden does not need midishare. Maybe there
> >is a configuration option I never discovered. Where did you get the
> >.src.rpm from? Any reason why you are not using the binaries or the
> >.src.rpm I build from? You can find all the .src.rpms at:
> >
> >  http://ccrma.stanford.edu/planetccrma/mirror/all/linux/SRPMS/
> >
> >Second: stock midishare (1.84 is, I think, the latest "stable" release)
> >does not build on 2.6.x kernels, you need to get midishare cvs to build
> >with 2.6.x... If you really need this I could make a .src.rpm for you
> >with the latest test build I did a while ago. 
> >
> Here's how I ended up with needing midishare...
> rpmbuild -ba rosegarden4.spec
> error: Failed build dependencies:
>         liblrdf-devel is needed by rosegarden4-1.0-1.i386
>         liblo-devel is needed by rosegarden4-1.0-1.i386
>         dssi-devel is needed by rosegarden4-1.0-1.i386
> rpmbuild -ba dssi.spec
> error: Failed build dependencies:
>         liblo-devel is needed by dssi-0.9-1.i386
>         libfluidsynth-devel is needed by dssi-0.9-1.i386
> (CCRMA having no libfluidsynth SRPM, I guessed the following)

Correct. 

>  rpmbuild -ba fluidsynth-1.0.5-1.spec
> error: Failed build dependencies:
>         ladcca-devel is needed by fluidsynth-1.0.5-1.i386
>         midishare-devel is needed by fluidsynth-1.0.5-1.i386
> 
> Maybe I'm missing a step or something.
> 
> Yes, I am using the SRPMS from CCRMA. I'l grab the binary rosegarden 
> RPM, but this is not my preferred method as I'm not technically running 
> a CCRMA system.

Going a step down... any reason you are not installing the Planet CCRMA
binaries? (other that aversion to installing apt? :-)

Remove the fluidsynth dependency (and the --enable-midishare option in
configure) from the spec file, midishare is not needed on 2.6.x
kernels[*]. That should enable you to proceed. Or download the current
fluidsynth .src.rpm - for some reason the source rpm was the old one,
prior to the fc3 rebuild. Sorry for the confusion...

-- Fernando

[*] this is a remnant of building Open Music (on < fc2), which required
midishare, and fluidsynth is the only midishare client I know off - so
it was necessary to build it that way to have _something_ to work with
in Open Music.