Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
[parent not found: <32CDF6C1.3C09@mail.sihame.com>]
* Re: newbie with rpm question
@ 1997-01-05 23:09 Matthew X Economou
  0 siblings, 0 replies; 7+ messages in thread
From: Matthew X Economou @ 1997-01-05 23:09 UTC (permalink / raw)


Howie,

To build an application from the RPM, I do the following:

rpm -i <pkg.src.rpm>

	unpacks the src.rpm under /usr/src/redhat/, sources and
	patches go in /usr/src/redhat/SOURCES and .spec files go in
	/usr/src/redhat/SPECS

rpm -bb /usr/src/redhat/SPECS/pkg.spec

	builds the package and puts a axp.rpm under
	/usr/src/redhat/RPMS/axp/ (on my machine)

rpm -i /usr/src/redhat/RPMS/axp/pkg.axp.rpm

	installs the package; yay!

There's probably easier ways to do the same stuff, but this works well
for me.

-- 
Matthew X. Economou - Finger/WWW for public key. - Geek of Computer Science(!)
econommx@rose-hulman.edu - http://www.rose-hulman.edu/~econommx - Random quote:
"Face it Harl, you're a certified nutzo wanted by the law in two dozen states
and hopelessly in love with a murderous psychotic clown." --Harlequin, Mad Love

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: newbie with rpm question
@ 1997-01-04 13:19 Howie Schneider
  0 siblings, 0 replies; 7+ messages in thread
From: Howie Schneider @ 1997-01-04 13:19 UTC (permalink / raw)


>On Sat, 4 Jan 1997, Howie Schneider wrote:
>
>> It then automatically unpacks and places it self in usr/src.  Is this 
>> right?  I tried this with mosaic and it doesnt seem to go or do anything 
>> when I type that.  I have the feeling I am missing something here.
>You have to do it as root. Did you

Yup!

Howie Schneider
The Brooklyn Web Site
howie@brooklynny.com
http://Brooklynny.com

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: newbie with rpm question
@ 1997-01-04 11:35 John Duksta
  0 siblings, 0 replies; 7+ messages in thread
From: John Duksta @ 1997-01-04 11:35 UTC (permalink / raw)


At 06:20 am 1/4/97 +0000, you wrote:
>Hello all:
>
>Just bought an alpha and I have a quick question bout src.rpm files.  If
>I download a src.rpm file and type rpm -i filname, what does it do and
>where is either the source files that I can compile or a binary that I
>can execute?  There is also a good chance that I am going about this
>wrong.  If so, what the heck to do I do with these src.rpm files?  Thnx
>fer any all help.

The src.rpm files usually get installed in the /usr/src/ directory
structure. Generally these should build w/o a hitch (if they are from
the RH dist that you installed from.)

All the src.rpm's that come with the RH dist are also there as binary
(xxxxx.rpm) rpm's.  So unless there is something specific that you
need to change or customize, you really won't need to install them.
The only exception to this is the kernel source, which you will
probably want to rebuilt to support the options you want to run on
your alpha.

-John

--
=======================================================================
John C.C. Duksta                    Email: <mailto:john_duksta@ins.com>
Network Systems Engineer
International Network Services (INS)               Phone:  617/376-2450
300 Crown Colony Drive, Fifth Floor                  Fax:  617/376-2458
Quincy, MA  02169                                  Pager: 800/INS-1-INS
=======================================================================

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: newbie with rpm question
@ 1997-01-04 10:59 Howie Schneider
  0 siblings, 0 replies; 7+ messages in thread
From: Howie Schneider @ 1997-01-04 10:59 UTC (permalink / raw)


>>Hello all:
>>
>>Just bought an alpha and I have a quick question bout src.rpm files.  If
>>I download a src.rpm file and type rpm -i filname, what does it do and
>>where is either the source files that I can compile or a binary that I
>>can execute?  There is also a good chance that I am going about this
>>wrong.  If so, what the heck to do I do with these src.rpm files?  Thnx
>>fer any all help.
>
>The src.rpm files usually get installed in the /usr/src/ directory
>structure. Generally these should build w/o a hitch (if they are from
>the RH dist that you installed from.)
>
>All the src.rpm's that come with the RH dist are also there as binary
>(xxxxx.rpm) rpm's.  So unless there is something specific that you
>need to change or customize, you really won't need to install them.
>The only exception to this is the kernel source, which you will
>probably want to rebuilt to support the options you want to run on
>your alpha.
>
>-John

Thanks a lot for help John!

Ok..Lemme get this straight like the idiot I am.  I am trying to install 
the mosaic that is in the un-free dir.  I type rpm -i filename.src.rpm.  
It then automatically unpacks and places it self in usr/src.  Is this 
right?  I tried this with mosaic and it doesnt seem to go or do anything 
when I type that.  I have the feeling I am missing something here.

Howie

Howie Schneider
The Brooklyn Web Site
howie@brooklynny.com
http://Brooklynny.com

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 7+ messages in thread
* newbie with rpm question
@ 1997-01-04  6:20 Howie Schneider
  0 siblings, 0 replies; 7+ messages in thread
From: Howie Schneider @ 1997-01-04  6:20 UTC (permalink / raw)


Hello all:

Just bought an alpha and I have a quick question bout src.rpm files.  If
I download a src.rpm file and type rpm -i filname, what does it do and
where is either the source files that I can compile or a binary that I
can execute?  There is also a good chance that I am going about this
wrong.  If so, what the heck to do I do with these src.rpm files?  Thnx
fer any all help.

Howie Schneider
howie@brooklynny.com

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1997-01-06 15:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1359746924-4122143@sihame.com>
1997-01-04 17:23 ` newbie with rpm question Fritz Ganter
     [not found] <32CDF6C1.3C09@mail.sihame.com>
1997-01-06 15:33 ` Gerald Anderson
1997-01-05 23:09 Matthew X Economou
  -- strict thread matches above, loose matches on Subject: below --
1997-01-04 13:19 Howie Schneider
1997-01-04 11:35 John Duksta
1997-01-04 10:59 Howie Schneider
1997-01-04  6:20 Howie Schneider

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox