Re: gcc issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Steve wrote, at 02/05/2009 11:26 PM +9:00:
OK, now I am really confused.
I went to rpmfind (http://rpmfind.net/linux/RPM/fedora/updates/9/x86_64/dhclient-4.0.0-22.fc9.x86_64.html) to get the dhcp src rpm and downloaded it. It comes from ftp://download.fedora.redhat.com/pub/fedora/linux/updates/9/SRPMS.newkey/dhcp-4.0.0-22.fc9.src.rpm
When I ran rpm -qp on the downloaded rpm I get this:
$ rpm -qp dhcp-4.0.0-22.fc9.src.rpm
dhcp-4.0.0-22.fc9.ppc
ppc?!!? Is this the correct rpm?

No problem. Here "ppc" means the architecture where this srpm was
created. However srpm is arch-independent regardless of on what platform
the srpm were created.

I installed the rpm anyway
# rpm -iv dhcp-4.0.0-22.fc9.src.rpm

which created, amongst other things /usr/src/redhat/SOURCES/dhcp-4.0.0.tar.gz
I unpacked:
# gunzip -cd dhcp-4.0.0.tar.gz | tar xvf -
which created a /usr/src/redhat/SOURCES/dhcp-4.0.0 directory. I cd'd to the directory and ran
# ./configure

In that way you are not using the srpm you downloaded anymore. You are just unpacking the tarball (with no patched) and are compiling vanilla source by yourself.

Perhaps what you want to do is $ rpmbuild -bc dhcp.spec after
$ rpm -ivh dhcp-XXXXX.src.rpm . Please try
$ man rpmbuild
Regards,
Mamoru

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux