Hi all,
I have a need to rebuild the gstreamer and gst-plugins in CentOS 7. So I found the wiki for rebuilding a source package... I downloaded the vault.centos.org files, installed them with dependencies.
I did the rpmbuild -ba for each of the four packages. All seemed to go well. No errors reported.
However - the /usr/bin/gst-inspect* listing shows the files as OLD ls -l /usr/bin/gst-inspect* -rwxr-xr-x 1 root root 16000 Jun 9 2014 /usr/bin/gst-inspect -rwxr-xr-x 1 root root 45488 Jun 9 2014 /usr/bin/gst-inspect-0.10 -rwxr-xr-x 1 root root 45552 Nov 20 2015 /usr/bin/gst-inspect-1.0
However the file was genereated as shows here: pwd /root/rpmbuild/BUILD/gstreamer-0.10.36/tools [root@W530 tools]# ls -l gst-inspect* -rwxr-xr-x 1 root root 36632 Feb 7 08:42 gst-inspect -rwxr-xr-x 1 root root 8436 Feb 7 08:42 gst-inspect-0.10 -rw-r--r-- 1 root root 1768 Feb 7 08:42 gst-inspect-0.10.1 -rw-r--r-- 1 silentm silentm 1768 Dec 11 2011 gst-inspect.1.in -rw-r--r-- 1 silentm silentm 53933 Feb 7 08:42 gst-inspect.c -rw-r--r-- 1 silentm silentm 47400 Dec 29 2011 gst-inspect.c.rpm-provides
So the package built... why did /usr/bin/gst-inspect* not match the above directory.
Did I miss something? Thanks,
Jerry
Gordon,
Did you install the package that you built? "rpm -qf /usr/bin/gst-inspect"
All I did was the rpmbuild -ba for each of the items: gsteamer and the plugins.
I was expecting that command would build and install?
If that is not the case what do you run to install the package for gstreamer and the plugins?
THanks,
Jerry
Am 07.02.2017 um 17:05 schrieb Jerry Geis jerry.geis@gmail.com:
Gordon,
Did you install the package that you built? "rpm -qf /usr/bin/gst-inspect"
All I did was the rpmbuild -ba for each of the items: gsteamer and the plugins.
I was expecting that command would build and install?
If that is not the case what do you run to install the package for gstreamer and the plugins?
http://fedoranews.org/alex/tutorial/rpm/
- LF
Hello Jerry,
it is a little while back, but:
First I'm analyse what the steps to do.
- Unpack the packackge rpm -i that place it into my home folder /home/xxx/rpmbuild
- make my changes
- rpmbuild -bs rpmbuild/SPECS/..spec (file)
. mock rpmbuild/SRPM/new.src.rpm (file) - creates a sandbox for build, doesn'T screw up your system.
- move it to my repo location (createrepo) or install it by
sudo yum install "new.rpm" (because of dependency check)
Hm, that's how rpm's are build in most cases.
Sincerely
Andy
ps: yum provides /usr/bin/gst-inspect -> tells you which (current) package.
Am Dienstag, den 07.02.2017, 11:05 -0500 schrieb Jerry Geis:
Gordon,
Did you install the package that you built? "rpm -qf /usr/bin/gst-inspect"
All I did was the rpmbuild -ba for each of the items: gsteamer and the plugins.
I was expecting that command would build and install?
If that is not the case what do you run to install the package for gstreamer and the plugins?
THanks,
Jerry _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
On 02/07/2017 08:05 AM, Jerry Geis wrote:
I was expecting that command would build and install?
If that is not the case what do you run to install the package for gstreamer and the plugins?
When rpmbuild finishes, it will list the rpm packages that it generated. You can install those packages. They are not installed automatically.