LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-30-2013, 07:23 PM   #1
TheCorporation
Member
 
Registered: Mar 2013
Posts: 54

Rep: Reputation: Disabled
Need advice on building rpm packages for CentOS 6


Hi,

I have been following these instructions on installing a openvpn on centos 6 but have run into a problem.

Here is the link to the tutorial....

http://safesrv.net/install-openvpn-on-centos/
...............................................................................................
The instructions given to build rpm packages......

Build the rpm packages:

rpmbuild --rebuild lzo-1.08-4.rf.src.rpm
rpm -Uvh lzo-*.rpm
rpm -Uvh rpmforge-release*

...............................................................................................
The result when I tried to give the first command......

[vmware@localhost ~]$ su
Password:
[root@localhost vmware]# rpmbuild --rebuild lzo-1.08-4.rf.src.rpm
bash: rpmbuild: command not found
[root@localhost vmware]#
...............................................................................................
Any advice will be much appreciated, Thanks.
 
Old 03-30-2013, 08:09 PM   #2
KinnowGrower
Member
 
Registered: May 2008
Location: Toronto
Distribution: Centos && Debian
Posts: 347

Rep: Reputation: 34
The sites you are visting says

Quote:
Make sure you have these packages installed:

yum install gcc make rpm-build autoconf.noarch zlib-devel pam-devel openssl-devel
Site also told to download the rpm for CentOS 6.0
You can get rpm with wget and install. But the best way is install with yum and i think yum repository should have openvpn package You dont need to go rebuild is not for any specific reason
 
Old 03-31-2013, 12:51 AM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
that rpmforge repo is a very old one
the current for CentOS 6.4 is
-- 32 bit ---
rpmforge-release-0.5.3-1.el6.rf.i686.rpm
--- 64 bit ----
rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm

please see the centos wiki on third party repos for the install instructions on rpmforge
http://wiki.centos.org/AdditionalResources/Repositories

Also you might be better off installing the software development group and not gcc , make, and autoconf separately
Code:
su -
yum grouplist 
---- then from that list install 
yum groupinstall "Development Tools" 
yum install rpm-build  zlib-devel pam-devel openssl-devel
it is also advisable to NOT use the "-y" option
that is " say yes to all " and DO NOT ASK
it can be very dangerous , because it takes YOU out of the loop .
 
Old 04-01-2013, 01:27 AM   #4
TheCorporation
Member
 
Registered: Mar 2013
Posts: 54

Original Poster
Rep: Reputation: Disabled
Okay thanks guys.

I've followed instructions from the site below...

http://safesrv.net/install-openvpn-on-centos/

but I've run into a problem at the bottom of this copy/paste from the terminal, any ideas?.....


[vmware@localhost ~]$ su
Password:
[root@localhost vmware]# yum install rpm-build
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: repos.local.lax-noc.com
* extras: repos.local.lax-noc.com
* updates: repos.local.lax-noc.com
vmware-tools 10/10
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package rpm-build.i686 0:4.8.0-32.el6 will be installed
--> Processing Dependency: rpm = 4.8.0-32.el6 for package: rpm-build-4.8.0-32.el6.i686
--> Processing Dependency: patch >= 2.5 for package: rpm-build-4.8.0-32.el6.i686
--> Processing Dependency: elfutils >= 0.128 for package: rpm-build-4.8.0-32.el6.i686
--> Processing Dependency: /usr/bin/gdb-add-index for package: rpm-build-4.8.0-32.el6.i686
--> Running transaction check
---> Package elfutils.i686 0:0.152-1.el6 will be installed
---> Package gdb.i686 0:7.2-60.el6 will be installed
---> Package patch.i686 0:2.6-6.el6 will be installed
---> Package rpm.i686 0:4.8.0-27.el6 will be updated
--> Processing Dependency: rpm = 4.8.0-27.el6 for package: rpm-libs-4.8.0-27.el6.i686
--> Processing Dependency: rpm = 4.8.0-27.el6 for package: rpm-python-4.8.0-27.el6.i686
---> Package rpm.i686 0:4.8.0-32.el6 will be an update
--> Running transaction check
---> Package rpm-libs.i686 0:4.8.0-27.el6 will be updated
---> Package rpm-libs.i686 0:4.8.0-32.el6 will be an update
---> Package rpm-python.i686 0:4.8.0-27.el6 will be updated
---> Package rpm-python.i686 0:4.8.0-32.el6 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
rpm-build i686 4.8.0-32.el6 base 127 k
Installing for dependencies:
elfutils i686 0.152-1.el6 base 214 k
gdb i686 7.2-60.el6 base 2.3 M
patch i686 2.6-6.el6 base 96 k
Updating for dependencies:
rpm i686 4.8.0-32.el6 base 900 k
rpm-libs i686 4.8.0-32.el6 base 315 k
rpm-python i686 4.8.0-32.el6 base 55 k

Transaction Summary
================================================================================
Install 4 Package(s)
Upgrade 3 Package(s)

Total download size: 4.0 M
Is this ok [y/N]: y
Downloading Packages:
http://repos.local.lax-noc.com/cento....el6.i686.rpm: [Errno 12] Timeout on http://repos.local.lax-noc.com/cento....el6.i686.rpm: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
Trying other mirror.
(1/7): elfutils-0.152-1.el6.i686.rpm | 214 kB 00:00
(2/7): gdb-7.2-60.el6.i686.rpm | 2.3 MB 00:00
(3/7): patch-2.6-6.el6.i686.rpm | 96 kB 00:00
(4/7): rpm-4.8.0-32.el6.i686.rpm | 900 kB 00:00
(5/7): rpm-build-4.8.0-32.el6.i686.rpm | 127 kB 00:00
(6/7): rpm-libs-4.8.0-32.el6.i686.rpm | 315 kB 00:00
(7/7): rpm-python-4.8.0-32.el6.i686.rpm | 55 kB 00:00
--------------------------------------------------------------------------------
Total 89 kB/s | 4.0 MB 00:46
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : rpm-libs-4.8.0-32.el6.i686 1/10
Updating : rpm-4.8.0-32.el6.i686 2/10
Installing : elfutils-0.152-1.el6.i686 3/10
Installing : gdb-7.2-60.el6.i686 4/10
Installing : patch-2.6-6.el6.i686 5/10
Installing : rpm-build-4.8.0-32.el6.i686 6/10
Updating : rpm-python-4.8.0-32.el6.i686 7/10
Cleanup : rpm-python-4.8.0-27.el6.i686 8/10
Cleanup : rpm-libs-4.8.0-27.el6.i686 9/10
Cleanup : rpm-4.8.0-27.el6.i686 10/10
Verifying : rpm-4.8.0-32.el6.i686 1/10
Verifying : patch-2.6-6.el6.i686 2/10
Verifying : gdb-7.2-60.el6.i686 3/10
Verifying : rpm-python-4.8.0-32.el6.i686 4/10
Verifying : elfutils-0.152-1.el6.i686 5/10
Verifying : rpm-libs-4.8.0-32.el6.i686 6/10
Verifying : rpm-build-4.8.0-32.el6.i686 7/10
Verifying : rpm-4.8.0-27.el6.i686 8/10
Verifying : rpm-libs-4.8.0-27.el6.i686 9/10
Verifying : rpm-python-4.8.0-27.el6.i686 10/10

Installed:
rpm-build.i686 0:4.8.0-32.el6

Dependency Installed:
elfutils.i686 0:0.152-1.el6 gdb.i686 0:7.2-60.el6 patch.i686 0:2.6-6.el6

Dependency Updated:
rpm.i686 0:4.8.0-32.el6 rpm-libs.i686 0:4.8.0-32.el6
rpm-python.i686 0:4.8.0-32.el6

