Tom wrote:
Greg Meyer wrote:

On Saturday 19 March 2005 10:05 am, Tom wrote:

James Henry Maiewski wrote:

Hello,

    I downloaded kdeutils-3.2.3-28.3.101mdk.src.rpm to see what I could
see, but when I try to install it, it says "everything already
installed."  If these are supposed to go in /usr(/local)/src they are
empty.  How is the installation of .src.rpm files supposed to work?

With an advance of thanks,
    James Henry Maiewski


    src.rpm's are not to be installed (tho they can be).  You can
compile the rpms contained in the src.rpm by doin (as root)

   'rpm --rebuild kdeutils-3.2.3-28.3.101mdk.src.rpm'


Not to be too picky, but technically, rpm is deprecated and rpmbuild --rebuild is preferred because it has been split into separate packages.



hmmm... tell me more.

# rpm --rebuild mplayer-fonts-1.0-10mdk.src.rpm
  ... <snip> ...
Wrote: /usr/src/RPM/RPMS/noarch/mplayer-fonts-1.0-10mdk.noarch.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.1910
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd mplayer-fonts-1.0
+ rm -rf /var/tmp/mplayer-fonts-buildroot
+ exit 0
Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.1910
+ umask 022
+ cd /usr/src/RPM/BUILD
+ rm -rf mplayer-fonts-1.0
+ exit 0

# rpm -Uvh /usr/src/RPM/RPMS/noarch/mplayer-fonts-1.0-10mdk.noarch.rpm
Preparing... ########################################### [100%]
   1:mplayer-fonts ########################################### [100%]

 Are you sugesting I should'a used 'rpmbuild --rebuild mpla<Tab>' ?

  FWIW, the system is as current as can be (cooker 10.2)
2.6.11-2mdkK74 preempt K7 gcc-3.4  (rpm-build-4.2.3-9mdk)

From the rpm man page:
LEGACY ISSUES
Executing rpmbuild
The build modes of rpm are now resident in the /usr/bin/rpmbuild


       executable. Although legacy compatibility provided by the popt
       aliases below has been adequate, the compatibility is not
       perfect; hence build mode compatibility through popt aliases is
       being removed from rpm.
       Install the rpmbuild package, and see rpmbuild(8) for
       documentation  of all the rpm build modes previously documented
       here in rpm(8).

       Add  the  following lines to /etc/popt if you wish to continue
       invoking rpmbuild from the rpm command line:

It then goes into a table that you can read for your self if you are interested.

Mikkel
--

  Do not meddle in the affairs of dragons,
for you are crunchy and taste good with Ketchup!

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to