Problems with pango

Andrei Tchijov andrei at tchijov.com
Tue Mar 24 20:48:45 PDT 2009


I finally was able to build X11-less version of gimp.  The only problem

[local/bin] > install gimp +quartz
--->  Building ufraw
Error: Target org.macports.build returned: shell command " cd "/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_graphics_ufraw/work/ufraw-0.15" && make  
all " returned error 2
Command output: make  all-recursive
Making all in po
make[2]: Nothing to be done for `all'.
Making all in icons
make[2]: Nothing to be done for `all'.
/usr/bin/g++-4.0  -O2   -L/opt/local/lib -o ufraw ufraw.o libufraw.a  - 
R/opt/local/lib -Wl,-framework -Wl,CoreFoundation -L/opt/local/lib - 
lexiv2 -lintl -lc -liconv -lz -lexpat   -L/opt/local/lib -lglib-2.0 - 
lintl -liconv   -L/opt/local/lib -llcms    -L/opt/local/lib -lpng12 - 
lz   -L/opt/local/lib -lgtkimageview -lgtk-quartz-2.0 -lgdk-quartz-2.0  
-latk-1.0 -lgio-2.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo - 
lpangoft2-1.0 -lpango-1.0 -lm -lpixman-1 -lfontconfig -lexpat - 
lfreetype -lpng12 -lz -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl - 
liconv   -ltiff -ljpeg -lbz2 -lz  -lintl
Undefined symbols:
   "_CMCloseProfile", referenced from:
       _uf_get_display_profile in libufraw.a(uf_gtk.o)
   "_CMFlattenProfile", referenced from:
       _uf_get_display_profile in libufraw.a(uf_gtk.o)
   "_CMGetProfileByAVID", referenced from:
       _uf_get_display_profile in libufraw.a(uf_gtk.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [ufraw] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: The following dependencies failed to build: ufraw xsane sane- 
backends libusb
Error: Status 1 encountered during processing.
[local/bin] >


Am I correct that this has something to do with scanner support?  Gimp  
is running more or less fine.  I guess I will have to stay away fro  
scanner.

Andrei

On Mar 24, 2009, at 20:11 , Rainer Müller wrote:

> Andrei Tchijov wrote:
>> [local/bin] > install gtk2 +quartz +no_x11
>> --->  Fetching gtk2
>> Error: Please uninstall or deactivate the pango port and reinstall it
>> by running `port install pango +no_x11`.
>> Error: Target org.macports.fetch returned: pango must be installed
>> with the no_x11 variant enabled.
>> Error: Status 1 encountered during processing.
>
> You already have pango installed, but for gtk2 +no_x11 you also need
> pango +no_x11. Isn't the error message quite clear on that?
>
>  sudo port deactivate pango
>  sudo port install pango +no_x11
>
> You might need to rebuild any port that depends on pango afterwards, I
> am not sure. If everything went successful, you can uninstall the
> inactive pango version.
>
> Rainer



More information about the macports-users mailing list