Unable to compile print/freetype2
Cristian KLEIN
cristi at net.utcluj.ro
Tue May 29 06:13:19 UTC 2007
Hello everybody,
Sorry if I haven't RTFM enough. If you are able to help, please CC me,
because I am not on the list.
In one of my jails, I have print/freetype2 (freetype2-2.2.1_1) which is
vulnerable, so I wanted to upgrade it to the newest version. Every time
I try to compile it I get the following error:
--- cut here ---
root at mail:/usr/ports/print/freetype2# make
===> Building for freetype2-2.2.1_2
cc -I./objs -I./builds/ansi -I./include -O -pipe -march=pentium4
-DTT_CONFIG_OPTION_BYTECODE_INTERPRETER -DFT2_BUILD_LIBRARY
-DFT_CONFIG_MODULES_H="<ftmodule.h>" -o objs/ftsystem.o src/base/ftsystem.c
In file included from ./include/freetype/config/ftconfig.h:43,
from src/base/ftsystem.c:29:
./include/freetype/config/ftoption.h:439:1: warning:
"TT_CONFIG_OPTION_BYTECODE_INTERPRETER" redefined
<command line>:2:1: warning: this is the location of the previous definition
/usr/lib/crt1.o(.text+0x82): In function `_start':
: undefined reference to `main'
gmake: *** [objs/ftsystem.o] Error 1
*** Error code 2
Stop in /usr/ports/print/freetype2.
--- and here ---
My ports collection is up-to-date, I have also tried to upgrade the
ports it depends on, "make clean" etc. with no success.
Other info:
--- cut here ---
root at mail:/usr/ports/print/freetype2# uname -a
FreeBSD mail.xxx.xxx 6.2-RELEASE-p3 FreeBSD 6.2-RELEASE-p3 #5: Fri Apr
27 20:01:20 EEST 2007
cristi at xxx.xxx.xxx:/usr/obj/usr/src/sys/xxx-SMP i386
root at mail:/usr/ports/print/freetype2# cat /etc/make.conf
#
# General MAKE variables
#
CPUTYPE?=pentium4
CFLAGS= -O -pipe
MAKE_SHELL?=sh
COPTFLAGS= -O -pipe
# No X11
WITHOUT_X11=duh
# For PERL
ENABLE_SUIDPERL=yes
# added by use.perl 2007-04-25 13:34:04
PERL_VER=5.8.8
PERL_VERSION=5.8.8
--- and here ---
Thanks.
More information about the freebsd-ports
mailing list