Can't build libgnomeprintui (was "Problems building autoconf")

Ryan Schmidt ryandesign at macports.org
Wed Oct 31 03:29:44 PDT 2007


On Oct 31, 2007, at 05:28, Marcus Vinicius Eiffle Duarte wrote:

> Ryan Schmidt wrote:
>
>> On Oct 30, 2007, at 07:02, Marcus Vinicius Eiffle Duarte wrote:
>>
>> > I am still trying to build planner.
>> > After the messages I received, I installed MacPorts-1.5.2,
>> > uninstalled all previously installed ports, selected gcc-4.0.1 as
>> > compiler and tried again. The ports I builr previously
>> > ( MacPorts-1.5.0 + gcc-3.3) built fine.
>> > However, when trying to build planner, now autoconf builds fine,
>> > but I got an error building libgnomeprintui. I am copying the
>> > relevant part of the error message below.
>> > The problem is, all versions of the programs listed in the error
>> > message are equal or higher than required. I also can't find
>> > any .pc files anywhere, so I don't know where I could edit some
>> > information that could make pkg-config behave.
>> > Sorry if this is trivial to solve, but I would really appreciate
>> > help to get it right.
>>
>> > --->  Configuring libgnomeprintui
>>
>> > checking for LIBGNOMEPRINTUI... configure: error: Package
>> > requirements (
>> >         gtk+-2.0           >= 2.6.0
>> >         libgnomeprint-2.2  >= 2.12.1
>> >         libgnomecanvas-2.0 >= 1.117.0
>> >         gnome-icon-theme   >= 1.1.92
>> > ) were not met.
>> > Consider adjusting the PKG_CONFIG_PATH environment variable if you
>> > installed software in a non-standard prefix.
>> >
>> > Alternatively you may set the LIBGNOMEPRINTUI_CFLAGS and
>> > LIBGNOMEPRINTUI_LIBS environment variables
>> > to avoid the need to call pkg-config.  See the pkg-config man  
>> page for
>> > more details.
>> >
>> > Error: The following dependencies failed to build: libgnomeprintui
>> > shared-mime-info
>> > Error: Status 1 encountered during processing.
>>
>> What do you get on your system when you do this:
>>
>> port installed gtk2 libgnomeprint libgnomecanvas gnome-icon-theme
>
> Ryan,
>
> this is the output you asked for:
>
> no720389:~ ctp8$ port installed gtk2 libgnomeprint libgnomecanvas  
> gnome-icon-theme
> The following ports are currently installed:
>   gtk2 @2.10.13_0 (active)
>   libgnomecanvas @2.14.0_1 (active)
>   gnome-icon-theme @2.18.0_1 (active)
> no720389:~ ctp8$
>
> So I found it weird that libgnomeprint was not installed, even  
> though I saw a package of it downloaded. Thinking that it could  
> solve the problem with building libgnomeprintui, I ran "sudo port  
> install libgnomeprint", but got another error, which relevant part  
> I am copying below.
>
> (...)
> ld: warning prebinding disabled because dependent library: /usr/lib/ 
> libart_lgpl_2.2.dylib is not prebound
> ld: Undefined symbols:
> _art_free
> _art_alloc
> _art_realloc
> /usr/bin/libtool: internal link edit command failed
> make[3]: *** [libgnomeprint-2-2.la] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> Error: Status 1 encountered during processing.
>
>
> Am I missing something I should have done before?

Ok, so it looks like libgnomeprint isn't building for some reason.  
I'm Cc'ing this email back to the mailing list and to Randall Wood,  
the maintainer of libgnomeprint (and much of the gnome ports).



More information about the macports-users mailing list