Complete!
[root@localhost vmware]# yum install gcc make rpm-build autoconf.noarch zlib-devel pam-devel openssl-devel -y
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: repos.local.lax-noc.com
* extras: repos.local.lax-noc.com
* updates: repos.local.lax-noc.com
adobe-linux-i386 | 951 B 00:00
http://repos.local.lax-noc.com/cento...ta/repomd.xml: [Errno 12] Timeout on http://repos.local.lax-noc.com/cento...ta/repomd.xml: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
Trying other mirror.
base | 3.7 kB 00:00
http://repos.local.lax-noc.com/cento...ta/repomd.xml: [Errno 12] Timeout on http://repos.local.lax-noc.com/cento...ta/repomd.xml: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
Trying other mirror.
extras | 3.5 kB 00:00
http://repos.local.lax-noc.com/cento...ta/repomd.xml: [Errno 12] Timeout on http://repos.local.lax-noc.com/cento...ta/repomd.xml: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
Trying other mirror.
updates | 3.5 kB 00:00
vmware-tools | 951 B 00:00
Setting up Install Process
Package rpm-build-4.8.0-32.el6.i686 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed
--> Processing Dependency: m4 >= 1.4.7 for package: autoconf-2.63-5.1.el6.noarch
---> Package gcc.i686 0:4.4.7-3.el6 will be installed
--> Processing Dependency: libgomp = 4.4.7-3.el6 for package: gcc-4.4.7-3.el6.i686
--> Processing Dependency: cpp = 4.4.7-3.el6 for package: gcc-4.4.7-3.el6.i686
--> Processing Dependency: libgcc >= 4.4.7-3.el6 for package: gcc-4.4.7-3.el6.i686
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.7-3.el6.i686
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.7-3.el6.i686
--> Processing Dependency: libgomp.so.1 for package: gcc-4.4.7-3.el6.i686
---> Package make.i686 1:3.81-20.el6 will be installed
---> Package openssl-devel.i686 0:1.0.0-27.el6_4.2 will be installed
--> Processing Dependency: openssl = 1.0.0-27.el6_4.2 for package: openssl-devel-1.0.0-27.el6_4.2.i686
--> Processing Dependency: krb5-devel for package: openssl-devel-1.0.0-27.el6_4.2.i686
---> Package pam-devel.i686 0:1.1.1-13.el6 will be installed
--> Processing Dependency: pam = 1.1.1-13.el6 for package: pam-devel-1.1.1-13.el6.i686
---> Package zlib-devel.i686 0:1.2.3-29.el6 will be installed
--> Processing Dependency: zlib = 1.2.3-29.el6 for package: zlib-devel-1.2.3-29.el6.i686
--> Running transaction check
---> Package cloog-ppl.i686 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2 for package: cloog-ppl-0.15.7-1.2.el6.i686
--> Processing Dependency: libppl.so.7 for package: cloog-ppl-0.15.7-1.2.el6.i686
---> Package cpp.i686 0:4.4.7-3.el6 will be installed
--> Processing Dependency: libmpfr.so.1 for package: cpp-4.4.7-3.el6.i686
---> Package glibc-devel.i686 0:2.12-1.107.el6 will be installed
--> Processing Dependency: glibc-headers = 2.12-1.107.el6 for package: glibc-devel-2.12-1.107.el6.i686
--> Processing Dependency: glibc = 2.12-1.107.el6 for package: glibc-devel-2.12-1.107.el6.i686
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.107.el6.i686
---> Package krb5-devel.i686 0:1.10.3-10.el6_4.1 will be installed
--> Processing Dependency: krb5-libs = 1.10.3-10.el6_4.1 for package: krb5-devel-1.10.3-10.el6_4.1.i686
--> Processing Dependency: libselinux-devel for package: krb5-devel-1.10.3-10.el6_4.1.i686
--> Processing Dependency: libkdb5.so.6 for package: krb5-devel-1.10.3-10.el6_4.1.i686
--> Processing Dependency: libcom_err-devel for package: krb5-devel-1.10.3-10.el6_4.1.i686
--> Processing Dependency: keyutils-libs-devel for package: krb5-devel-1.10.3-10.el6_4.1.i686
---> Package libgcc.i686 0:4.4.6-4.el6 will be updated
---> Package libgcc.i686 0:4.4.7-3.el6 will be an update
---> Package libgomp.i686 0:4.4.7-3.el6 will be installed
---> Package m4.i686 0:1.4.13-5.el6 will be installed
---> Package openssl.i686 0:1.0.0-25.el6_3.1 will be updated
---> Package openssl.i686 0:1.0.0-27.el6_4.2 will be an update
---> Package pam.i686 0:1.1.1-10.el6_2.1 will be updated
---> Package pam.i686 0:1.1.1-13.el6 will be an update
---> Package zlib.i686 0:1.2.3-27.el6 will be updated
---> Package zlib.i686 0:1.2.3-29.el6 will be an update
--> Running transaction check
---> Package glibc.i686 0:2.12-1.80.el6_3.7 will be updated
--> Processing Dependency: glibc = 2.12-1.80.el6_3.7 for package: glibc-common-2.12-1.80.el6_3.7.i686
---> Package glibc.i686 0:2.12-1.107.el6 will be an update
---> Package glibc-headers.i686 0:2.12-1.107.el6 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.107.el6.i686
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.107.el6.i686
---> Package keyutils-libs-devel.i686 0:1.4-4.el6 will be installed
---> Package krb5-libs.i686 0:1.9-33.el6_3.3 will be updated
---> Package krb5-libs.i686 0:1.10.3-10.el6_4.1 will be an update
---> Package libcom_err-devel.i686 0:1.41.12-14.el6 will be installed
--> Processing Dependency: libcom_err = 1.41.12-14.el6 for package: libcom_err-devel-1.41.12-14.el6.i686
---> Package libselinux-devel.i686 0:2.0.94-5.3.el6 will be installed
--> Processing Dependency: libsepol-devel >= 2.0.32-1 for package: libselinux-devel-2.0.94-5.3.el6.i686
--> Processing Dependency: pkgconfig(libsepol) for package: libselinux-devel-2.0.94-5.3.el6.i686
---> Package mpfr.i686 0:2.4.1-6.el6 will be installed
---> Package ppl.i686 0:0.10.2-11.el6 will be installed
--> Running transaction check
---> Package glibc-common.i686 0:2.12-1.80.el6_3.7 will be updated
---> Package glibc-common.i686 0:2.12-1.107.el6 will be an update
---> Package kernel-headers.i686 0:2.6.32-358.2.1.el6 will be installed
---> Package libcom_err.i686 0:1.41.12-12.el6 will be updated
--> Processing Dependency: libcom_err = 1.41.12-12.el6 for package: e2fsprogs-1.41.12-12.el6.i686
--> Processing Dependency: libcom_err = 1.41.12-12.el6 for package: e2fsprogs-libs-1.41.12-12.el6.i686
--> Processing Dependency: libcom_err = 1.41.12-12.el6 for package: libss-1.41.12-12.el6.i686
---> Package libcom_err.i686 0:1.41.12-14.el6 will be an update
---> Package libsepol-devel.i686 0:2.0.41-4.el6 will be installed
--> Running transaction check
---> Package e2fsprogs.i686 0:1.41.12-12.el6 will be updated
---> Package e2fsprogs.i686 0:1.41.12-14.el6 will be an update
---> Package e2fsprogs-libs.i686 0:1.41.12-12.el6 will be updated
---> Package e2fsprogs-libs.i686 0:1.41.12-14.el6 will be an update
---> Package libss.i686 0:1.41.12-12.el6 will be updated
---> Package libss.i686 0:1.41.12-14.el6 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
autoconf noarch 2.63-5.1.el6 base 781 k
gcc i686 4.4.7-3.el6 base 8.2 M
make i686 1:3.81-20.el6 base 386 k
openssl-devel i686 1.0.0-27.el6_4.2 updates 1.1 M
pam-devel i686 1.1.1-13.el6 base 204 k
zlib-devel i686 1.2.3-29.el6 base 44 k
Installing for dependencies:
cloog-ppl i686 0.15.7-1.2.el6 base 93 k
cpp i686 4.4.7-3.el6 base 3.4 M
glibc-devel i686 2.12-1.107.el6 base 974 k
glibc-headers i686 2.12-1.107.el6 base 612 k
kernel-headers i686 2.6.32-358.2.1.el6 updates 2.3 M
keyutils-libs-devel i686 1.4-4.el6 base 28 k
krb5-devel i686 1.10.3-10.el6_4.1 updates 493 k
libcom_err-devel i686 1.41.12-14.el6 base 31 k
libgomp i686 4.4.7-3.el6 base 120 k
libselinux-devel i686 2.0.94-5.3.el6 base 136 k
libsepol-devel i686 2.0.41-4.el6 base 64 k
m4 i686 1.4.13-5.el6 base 241 k
mpfr i686 2.4.1-6.el6 base 153 k
ppl i686 0.10.2-11.el6 base 1.3 M
Updating for dependencies:
e2fsprogs i686 1.41.12-14.el6 base 552 k
e2fsprogs-libs i686 1.41.12-14.el6 base 126 k
glibc i686 2.12-1.107.el6 base 4.3 M
glibc-common i686 2.12-1.107.el6 base 14 M
krb5-libs i686 1.10.3-10.el6_4.1 updates 768 k
libcom_err i686 1.41.12-14.el6 base 36 k
libgcc i686 4.4.7-3.el6 base 112 k
libss i686 1.41.12-14.el6 base 40 k
openssl i686 1.0.0-27.el6_4.2 updates 1.4 M
pam i686 1.1.1-13.el6 base 658 k
zlib i686 1.2.3-29.el6 base 73 k

