Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Mar 1999 12:57:51 -0700 (MST)
From:      Brett Taylor <brett@peloton.physics.montana.edu>
To:        freebsd-ports@freebsd.org
Cc:        vanilla@freebsd.org
Subject:   gtk/glib 1.2 compile problem
Message-ID:  <Pine.BSF.4.05.9903161249370.22021-100000@peloton.physics.montana.edu>

next in thread | raw e-mail | index | archive | help
Hi,

I was trying to update my imlib port which requires gtk-1.2 which in turn
depends on glib-1.2.  The glib-1.2 port builds fine.  When the configure
script for gtk-1.2 runs however it errors out:

checking for glib-config... /usr/local/bin/glib12-config
checking for GLIB - version >= 1.2.0... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log
*** for the exact error that occured. This usually means GLIB was
*** incorrectly installed or that you have moved GLIB since it was
*** installed. In the latter case, you may want to edit the glib-config
*** script: /usr/local/bin/glib12-config
configure: error: 
*** GLIB 1.2.0 or better is required. The latest version of GLIB
*** is always available from ftp://ftp.gtk.org/.
*** Error code 1

However glib-1.2 is installed:

peloton: {86} ls -l /usr/local/bin/glib12-config 
-r-xr-xr-x  1 bin  bin  1843 Mar 16 12:47 /usr/local/bin/glib12-config

Digging through the config.log file I find:

configure:4786: cc -o conftest -O2 -pipe -Wall -I/usr/local/include/glib12
-D_THREAD_SAFE -pthread -I/usr/local/include  conftest.c -lintl
-L/usr/local/lib -L/usr/local/lib -Wl,-E -lgmodule12 -lgthread12 -lglib12 
-lc_r 1>&5
ld: invalid command option `-E'
configure: failed program was:
#line 4776 "configure"

The comma before the -E option looks strange to me, but I couldn't see
where that might be coming from.  I'm running 2.2.8-STABLE yet on this
machine, but I don't see how that would affect things here.

Any ideas?

Brett
***********************************************************
Brett Taylor            brett@peloton.physics.montana.edu *
                        brett@daemonnews.org              *
							  *
			http://www.daemonnews.org/        *
***********************************************************



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9903161249370.22021-100000>