Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#20085 closed defect (fixed)

Problem installing FontForge

Reported by: alan.zapolskY@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc: achim.passen@…, nbader@…, de5ton56@…, nanotech008@…, hober0@…, nerdling (Jeremy Lavergne), jmroot (Joshua Root)
Port: fontforge

Description (last modified by mf2k (Frank Schima))

Hello... I'm pretty new to both Mac and MacPorts but everything was going smoothly until I attempted to install fontforge. I really have no idea what this all means but here is error messages I received during the install.

Thanks in advance for any help with this problem!

  • Alan
alanz:~ AlanZ$ sudo port install fontforge
--->  Fetching fontforge
--->  Verifying checksum(s) for fontforge
--->  Extracting fontforge
--->  Applying patches to fontforge
--->  Configuring fontforge
--->  Building fontforge
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontforge/work/fontforge-20090224" && make all " returned error 2 Command output: /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.0 -O2 -I/opt/local/include/freetype2/ -I/opt/local/include/freetype2 -I/opt/local/include -I/usr/include/libxml2/ -I/opt/local/include -I../inc -I../inc -I/usr/pkg/include -I/usr/pkg/include/giflib -Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -Wformat -Wchar-subscripts -DHAVE_CONFIG_H -c backtrns.c /usr/bin/gcc-4.0 -O2-I/opt/local/include/freetype2/ -I/opt/local/include/freetype2 -I/opt/local/include -I/usr/include/libxml2/ -I/opt/local/include -I../inc -I../inc -I/usr/pkg/include -I/usr/pkg/include/giflib -Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -Wformat -Wchar-subscripts -DHAVE_CONFIG_H -c backtrns.c  -fno-common -DPIC -o .libs/backtrns.o
/bin/sh ../libtool --mode=compile /usr/bin/gcc-4.0 -O2 -I/opt/local/include/freetype2/ -I/opt/local/include/freetype2 -I/opt/local/include -I/usr/include/libxml2/ -I/opt/local/include -I../inc -I../inc -I/usr/pkg/include -I/usr/pkg/include/giflib -Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -Wformat -Wchar-subscripts -DHAVE_CONFIG_H -c char.c
 /usr/bin/gcc-4.0 -O2 -I/opt/local/include/freetype2/ -I/opt/local/include/freetype2 -I/opt/local/include -I/usr/include/libxml2/ -I/opt/local/include -I../inc -I../inc -I/usr/pkg/include -I/usr/pkg/include/giflib -Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -Wformat -Wchar-subscripts -DHAVE_CONFIG_H -c char.c  -fno-common -DPIC -o .libs/char.o
In file included from /usr/include/_wctype.h:63,
                 from /usr/include/wchar.h:114,
                 from /opt/local/include/iconv.h:106,
                 from ../inc/charset.h:65,
                 from ../inc/ustring.h:33,
                 from char.c:30:
/usr/include/ctype.h:229: error: syntax error before '_c'
/usr/include/ctype.h:229: error: syntax error before '&' token
/usr/include/ctype.h:235: error: syntax error before '_c'
/usr/include/ctype.h:235: error: syntax error before '&' token
/usr/include/ctype.h:254: error: syntax error before '_c'
/usr/include/ctype.h:254: error: syntax error before '&' token
/usr/include/ctype.h:266: error: syntax error before '_c'
/usr/include/ctype.h:266: error: syntax error before '&' token
/usr/include/ctype.h:278: error: syntax error before '_c'
/usr/include/ctype.h:278: error: syntax error before '&' token
/usr/include/ctype.h:284: error: syntax error before '_c'
/usr/include/ctype.h:284: error: syntax error before '&' token
/usr/include/ctype.h:290: error: syntax error before '_c'
/usr/include/ctype.h:290: error: syntax error before '&' token
/usr/include/ctype.h:309: error: syntax error before '_c'
/usr/include/ctype.h:310: error: syntax error before '{' token
/usr/include/ctype.h:315: error: syntax error before '_c'
/usr/include/ctype.h:316: error: syntax error before '{' token
make[1]: *** [char.lo] Error 1
make: *** [libgunicode] Error 2

Error: Status 1 encountered during processing.
alanz:~ AlanZ$ 

These are all my installed ports -

alanz:~ AlanZ$ port installed
The following ports are currently installed:
  apache2 @2.2.11_0+darwin_9 (active)
  apr @1.3.5_0 (active)
  apr-util @1.3.7_0 (active)
  autoconf @2.63_0 (active)
  autoconf213 @2.13_1 (active)
  automake @1.11_0 (active)
  bzip2 @1.0.5_2 (active)
  curl @7.19.5_0 (active)
  db46 @4.6.21_5 (active)
  expat @2.0.1_0 (active)
  fontconfig @2.6.0_2+macosx (active)
  freetype @2.3.9_0+macosx (active)
  gawk @3.1.6_0 (active)
  gettext @0.17_4 (active)
  giflib @4.1.6_1 (active)
  gperf @3.0.4_0 (active)
  gsed @4.2_0 (active)
  help2man @1.36.4_1 (active)
  ImageMagick @6.5.2-9_0+q16 (active)
  jpeg @6b_3 (active)
  libiconv @1.13_0 (active)
  libmcrypt @2.5.8_1 (active)
  libpng @1.2.37_0 (active)
  libtool @2.2.6a_0 (active)
  libuninameslist @20080409_0 (active)
  libxml2 @2.7.3_0 (active)
  libxslt @1.1.24_2 (active)
  m4 @1.4.13_0 (active)
  mhash @0.9.9.9_0 (active)
  mysql5-devel @5.1.35_0 (active)
  ncurses @5.7_0 (active)
  ncursesw @5.7_0 (active)
  openssl @0.9.8k_0 (active)
  p5-locale-gettext @1.05_0 (active)
  pcre @7.9_0 (active)
  pdflib @7.0.4_0 (active)
  perl5 @5.8.9_0 (active)
  perl5.8 @5.8.9_3 (active)
  php5-devel @5.3.0RC4_0+apache2+macosx (active)
  php5-imagick @2.2.2_0 (active)
  pkgconfig @0.23_1 (active)
  readline @6.0.000_1 (active)
  sqlite3 @3.6.15_0 (active)
  tiff @3.8.2_3+macosx (active)
  xorg-bigreqsproto @1.0.2_0 (active)
  xorg-inputproto @1.5.1_0 (active)
  xorg-kbproto @1.0.3_0 (active)
  xorg-libice @1.0.5_0 (active)
  xorg-libsm @1.1.0_0 (active)
  xorg-libX11 @1.2.1_0 (active)
  xorg-libXau @1.0.4_0 (active)
  xorg-libXdmcp @1.0.2_0 (active)
  xorg-libXext @1.0.5_1 (active)
  xorg-libXi @1.2.1_0 (active)
  xorg-libxkbfile @1.0.5_0 (active)
  xorg-libxkbui @1.0.2_0 (active)
  xorg-libXt @1.0.5_2 (active)
  xorg-util-macros @1.2.2_0 (active)
  xorg-xcmiscproto @1.1.2_0 (active)
  xorg-xextproto @7.0.5_0 (active)
  xorg-xf86bigfontproto @1.1.2_0 (active)
  xorg-xproto @7.0.15_0 (active)
  xorg-xtrans @1.2.3_0 (active)
  zlib @1.2.3_2 (active)
alanz:~ AlanZ$ 

Change History (11)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:2 Changed 15 years ago by jmroot (Joshua Root)

-I/usr/pkg/include? How on earth did that get in there?

comment:3 Changed 15 years ago by achim.passen@…

Cc: achim.passen@… added

Cc Me!

comment:4 Changed 15 years ago by nbader@…

Cc: nbader@… added

Cc Me!

comment:5 Changed 15 years ago by blb@…

Cc: de5ton56@… added

Cc reporter of dup #20187.

comment:6 Changed 15 years ago by nanotech008@…

Cc: nanotech008@… added

Cc Me!

comment:7 Changed 15 years ago by hober0@…

Cc: hober0@… added

Cc Me!

comment:8 Changed 15 years ago by jmroot (Joshua Root)

The configure script seems to have no way of setting the libxml2 location, and always uses the one in /usr if present.

comment:9 in reply to:  8 Changed 15 years ago by nerdling (Jeremy Lavergne)

Cc: snc@… added

Replying to jmr@…:

The configure script seems to have no way of setting the libxml2 location, and always uses the one in /usr if present.

Just reinplace the path to be ${prefix} instead?

comment:10 Changed 15 years ago by jmroot (Joshua Root)

Cc: jmr@… added
Resolution: fixed
Status: newclosed

comment:11 Changed 15 years ago by de5ton56@…

It Works! Font Forge installed successfully. Thank you so much.

Note: See TracTickets for help on using tickets.