Transaction Summary
================================================================================
Install 20 Package(s)
Upgrade 11 Package(s)

Total download size: 43 M
Downloading Packages:
(1/31): autoconf-2.63-5.1.el6.noarch.rpm | 781 kB 00:00
(2/31): cloog-ppl-0.15.7-1.2.el6.i686.rpm | 93 kB 00:00
(3/31): cpp-4.4.7-3.el6.i686.rpm | 3.4 MB 00:01
(4/31): e2fsprogs-1.41.12-14.el6.i686.rpm | 552 kB 00:00
(5/31): e2fsprogs-libs-1.41.12-14.el6.i686.rpm | 126 kB 00:00
(6/31): gcc-4.4.7-3.el6.i686.rpm | 8.2 MB 00:17
(7/31): glibc-2.12-1.107.el6.i686.rpm | 4.3 MB 00:05
(8/31): glibc-common-2.12-1.107.el6.i686.rpm | 14 MB 00:22
(9/31): glibc-devel-2.12-1.107.el6.i686.rpm | 974 kB 00:00
(10/31): glibc-headers-2.12-1.107.el6.i686.rpm | 612 kB 00:00
(11/31): kernel-headers-2.6.32-358.2.1.el6.i686.rpm | 2.3 MB 00:01
(12/31): keyutils-libs-devel-1.4-4.el6.i686.rpm | 28 kB 00:00
(13/31): krb5-devel-1.10.3-10.el6_4.1.i686.rpm | 493 kB 00:00
(14/31): krb5-libs-1.10.3-10.el6_4.1.i686.rpm | 768 kB 00:00
(15/31): libcom_err-1.41.12-14.el6.i686.rpm | 36 kB 00:00
(16/31): libcom_err-devel-1.41.12-14.el6.i686.rpm | 31 kB 00:00
(17/31): libgcc-4.4.7-3.el6.i686.rpm | 112 kB 00:00
(18/31): libgomp-4.4.7-3.el6.i686.rpm | 120 kB 00:00
(19/31): libselinux-devel-2.0.94-5.3.el6.i686.rpm | 136 kB 00:00
(20/31): libsepol-devel-2.0.41-4.el6.i686.rpm | 64 kB 00:00
(21/31): libss-1.41.12-14.el6.i686.rpm | 40 kB 00:00
(22/31): m4-1.4.13-5.el6.i686.rpm | 241 kB 00:00
(23/31): make-3.81-20.el6.i686.rpm | 386 kB 00:00
(24/31): mpfr-2.4.1-6.el6.i686.rpm | 153 kB 00:00
(25/31): openssl-1.0.0-27.el6_4.2.i686.rpm | 1.4 MB 00:00
(26/31): openssl-devel-1.0.0-27.el6_4.2.i686.rpm | 1.1 MB 00:00
(27/31): pam-1.1.1-13.el6.i686.rpm | 658 kB 00:00
(28/31): pam-devel-1.1.1-13.el6.i686.rpm | 204 kB 00:00
(29/31): ppl-0.10.2-11.el6.i686.rpm | 1.3 MB 00:00
(30/31): zlib-1.2.3-29.el6.i686.rpm | 73 kB 00:00
(31/31): zlib-devel-1.2.3-29.el6.i686.rpm | 44 kB 00:00
--------------------------------------------------------------------------------
Total 332 kB/s | 43 MB 02:11
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : kernel-headers-2.6.32-358.2.1.el6.i686 1/42
Installing : keyutils-libs-devel-1.4-4.el6.i686 2/42
Installing : libsepol-devel-2.0.41-4.el6.i686 3/42
Updating : libgcc-4.4.7-3.el6.i686 4/42
Installing : libselinux-devel-2.0.94-5.3.el6.i686 5/42
Updating : glibc-common-2.12-1.107.el6.i686 6/42
Updating : glibc-2.12-1.107.el6.i686 7/42
Updating : libcom_err-1.41.12-14.el6.i686 8/42
Installing : libcom_err-devel-1.41.12-14.el6.i686 9/42
Installing : glibc-headers-2.12-1.107.el6.i686 10/42
Updating : krb5-libs-1.10.3-10.el6_4.1.i686 11/42
Updating : zlib-1.2.3-29.el6.i686 12/42
Installing : zlib-devel-1.2.3-29.el6.i686 13/42
Installing : glibc-devel-2.12-1.107.el6.i686 14/42
Updating : openssl-1.0.0-27.el6_4.2.i686 15/42
Installing : krb5-devel-1.10.3-10.el6_4.1.i686 16/42
Updating : e2fsprogs-libs-1.41.12-14.el6.i686 17/42
Updating : libss-1.41.12-14.el6.i686 18/42
Installing : mpfr-2.4.1-6.el6.i686 19/42
Installing : cpp-4.4.7-3.el6.i686 20/42
Updating : pam-1.1.1-13.el6.i686 21/42
Installing : m4-1.4.13-5.el6.i686 22/42
Installing : libgomp-4.4.7-3.el6.i686 23/42
Installing : ppl-0.10.2-11.el6.i686 24/42
Installing : autoconf-2.63-5.1.el6.noarch 25/42
Installing : pam-devel-1.1.1-13.el6.i686 26/42
Installing : openssl-devel-1.0.0-27.el6_4.2.i686 27/42
Installing : cloog-ppl-0.15.7-1.2.el6.i686 28/42
Installing : gcc-4.4.7-3.el6.i686 29/42
Updating : e2fsprogs-1.41.12-14.el6.i686 30/42
Installing : 1:make-3.81-20.el6.i686 31/42
Cleanup : openssl-1.0.0-25.el6_3.1.i686 32/42
Cleanup : e2fsprogs-1.41.12-12.el6.i686 33/42
Cleanup : e2fsprogs-libs-1.41.12-12.el6.i686 34/42
Cleanup : libss-1.41.12-12.el6.i686 35/42
Cleanup : krb5-libs-1.9-33.el6_3.3.i686 36/42
Cleanup : libcom_err-1.41.12-12.el6.i686 37/42
Cleanup : zlib-1.2.3-27.el6.i686 38/42
Cleanup : pam-1.1.1-10.el6_2.1.i686 39/42
Cleanup : glibc-common-2.12-1.80.el6_3.7.i686 40/42
Cleanup : glibc-2.12-1.80.el6_3.7.i686 41/42
Cleanup : libgcc-4.4.6-4.el6.i686 42/42
Verifying : glibc-devel-2.12-1.107.el6.i686 1/42
Verifying : 1:make-3.81-20.el6.i686 2/42
Verifying : krb5-devel-1.10.3-10.el6_4.1.i686 3/42
Verifying : mpfr-2.4.1-6.el6.i686 4/42
Verifying : zlib-devel-1.2.3-29.el6.i686 5/42
Verifying : pam-devel-1.1.1-13.el6.i686 6/42
Verifying : libselinux-devel-2.0.94-5.3.el6.i686 7/42
Verifying : libsepol-devel-2.0.41-4.el6.i686 8/42
Verifying : zlib-1.2.3-29.el6.i686 9/42
Verifying : e2fsprogs-1.41.12-14.el6.i686 10/42
Verifying : keyutils-libs-devel-1.4-4.el6.i686 11/42
Verifying : pam-1.1.1-13.el6.i686 12/42
Verifying : libgcc-4.4.7-3.el6.i686 13/42
Verifying : autoconf-2.63-5.1.el6.noarch 14/42
Verifying : m4-1.4.13-5.el6.i686 15/42
Verifying : glibc-common-2.12-1.107.el6.i686 16/42
Verifying : openssl-1.0.0-27.el6_4.2.i686 17/42
Verifying : openssl-devel-1.0.0-27.el6_4.2.i686 18/42
Verifying : libgomp-4.4.7-3.el6.i686 19/42
Verifying : cpp-4.4.7-3.el6.i686 20/42
Verifying : glibc-headers-2.12-1.107.el6.i686 21/42
Verifying : e2fsprogs-libs-1.41.12-14.el6.i686 22/42
Verifying : ppl-0.10.2-11.el6.i686 23/42
Verifying : libcom_err-1.41.12-14.el6.i686 24/42
Verifying : krb5-libs-1.10.3-10.el6_4.1.i686 25/42
Verifying : glibc-2.12-1.107.el6.i686 26/42
Verifying : gcc-4.4.7-3.el6.i686 27/42
Verifying : libss-1.41.12-14.el6.i686 28/42
Verifying : libcom_err-devel-1.41.12-14.el6.i686 29/42
Verifying : cloog-ppl-0.15.7-1.2.el6.i686 30/42
Verifying : kernel-headers-2.6.32-358.2.1.el6.i686 31/42
Verifying : glibc-common-2.12-1.80.el6_3.7.i686 32/42
Verifying : openssl-1.0.0-25.el6_3.1.i686 33/42
Verifying : libgcc-4.4.6-4.el6.i686 34/42
Verifying : e2fsprogs-1.41.12-12.el6.i686 35/42
Verifying : libcom_err-1.41.12-12.el6.i686 36/42
Verifying : krb5-libs-1.9-33.el6_3.3.i686 37/42
Verifying : zlib-1.2.3-27.el6.i686 38/42
Verifying : libss-1.41.12-12.el6.i686 39/42
Verifying : pam-1.1.1-10.el6_2.1.i686 40/42
Verifying : glibc-2.12-1.80.el6_3.7.i686 41/42
Verifying : e2fsprogs-libs-1.41.12-12.el6.i686 42/42

