failed to build dia

Ryan Schmidt ryandesign at macports.org
Mon Sep 29 03:48:27 PDT 2008


On Sep 29, 2008, at 05:16, Normen Müller wrote:

> # port install dia
> --->  Fetching gtk2
> --->  Attempting to fetch gtk+-2.14.3.tar.bz2 from http:// 
> mandril.creatis.insa-lyon.fr/linux/gnome.org/sources/gtk+/2.14/
> --->  Verifying checksum(s) for gtk2
> --->  Extracting gtk2
> --->  Configuring gtk2
> --->  Building gtk2 with target all
> --->  Staging gtk2 into destroot
> --->  Installing gtk2 2.14.3_1+x11
> --->  Activating gtk2 2.14.3_1+x11
> --->  Cleaning gtk2
> --->  Fetching libart_lgpl
> --->  Attempting to fetch libart_lgpl-2.3.20.tar.bz2 from http:// 
> mandril.creatis.insa-lyon.fr/linux/gnome.org/sources/libart_lgpl/2.3/
> --->  Verifying checksum(s) for libart_lgpl
> --->  Extracting libart_lgpl
> --->  Configuring libart_lgpl
> --->  Building libart_lgpl with target all
> --->  Staging libart_lgpl into destroot
> --->  Installing libart_lgpl 2.3.20_0
> --->  Activating libart_lgpl 2.3.20_0
> --->  Cleaning libart_lgpl
> --->  Fetching dia
> --->  Attempting to fetch dia-0.96.1.tar.bz2 from http:// 
> mandril.creatis.insa-lyon.fr/linux/gnome.org/sources/dia/0.96/
> --->  Verifying checksum(s) for dia
> --->  Extracting dia
> --->  Applying patches to dia
> --->  Configuring dia
> --->  Building dia with target all
> Error: Target org.macports.build returned: shell command " cd "/opt/ 
> local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome 
> _dia/work/dia-0.96.1" && make all " returned error 2
> Command output:       flat_namespace undefines in  
> libgdk_pixbuf-2.0.dylib
>   "_jas_stream_close", referenced from:
>       flat_namespace undefines in libgdk_pixbuf-2.0.dylib
>   "_jas_stream_write", referenced from:
>       flat_namespace undefines in libgdk_pixbuf-2.0.dylib
>   "_jas_stream_rewind", referenced from:
>       flat_namespace undefines in libgdk_pixbuf-2.0.dylib
>   "_jas_image_destroy", referenced from:
>       flat_namespace undefines in libgdk_pixbuf-2.0.dylib
>   "_jas_image_readcmpt", referenced from:
>       flat_namespace undefines in libgdk_pixbuf-2.0.dylib
>   "_jas_init", referenced from:
>       flat_namespace undefines in libgdk_pixbuf-2.0.dylib
>   "_jas_matrix_destroy", referenced from:
>       flat_namespace undefines in libgdk_pixbuf-2.0.dylib
>   "_jas_image_chclrspc", referenced from:
>       flat_namespace undefines in libgdk_pixbuf-2.0.dylib
>   "_jas_matrix_create", referenced from:
>       flat_namespace undefines in libgdk_pixbuf-2.0.dylib
>   "_jas_stream_memopen", referenced from:
>       flat_namespace undefines in libgdk_pixbuf-2.0.dylib
>   "_jas_image_decode", referenced from:
>       flat_namespace undefines in libgdk_pixbuf-2.0.dylib
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make[4]: *** [dia] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> Error: Status 1 encountered during processing.

Hmm, that looks similar to the error I just filed against the new  
version of gtk2:

http://trac.macports.org/ticket/16689

Side note: Curious that gtk2 built for you, but not for me. Maybe it  
works on Leopard but not Tiger?



More information about the macports-users mailing list