er - I don't mean to sound gormless but what do I do with an src.rpm? And don't say rtbm - I did that and can't find ANY refs to it. And while I'm here - While I'm starting the install Samba 2.0.7 from the tar.gz - './configure' tells me I've not got gcc or cc in me $PATH. gcc in in /usr/lib - and that IS in the $PATH and I can't find cc - these libraries are a source of consternation where I'm concerned. Have I got it or not? I dunno. I've got 2.0.7 in tar.gz, src.rpm and rpm format. Just to be on the safe side. The rpm is just for RedHat 6.2 though. RedHat 6.1 if it helps - can't find cc on the CD - is it libc or should I be looking for something else? It's doing my head in this Samba thing. Windows 2000 - pah! Who needs it? We've managed without it so far! I've spent ages looking through docs and www sites, and I'm supposed to upgrade the server tonight! Can anyone assist a desperate and frustrated bloke? Thanks. Matt Unless otherwise agreed expressly in writing by Fesa UK Limited, this communication should be treated as confidential and the information contained therein may not be used or disclosed except for the purpose for which it was sent. If you are not the intended recipient of this communication please contact the sender immediately. WARNING: Computer viruses can be transmitted by e-mail. The recipient should check this e-mail and any attachments for the presence of viruses. Fesa UK Limited accepts no liability for any damage caused by any virus transmitted by this e-mail. This e-mail and and attachments may not be copied and forwarded without the written consent of Fesa UK Limited . In the event of copying or forwarding, the recipient will be required to idemnify Fesa UK Limited against any claim for loss or damage caused by any virus or otherwise.
On Wed, 20 Sep 2000, Matthew Halliday wrote:> er - I don't mean to sound gormless but what do I do with an src.rpm? > And don't say rtbm - I did that and can't find ANY refs to it.Why ask this here, I'm sure redhat has mailinglists where people talk about nothing else than how to install rpms. % rpm -i foo-1.src.rpm % cd /usr/src/redhat/SPECS % rpm -bb foo.spec (foo.spec will list a tar.gz and possibly some patches, those can be found in ../SOURCES.) % cd ../RPMS/i386 % rpm -i foo-1.i386.rpm Or, you can do something like % rpm --rebuild foo-1.src.rpm which should put the binary rpm in the same place as above I think. man rpm ?> And while I'm here - While I'm starting the install Samba 2.0.7 from the > tar.gz - './configure' tells me I've not got gcc or cc in me $PATH. gcc > in in /usr/lib - and that IS in the $PATH and I can't find cc - theseIs it in the path of the configure script? (/bin/sh probably) Why is gcc in /usr/lib? It should be in /usr/bin. gcc-lib should be in /usr/lib but that is not what configure is looking for. If you look at config.log it will contain more info on the command configure tried to run and what the error message is.> RedHat 6.1 if it helps - can't find cc on the CD - is it libc or shouldcc is gcc. Did you install the compiler package? % rpm -qa | grep egcs % rpm -qa | grep gcc (gcc-2.x.y or probably egcs-1.1.2 for RH 6.1) /Urban