LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how to install asfrecorder? (https://www.linuxquestions.org/questions/linux-software-2/how-to-install-asfrecorder-509062/)

marcoguillen 12-10-2006 08:02 AM

how to install asfrecorder?
 
hello
i try to install a streaming video redorder, asfrecorder, i dont know how to install it
when i do 'make' it sends me
marcoguillen@linux-uhn1:~/Programs/ASFRecorder> make
gcc -mno-cygwin -I /include/mingw -D NDEBUG -D _WINDOWS -D _MBCS -D GUI -c -o source/asfrecorder.obj source/asfrecorder.c
cc1: error: unrecognized command line option "-mno-cygwin"
make: *** [source/asfrecorder.obj] Error 1

and when i launch wine it just stay blocked
marcoguillen@linux-uhn1:~/Programs/ASFRecorder> wine ASFRecorder.exe
err:x11drv:X11DRV_CreateWindow invalid window width -255

i downloaded the ASFrecorder source code

Can i fix this problem? do somebody know a streame video recorder for linux suse?

johnson_steve 12-10-2006 01:03 PM

cc1: error: unrecognized command line option "-mno-cygwin"

this means it didn't compile at all it looks like you are trying to follow windows installation instructions and then run it with wine. why? asfrecorder compiles and runs fine on linux without that stuff. I don't know where you got the source or the instructions but get them here:

http://sourceforge.net/projects/asfrecorder/

compile like this (as stated in the documentation)
Code:

unzip ASFRecorder.zip
cd ASFRecorder/source
gcc asfrecorder.c -o asfrecorder

If you want to install it like a regular command available to all users do this as root:
(if you use 'su -' it will chage to roots home dir and this won't work so use 'su' or do everything as root.)
Code:

cp ./asfrecorder /usr/bin
then just run asfrecorder (or ./asfrecorder if you didn't do that last bit.) I guess the windows version has a gui, but it still works fine from the command line. it is possible you just tried 'make' but it looks like the makefile is windows only.

marcoguillen 12-11-2006 03:15 AM

Thanks,
i have installed mplayer and i can recorder stream video with that.
i should do only this

mplayer -dumpstream (url)-dumfile (destination file)


All times are GMT -5. The time now is 01:14 AM.