LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   I can't compile HelixPlayer's source. (https://www.linuxquestions.org/questions/linux-newbie-8/i-cant-compile-helixplayers-source-431147/)

nghoanganh 04-02-2006 09:18 PM

I can't compile HelixPlayer's source.
 
I download HelixPlayer's source from this address:
//download.fedora.redhat.com/pub/fedora/linux/core/4/SRPMS/HelixPlayer-1.0.4-4.src.rpm
This package includes five files:
- hxplay-1.0.4.tar.bz2
- hxplay-1.0.4-nptl.patch
- HelixPlayer-1.0.beta20040615-cvs-no-update.patch
- HelixPlayer-1.0.3-disable-asm.patch
- HelixPlayer-1.0.3-use-compat.patch
I run two commands:
# tar jxpf hxplay-1.0.4.tar.bz2
# patch -p0 <hxplay-1.0.4-nptl.patch
After that :
# cd hxplay-1.0.4; make
Then the result is:
Build complete, 11 of 112 modules failed.
And I try:
# make clean; make
And there is error:
../../audio/fixptutil/pub/math64.h: In function 'MulShift31':
../../audio/fixptutil/pub/math64.h:163: error: inconsistent operand constraints in an 'asm'

I am just a newbie so I don't know how to repair.
Can anyone help me? Thank you very much!

nghoanganh 04-04-2006 01:30 AM

Is it true when I post this topic here?.
If there is something wrong where can I find the answer for my problem?
Thank you very much!

lurker79 04-04-2006 09:58 AM

source rpms you usually rebuild with rpmbuild
when installing this src rpm on the system it will place files under /usr/src/redhat
to rebuild a binary rpm package run
rpmbuild -bb /usr/src/redhat/SPECS/<name of spec file>
this will then place a new binary rpm under /usr/src/redhat/RPMS
If this build fails it should give you more clues as to what is missing on your system, also it will be using a script under /var/tmp which may also help in troubleshooting.

nghoanganh 04-04-2006 10:49 PM

I run the command :
# rpmbuild -bb HelixPlayer.spec like you showed me!
And the result is:
error: Failed build dependencies:
libtheora-devel >= 1.0alpha3-3 is needed by HelixPlayer-1.0.4-4.i386
Bad luck I can't find any scrip on /var/tmp and I also don't understand this problem.
In the content of HelixPlayer.spec I see:

Requires: libbluecurve.so%{libdepssuffix} %{_libdir}/mozilla/plugins
BuildRequires: libtheora-devel >= 1.0alpha3-3
BuildRequires: libvorbis-devel
BuildRequires: gtk2-devel
BuildRequires: python
BuildRequires: prelink
BuildRequires: libogg-devel

What can I do?
ps: Thanks lurker79 a lot

lurker79 04-05-2006 04:59 AM

you need to install the libtheora-devel rpm (with a version number greater or equal to 1.0alpha3-3).
Also worth checking that you have all the other packages mentioned in the BuildRequires lines in the spec file.
Any more problems while building the new rpm, post the errors here.

nghoanganh 04-06-2006 01:39 AM

After download and install libtheora-devel-1.0alpha4-2.i386.rpm
Every thing now is okay. You are so kind, thanks a lot lurker79.
Best wish for you :)


All times are GMT -5. The time now is 03:04 PM.