Installed:
autoconf.noarch 0:2.63-5.1.el6 gcc.i686 0:4.4.7-3.el6
make.i686 1:3.81-20.el6 openssl-devel.i686 0:1.0.0-27.el6_4.2
pam-devel.i686 0:1.1.1-13.el6 zlib-devel.i686 0:1.2.3-29.el6

Dependency Installed:
cloog-ppl.i686 0:0.15.7-1.2.el6
cpp.i686 0:4.4.7-3.el6
glibc-devel.i686 0:2.12-1.107.el6
glibc-headers.i686 0:2.12-1.107.el6
kernel-headers.i686 0:2.6.32-358.2.1.el6
keyutils-libs-devel.i686 0:1.4-4.el6
krb5-devel.i686 0:1.10.3-10.el6_4.1
libcom_err-devel.i686 0:1.41.12-14.el6
libgomp.i686 0:4.4.7-3.el6
libselinux-devel.i686 0:2.0.94-5.3.el6
libsepol-devel.i686 0:2.0.41-4.el6
m4.i686 0:1.4.13-5.el6
mpfr.i686 0:2.4.1-6.el6
ppl.i686 0:0.10.2-11.el6

Dependency Updated:
e2fsprogs.i686 0:1.41.12-14.el6 e2fsprogs-libs.i686 0:1.41.12-14.el6
glibc.i686 0:2.12-1.107.el6 glibc-common.i686 0:2.12-1.107.el6
krb5-libs.i686 0:1.10.3-10.el6_4.1 libcom_err.i686 0:1.41.12-14.el6
libgcc.i686 0:4.4.7-3.el6 libss.i686 0:1.41.12-14.el6
openssl.i686 0:1.0.0-27.el6_4.2 pam.i686 0:1.1.1-13.el6
zlib.i686 0:1.2.3-29.el6

