|
From: Joe K. <jko...@co...> - 2006-10-23 20:26:07
|
on 10/20/06 3:53 PM, Timoth=E9e Lecomte at tim...@en... wrote: >> First, from a Mac user's perspective, wxt uses an entire boat load of >> dependencies that are not normally seen on the Mac. To build wxt, I had = to >> install (and sometimes in a specific order) wxMac, atk, pkg-config, glib= , >> gettext, freetype, fontconfig, pango, cairo, and gtk+. > gtk+ is absolutely not necessary when you use wxMac (it is if you use > wxGTK, though gnuplot does not absolutely depend on it - only for soem > tweaks). atk is a gtk+ dependency, so it's not needed either. freetype > isn't supposed to be needed, since cairo is capable of using native Mac > fonts system (so-called "atsui" system). Fontconfig is only necessary > for the cairo freetype backend, so you don't need it either. Timoth=E9e, I went back and removed fontconfig, freetype, pango, and atk. I got cairo-1.2.4 to build and install successfully with ./configure --enable-atsui --enable-quartz --enable-freetype=3Dno --enable-xlib=3Dno Question: Do I need xlib for wxt on a Mac? I then went back and rebuilt and reinstalled wxMac-2.6.3 in case it was dependent on cairo for headers, libraries, etc. Then I attempted a rebuild of gnuplot-4.2.rc1. The ./configure is still looking for pango: <snip> checking pkg-config is at least version 0.9.0... yes checking for CAIROPANGO... configure: WARNING: Package requirements (cairo >=3D 0.9.0 pango >=3D 1.10 pangocairo >=3D 1.10) for the wxWidgets terminal were not met: No package 'pango' found No package 'pangocairo' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you can avoid the need to call pkg-config if you set the environment variables CAIROPANGO_CFLAGS and CAIROPANGO_LIBS to the corresponding flags for cairo, pango, and pangocairo. See the pkg-config man page for more details. <snip> As a result, no wxt terminal was built. Is there a way to not use pango and still build a wxt terminal? The apparent pango dependency is what led me down the primrose path to fontconfig, freetype, etc., on my last build attempt. Maybe the make file needs some changes for the Mac? Joe |