Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Aug 2002 01:31:41 -0400
From:      "Dan Langille" <dan@langille.org>
To:        ports@freebsd.org
Cc:        anholt@freebsd.org, dan@langille.org
Subject:   x11/XFree86-4-clients make fails - addenda
Message-ID:  <3D62ED7D.8260.62E5F696@localhost>

next in thread | raw e-mail | index | archive | help
NOTE: A recent commit addresses freetype2, but my problem not not 
appear to have been a dependency issue.  Rather, a file was missing 
from disk.

FWIW: I just tried to install x11/XFree86-4-clients.  It appears 
freetype is missing.

I have more information.  Sorry for the premature post.

The problem appears to be a missing freetype/freetype.h.  On another 
box which has XFree86-4-clients installed, I find this:

$ locate freetype/freetype.h
/usr/local/include/freetype2/freetype/freetype.h

This file does not appear on the system with the problem despite what 
the pkg db reports:

# grep -ri freetype/freetype.h /var/db/pkg/
/var/db/pkg/freetype2-
2.1.2/+CONTENTS:include/freetype2/freetype/freetype.h

# ls /usr/local/include/freetype/freetype.h
ls: /usr/local/include/freetype/freetype.h: No such file or directory

Doing a "/usr/local/sbin/portupgrade -f freetype2" added the above 
file.

Doing another make install of x11/XFree86-4-clients resulted in 
success.

LD_LIBRARY_PATH=../../exports/lib cc -c -O -pipe    -ansi -pedantic -
Dasm=__asm -Wall -Wpointer-arith   -I/usr/local/include/freety
pe2 -I/usr/local/include  -I../.. -I../../exports/include   -
DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS  -D_REENTRANT -
D_
THREAD_SAFE -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI    -
DXFT_DEFAULT_PATH=\"/usr/X11R6/lib/X11/XftConfig\" -DFREETYPE2     -
ansi -ped
antic -Dasm=__asm -Wall -Wpointer-arith  -
I/usr/local/include/freetype2 -I/usr/local/include  -I../.. -
I../../exports/include   -DC
SRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS  -D_REENTRANT -
D_THREAD_SAFE -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI    -DXFT_DEFA
ULT_PATH=\"/usr/X11R6/lib/X11/XftConfig\" -DFREETYPE2      -fPIC 
xftcfg.c
In file included from xftint.h:30,
                 from xftcfg.c:28:
XftFreetype.h:29: freetype/freetype.h: No such file or directory
In file included from xftint.h:30,
                 from xftcfg.c:28:
XftFreetype.h:34: syntax error before `_XftFTlibrary'
XftFreetype.h:34: warning: type defaults to `int' in declaration of 
`_XftFTlibrary'
XftFreetype.h:34: ANSI C forbids data definition with no type or 
storage class
XftFreetype.h:37: syntax error before `FT_Face'
XftFreetype.h:41: syntax error before `FT_F26Dot6'
XftFreetype.h:54: syntax error before `FT_Matrix'
XftFreetype.h:71: syntax error before `face'
*** Error code 1

Stop in /usr/ports/x11/XFree86-4-clients/work/xc/lib/Xft.
*** Error code 1

Stop in /usr/ports/x11/XFree86-4-clients/work/xc/lib.
*** Error code 1

Stop in /usr/ports/x11/XFree86-4-clients/work/xc.
*** Error code 1

Stop in /usr/ports/x11/XFree86-4-clients/work/xc.
*** Error code 1

Stop in /usr/ports/x11/XFree86-4-clients.


-- 
Dan Langille
I'm looking for a computer job:
http://www.freebsddiary.org/dan_langille.php


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D62ED7D.8260.62E5F696>