Complete!
[root@localhost vmware]# rpmbuild --rebuild lzo-1.08-4.rf.src.rpm
error: cannot open lzo-1.08-4.rf.src.rpm: No such file or directory
[root@localhost vmware]#
 
Old 04-01-2013, 04:41 AM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
[root@localhost vmware]# rpmbuild --rebuild lzo-1.08-4.rf.src.rpm
error: cannot open lzo-1.08-4.rf.src.rpm: No such file or directory
[root@localhost vmware]#
you were NOT in the folder that has "zo-1.08-4.rf.src.rpm" in it
you have to "cd" into it first

or from the nautilus filemanager ( in the folder that has "lzo-1.08-4.rf.src.rpm" )
r-click
and select " open terminal here"
then run the command
it is also VERY advisable NOT to run it as root !
but run it as a normal user


and Please use the "code" tags !
PHP Code:
[codethe code you are pasting  [/code
Code:
 the code you are pasting
 the code you are pasting

Last edited by John VV; 04-01-2013 at 04:46 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
configure path for dependent rpm packages for building source rpm package embeddedlinuxforall Linux - Newbie 1 03-01-2013 11:39 AM
[SOLVED] Building Perl 5.16.2 RPM for CentOS 6 rubanek Linux - Software 4 08-23-2012 05:23 PM
Advice on Building a Linux cluster with CentOS and Condor foottuns Linux - Enterprise 1 02-20-2010 07:14 PM
Rpmbuild spec file for virtual rpm - removing obsolete packages - CentOS/RHEL 5.3 DrLove73 Linux - Software 3 10-10-2009 10:22 AM
need advice for RHE rpm packages coldy Red Hat 7 10-14-2004 06:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration