successfully build fontconfig on hpux 11.00

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I tried to compile fontconf from the fcpackage.2_1 package on
hpux 11.00, a system w/o XFree86.

I made the following changes, that fontconfig can build
on this platform:


my buildscript:

#!/bin/csh -f
#
gmake clean
setenv CC gcc
setenv LDFLAGS "-L/usr/local/lib"
setenv CPPFLAGS "-I/usr/local/include/freetype2"
#
./configure
gmake
gmake install

changes in fcpackage.2_1/fontconfig/config/Makedefs.in:

#LIBBASE=3Dlibfontconfig.so
to
LIBBASE=3Dlibfontconfig.sl

changes in fcpackage.2_1/fontconfig/configure:

#DSO_LDOPTS=3D'-shared -Wl,-h,`echo $@ | sed =
'"'s/\.so\.\([0-9][0-9]*\).*/.so.\1/'"'`'
to
DSO_LDOPTS=3D'-shared -Wl,-h,`echo $@ | sed =
'"'s/\.sl\.\([0-9][0-9]*\).*/.sl.\1/'"'`'


this is the configure and compile output:

mzfem_root:/users/mgansser/GNU/fcpackage.2_1/fontconfig:

loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  -L/usr/local/lib) works... yes
checking whether the C compiler (gcc  -L/usr/local/lib) is a =
cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for a BSD compatible install... (cached) /usr/local/bin/install =
-c
checking whether ln -s works... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for X... (cached) libraries , headers /usr/include/X11R6
checking for dirent.h that defines DIR... (cached) yes
checking for opendir in -ldir... (cached) no
checking for ANSI C header files... (cached) yes
checking for fcntl.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for working const... (cached) yes
checking for pid_t... (cached) yes
checking for vprintf... (cached) yes
checking for memmove... (cached) yes
checking for memset... (cached) yes
checking for strchr... (cached) yes
checking for strrchr... (cached) yes
checking for strtol... (cached) yes
checking for getopt... (cached) yes
checking for getopt_long... (cached) no
checking for freetype-config... (cached) freetype-config
checking for freetype2/freetype.h... (cached) no
checking for expat.h... (cached) yes
checking for XML_ParserCreate... (cached) yes
creating ./config.status
creating Makefile
creating config/Makedefs
creating src/Makefile
creating fc-cache/Makefile
creating fc-list/Makefile
creating fontconfig/Makefile
creating fontconfig.pc
creating fontconfig-config
creating config.h
config.h is unchanged
for d in src fc-cache fc-list fontconfig; do (cd $d && gmake all); done
gmake[1]: Entering directory =
`/users/mgansser/GNU/fcpackage.2_1/fontconfig/src'
gcc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=3D\"/etc/fonts\" -I.. -I. =
-I/usr/local/include/freetype2
 -fPIC -DPIC -c fcatomic.c -o fcatomic.o
gcc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=3D\"/etc/fonts\" -I.. -I. =
-I/usr/local/include/freetype2
 -fPIC -DPIC -c fcblanks.c -o fcblanks.o
gcc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=3D\"/etc/fonts\" -I.. -I. =
-I/usr/local/include/freetype2
 -fPIC -DPIC -c fccache.c -o fccache.o
gcc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=3D\"/etc/fonts\" -I.. -I. =
-I/usr/local/include/freetype2
 -fPIC -DPIC -c fccfg.c -o fccfg.o
gcc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=3D\"/etc/fonts\" -I.. -I. =
-I/usr/local/include/freetype2
 -fPIC -DPIC -c fccharset.c -o fccharset.o
gcc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=3D\"/etc/fonts\" -I.. -I. =
-I/usr/local/include/freetype2
 -fPIC -DPIC -c fcdbg.c -o fcdbg.o
gcc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=3D\"/etc/fonts\" -I.. -I. =
-I/usr/local/include/freetype2
 -fPIC -DPIC -c fcdefault.c -o fcdefault.o
gcc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=3D\"/etc/fonts\" -I.. -I. =
-I/usr/local/include/freetype2
 -fPIC -DPIC -c fcdir.c -o fcdir.o
gcc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=3D\"/etc/fonts\" -I.. -I. =
-I/usr/local/include/freetype2
 -fPIC -DPIC -c fcfreetype.c -o fcfreetype.o
gcc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=3D\"/etc/fonts\" -I.. -I. =
-I/usr/local/include/freetype2
 -fPIC -DPIC -c fcfs.c -o fcfs.o
gcc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=3D\"/etc/fonts\" -I.. -I. =
-I/usr/local/include/freetype2
 -fPIC -DPIC -c fcinit.c -o fcinit.o
gcc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=3D\"/etc/fonts\" -I.. -I. =
-I/usr/local/include/freetype2
 -fPIC -DPIC -c fclang.c -o fclang.o
gcc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=3D\"/etc/fonts\" -I.. -I. =
-I/usr/local/include/freetype2
 -fPIC -DPIC -c fclist.c -o fclist.o
gcc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=3D\"/etc/fonts\" -I.. -I. =
-I/usr/local/include/freetype2
 -fPIC -DPIC -c fcmatch.c -o fcmatch.o
gcc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=3D\"/etc/fonts\" -I.. -I. =
-I/usr/local/include/freetype2
 -fPIC -DPIC -c fcmatrix.c -o fcmatrix.o
gcc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=3D\"/etc/fonts\" -I.. -I. =
-I/usr/local/include/freetype2
 -fPIC -DPIC -c fcname.c -o fcname.o
gcc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=3D\"/etc/fonts\" -I.. -I. =
-I/usr/local/include/freetype2
 -fPIC -DPIC -c fcpat.c -o fcpat.o
gcc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=3D\"/etc/fonts\" -I.. -I. =
-I/usr/local/include/freetype2
 -fPIC -DPIC -c fcstr.c -o fcstr.o
gcc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=3D\"/etc/fonts\" -I.. -I. =
-I/usr/local/include/freetype2
 -fPIC -DPIC -c fcxml.c -o fcxml.o
rm -f libfontconfig.sl.1.0
gcc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=3D\"/etc/fonts\" -I.. -I. =
-I/usr/local/include/freetype2
 -fPIC -DPIC -shared -Wl,-h,`echo libfontconfig.sl.1.0 | sed =
's/\.sl\.\([0-9][0-9]*\).*/.sl.\1/'` -o
 libfontconfig.sl.1.0 fcatomic.o fcblanks.o fccache.o fccfg.o =
fccharset.o fcdbg.o fcdefault.o fcdir.
o fcfreetype.o fcfs.o fcinit.o fclang.o fclist.o fcmatch.o fcmatrix.o =
fcname.o fcpat.o fcstr.o fcxml
.o -lexpat
/usr/ccs/bin/ld: (Warning) Can't hide symbol "libfontconfig.sl.1"
/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2/../../../../hppa2.0n-hp-=
hpux11.00/bin/nm: /usr/loca
l/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2/../../../libexpat.sl: no symbols
/usr/ccs/bin/ld: (Warning) Can't hide symbol "libfontconfig.sl.1"
rm -f  libfontconfig.sl.1
ln -s libfontconfig.sl.1.0 libfontconfig.sl.1
rm -f libfontconfig.sl
ln -s libfontconfig.sl.1 libfontconfig.sl
gmake[1]: Leaving directory =
`/users/mgansser/GNU/fcpackage.2_1/fontconfig/src'
gmake[1]: Entering directory =
`/users/mgansser/GNU/fcpackage.2_1/fontconfig/fc-cache'
gcc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=3D\"/etc/fonts\" -I.. -I. =
-I/usr/local/include/freetype2
 -I/usr/local/include/freetype2  -c -o fc-cache.o fc-cache.c
gcc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=3D\"/etc/fonts\" -I.. -I. =
-I/usr/local/include/freetype2
 -o fc-cache fc-cache.o -L../src -lfontconfig
