On Sun, 2 Dec 2001 15:45:23 +0700
Constant Brouerius van Nidek
Dear Geoff, As I did not download the sources I am a little bit lost. There above I have never build from sources so as a matter of fact, I need somebody to lean at ;-). Could you be of help?
Sure ... Here are the steps : (1) Go to http://bytesex.org/xawtv/index.html (2) Where you see "Latest version is 3.65, released 26 Nov 2001" you right-click on the 3.65 to download xawtv_3.65.tar.gz into some convenient directory. I have a /home/myusrename/Downloads directory for this purpose. I suggest that you create one. (3) When the download is complete you change to the directory in which you have downloaded xawtv_3.65.tar.gz and your enter: tar -xvzf xawtv_3.65.tar.gz (4) The result should be the creation of a sub-directory /xawtv-3.65 - which has various sub-directories of its own. (5) Change into that directory and enter: configure. A lot of stuff will fly past, and the last lines will be : creating Makefile creating src/Makefile creating tools/Makefile creating radio/Makefile creating man/Makefile creating i2c/Makefile creating font/Makefile creating webcam/Makefile creating http/Makefile creating libvbi/Makefile creating libng/Makefile creating cc/Makefile creating xawtv.spec creating config.h (6) If all that happens then we know that xawtv will compile on your system. It will not work if you do not have installed the development libraries that xawtv need to compile. You will have to refer back to me if that happens and include the error messages in your post. If it does work, then normally we would just go ahead and compile as the next step, but that is no good for you, because you are going to alter the source code. So next you enter: rm config.h and then : make distclean. A lot of messages will fly past and the result will be that you have a clean set of source files to work on. (7) Change directories to the /xawtv-3.65/src sub-directory. One of the file you will see there is frequencies.h. You need to load that into a *text editor* - such as kedit or pico or joe - *not* a wordprocessor. The opening lines are the one's you have seen me post here : /* * Worldwide channel/frequency list * * Nathan Laredo (laredo@broked.net) * * Frequencies are given in kHz */ #define NTSC_AUDIO_CARRIER 4500 #define PAL_AUDIO_CARRIER_I 6000 #define PAL_AUDIO_CARRIER_BGHN 5500 #define PAL_AUDIO_CARRIER_MN 4500 #define PAL_AUDIO_CARRIER_D 6500 #define SEACAM_AUDIO_DKK1L 6500 #define SEACAM_AUDIO_BG 5500 (8) You can now edit the #defines to any value you want in accordance with Doug's advice. When you have finished, save the file. (9) Change back into the /xawtv-3.65 sub-directory. Repeat step (5) - ie enter: configure. (10) If you do not see any errors, and the last line of the output is "creating config.h" you can next enter : make (11) The program will now compile. You will see some error messages fly by. They are probably irrelevant. The final lines you see will be : make[2]: Leaving directory `/home/your_usrename/Downloads/xawtv-3.65/cc' (cd man; make build) make[2]: Entering directory `/home/your_usrename/Downloads/xawtv-3.65/man' make[2]: Nothing to be done for `build'. make[2]: Leaving directory `/home/your_usrename/Downloads/xawtv-3.65/man' make[1]: Leaving directory `/home/your_usrename/Downloads/xawtv-3.65' (12) The next stage is *usually* to change to root and enter: make install. That will install the program into /usr/local/bin. Before doing so you should remove the existing xawtv rpm that you have installed. However I do not recommend that you do that yet, because it is likely that you will need to experiment with different values for the #defines. So you can just enter: /home/your_username/Downloads/xawtv-3.65/src/xawtv - This should run the new copy of xawtv you just compiled, without disturbing the old one that is in /usr/local/bin. (13) If you are not happy with the results, go back and repeat steps (6) to (12) until you are happy. Then you can remove the existin rpm and finally make install the copy you are happy with. Regards, Geoff _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com