Hi,
I am having problems installing freetype-2.3.1 on solaris 9.
When I did ./configure, it showed me the following message:

configure: creating ./config.status
config.status: creating unix-cc.mk
config.status: creating unix-def.mk
config.status: creating freetype-config
config.status: creating freetype2.pc
config.status: creating ftconfig.h
make: Nothing to be done for `unix'.

Then I did make, and it showed me the following error:

In file included from builds/unix/ftsystem.c:21: ./builds/unix/ftconfig.h:42:10: #include expects "FILENAME" or <FILENAME>
./builds/unix/ftconfig.h:43:10: #include expects "FILENAME" or <FILENAME>
In file included from builds/unix/ftsystem.c:21: ./builds/unix/ftconfig.h:118: error: syntax error before "typedef"
builds/unix/ftsystem.c:22:10: #include expects "FILENAME" or <FILENAME>
builds/unix/ftsystem.c:23:10: #include expects "FILENAME" or <FILENAME>
builds/unix/ftsystem.c:24:10: #include expects "FILENAME" or <FILENAME>
builds/unix/ftsystem.c:25:10: #include expects "FILENAME" or <FILENAME>
builds/unix/ftsystem.c:26:10: #include expects "FILENAME" or <FILENAME>
/usr/include/sys/machtypes.h:33: error: syntax error before "typedef"
builds/unix/ftsystem.c:97: error: syntax error before "memory"
builds/unix/ftsystem.c: In function `ft_alloc': builds/unix/ftsystem.c:100: error: `memory' undeclared (first use in this function)
builds/unix/ftsystem.c:100: error: (Each undeclared identifier is reported only once
builds/unix/ftsystem.c:100: error: for each function it appears in.)
builds/unix/ftsystem.c:102: error: `size' undeclared (first use in this function)
builds/unix/ftsystem.c: At top level: builds/unix/ftsystem.c:127: error: syntax error before "memory"

And so on.... Could anyone please tell me what the problem is? Thanks, Krishi.

In reply to (OT) Freetype installation problems by krishi

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.