Re: Problems building pango-1.18.0 on Mac



Hi Egon,

the following worked for me...

curl -O http://pkgconfig.freedesktop.org/releases/pkg- config-0.22.tar.gz;
tar xvfz pkg-config-0.22.tar.gz;
cd pkg-config-0.22;
./configure;
make -j 2;
sudo make install;
cd ..;

curl -O http://ftp.gnu.org/pub/gnu/gettext/gettext-0.17.tar.gz;
tar xvfz gettext-0.17.tar.gz;
cd gettext-0.17;
./configure;
make -j 2;
sudo make install;
cd ..;


curl -O -u anonymous:@ ftp://ftp.gtk.org/pub/glib/2.14/glib-2.14.5.tar.gz ;
tar xvfz glib-2.14.5.tar.gz;
cd glib-2.14.5;
./configure;
make -j 2;
sudo make install;
cd ..

curl -O http://cairographics.org/releases/cairo-1.4.12.tar.gz;
tar xvfz cairo-1.4.12.tar.gz;
cd cairo-1.4.12;
env PKG_CONFIG_PATH=/usr/X11R6/lib/pkgconfig ./configure --disable-png --enable-quartz;
make -j 2;
sudo make install;
cd ..

curl -O -u anonymous:@ ftp://ftp.gtk.org/pub/gtk/v2.10/dependencies/atk-1.9.1.tar.bz2 ;
bunzip2 atk-1.9.1.tar.bz2;
tar xvf atk-1.9.1.tar;
cd atk-1.9.1;
./configure;
make -j 2;
sudo make install;
cd ..;

curl -O -u anonymous:@ ftp://ftp.gtk.org/pub/pango/1.18/pango-1.18.0.tar.gz ;
tar xvfz pango-1.18.0.tar.gz;
cd pango-1.18.0;
env PKG_CONFIG_PATH=/usr/X11R6/lib/pkgconfig ./configure;
make -j 2;
sudo make install;
cd ..

Best regards
Michael

On Jan 26, 2008, at 10:34 AM, Egon Andersen wrote:

Hi,

I've recently got a Mac on which I try to install all the GTK+ stuff :-)
I've come a long way, but now I seem to be stuck with the building of
pango-1.18.0

I'm trying to build with X11 support and have all X11 installed on the
Mac (as far as I can tell - I'm still very new to Mac...)

In the directory where I have extracted the pango-1.18.0 I run
./configure --with-x --x-includes=/usr/X11/include
--x-libraries=/usr/X11/lib

The configure succeeded well.

Now I run
make

Runs fine until the linking phase where it complains with:
-----------
Undefined symbols:
  "_pangoft2_viewer", referenced from:
      -viewers in pango-view.o
  "_pangocairo_viewer", referenced from:
      -viewers in pango-view.o
ld: symbol(s) not found
-----------

It seems to me to be something internally in the pango-package that
can't be found when linking?

Can someone help me through this problem?

(pango-1.18.0 and other GTK+ related packages are downloaded from gtk.org)

Best regards
Egon Andersen
_______________________________________________
gtk-list mailing list
gtk-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]