[gst-devel] 0.4.0 src.rpm error during compilation

Thomas Vander Stichele thomas at urgent.rug.ac.be
Mon Jul 8 00:22:06 CEST 2002


> > rpmbuild --rebuild gstreamer-0.4.0-1.src.rpm
> > 
> > [...]
> > make[4]: Entering directory
> > `/usr/src/redhat/BUILD/gstreamer-0.4.0/docs/gst'
> > make[4]: Leaving directory
> > `/usr/src/redhat/BUILD/gstreamer-0.4.0/docs/gst'
> > ./html2xml.py ../gst/html
> > make[3]: ./html2xml.py: Command not found
> > make[3]: *** [gstreamer.devhelp] Error 127
> > make[3]: Leaving directory
> > `/usr/src/redhat/BUILD/gstreamer-0.4.0/docs/devhelp'make[2]: ***
> > [all-recursive] Error 1
> > make[2]: Leaving directory
> > `/usr/src/redhat/BUILD/gstreamer-0.4.0/docs' make[1]: ***
> > [all-recursive] Error 1 make[1]: Leaving directory
> > `/usr/src/redhat/BUILD/gstreamer-0.4.0' make: *** [all] Error 2
> > error: Bad exit status from /var/tmp/rpm-tmp.56874 (%build)
>  
> 
> Ran into the same problem when building Mandrake rpms.
> The culprit is /usr/bin/xsltproc.
> 

No, in this case it's something entirely different ;) The reason is that 
html2xml.py starts out with #!/usr/bin/python2
and the new red hat beta doesn't have that, it probably comes with 2.2
Just make a symlink from python2.2 to /usr/local/bin/python2 and it will 
pass.

I'm starting to think python sucks major ass since there are already more 
than three largely uncompatible versions in the wild...
Too bad this python script comes from devhelp and I haven't had time or 
interest to rewrite it yet in something more able to stand the test of 
time.

Thomas

-- 

The Dave/Dina Project : future TV today ! - http://davedina.apestaart.org/
<-*-                      -*->
I should dress you up in pearl
Finest silk to touch your skin
Don't know how to write a love song
But don't leave
<-*- thomas at apestaart.org -*->
URGent, the best radio on the Internet - 24/7 ! - http://urgent.rug.ac.be/





More information about the gstreamer-devel mailing list