From: Stanislav B. <sb...@su...> - 2003-02-20 14:47:27
|
On Čt, 2003-02-20 at 15:30, Bruce Allen wrote: > Could you advise a SuSE 7.x user? > > On Thu, 20 Feb 2003, Drew J. Como wrote: > > > Bruce, > > > > I noticed that the SuSE RPM's are for version 8.x and above. > > I am still running version 7.x on many of my systems. I rebuilt > > the RPM, which builds just fine, however, it doesn't install > > properly. > > > > The error that appears once the RPM is installed is: > > > > var/tmp/rpm-tmp.22486: fg: no job control > > execution of smartmontools-5.1.4-0 script failed, exit status 1 > > The reason is simple: SuSE 7.x does not have %fillup_and_insserv RPM macros. You can remove %post and %postun sections from spec file and build for SuSE 7.x. After installation you need to create /etc/init.d/rc?.d/ links (this is purpose of %fillup_and_insserv macros in SuSE 8.x). -- Best Regards / S pozdravem, Stanislav Brabec pracovník vývoje softwaru / software developer --------------------------------------------------------------------- SuSE CR, s. r. o. e-mail: sb...@su... Drahobejlova 27 tel: +420 296 542 382 190 00 Praha 9 fax: +420 296 542 374 Czech Republic http://www.suse.cz/ |
From: Drew J. C. <dc...@ba...> - 2003-02-20 15:28:21
|
Stanislav, I will give this a try! Thanks for all of your help!! --Drew -----Original Message----- From: Stanislav Brabec [mailto:sb...@su...] Sent: Thursday, February 20, 2003 9:47 AM To: Bruce Allen Cc: Drew J. Como; sma...@li... Subject: RE: [Smartmontools-support] SmartMonTools and SuSE 7.x On =C8t, 2003-02-20 at 15:30, Bruce Allen wrote: > Could you advise a SuSE 7.x user? > > On Thu, 20 Feb 2003, Drew J. Como wrote: > > > Bruce, > > > > I noticed that the SuSE RPM's are for version 8.x and above. > > I am still running version 7.x on many of my systems. I rebuilt > > the RPM, which builds just fine, however, it doesn't install > > properly. > > > > The error that appears once the RPM is installed is: > > > > var/tmp/rpm-tmp.22486: fg: no job control > > execution of smartmontools-5.1.4-0 script failed, exit status 1 > > The reason is simple: SuSE 7.x does not have %fillup_and_insserv RPM macros. You can remove %post and %postun sections from spec file and build for SuSE 7.x. After installation you need to create /etc/init.d/rc?.d/ links (this is purpose of %fillup_and_insserv macros in SuSE 8.x). -- Best Regards / S pozdravem, Stanislav Brabec pracovn=EDk v=FDvoje softwaru / software developer --------------------------------------------------------------------- SuSE CR, s. r. o. e-mail: sb...@su... Drahobejlova 27 tel: +420 296 542 382 190 00 Praha 9 fax: +420 296 542 374 Czech Republic http://www.suse.cz/ |