Cannot install X software (solved)

Ali aliml at perror.de
Wed Oct 24 00:09:38 PDT 2007


Also sprach Ryan Schmidt <ryandesign at macports.org>:


>> I'm new to both MacOS and MacPorts, and I think I completely screwed up  
>> something. Perhaps someone can help me.
>>
>> Currently, I can install console apps, that is, "port install minicom"  
>> installed lots of libraries as well as minicom, without problems.
>>
>> When I try to install xaw3d (which I need for xemacs), I get:
>>
>> --->  Configuring Xaw3d
>> Error: Target org.macports.configure returned: xmkmf failure: shell  
>> command " cd "/opt/local/var/macports/build/ 
>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_X 
>> aw3d/work/xc/lib/Xaw3d" && xmkmf " returned error 1
>> Command output: mv -f Makefile Makefile.bak
>> imake -DUseInstalled -I/usr/X11R6/lib/X11/config
>> Imakefile.c:16: error: Imake.tmpl: No such file or directory
>> imake: Exit code 1.
>>   Stop.
>>
>> I do not have the mentioned directory "/usr/X11R6/lib/X11/config".
>>
>
> If you installed X11, MacPorts should not have installed XFree86. The  
> XFree86 port is designed to detect an existing Apple X11 installation  
> and issue warnings and abort.
>
> I do have /usr/X11R6/lib/X11/config on my system. It was provided by  
> Apple's X11 (or the X11SDK, I'm not sure).
>
> If you don't mind starting over, it would be clearest if you would  
> remove MacPorts and try again.
>
> http://trac.macosforge.org/projects/macports/wiki/ 
> FAQ#HowdoIremoveoruninstallMacPorts
>
> Since you now have the current version of Xcode, and X11User.pkg and  
> X11SDK.pkg, MacPorts should detect this and use this instead of trying  
> to build XFree86.


That solved it, thanks. I had to reinstall X11.app from my MacOS-DVD, and  
that recreated the missing directory. Then I removed MacPorts as described  
in the wiki, and now it works perfectly.




More information about the macports-users mailing list