From owner-freebsd-ports@FreeBSD.ORG Fri May 16 14:51:20 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D0C8037B401; Fri, 16 May 2003 14:51:20 -0700 (PDT) Received: from plover.csun.edu (plover.csun.edu [130.166.1.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E25F43FAF; Fri, 16 May 2003 14:51:20 -0700 (PDT) (envelope-from albert.kinderman@csun.edu) Received: from puffin.csun.edu (puffin.csun.edu [130.166.1.21]) by plover.csun.edu (Mirapoint Messaging Server MOS 3.3.3-GR) with ESMTP id AHU12244; Fri, 16 May 2003 14:51:19 -0700 (PDT) Received: from csun.edu (s097n062.csun.edu [130.166.97.62]) by puffin.csun.edu (Mirapoint Messaging Server MOS 3.3.3-GR) with ESMTP id AQR69399 (AUTH vcmgt00b); Fri, 16 May 2003 14:51:16 -0700 (PDT) Date: Fri, 16 May 2003 14:51:15 -0700 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) To: Adam Weinberger From: Albert Kinderman In-Reply-To: <20030516191411.GB31083@vectors.cx> Message-Id: <84BDC28E-87E8-11D7-9D1D-000393983768@csun.edu> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.552) cc: ports@freebsd.org cc: Albert Kinderman Subject: Nevermind! WAS Re: xfce: missing dependency on xpm X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2003 21:51:21 -0000 Adam: Sorry for the false alarm; it's another case of pilot error. The machine was previously built as a 4.x machine by someone else. I took over and upgraded to 5.0 using cvsup, make (buildworld, buildkernel, installkernel, installworld) and portupgrade. I didn't want X on it, so I must have used pkg_delete on the X packages at some time. /var/pkg/db does not list any X packages (except imake); however, it appears from looking in /usr/X11R6 that XFree86 3.xx is still happily sitting there. Somehow, with whatever mixup created the situation, my machine does not know that XF3 is installed and assumes 4 for the version because I am running 5.0-current. (Hey, I didn't even know XF3 was installed!) When I went to build xfce, it found the xlibs from XF3, but not xpm. The reason I wanted to install xfce without X is that I installed vnc so I could use the vnc server on my FreeBSD box and and a vnc client on my MS Windows machine to run a desktop. I then decided to use xfce as the desktop (window manager) for vnc. So I went to the port and got this confusing result. Do you have any advice for how to clean up the XF3 that is there? Can I safely delete all over the place, or should I reinstall XF3 and then pkg_delete again? Sorry for the trouble, Al On Friday, May 16, 2003, at 12:14 PM, Adam Weinberger wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > >>> (05.16.2003 @ 1151 PST): Albert Kinderman said, in 1.8K: << >> Adam: >> >> Obviously xfce is dependent on xpm, or the configure would not have >> failed when looking for it. The question is why running make in >> /usr/ports/x11-wm/xfce did not automatically make and install xpm. I >> thought ports were supposed to install all the required dependencies. >> >> I do see that the Makefile includes >> USE_XPM=YES >> >> However, looking in bsd.port.mk, all the occurrences of >> >> .ifdefined {USE_XPM} >> >> appear within .if ${XFREE86_VERSION} ==3 >> >> Thus if you have XFree86 4.x, the USE_XPM statement appears never to >> be >> encountered. >> >> I should note that I do not have X installed, however, on a 5.0 system >> XFree86 4 is the assumed version in the bsd.port.mk >> >> Could this somehow be the problem? >>> end of "Re: xfce: missing dependency on xpm" from Albert Kinderman << > > libXpm is part of the base libraries for XF4. XF3 needed the separate > xpm port. This is why Xpm dependencies were rolled into USE_XPM. > > How is it that you compiled xfce at all without X installed? X > libraries > *must* be present for xfce compilation, of course. I'm probably > misunderstanding what you meant. > > The only way I can see this happening is if you installed the XF4 > libraries, installed the xpm port, and then removed the xpm port. Did > this happen? > > # Adam > > > - -- > Adam Weinberger > vectors.cx >> adam@vectors.cx > FreeBSD.org << adamw@FreeBSD.ORG > #vim:set ts=8: 8-char tabs prevent tooth decay. > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.2 (FreeBSD) > > iD8DBQE+xTiDo8KM2ULHQ/0RAl6rAJ96RqYxOahGKrfVkKusjI/+z/PoTgCfYi9K > RaHSF+Kv0lCx+PeHiLUnFRM= > =KIP+ > -----END PGP SIGNATURE----- > Albert Kinderman Systems and Operations Management California State University Northridge