[MacPorts] #18209: ufraw 0.15 fails to build

MacPorts noreply at macports.org
Fri Feb 27 08:51:22 PST 2009


#18209: ufraw 0.15 fails to build
---------------------------------+------------------------------------------
 Reporter:  macports@…           |       Owner:  frank.mcpherson@…                
     Type:  defect               |      Status:  new                              
 Priority:  Normal               |   Milestone:  Port Bugs                        
Component:  ports                |     Version:  1.7.0                            
 Keywords:                       |        Port:  ufraw                            
---------------------------------+------------------------------------------

Comment(by devans@…):

 It looks like you have a problem with your +no_x11 build environment as
 the link line that is failing above includes X11 library
 dependencies.

 I just tried rebuilding ufraw here and it completed successfully with a
 slightly different link line as follows:

 {{{
 /usr/bin/g++-4.0  -O2   -L/opt/gtk/lib -o ufraw ufraw.o libufraw.a
 -R/opt/gtk/lib -Wl,-framework -Wl,CoreFoundation -L/opt/gtk/lib -lexiv2
 -lintl -lc -liconv -lz -lexpat   -L/opt/gtk/lib -lglib-2.0 -lintl -liconv
 -L/opt/gtk/lib -llcms    -L/opt/gtk/lib -lpng12 -lz
 -Wl,-framework,CoreServices -Wl,-framework,ApplicationServices
 -L/opt/gtk/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
 }}}

 To build gimp successfully with +no_x11 +quartz you need to build all of
 its dependencies with these variants with no X11 ports
 installed.  Practically this means that you should install a clean
 instance of MacPorts that you use only for building with
 these variants and define +no_x11 +quartz in
 ${prefix}/etc/macports/variants.conf.  Then build from scratch with just
 {{{
 sudo port install gimp
 }}}

 If you see any attempt to install xorg-* ports then something is wrong.

 Finally I recommend that you install MacPorts from trunk for this type of
 build as currently only the trunk version
 will properly upgrade your ports respecting the global variants.

 Basically, trying to build +x11 and +no_x11 ports in the same instance of
 MacPorts just doesn't work.  If you want
 both you need to install separate instances for each.  See the topic on
 installing multiple instances of MacPorts
 in the guide. [http://guide.macports.org]

-- 
Ticket URL: <http://trac.macports.org/ticket/18209#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list