[gst-devel] Compiling Gstreamer for profiling
vishy S
vishy_s1976 at yahoo.co.in
Tue Mar 23 02:29:02 CET 2004
Thomas,
I was busy with other activities. I could not proceed much in all the directions. I will report any problems i face during the Gstreamer installation shortly, as i will be doing to today or tomorrow.
Before i install the Gstreamer i wanted to confirm some points with you all. I would like to know the we need to compile the Gstreamer. My understanding is, Gstreamer is a library and this is installed on Linux. Also in "readme" file I read the Gstreamer need not be installed.
My aim is to compile the Gstreamer along with my plugin and Gstreamer debug options. Then I would like to profile and debug the entire application. Especially i am interested in Gstreamer profiling. If i use tools such as gprof, this expects .c files. As Gstreamer is a Library i have a basic confusion that whether i will be able to profile Gstreamer. So I think i should not install gstreamer, but rather just copy the Gstreamer on my machine and use the C source file to compile along with my plugin source code. As i am new use of Linux, I beg your patience to clarify my doubts.
Thanks a lot.
Regards
-Vishy
Thomas Vander Stichele <thomas at apestaart.org> wrote:
Hi,
First of all, vishy, please subscribe to the mailing list. It's tiring
to approve posts :)
> Your second part answered my question. I was meaning
> those parts of Gstreamer that are wanted by my media
> player.
All of it should be wanted by your player. I'm not sure what you think
you can leave out.
>
> >
> > > Also as i am new to Linux, I am facing lot of
> > problems
> > > Gstreamer installation.
> >
> > What distribution of Linux did you use ? What
> > exactly is the problem you
> > are having ?
>
> Initially I tried with Gstreamer version 0.6.5. I
> tried installing on Redhat linux 9.0.
Then you could use the rpms for RH9 no ?
> The Gstreamer
> core make was giving some .la file missing that are
> required by the libtool.
Without a *real* log of what went wrong I can't speculate. This is too
vague for me to help.
> I created them by using
> commands such as,
> libtool gcc -static -o libgnomevfs-2.la
> libgnomevfs-2.so
I don't even want to *know* what that tries to do or where you got that
from :) In any case, GStreamer should just build out of the box, if it
doesn't we want to hear about it with a bug report.
> Core was installed. But Plugin's ./configure was not
> recognizing the Gtreamer core version 6.
Looking at the rest of the mail, that's because you installed it to
/usr/local but didn't set your PKG_CONFIG_PATH.
> Similarly vesion 7.4 was giving undefined reference
> error, and the symbol mentioned was gnomegstconf (not
> very sure about the corect name)
Again, I need the actual output.
> One of my colleague tried to install 0.6.4 on his
> machine. He faced some problems, but he he was able to
> overcome them as he knows about linux more. He
> suggested me to do the folloing commonds before
> configuring the plugins,
>
> cp /usr/local/lib/pkgconfig/gstreamer-0.6.pc
> /usr/lib/pkgconfig/
>
> cp /usr/local/lib/pkgconfig/gstreamer-control-0.6.pc
> /usr/lib/pkgconfig/
It's bad form to do this. So don't. What you should do is do
"export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig"
before running configure on additional modules.
> I tried installing 0.6.4 (both core and plugins), on
> another machine with redhad 9.0. Everything worked
> fine with bunch of displays on the terminal. But when
> I tried to execute examples/helloworld ./helloworld
> dummy.mp3, i got the error "Unable to find the plugin
> "mad". Here i would expect that this command should
> invoke mp3 plugin and should error could not open the
> file. Am i doing something wrong in using these
> examples?
No the example is correct. However, you don't have the mad plugin, and
it probably didn't build because you don't have mad-devel or
libmad-devel installed.
> > For the core, only popt, libxml2 (theoretically
> > optional) and glib2 are
> > necessary.
>
> But i did got errors during make asking for .la files
> with 0.6.5 version.
Yep, so show them.
> > For the plugins, there are a lot, and configure
> > tells you which. In
> > practice you should use a distribution and get
> > GStreamer packages for
> > that distribution, esp. if you're new to linux.
>
> I will read all these messages. But what all the
> output messages from Gstreamer are improtant for us?
That depends, so I can't generalize. At the end you get an overview of
plugins that are and are not going to be built. If there are plugins
you need showing in the list of not built, then you need to check higher
up why it's not getting built (for example, missing development files)
and fix that first.
Thomas
Dave/Dina : future TV today ! - http://www.davedina.org/
<-*- thomas (dot) apestaart (dot) org -*->
and it's moving so fast
slow down honey
<-*- thomas (at) apestaart (dot) org -*->
URGent, best radio on the net - 24/7 ! - http://urgent.fm/
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Win an evening with the Indian cricket captain: Yahoo! India Promos.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20040323/04ba5629/attachment.htm>
More information about the gstreamer-devel
mailing list