Praveen Kumar wrote: > I am running OpenSolaris 2008.05 snv_93 with Sun Studio and most other > development tools installed. I have managed to compile GNU Emacs 23 > successfully. > > I am trying to compile gst-ffmpeg (0.10.4) and I am getting an error[1] > during the configure stage. Anyone managed to compile it successfully on > OpenSolaris? I am seeing some posts about successful compilation on > SXDE. I am not sure how it is different. > > Lack of multimedia capability is a real blocker for me to wipe out > GNU/Linux from my hard-drive. Right now, I have to reboot into GNU/Linux > to play any media. Any help is appreciated. > > [1] - http://opensolaris.pastebin.ca/1073577
However I was able to get gst-ffmpeg 0.10.3 successfully compiled using GNU ld. For some reason, even after using the --with-gnu-ld switch, gst-ffmpeg still was using /usr/ccs/bin/ld (that was symlinked to /usr/bin/ld). I didn't know how to tell it to use GNU ld. So, I pointed /usr/ccs/bin/ld to /usr/gnu/bin/ld. If I use Sun ld, I get an error message "relocations remain against allocatable but non-writable sections". Use GNU ld: $ cd /usr/ccs/bin $ pfexec rm -f ld $ pfexec ln -s ../../gnu/bin/ld I actually don't recommend this one. But I didn't know any other quick way. Please note that this might affect anything that needs Sun ld in future. If you want to restore, do the following or make a backup before you do the above step. $ cd /usr/ccs/bin $ pfexec rm -f ld $ pfexec ln -s ../../bin/ld Build gst-ffmpeg: $ wget http://gstreamer.freedesktop.org/src/gst-ffmpeg/gst-ffmpeg-0.10.3.tar.bz2 $ tar -jxvf gst-ffmpeg-0.10.3.tar.bz2 $ cd gst-ffmpeg-0.10.3 $ ./configure --prefix=/full/path/to/your/install/dir $ make Copy the library to gstreamer directory: $ pfexec cp ./ext/ffmpeg/.libs/libgstffmpeg.so /usr/lib/gstreamer-0.10/ After this, Totem plays media files supported by ffmpeg. I am going to spend some time latter this evening to troubleshoot gst-ffmpeg 0.10.4 configure issue. I will post if I make any progress on it. Thanks - Praveen _______________________________________________ indiana-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/indiana-discuss
