clean gstreamer installation

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

clean gstreamer installation

Sachin Pandhare
Hi,
i want to switch between different versions of gstreamer.
is there any clean way of doing this?
use case:
- install gstreamer (including plugins) version X.
- work on it.
- un-install gstreamer (including plugins) version X.
- install gstreamer (including plugins) version Y.
- start working on it.

i compile the source code manually and install gstreamer (configure, make, make install).

1) is it ok if i just clean it using "make clean" or "make distclean"?
2) will it remove all the files (makefiles, bin, lib, etc) generated?
3) is there any better, efficient method to achieve this?

thanks,
Sachin


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: clean gstreamer installation

Sameer Naik
if you have installed gstreamer using rpms then you can do

#rpm -e gstreamer-x.xx
(similarly you will also have to do this for each of your plugin packages)

if you have compiled and installed from source, then you there is an uninstall target in the makefile that can be invoked by saying

#make uninstall
(again this has to be done for each individual gstreamer package i.e. base, good, bad, and so on)

Regards
~Sameer

On Mon, Aug 25, 2008 at 11:33 AM, Sachin Pandhare <[hidden email]> wrote:
Hi,
i want to switch between different versions of gstreamer.
is there any clean way of doing this?
use case:
- install gstreamer (including plugins) version X.
- work on it.
- un-install gstreamer (including plugins) version X.
- install gstreamer (including plugins) version Y.
- start working on it.

i compile the source code manually and install gstreamer (configure, make, make install).

1) is it ok if i just clean it using "make clean" or "make distclean"?
2) will it remove all the files (makefiles, bin, lib, etc) generated?
3) is there any better, efficient method to achieve this?

thanks,
Sachin


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: clean gstreamer installation

Eric Zhang-6
Hi, gstreamer-devel:

    Unfortunately, in my Ubuntu 7.10, trying to uninstall the gstreamer
package(sudo apt-get remove gstreamer-xxx) will also remove a lot of
packages with dependency, some are very important for gnome. And there
is no updated gstreamer packages in Ubuntu 7.10's repository.  :(

    So, I have to download the latest source package, compile and
install them with `--prefix=/usr'. This will overwrite the older
gstreamer files  and though it's not graceful but it works.

Eric Zhang

Sameer Naik wrote:

> if you have installed gstreamer using rpms then you can do
>
> #rpm -e gstreamer-x.xx
> (similarly you will also have to do this for each of your plugin packages)
>
> if you have compiled and installed from source, then you there is an
> uninstall target in the makefile that can be invoked by saying
>
> #make uninstall
> (again this has to be done for each individual gstreamer package i.e.
> base, good, bad, and so on)
>
> Regards
> ~Sameer
>
> On Mon, Aug 25, 2008 at 11:33 AM, Sachin Pandhare
> <[hidden email] <mailto:[hidden email]>> wrote:
>
>     Hi,
>     i want to switch between different versions of gstreamer.
>     is there any clean way of doing this?
>     use case:
>     - install gstreamer (including plugins) version X.
>     - work on it.
>     - un-install gstreamer (including plugins) version X.
>     - install gstreamer (including plugins) version Y.
>     - start working on it.
>
>     i compile the source code manually and install gstreamer
>     (configure, make, make install).
>
>     1) is it ok if i just clean it using "make clean" or "make
>     distclean"?
>     2) will it remove all the files (makefiles, bin, lib, etc) generated?
>     3) is there any better, efficient method to achieve this?
>
>     thanks,
>     Sachin
>
>
>     -------------------------------------------------------------------------
>     This SF.Net email is sponsored by the Moblin Your Move Developer's
>     challenge
>     Build the coolest Linux based applications with Moblin SDK & win
>     great prizes
>     Grand prize is a trip for two to an Open Source event anywhere in
>     the world
>     http://moblin-contest.org/redirect.php?banner_id=100&url=/
>     <http://moblin-contest.org/redirect.php?banner_id=100&url=/>
>     _______________________________________________
>     gstreamer-devel mailing list
>     [hidden email]
>     <mailto:[hidden email]>
>     https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ------------------------------------------------------------------------
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>  


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: clean gstreamer installation

David Schleef
On Tue, Aug 26, 2008 at 10:10:39AM +0800, Eric Zhang wrote:
>     So, I have to download the latest source package, compile and
> install them with `--prefix=/usr'. This will overwrite the older
> gstreamer files  and though it's not graceful but it works.

It is not necessary to do this.  The default install to /usr/local
will happily coexist with the installation in /usr.  Set the
following environment variables to use libraries, etc., in /usr/local:

  LD_LIBRARY_PATH=/usr/local/lib
  PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
  PATH=/usr/local/bin:$PATH

Overwriting files in /usr is a sure way to screw up your entire
system.



dave...


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: clean gstreamer installation

Eric Zhang-6
Hi, gstreamer-devel:

    Yeah, this is correct. Thanks, David.

Eric Zhang

2008/8/26 David Schleef <[hidden email]>
On Tue, Aug 26, 2008 at 10:10:39AM +0800, Eric Zhang wrote:
>     So, I have to download the latest source package, compile and
> install them with `--prefix=/usr'. This will overwrite the older
> gstreamer files  and though it's not graceful but it works.

It is not necessary to do this.  The default install to /usr/local
will happily coexist with the installation in /usr.  Set the
following environment variables to use libraries, etc., in /usr/local:

 LD_LIBRARY_PATH=/usr/local/lib
 PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
 PATH=/usr/local/bin:$PATH

Overwriting files in /usr is a sure way to screw up your entire
system.



dave...


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: clean gstreamer installation

Sachin Pandhare
Thanks to all for your guidance in this respect.

Point mentioned by David seems to be critical. i had actually made the mistake of installing it in /usr/lib :(
will correct it.

Sachin

On Tue, Aug 26, 2008 at 2:41 PM, Eric Zhang <[hidden email]> wrote:
Hi, gstreamer-devel:

    Yeah, this is correct. Thanks, David.

Eric Zhang

2008/8/26 David Schleef <[hidden email]>

On Tue, Aug 26, 2008 at 10:10:39AM +0800, Eric Zhang wrote:
>     So, I have to download the latest source package, compile and
> install them with `--prefix=/usr'. This will overwrite the older
> gstreamer files  and though it's not graceful but it works.

It is not necessary to do this.  The default install to /usr/local
will happily coexist with the installation in /usr.  Set the
following environment variables to use libraries, etc., in /usr/local:

 LD_LIBRARY_PATH=/usr/local/lib
 PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
 PATH=/usr/local/bin:$PATH

Overwriting files in /usr is a sure way to screw up your entire
system.



dave...


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel