-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 When building some RPM packages from a source-RPM, I sometimes get an error message "fg: no job control". It seems to be triggered by the use of RPM macros like %make. Does anyone know what it means and how to correct it? - -- Thibaut Cousin E-mail : cousin@in2p3.fr Web : http://clrwww.in2p3.fr -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE92gprv1vqsTa1E4oRAjkVAJ480PjFdLqFleJzh4Gm4jqenuD5twCfbPVB TNHLyQtsieq5ffIDt5C1ls0= =KKYu -----END PGP SIGNATURE-----
That's because "%make" doesn't exist. The macro you want is "%__make". You can run "rpm --eval %__random_command" to find out if it exists; if it evaluates to a path (e.g., /usr/bin/make), then it exists. The predefined macros are (mostly) in /usr/lib/rpm/macros and /usr/lib/rpm/suse_macros. You can, of course, write your own. The best place to put those is in /etc/rpm/macros. On Tuesday 19 November 2002 04:54, Thibaut Cousin wrote:
When building some RPM packages from a source-RPM, I sometimes get an error message "fg: no job control". It seems to be triggered by the use of RPM macros like %make. Does anyone know what it means and how to correct it?
--
Karol Pietrzak
* Karol Pietrzak;
The predefined macros are (mostly) in /usr/lib/rpm/macros and /usr/lib/rpm/suse_macros. You can, of course, write your own. The best place to put those is in /etc/rpm/macros.
IMHO the below is much better it will not be lost when you upgrade your SuSE to next version ie 8.2 $/.rpmmacros -- Togan Muftuoglu Unofficial SuSE FAQ Maintainer http://dinamizm.ath.cx
participants (3)
-
Karol Pietrzak
-
Thibaut Cousin
-
Togan Muftuoglu