Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jul 2002 12:06:42 +0200
From:      thrawn@linux.nu
To:        parv <parv@pair.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: XFree86 ports problem when trying to build package
Message-ID:  <20020716120642.A16278@thrawn.birch.se>
In-Reply-To: <20020715201457.GA55699@moo.holy.cow>; from parv@pair.com on Mon, Jul 15, 2002 at 04:14:57PM -0400
References:  <20020715140725.A76325@thrawn.birch.se> <20020715201457.GA55699@moo.holy.cow>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Mon, Jul 15, 2002 at 04:14:57PM -0400, parv wrote:
> in message <20020715140725.A76325@thrawn.birch.se>,
> wrote thrawn@linux.nu thusly...
> >
> > I get this error when i try to build x11/XFree86-4 as an port:
> > 
> > thrawn/usr/ports/x11/XFree86-4# make package                             2:02PM
> ...
> > ===>  XFree86-4.2.0_1,1 is already installed - perhaps an older version?
> >       If so, you may wish to ``make deinstall'' and install
> >       this port again by ``make reinstall'' to upgrade it properly.
> >       If you really wish to overwrite the old port of XFree86-4.2.0_1,1
> >       without deleting it first, set the variable "FORCE_PKG_REGISTER"
>                                                      ^ ^ ^ ^ ^ ^ ^ ^ ^
> >       in your environment or the "make install" command line.
> > *** Error code 1
> > 
> > I have the port installed but how do I get rid of the complains
> > that it is all ready installed?  I just want to build it to a
> > package. Do I have to do something special if the port is all
> > ready installed?
> 
> note the bit about "FORCE_PKG_REGISTER".  it's used to force the
> installation on already installed port.
> 
> so, as th message says, either make it environment variable; in
> sh-like shelles, it's done via...
> 
> FORCE_PKG_REGISTER=yes
> export FORCE_PKG_REGISTER
> 
> ...or spcify it on the command line, like...
> 
> # make -DFORCE_PKG_REGISTER install

Aha silly me... :P it works but the package does get fubared somehow see below:

	cting for XFree86-4.2.0_1,1
>> No MD5 checksum file.
===>   XFree86-4.2.0_1,1 depends on shared library: Xft.1 - found
===>  Patching for XFree86-4.2.0_1,1
===>  Configuring for XFree86-4.2.0_1,1
===>  Installing for XFree86-4.2.0_1,1
===>   XFree86-4.2.0_1,1 depends on executable: xvinfo - found
===>   XFree86-4.2.0_1,1 depends on file: /usr/X11R6/lib/X11/doc/ddx.TXT - found
===>   XFree86-4.2.0_1,1 depends on file: /usr/X11R6/lib/X11/fonts/100dpi/UTBI__  
10-ISO8859-1.pcf.gz - found
===>   XFree86-4.2.0_1,1 depends on file: /usr/X11R6/lib/X11/fonts/75dpi/UTBI__1  
0-ISO8859-1.pcf.gz - found
===>   XFree86-4.2.0_1,1 depends on file: /usr/X11R6/lib/X11/fonts/cyrillic/crox  
1c.pcf.gz - found
===>   XFree86-4.2.0_1,1 depends on file: /usr/X11R6/lib/X11/fonts/misc/cursor.p  
cf.gz - found
===>   XFree86-4.2.0_1,1 depends on file: /usr/X11R6/lib/X11/fonts/PEX/Roman.pho  
nt - found
===>   XFree86-4.2.0_1,1 depends on file: /usr/X11R6/bin/xfs - found
===>   XFree86-4.2.0_1,1 depends on file: /usr/X11R6/bin/xf86cfg - found
===>   XFree86-4.2.0_1,1 depends on file: /usr/X11R6/bin/Xwrapper-4 - found
===>   Generating temporary packing list
===>   Registering installation for XFree86-4.2.0_1,1
===>  Building package for XFree86-4.2.0_1,1
Creating package /usr/ports/x11/XFree86-4/XFree86-4.2.0_1,1.tgz
Registering depends: XFree86-FontServer-4.2.0 XFree86-Server-4.2.0_4 XFree86-cli  
ents-4.2.0_2 XFree86-documents-4.2.0 XFree86-font100dpi-4.2.0 XFree86-font75dpi-  
4.2.0 XFree86-fontCyrillic-4.2.0 XFree86-fontDefaultBitmaps-4.2.0 XFree86-fontSc  
alable-4.2.0 XFree86-fontEncodings-4.2.0 XFree86-libraries-4.2.0_2 freetype2-2.1  
.2 wrapper-1.0_2 imake-4.2.0_1.
Creating gzip'd tar ball in '/usr/ports/x11/XFree86-4/XFree86-4.2.0_1,1.tgz'
wn/usr/ports/x11/XFree86-4# ls -l                                     12:04PM
total 14
-rw-r--r--  1 root  wheel  1433 Jul 15 10:23 Makefile
-rw-r--r--  1 root  wheel  2034 Jul 16 12:03 XFree86-4.2.0_1,1.tgz
-rw-r--r--  1 root  wheel    64 Jun  3 14:14 pkg-comment
-rw-r--r--  1 root  wheel   235 Dec 25  2000 pkg-descr
-rw-r--r--  1 root  wheel   584 Aug 31  2001 pkg-message
-rw-r--r--  1 root  wheel    52 Jun  3 14:14 pkg-plist
drwxr-xr-x  2 root  wheel   512 Jul 16 12:03 work
thrawn/usr/ports/x11/XFree86-4#

As you can see the package only takes 2034 bytes... the is something that is not corret here...

What can i be doing wrong?

Mvh Mattias Björk

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020716120642.A16278>