From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7) Gecko/20011227 Description of problem: The tetex-1.0.7-38.2.src.rpm will not build on a system which does not have graphical interface installed. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.rpm --rebuild tetex-1.0.7-38.2.src.rpm 2. 3. Actual Results: # rpm --rebuild tetex-1.0.7-38.2.src.rpm error: failed build dependencies: XFree86-devel is needed by tetex-1.0.7-38.2 VFlib2-devel is needed by tetex-1.0.7-38.2 Xaw3d-devel is needed by tetex-1.0.7-38.2 Expected Results: Should build binary RPMS packages. Additional info: On the installation of RHL v7.2 I opted for Everything, then manually removed all XFree86-*, kde* and gnome* packages. (I wanted an installation with all features, but have no need for any graphical user interface.) The packages finally installed are the result of the RedHat installer resolving dependencies. Thus the tetex-* packages were judged not to require graphics, the the build of the SRPMS does require them.
Tetex contains things like xdvi, which require X libs to be present. Note that it's the -devel packages that are required, the libraries and headers and so on. A development machine needs development packages.