gmake[1]: Leaving directory =
`/users/mgansser/GNU/fcpackage.2_1/fontconfig/fc-cache'
gmake[1]: Entering directory =
`/users/mgansser/GNU/fcpackage.2_1/fontconfig/fc-list'
gcc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=3D\"/etc/fonts\" -I.. -I. =
-I/usr/local/include/freetype2
 -I/usr/local/include/freetype2  -c -o fc-list.o fc-list.c
gcc -g -O2 -DHAVE_CONFIG_H -DFONTCONFIG_PATH=3D\"/etc/fonts\" -I.. -I. =
-I/usr/local/include/freetype2
 -o fc-list fc-list.o -L../src -lfontconfig
gmake[1]: Leaving directory =
`/users/mgansser/GNU/fcpackage.2_1/fontconfig/fc-list'
gmake[1]: Entering directory =
`/users/mgansser/GNU/fcpackage.2_1/fontconfig/fontconfig'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory =
`/users/mgansser/GNU/fcpackage.2_1/fontconfig/fontconfig'
rm -f fonts.conf
sh ./setfontdirs /usr/share/fonts /X11/fonts
8666
52

8633
for d in src fc-cache fc-list fontconfig; do (cd $d && gmake install); =
done
gmake[1]: Entering directory =
`/users/mgansser/GNU/fcpackage.2_1/fontconfig/src'
/usr/local/bin/install -c libfontconfig.sl.1.0 =
/usr/local/lib/libfontconfig.sl.1.0
rm -f /usr/local/lib/libfontconfig.sl.1
ln -s libfontconfig.sl.1.0 /usr/local/lib/libfontconfig.sl.1
rm -f /usr/local/lib/libfontconfig.sl
ln -s libfontconfig.sl.1 /usr/local/lib/libfontconfig.sl
gmake[1]: Leaving directory =
`/users/mgansser/GNU/fcpackage.2_1/fontconfig/src'
gmake[1]: Entering directory =
`/users/mgansser/GNU/fcpackage.2_1/fontconfig/fc-cache'
/usr/local/bin/install -c fc-cache /usr/local/bin/fc-cache
gmake[1]: Leaving directory =
`/users/mgansser/GNU/fcpackage.2_1/fontconfig/fc-cache'
gmake[1]: Entering directory =
`/users/mgansser/GNU/fcpackage.2_1/fontconfig/fc-list'
/usr/local/bin/install -c fc-list /usr/local/bin/fc-list
gmake[1]: Leaving directory =
`/users/mgansser/GNU/fcpackage.2_1/fontconfig/fc-list'
gmake[1]: Entering directory =
`/users/mgansser/GNU/fcpackage.2_1/fontconfig/fontconfig'
mkdir -p /usr/local/include/fontconfig
/usr/local/bin/install -c -m 644 fcfreetype.h =
/usr/local/include/fontconfig/fcfreetype.h
/usr/local/bin/install -c -m 644 fcprivate.h =
/usr/local/include/fontconfig/fcprivate.h
/usr/local/bin/install -c -m 644 fontconfig.h =
/usr/local/include/fontconfig/fontconfig.h
gmake[1]: Leaving directory =
`/users/mgansser/GNU/fcpackage.2_1/fontconfig/fontconfig'
mkdir -p /etc/fonts
if [ -f /etc/fonts/fonts.conf ]; then \
        echo "Not overwriting existing /etc/fonts/fonts.conf"; \
else \
        /usr/local/bin/install -c -m 644 fonts.conf =
/etc/fonts/fonts.conf; \
fi
/usr/local/bin/install -c -m 644 fonts.dtd /etc/fonts/fonts.dtd
/usr/local/bin/install -c fontconfig-config =
/usr/local/bin/fontconfig-config
/usr/local/bin/install -c -m 644 fontconfig.pc =
/usr/local/lib/pkgconfig/fontconfig.pc
mzfem_root:/users/mgansser/GNU/fcpackage.2_1/fontconfig #

Martin



[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux