Re[2]: [newbie] How do you create a RPM files from Tarball sources

2002-04-18 Thread Roman Korcek

Hey John,

 Say, where does the newly created rpm file end up, after checkinstall.

To be honest, I don't know. I haven't yet tried it, just read the docs
after recommendation by others.
But I bet it's configurable. ;-)

Roman




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: Re[2]: [newbie] How do you create a RPM files from Tarball sources

2002-04-18 Thread Derek Jennings

On Thursday 18 April 2002 11:33 am, Roman Korcek wrote:
 Hey John,

  Say, where does the newly created rpm file end up, after checkinstall.

 To be honest, I don't know. I haven't yet tried it, just read the docs
 after recommendation by others.
 But I bet it's configurable. ;-)

 Roman

The completed RPMs arrive in /usr/src/RPM/RPMS/i586   (or i366,i686 etc)

derek



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] How do you create a RPM files from Tarball sources

2002-04-18 Thread Tim Holmes

# rpm -ta gtk-gnutella-0.80.tar.gz
SNIP
Wrote: /usr/src/RPM/SRPMS/gtk-gnutella-0.80-1.src.rpm
Wrote: /usr/src/RPM/RPMS/i686/gtk-gnutella-0.80-1.i686.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.84635
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd gtk-gnutella-0.80
+ rm -rf /var/tmp/gtk-gnutella-root
+ exit 0

That's another way of doing it.  So now you could check out the RPM
that's stored at /usr/src/RPM/RPMS/i686/gtk-gnutella-0.80-1.i686.rpm, or
/usr/src/RPM/SRPMS/gtk-gnutella-0.80-1.src.rpm.

Hope that's what you're looking for.
tdh

--
 
 T. Holmes  |  UNIXTECHS.org  |  [EMAIL PROTECTED]  |  UIN:  17021091
 
| Can you help me.
| I need to learn how to create rpm files from tar files.
| I want to experiment with alsa-driver-0.9.0beta9.tar.bz2
| 
| SNIP
| 
| This oneseems to like my system, but it would seem I also
| need  version h  first , what ever that is. 
| 
| I have compiled and installed tar balls before, I downloaded and installed a 
| scanner driver for my mustek scanner, with some supervision,meaning with
| someone to ask, if need be,which works, and I have done a number of simpler 
| things on my own.
| 
| SO HOW DO I GO ABOUT IT.
| and what is version.h
| I feel that it falls into two parts, preperation and action.
| For instance do I have all necessary software installed to create
| rpm's from tar balls, and if not what do I need to do.
| 
| Thank you,
| 
| John
| 
| -- 
| John Richard Smith
| [EMAIL PROTECTED]
| 
| Want to buy your Pack or Services from MandrakeSoft? 
| Go to http://www.mandrakestore.com

`--- 



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] How do you create a RPM files from Tarball sources

2002-04-16 Thread John Richard Smith

Can you help me.
I need to learn how to create rpm files from tar files.
I want to experiment with alsa-driver-0.9.0beta9.tar.bz2

[root@localhost root]# cd /root/Desktop/alsa-driver-0.9.0beta9
[root@localhost alsa-driver-0.9.0beta9]# ./configure
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ranlib... ranlib
checking for a BSD compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for linux/fs.h... yes
checking for working const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /root/Desktop/alsa-driver-0.9.0beta9
checking for directory with kernel source... /usr/src/linux
checking for kernel version... expr: syntax error
expr: syntax error
expr: syntax error
failed (probably missing /usr/src/linux/include/linux/version.h)
[root@localhost alsa-driver-0.9.0beta9]#

This oneseems to like my system, but it would seem I also
need  version h  first , what ever that is. 

I have compiled and installed tar balls before, I downloaded and installed a 
scanner driver for my mustek scanner, with some supervision,meaning with
someone to ask, if need be,which works, and I have done a number of simpler 
things on my own.

SO HOW DO I GO ABOUT IT.
and what is version.h
I feel that it falls into two parts, preperation and action.
For instance do I have all necessary software installed to create
rpm's from tar balls, and if not what do I need to do.

Thank you,

John

-- 
John Richard Smith
[EMAIL PROTECTED]



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] How do you create a RPM files from Tarball sources

2002-04-16 Thread Roman Korcek

Hi,

 I need to learn how to create rpm files from tar files.
 I feel that it falls into two parts, preperation and action.

That would probably be best done with checkinstall
http://asic-linux.com.mx/~izto/checkinstall/
which is a tool that you run instead of make install. Of course, you
must run ./configure and make beforehand.

 I want to experiment with alsa-driver-0.9.0beta9.tar.bz2
snip
 checking for directory with kernel source... /usr/src/linux
 checking for kernel version... expr: syntax error
 expr: syntax error
 expr: syntax error
 failed (probably missing /usr/src/linux/include/linux/version.h)
 [root@localhost alsa-driver-0.9.0beta9]#

 This oneseems to like my system, but it would seem I also
 need  version h  first , what ever that is. 

I am geting the same error with 0.9.0beta12. :-(

HTH
Roman




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] How do you create a RPM files from Tarball sources

2002-04-16 Thread John Richard Smith

Thanks Roman,

Say, where does the newly created rpm file end up, after checkinstall.
John

On Tuesday 16 April 2002 12:35, you wrote:
 Hi,

  I need to learn how to create rpm files from tar files.
  I feel that it falls into two parts, preperation and action.

 That would probably be best done with checkinstall
 http://asic-linux.com.mx/~izto/checkinstall/
 which is a tool that you run instead of make install. Of course, you
 must run ./configure and make beforehand.

  I want to experiment with alsa-driver-0.9.0beta9.tar.bz2

 snip

  checking for directory with kernel source... /usr/src/linux
  checking for kernel version... expr: syntax error
  expr: syntax error
  expr: syntax error
  failed (probably missing /usr/src/linux/include/linux/version.h)
  [root@localhost alsa-driver-0.9.0beta9]#
 
  This oneseems to like my system, but it would seem I also
  need  version h  first , what ever that is.

 I am geting the same error with 0.9.0beta12. :-(

 HTH
 Roman

-- 
John Richard Smith
[EMAIL PROTECTED]



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com