I did that, and now on the cPanel server, when I do ./configure, I get:<br><br>checking for a BSD-compatible install... /usr/bin/install -c<br>checking whether build environment is sane... yes<br>checking for a thread-safe mkdir -p... /bin/mkdir -p<br>
checking for gawk... gawk<br>checking whether make sets $(MAKE)... yes<br>checking for gcc... gcc<br>checking whether the C compiler works... yes<br>checking for C compiler default output file name... a.out<br>checking for suffix of executables... <br>
checking whether we are cross compiling... no<br>checking for suffix of object files... o<br>checking whether we are using the GNU C compiler... yes<br>checking whether gcc accepts -g... yes<br>checking for gcc option to accept ISO C89... none needed<br>
checking for style of include used by make... GNU<br>checking dependency style of gcc... gcc3<br>checking whether gcc and cc understand -c and -o together... yes<br>checking for g++... g++<br>checking whether we are using the GNU C++ compiler... yes<br>
checking whether g++ accepts -g... yes<br>checking dependency style of g++... gcc3<br>checking build system type... x86_64-unknown-linux-gnu<br>checking host system type... x86_64-unknown-linux-gnu<br>checking for a sed that does not truncate output... /bin/sed<br>
checking for grep that handles long lines and -e... /bin/grep<br>checking for egrep... /bin/grep -E<br>checking for fgrep... /bin/grep -F<br>checking for ld used by gcc... /usr/bin/ld<br>checking if the linker (/usr/bin/ld) is GNU ld... yes<br>
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B<br>checking the name lister (/usr/bin/nm -B) interface... BSD nm<br>checking whether ln -s works... yes<br>checking the maximum length of command line arguments... 98304<br>
checking whether the shell understands some XSI constructs... yes<br>checking whether the shell understands "+="... yes<br>checking for /usr/bin/ld option to reload object files... -r<br>checking for objdump... objdump<br>
checking how to recognize dependent libraries... pass_all<br>checking for ar... ar<br>checking for strip... strip<br>checking for ranlib... ranlib<br>checking command to parse /usr/bin/nm -B output from gcc object... ok<br>
checking how to run the C preprocessor... gcc -E<br>checking for ANSI C header files... yes<br>checking for sys/types.h... yes<br>checking for sys/stat.h... yes<br>checking for stdlib.h... yes<br>checking for string.h... yes<br>
checking for memory.h... yes<br>checking for strings.h... yes<br>checking for inttypes.h... yes<br>checking for stdint.h... yes<br>checking for unistd.h... yes<br>checking for dlfcn.h... yes<br>checking whether we are using the GNU C++ compiler... (cached) yes<br>
checking whether g++ accepts -g... (cached) yes<br>checking dependency style of g++... (cached) gcc3<br>checking how to run the C++ preprocessor... g++ -E<br>checking for objdir... .libs<br>checking if gcc supports -fno-rtti -fno-exceptions... no<br>
checking for gcc option to produce PIC... -fPIC -DPIC<br>checking if gcc PIC flag -fPIC -DPIC works... yes<br>checking if gcc static flag -static works... yes<br>checking if gcc supports -c -o file.o... yes<br>checking if gcc supports -c -o file.o... (cached) yes<br>
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes<br>checking whether -lc should be explicitly linked in... no<br>checking dynamic linker characteristics... GNU/Linux ld.so<br>checking how to hardcode library paths into programs... immediate<br>
checking whether stripping libraries is possible... yes<br>checking if libtool supports shared libraries... yes<br>checking whether to build shared libraries... yes<br>checking whether to build static libraries... no<br>
checking for ld used by g++... /usr/bin/ld -m elf_x86_64<br>
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes<br>checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes<br>checking for g++ option to produce PIC... -fPIC -DPIC<br>
checking if g++ PIC flag -fPIC -DPIC works... yes<br>checking if g++ static flag -static works... yes<br>checking if g++ supports -c -o file.o... yes<br>checking if g++ supports -c -o file.o... (cached) yes<br>checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes<br>
checking dynamic linker characteristics... GNU/Linux ld.so<br>checking how to hardcode library paths into programs... immediate<br>checking for pkg-config... /usr/bin/pkg-config<br>checking pkg-config is at least version 0.9.0... yes<br>
checking for gtkdoc-check... /usr/local/bin/gtkdoc-check<br>checking for gtkdoc-rebase... /usr/local/bin/gtkdoc-rebase<br>checking for gtkdoc-mkpdf... /usr/local/bin/gtkdoc-mkpdf<br>checking whether to build gtk-doc documentation... no<br>
checking for mprotect... yes<br>checking for sysconf... yes<br>checking for getpagesize... yes<br>checking for mmap... yes<br>checking for _setmode... no<br>checking for unistd.h... (cached) yes<br>checking sys/mman.h usability... yes<br>
checking sys/mman.h presence... yes<br>checking for sys/mman.h... yes<br>checking io.h usability... no<br>checking io.h presence... no<br>checking for io.h... no<br>checking for GLIB... no<br>checking for GTHREAD... yes<br>
checking for GOBJECT... yes<br>checking for CAIRO... no<br>checking for CAIRO_FT... yes<br>checking for ICU... no<br>checking unicode/uchar.h usability... no<br>checking unicode/uchar.h presence... no<br>checking for unicode/uchar.h... no<br>
checking for libicuuc... no<br>checking for GRAPHITE... no<br>checking for FREETYPE... yes<br>checking for FT_Face_GetCharVariantIndex... no<br>checking usp10.h usability... no<br>checking usp10.h presence... no<br>checking for usp10.h... no<br>
checking windows.h usability... no<br>checking windows.h presence... no<br>checking for windows.h... no<br>configure: creating ./config.status<br>config.status: creating Makefile<br>config.status: creating harfbuzz.pc<br>
config.status: creating src/Makefile<br>config.status: creating src/hb-version.h<br>config.status: creating util/Makefile<br>config.status: creating test/Makefile<br>config.status: creating config.h<br>config.status: config.h is unchanged<br>
config.status: executing depfiles commands<br>config.status: executing libtool commands<br><br><br>make and make install fail after that. Any hints?<br><br>thanks for your help!<br><br>
<br><br><div class="gmail_quote">On Sun, Jan 15, 2012 at 22:04, Behdad Esfahbod <span dir="ltr"><<a href="mailto:behdad@behdad.org">behdad@behdad.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Checkout the code on your local machine with proper autotools. Run autogen.sh<br>
to make a tarball by doing "make dist". Then use the tarball on the server.<br>
<br>
behdad<br>
<div class="im"><br>
On 01/15/2012 02:21 PM, netstudio wrote:<br>
> Maybe they say that, because when we run autogen.sh, we get:<br>
><br>
> This Perl hasn't been configured and built properly for the threads<br>
> module to work. (The 'useithreads' configuration option hasn't been used.)<br>
><br>
><br>
> ---<br>
> 7 Ellinikou Stratou st., [map<br>
</div>> <<a href="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" target="_blank">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</a>>]<br>
<div class="im">> 145 69 Anixi, Athens, Greece<br>
> Phone: <a href="tel:%2830%29%20210%208004447" value="+302108004447">(30) 210 8004447</a><br>
</div>> <a href="http://www.netstudio.gr" target="_blank">www.netstudio.gr</a> <<a href="http://www.netstudio.gr" target="_blank">http://www.netstudio.gr</a>><br>
><br>
> Improve your site with <a href="http://www.UserFeel.com" target="_blank">www.UserFeel.com</a> <<a href="http://www.UserFeel.com" target="_blank">http://www.UserFeel.com</a>>.<br>
<div class="im">><br>
><br>
><br>
> On Sun, Jan 15, 2012 at 21:07, Behdad Esfahbod <<a href="mailto:behdad@behdad.org">behdad@behdad.org</a><br>
</div><div class="im">> <mailto:<a href="mailto:behdad@behdad.org">behdad@behdad.org</a>>> wrote:<br>
><br>
> On 01/15/2012 02:00 PM, netstudio wrote:<br>
> > I was told by my hosting company, that Harfbuzz requires perl threaded<br>
> > support, something that as they say is icompatible with cPanel and<br>
> Centos. So,<br>
> > it's not possible to compile HarfBuzz on cPanel server. Is that true? Is<br>
> there<br>
> > any way to bypass that?<br>
><br>
> That's not true. HarfBuzz doesn't have any Perl dependency, and there's no<br>
> reason why you need Perl threaded support to call out to hb-view.<br>
><br>
><br>
> behdad<br>
><br>
> > thanks,<br>
> > Yannis<br>
> ><br>
> ><br>
> > On Sun, Jan 15, 2012 at 00:47, Behdad Esfahbod <<a href="mailto:behdad@behdad.org">behdad@behdad.org</a><br>
> <mailto:<a href="mailto:behdad@behdad.org">behdad@behdad.org</a>><br>
</div><div class="im">> > <mailto:<a href="mailto:behdad@behdad.org">behdad@behdad.org</a> <mailto:<a href="mailto:behdad@behdad.org">behdad@behdad.org</a>>>> wrote:<br>
> ><br>
> > For the record, Pango is no dependency to HarfBuzz. Cairo is also<br>
> optional.<br>
> > Fontconfig isn't used either. FreeType is optional, but you really<br>
> want to<br>
> > have it. Glib is recommended though.<br>
> ><br>
> > behdad<br>
> ><br>
> > On 01/08/2012 12:51 AM, Alfabety wrote:<br>
> > > I had same problem. Recompiling and reinstalling all dependencies<br>
> helped<br>
> > (freetype, fontconfig, pango and cairo as I remember)<br>
> > ><br>
> > > On 7 sty 2012, at 23:36, netstudio wrote:<br>
> > ><br>
> > >> The problem with my situation is that autogen.sh doesn't even create<br>
> > the configure script.<br>
> > >><br>
> > >><br>
> > >><br>
> > >> On Sat, Jan 7, 2012 at 19:09, Nicolas Rougier<br>
> <<a href="mailto:Nicolas.Rougier@inria.fr">Nicolas.Rougier@inria.fr</a> <mailto:<a href="mailto:Nicolas.Rougier@inria.fr">Nicolas.Rougier@inria.fr</a>><br>
</div>> > <mailto:<a href="mailto:Nicolas.Rougier@inria.fr">Nicolas.Rougier@inria.fr</a> <mailto:<a href="mailto:Nicolas.Rougier@inria.fr">Nicolas.Rougier@inria.fr</a>>>><br>
<div class="im">> wrote:<br>
> > >><br>
> > >> I did not remove it from autogen.sh but from the generated configure<br>
> > script once autogen.sh has generated it.<br>
> > >><br>
> > >> Nicolas<br>
> > >><br>
> > >> On Jan 7, 2012, at 16:05 , netstudio wrote:<br>
> > >><br>
> > >>> Thanks for your reply, but it's not the same error. And I don't know<br>
> > how to remove it from autogen.sh.<br>
> > >>><br>
> > >>> I have downloaded and compiled GTK-DOC.<br>
> > >>><br>
> > >>><br>
> > >>><br>
> > >>><br>
> > >>> On Sat, Jan 7, 2012 at 16:24, Nicolas Rougier<br>
> > <<a href="mailto:Nicolas.Rougier@inria.fr">Nicolas.Rougier@inria.fr</a> <mailto:<a href="mailto:Nicolas.Rougier@inria.fr">Nicolas.Rougier@inria.fr</a>><br>
</div><div><div class="h5">> <mailto:<a href="mailto:Nicolas.Rougier@inria.fr">Nicolas.Rougier@inria.fr</a> <mailto:<a href="mailto:Nicolas.Rougier@inria.fr">Nicolas.Rougier@inria.fr</a>>>> wrote:<br>
> > >>><br>
> > >>> I had the same probkem with the GTK_DOC_CHECK and I had to manually<br>
> > remove it from the configure script and restarting it (but not the<br>
> autogen.sh)<br>
> > >>><br>
> > >>> Nicolas<br>
> > >>><br>
> > >>><br>
> > >>> On Jan 7, 2012, at 14:36 , netstudio wrote:<br>
> > >>><br>
> > >>>> Hello!<br>
> > >>>><br>
> > >>>> I've spent a lot of hours trying to compile harfbuzz on my<br>
> CentOS 5.7<br>
> > system with cPanel.<br>
> > >>>><br>
> > >>>> I've installed a lot of packages that were missing, but I keep<br>
> > getting errors and I'm stuck. I don't know what the problem is.<br>
> > >>>><br>
> > >>>> Here is what I get when I try autogen.sh:<br>
> > >>>><br>
> > >>>><br>
> > >>>><br>
> > >>>><br>
> > >>>><br>
> > >>>> checking for ragel... /usr/bin/ragel<br>
> > >>>> checking for pkg-config... /usr/bin/pkg-config<br>
> > >>>> checking for autoreconf... /usr/local/bin/autoreconf<br>
> > >>>> running autoreconf --force --install --verbose<br>
> > >>>> perl: warning: Setting locale failed.<br>
> > >>>> perl: warning: Please check that your locale settings:<br>
> > >>>> LANGUAGE = (unset),<br>
> > >>>> LC_ALL = (unset),<br>
> > >>>> LC_CTYPE = "UTF-8",<br>
> > >>>> LANG = "en_US.UTF-8"<br>
> > >>>> are supported and installed on your system.<br>
> > >>>> perl: warning: Falling back to the standard locale ("C").<br>
> > >>>> autoreconf: Entering directory `.'<br>
> > >>>> autoreconf: <a href="http://configure.ac" target="_blank">configure.ac</a> <<a href="http://configure.ac" target="_blank">http://configure.ac</a>><br>
> <<a href="http://configure.ac" target="_blank">http://configure.ac</a>>: not using Gettext<br>
> > >>>> autoreconf: running: aclocal --force<br>
> > >>>> perl: warning: Setting locale failed.<br>
> > >>>> perl: warning: Please check that your locale settings:<br>
> > >>>> LANGUAGE = (unset),<br>
> > >>>> LC_ALL = (unset),<br>
> > >>>> LC_CTYPE = "UTF-8",<br>
> > >>>> LANG = "en_US.UTF-8"<br>
> > >>>> are supported and installed on your system.<br>
> > >>>> perl: warning: Falling back to the standard locale ("C").<br>
> > >>>> perl: warning: Setting locale failed.<br>
> > >>>> perl: warning: Please check that your locale settings:<br>
> > >>>> LANGUAGE = (unset),<br>
> > >>>> LC_ALL = (unset),<br>
> > >>>> LC_CTYPE = "UTF-8",<br>
> > >>>> LANG = "en_US.UTF-8"<br>
> > >>>> are supported and installed on your system.<br>
> > >>>> perl: warning: Falling back to the standard locale ("C").<br>
> > >>>> <a href="http://configure.ac:52" target="_blank">configure.ac:52</a> <<a href="http://configure.ac:52" target="_blank">http://configure.ac:52</a>><br>
> <<a href="http://configure.ac:52" target="_blank">http://configure.ac:52</a>>: warning:<br>
> > PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd<br>
> > >>>> /usr/local/share/aclocal/gtk-doc.m4:67: GTK_DOC_CHECK is<br>
> expanded from...<br>
> > >>>> <a href="http://configure.ac:52" target="_blank">configure.ac:52</a> <<a href="http://configure.ac:52" target="_blank">http://configure.ac:52</a>><br>
> <<a href="http://configure.ac:52" target="_blank">http://configure.ac:52</a>>: the top level<br>
> > >>>> autoreconf: <a href="http://configure.ac" target="_blank">configure.ac</a> <<a href="http://configure.ac" target="_blank">http://configure.ac</a>><br>
> <<a href="http://configure.ac" target="_blank">http://configure.ac</a>>: tracing<br>
> > >>>> <a href="http://configure.ac:52" target="_blank">configure.ac:52</a> <<a href="http://configure.ac:52" target="_blank">http://configure.ac:52</a>><br>
> <<a href="http://configure.ac:52" target="_blank">http://configure.ac:52</a>>: warning:<br>
> > PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd<br>
> > >>>> aclocal.m4:89: GTK_DOC_CHECK is expanded from...<br>
> > >>>> <a href="http://configure.ac:52" target="_blank">configure.ac:52</a> <<a href="http://configure.ac:52" target="_blank">http://configure.ac:52</a>><br>
> <<a href="http://configure.ac:52" target="_blank">http://configure.ac:52</a>>: the top level<br>
> > >>>> autoreconf: <a href="http://configure.ac" target="_blank">configure.ac</a> <<a href="http://configure.ac" target="_blank">http://configure.ac</a>><br>
</div></div><div class="im">> <<a href="http://configure.ac" target="_blank">http://configure.ac</a>>: not using Libtool<br>
> > >>>> autoreconf: running: /usr/local/bin/autoconf --force<br>
> > >>>> <a href="http://configure.ac:52" target="_blank">configure.ac:52</a> <<a href="http://configure.ac:52" target="_blank">http://configure.ac:52</a>><br>
</div><div class="im">> <<a href="http://configure.ac:52" target="_blank">http://configure.ac:52</a>>: warning:<br>
> > PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd<br>
> > >>>> aclocal.m4:89: GTK_DOC_CHECK is expanded from...<br>
> > >>>> <a href="http://configure.ac:52" target="_blank">configure.ac:52</a> <<a href="http://configure.ac:52" target="_blank">http://configure.ac:52</a>><br>
</div><div><div class="h5">> <<a href="http://configure.ac:52" target="_blank">http://configure.ac:52</a>>: the top level<br>
> > >>>> <a href="http://configure.ac:32" target="_blank">configure.ac:32</a> <<a href="http://configure.ac:32" target="_blank">http://configure.ac:32</a>><br>
> <<a href="http://configure.ac:32" target="_blank">http://configure.ac:32</a>>: error: possibly undefined<br>
> > macro: AC_SUBST<br>
> > >>>> If this token and others are legitimate, please use<br>
> > m4_pattern_allow.<br>
> > >>>> See the Autoconf documentation.<br>
> > >>>> <a href="http://configure.ac:56" target="_blank">configure.ac:56</a> <<a href="http://configure.ac:56" target="_blank">http://configure.ac:56</a>><br>
> <<a href="http://configure.ac:56" target="_blank">http://configure.ac:56</a>>: error: possibly undefined<br>
> > macro: AC_CHECK_HEADERS<br>
> > >>>> <a href="http://configure.ac:117" target="_blank">configure.ac:117</a> <<a href="http://configure.ac:117" target="_blank">http://configure.ac:117</a>><br>
> <<a href="http://configure.ac:117" target="_blank">http://configure.ac:117</a>>: error: possibly undefined<br>
> > macro: AC_MSG_CHECKING<br>
> > >>>> <a href="http://configure.ac:120" target="_blank">configure.ac:120</a> <<a href="http://configure.ac:120" target="_blank">http://configure.ac:120</a>><br>
> <<a href="http://configure.ac:120" target="_blank">http://configure.ac:120</a>>: error: possibly undefined<br>
> > macro: AC_TRY_LINK<br>
> > >>>> <a href="http://configure.ac:122" target="_blank">configure.ac:122</a> <<a href="http://configure.ac:122" target="_blank">http://configure.ac:122</a>><br>
> <<a href="http://configure.ac:122" target="_blank">http://configure.ac:122</a>>: error: possibly undefined<br>
> > macro: AC_MSG_RESULT<br>
> > >>>> autoreconf: /usr/local/bin/autoconf failed with exit status: 1<br>
> > >>>><br>
> > >>>><br>
> > >>>><br>
> > >>>> Could you please help me?<br>
> > >>>><br>
> > >>>> thanks,<br>
> > >>>> Yannis<br>
> > >>>> _______________________________________________<br>
> > >>>> HarfBuzz mailing list<br>
> > >>>> <a href="mailto:HarfBuzz@lists.freedesktop.org">HarfBuzz@lists.freedesktop.org</a><br>
> <mailto:<a href="mailto:HarfBuzz@lists.freedesktop.org">HarfBuzz@lists.freedesktop.org</a>><br>
</div></div>> <mailto:<a href="mailto:HarfBuzz@lists.freedesktop.org">HarfBuzz@lists.freedesktop.org</a><br>
<div class="im">> <mailto:<a href="mailto:HarfBuzz@lists.freedesktop.org">HarfBuzz@lists.freedesktop.org</a>>><br>
> > >>>> <a href="http://lists.freedesktop.org/mailman/listinfo/harfbuzz" target="_blank">http://lists.freedesktop.org/mailman/listinfo/harfbuzz</a><br>
> > >>><br>
> > >>><br>
> > >><br>
> > >><br>
> > >> _______________________________________________<br>
> > >> HarfBuzz mailing list<br>
> > >> <a href="mailto:HarfBuzz@lists.freedesktop.org">HarfBuzz@lists.freedesktop.org</a><br>
> <mailto:<a href="mailto:HarfBuzz@lists.freedesktop.org">HarfBuzz@lists.freedesktop.org</a>><br>
</div>> <mailto:<a href="mailto:HarfBuzz@lists.freedesktop.org">HarfBuzz@lists.freedesktop.org</a><br>
<div class="im">> <mailto:<a href="mailto:HarfBuzz@lists.freedesktop.org">HarfBuzz@lists.freedesktop.org</a>>><br>
> > >> <a href="http://lists.freedesktop.org/mailman/listinfo/harfbuzz" target="_blank">http://lists.freedesktop.org/mailman/listinfo/harfbuzz</a><br>
> > ><br>
> > > _______________________________________________<br>
> > > HarfBuzz mailing list<br>
> > > <a href="mailto:HarfBuzz@lists.freedesktop.org">HarfBuzz@lists.freedesktop.org</a><br>
> <mailto:<a href="mailto:HarfBuzz@lists.freedesktop.org">HarfBuzz@lists.freedesktop.org</a>><br>
</div>> <mailto:<a href="mailto:HarfBuzz@lists.freedesktop.org">HarfBuzz@lists.freedesktop.org</a><br>
> <mailto:<a href="mailto:HarfBuzz@lists.freedesktop.org">HarfBuzz@lists.freedesktop.org</a>>><br>
> > > <a href="http://lists.freedesktop.org/mailman/listinfo/harfbuzz" target="_blank">http://lists.freedesktop.org/mailman/listinfo/harfbuzz</a><br>
> > ><br>
> ><br>
> ><br>
><br>
><br>
</blockquote></div><br>