From owner-freebsd-questions@FreeBSD.ORG Sun Sep 12 02:09:47 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6AACB106564A for ; Sun, 12 Sep 2010 02:09:47 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 222FA8FC0A for ; Sun, 12 Sep 2010 02:09:46 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ouc0k-000627-Os for freebsd-questions@freebsd.org; Sun, 12 Sep 2010 04:09:42 +0200 Received: from pool-173-79-86-179.washdc.fios.verizon.net ([173.79.86.179]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 12 Sep 2010 04:09:42 +0200 Received: from nightrecon by pool-173-79-86-179.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 12 Sep 2010 04:09:42 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Sat, 11 Sep 2010 22:10:45 -0400 Lines: 37 Message-ID: References: <4C8BE43C.8050200@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-79-86-179.washdc.fios.verizon.net Subject: Re: gs-8-8.71 under 8.1-Release missing x11 devices X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Sep 2010 02:09:47 -0000 Jin Guojun[VFF] wrote: > gs 8-8.71 under FreeBSD 8.1-R seems missing x11 device. > When use ghostview, it complains "/unknown device x11" > > /By tracing around, I found it was caused by gs 8-8.71. As typing "gs > --help", it shows much less > devices supported than gs 8-8.62 under FreeSBD 6.4-R. > > By searching on the Internet, one message says that this could be > resulted by build config. > Is this true? or can gs be dynamically configured to use x11 device? Possibly, if the module was built at compile time when selected from the make config list. However, I suspect it is not needed and just in the way. There may be a .conf file somewhere where you could tell it not to load the X11 modules even though they may have been built. > Hopefully, users do not have to recompile ghostscript. When you run make config in the ghostscript port you should get a list with checkboxes to set build configuration. Unless there is some direct need you might consider clearing the X11 checkbox(es) and recompiling with make, then make deinstall, followed by make reinstall. If you want to completely clear the build config simply do make rmconfig and it will remove previously saved options. Then make should present you with the build config option screen with default options preselected. Doing make config allows to pull up the saved options for adjustment as needed. But the short answer is you probably need to rebuild the port without the X11 modules which are producing your errors and probably not needed anyway. -Mike