Experiment with Alsaplayer Fails Build: Tarball and rpmbuild
2 First of all I want to say that I'm having no problems with Alsaplayer itself. This GUI just happens to be the victim, errr, choice I made for my experiment. I also don't know where to go exactly with this post. It crosses a lot of boundaries: compiling, scripting, programming, rpmbuild, etc. I also have lots of files with lots of info, but I don't want to "shotgun" the question. I want to provide only the applicable information to aid others who may want to help me in diagnosing and repairing the situation.
In a nutshell, Alsaplayer failed in rpmbuild and it also failed to compile when I tried to see if it would install to directories other than it normally does. I don't want to have to rely on the distributions to write rpm's for updates and new software as they become available. I also want to track what I have installed on my system and I also want an "easy" way to uninstall something that I no longer use. Therefore, I decided to learn how to build rpm's. After I had read and researched I dove right in to build my first RPM. I have created another user account so that I neither build as 'root' nor use my own home directory. I have created a ./rpmmacros file to tell rpm to build in this accounts home directory. I put the SPEC file and source in the correct directories and tried to let rpmbuild do it's thing. Errors. One thing I didn't do, as my reading suggested, was see if the tarball would install to a different directory since it must do that when rpmbuild operates on it. <./configure --help> provides the following information: Code:
Installation directories: Code:
./configure --prefix=/home/builder/tmp Code:
make Code:
make[3]: *** [nas.lo] Error 1 Code:
mkdir .libs Following the last extract from the messages there was a long, long list of errors and warnings. Below is a representative sample of the errors and warnings: Code:
nas.c:45: error: syntax error before "AuServer" I have searched and googled for these errors and the only thing that turned up was a report on the project page at Sourceforge that was five months old and had no response. It was interesting that the person making the report cited the same error messages with Mandrake 9.2, which is what I'm running. NOTE: My Mandrake 9.2 is a "hybrid" one. I'm running kernel-2.6.5 with some software installed from source and some rpm's from Mandrake 10 an Mandrake-Cooker. I really don't know what this information is telling me. There is much, much more information on settings and flags in <./configure --help>, but I'm hesitant to post all of them here so that no one gets bored reading all of my quotes. If someone has some ideas or questions, I will be more than happy to provide what I can or research and provide answers to any questions that I can't readily answer. Thanks in advance. |
All times are GMT -5. The time now is 01:02 AM. |