Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 May 2003 14:51:15 -0700
From:      Albert Kinderman <albert.kinderman@csun.edu>
To:        Adam Weinberger <adamw@freebsd.org>
Cc:        Albert Kinderman <albert.kinderman@csun.edu>
Subject:   Nevermind! WAS Re: xfce: missing dependency on xpm
Message-ID:  <84BDC28E-87E8-11D7-9D1D-000393983768@csun.edu>
In-Reply-To: <20030516191411.GB31083@vectors.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?84BDC28E-87E8-11D7-9D1D-000393983768>