[HarfBuzz] cannot compile - please help

netstudio info at netstudio.gr
Sun Jan 15 12:19:24 PST 2012


I did that, and now on the cPanel server, when I do ./configure, I get:

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 98304
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared
libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared
libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gtkdoc-check... /usr/local/bin/gtkdoc-check
checking for gtkdoc-rebase... /usr/local/bin/gtkdoc-rebase
checking for gtkdoc-mkpdf... /usr/local/bin/gtkdoc-mkpdf
checking whether to build gtk-doc documentation... no
checking for mprotect... yes
checking for sysconf... yes
checking for getpagesize... yes
checking for mmap... yes
checking for _setmode... no
checking for unistd.h... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking io.h usability... no
checking io.h presence... no
checking for io.h... no
checking for GLIB... no
checking for GTHREAD... yes
checking for GOBJECT... yes
checking for CAIRO... no
checking for CAIRO_FT... yes
checking for ICU... no
checking unicode/uchar.h usability... no
checking unicode/uchar.h presence... no
checking for unicode/uchar.h... no
checking for libicuuc... no
checking for GRAPHITE... no
checking for FREETYPE... yes
checking for FT_Face_GetCharVariantIndex... no
checking usp10.h usability... no
checking usp10.h presence... no
checking for usp10.h... no
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating harfbuzz.pc
config.status: creating src/Makefile
config.status: creating src/hb-version.h
config.status: creating util/Makefile
config.status: creating test/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands


make and make install fail after that. Any hints?

thanks for your help!



On Sun, Jan 15, 2012 at 22:04, Behdad Esfahbod <behdad at behdad.org> wrote:

> Checkout the code on your local machine with proper autotools.  Run
> autogen.sh
> to make a tarball by doing "make dist".  Then use the tarball on the
> server.
>
> behdad
>
> On 01/15/2012 02:21 PM, netstudio wrote:
> > Maybe they say that, because when we run autogen.sh, we get:
> >
> > This Perl hasn't been configured and built properly for the threads
> > module to work.  (The 'useithreads' configuration option hasn't been
> used.)
> >
> >
> > ---
> > 7 Ellinikou Stratou st., [map
> > <
> http://maps.google.com/maps/ms?ie=UTF8&hl=en&om=1&msa=0&msid=107626635789152226437.000440e361ddcaeff30f3&ll=38.133645,23.861489&spn=0.03433,0.066047&z=15&iwloc=000440e36695825352377
> >]
> > 145 69 Anixi, Athens, Greece
> > Phone:  (30) 210 8004447
> > www.netstudio.gr <http://www.netstudio.gr>
> >
> > Improve your site with www.UserFeel.com <http://www.UserFeel.com>.
> >
> >
> >
> > On Sun, Jan 15, 2012 at 21:07, Behdad Esfahbod <behdad at behdad.org
> > <mailto:behdad at behdad.org>> wrote:
> >
> >     On 01/15/2012 02:00 PM, netstudio wrote:
> >     > I was told by my hosting company, that Harfbuzz requires perl
> threaded
> >     > support, something that as they say is icompatible with cPanel and
> >     Centos. So,
> >     > it's not possible to compile HarfBuzz on cPanel server. Is that
> true? Is
> >     there
> >     > any way to bypass that?
> >
> >     That's not true.  HarfBuzz doesn't have any Perl dependency, and
> there's no
> >     reason why you need Perl threaded support to call out to hb-view.
> >
> >
> >     behdad
> >
> >     > thanks,
> >     > Yannis
> >     >
> >     >
> >     > On Sun, Jan 15, 2012 at 00:47, Behdad Esfahbod <behdad at behdad.org
> >     <mailto:behdad at behdad.org>
> >     > <mailto:behdad at behdad.org <mailto:behdad at behdad.org>>> wrote:
> >     >
> >     >     For the record, Pango is no dependency to HarfBuzz.  Cairo is
> also
> >     optional.
> >     >     Fontconfig isn't used either.  FreeType is optional, but you
> really
> >     want to
> >     >     have it.  Glib is recommended though.
> >     >
> >     >     behdad
> >     >
> >     >     On 01/08/2012 12:51 AM, Alfabety wrote:
> >     >     > I had same problem. Recompiling and reinstalling all
> dependencies
> >     helped
> >     >     (freetype, fontconfig, pango and cairo as I remember)
> >     >     >
> >     >     > On 7 sty 2012, at 23:36, netstudio wrote:
> >     >     >
> >     >     >> The problem with my situation is that autogen.sh doesn't
> even create
> >     >     the configure script.
> >     >     >>
> >     >     >>
> >     >     >>
> >     >     >> On Sat, Jan 7, 2012 at 19:09, Nicolas Rougier
> >     <Nicolas.Rougier at inria.fr <mailto:Nicolas.Rougier at inria.fr>
> >     >     <mailto:Nicolas.Rougier at inria.fr <mailto:
> Nicolas.Rougier at inria.fr>>>
> >     wrote:
> >     >     >>
> >     >     >> I did not remove it from autogen.sh but from the generated
> configure
> >     >     script once autogen.sh has generated it.
> >     >     >>
> >     >     >> Nicolas
> >     >     >>
> >     >     >> On Jan 7, 2012, at 16:05 , netstudio wrote:
> >     >     >>
> >     >     >>> Thanks for your reply, but it's not the same error. And I
> don't know
> >     >     how to remove it from autogen.sh.
> >     >     >>>
> >     >     >>> I have downloaded and compiled GTK-DOC.
> >     >     >>>
> >     >     >>>
> >     >     >>>
> >     >     >>>
> >     >     >>> On Sat, Jan 7, 2012 at 16:24, Nicolas Rougier
> >     >     <Nicolas.Rougier at inria.fr <mailto:Nicolas.Rougier at inria.fr>
> >     <mailto:Nicolas.Rougier at inria.fr <mailto:Nicolas.Rougier at inria.fr>>>
> wrote:
> >     >     >>>
> >     >     >>> I had the same probkem with the GTK_DOC_CHECK and I had to
> manually
> >     >     remove it from the configure script and restarting it (but not
> the
> >     autogen.sh)
> >     >     >>>
> >     >     >>> Nicolas
> >     >     >>>
> >     >     >>>
> >     >     >>> On Jan 7, 2012, at 14:36 , netstudio wrote:
> >     >     >>>
> >     >     >>>> Hello!
> >     >     >>>>
> >     >     >>>> I've spent a lot of hours trying to compile harfbuzz on my
> >     CentOS 5.7
> >     >     system with cPanel.
> >     >     >>>>
> >     >     >>>> I've installed a lot of packages that were missing, but I
> keep
> >     >     getting errors and I'm stuck. I don't know what the problem is.
> >     >     >>>>
> >     >     >>>> Here is what I get when I try autogen.sh:
> >     >     >>>>
> >     >     >>>>
> >     >     >>>>
> >     >     >>>>
> >     >     >>>>
> >     >     >>>> checking for ragel... /usr/bin/ragel
> >     >     >>>> checking for pkg-config... /usr/bin/pkg-config
> >     >     >>>> checking for autoreconf... /usr/local/bin/autoreconf
> >     >     >>>> running autoreconf --force --install --verbose
> >     >     >>>> perl: warning: Setting locale failed.
> >     >     >>>> perl: warning: Please check that your locale settings:
> >     >     >>>>     LANGUAGE = (unset),
> >     >     >>>>     LC_ALL = (unset),
> >     >     >>>>     LC_CTYPE = "UTF-8",
> >     >     >>>>     LANG = "en_US.UTF-8"
> >     >     >>>>     are supported and installed on your system.
> >     >     >>>> perl: warning: Falling back to the standard locale ("C").
> >     >     >>>> autoreconf: Entering directory `.'
> >     >     >>>> autoreconf: configure.ac <http://configure.ac>
> >     <http://configure.ac>: not using Gettext
> >     >     >>>> autoreconf: running: aclocal --force
> >     >     >>>> perl: warning: Setting locale failed.
> >     >     >>>> perl: warning: Please check that your locale settings:
> >     >     >>>>     LANGUAGE = (unset),
> >     >     >>>>     LC_ALL = (unset),
> >     >     >>>>     LC_CTYPE = "UTF-8",
> >     >     >>>>     LANG = "en_US.UTF-8"
> >     >     >>>>     are supported and installed on your system.
> >     >     >>>> perl: warning: Falling back to the standard locale ("C").
> >     >     >>>> perl: warning: Setting locale failed.
> >     >     >>>> perl: warning: Please check that your locale settings:
> >     >     >>>>     LANGUAGE = (unset),
> >     >     >>>>     LC_ALL = (unset),
> >     >     >>>>     LC_CTYPE = "UTF-8",
> >     >     >>>>     LANG = "en_US.UTF-8"
> >     >     >>>>     are supported and installed on your system.
> >     >     >>>> perl: warning: Falling back to the standard locale ("C").
> >     >     >>>> configure.ac:52 <http://configure.ac:52>
> >     <http://configure.ac:52>: warning:
> >     >     PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
> >     >     >>>> /usr/local/share/aclocal/gtk-doc.m4:67: GTK_DOC_CHECK is
> >     expanded from...
> >     >     >>>> configure.ac:52 <http://configure.ac:52>
> >     <http://configure.ac:52>: the top level
> >     >     >>>> autoreconf: configure.ac <http://configure.ac>
> >     <http://configure.ac>: tracing
> >     >     >>>> configure.ac:52 <http://configure.ac:52>
> >     <http://configure.ac:52>: warning:
> >     >     PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
> >     >     >>>> aclocal.m4:89: GTK_DOC_CHECK is expanded from...
> >     >     >>>> configure.ac:52 <http://configure.ac:52>
> >     <http://configure.ac:52>: the top level
> >     >     >>>> autoreconf: configure.ac <http://configure.ac>
> >     <http://configure.ac>: not using Libtool
> >     >     >>>> autoreconf: running: /usr/local/bin/autoconf --force
> >     >     >>>> configure.ac:52 <http://configure.ac:52>
> >     <http://configure.ac:52>: warning:
> >     >     PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
> >     >     >>>> aclocal.m4:89: GTK_DOC_CHECK is expanded from...
> >     >     >>>> configure.ac:52 <http://configure.ac:52>
> >     <http://configure.ac:52>: the top level
> >     >     >>>> configure.ac:32 <http://configure.ac:32>
> >     <http://configure.ac:32>: error: possibly undefined
> >     >     macro: AC_SUBST
> >     >     >>>>       If this token and others are legitimate, please use
> >     >     m4_pattern_allow.
> >     >     >>>>       See the Autoconf documentation.
> >     >     >>>> configure.ac:56 <http://configure.ac:56>
> >     <http://configure.ac:56>: error: possibly undefined
> >     >     macro: AC_CHECK_HEADERS
> >     >     >>>> configure.ac:117 <http://configure.ac:117>
> >     <http://configure.ac:117>: error: possibly undefined
> >     >     macro: AC_MSG_CHECKING
> >     >     >>>> configure.ac:120 <http://configure.ac:120>
> >     <http://configure.ac:120>: error: possibly undefined
> >     >     macro: AC_TRY_LINK
> >     >     >>>> configure.ac:122 <http://configure.ac:122>
> >     <http://configure.ac:122>: error: possibly undefined
> >     >     macro: AC_MSG_RESULT
> >     >     >>>> autoreconf: /usr/local/bin/autoconf failed with exit
> status: 1
> >     >     >>>>
> >     >     >>>>
> >     >     >>>>
> >     >     >>>> Could you please help me?
> >     >     >>>>
> >     >     >>>> thanks,
> >     >     >>>> Yannis
> >     >     >>>> _______________________________________________
> >     >     >>>> HarfBuzz mailing list
> >     >     >>>> HarfBuzz at lists.freedesktop.org
> >     <mailto:HarfBuzz at lists.freedesktop.org>
> >     <mailto:HarfBuzz at lists.freedesktop.org
> >     <mailto:HarfBuzz at lists.freedesktop.org>>
> >     >     >>>> http://lists.freedesktop.org/mailman/listinfo/harfbuzz
> >     >     >>>
> >     >     >>>
> >     >     >>
> >     >     >>
> >     >     >> _______________________________________________
> >     >     >> HarfBuzz mailing list
> >     >     >> HarfBuzz at lists.freedesktop.org
> >     <mailto:HarfBuzz at lists.freedesktop.org>
> >     <mailto:HarfBuzz at lists.freedesktop.org
> >     <mailto:HarfBuzz at lists.freedesktop.org>>
> >     >     >> http://lists.freedesktop.org/mailman/listinfo/harfbuzz
> >     >     >
> >     >     > _______________________________________________
> >     >     > HarfBuzz mailing list
> >     >     > HarfBuzz at lists.freedesktop.org
> >     <mailto:HarfBuzz at lists.freedesktop.org>
> >     <mailto:HarfBuzz at lists.freedesktop.org
> >     <mailto:HarfBuzz at lists.freedesktop.org>>
> >     >     > http://lists.freedesktop.org/mailman/listinfo/harfbuzz
> >     >     >
> >     >
> >     >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/harfbuzz/attachments/20120115/b7dd9d4c/attachment.html>


More information about the HarfBuzz mailing list