glib2 and gcc

Paul C crispy1975 at gmail.com
Mon Apr 11 06:58:25 PDT 2011


Hi,

My first post to this list. I'm mostly using MacPorts to control my G5
as a development web server and that side of things works really well.
However I've tried installing some additional applications that I used
to use under Debian (PPC) but cannot get to compile.

The main one I'm interested in is kdenlive for video editing,
unfortunately I've hit a brick wall in glib2, I cannot get this to
compile with the arch set to ppc64. I posted a bug on the Gnome bug
tracker here:

https://bugzilla.gnome.org/show_bug.cgi?id=647145

It seems that the problem with glib2 might be the version of gcc being
used. I thought I would then have a go at using a version of gcc from
MacPorts to see if a later version would work ok. However both gcc44 and
gcc45 fail with the following errors:

"checking for the correct version of the gmp/mpfr/mpc libraries... no
configure: error: Building GCC requires GMP 4.2+, MPFR 2.3.1+ and MPC
0.8.0+.
Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
their locations.

and

If you obtained GMP, MPFR and/or MPC from a vendor distribution package,
make sure that you have installed both the libraries and the header
files.  They may be located in separate packages."

As far as I can tell the correct packages are installed:

gmp @5.0.1
mpfr @3.0.1
libmpc @0.9

So my first question is if these MacPort installs pull down the header
files and the libraries or do I need to install separate ports for the
headers?

Thanks.

Paul


More information about the macports-users mailing list