[MacPorts] #21338: gimp2 2.6.7 fails to compile (SL)

MacPorts noreply at macports.org
Tue Sep 22 15:28:12 PDT 2009


#21338: gimp2 2.6.7 fails to compile (SL)
------------------------------+---------------------------------------------
 Reporter:  bgrupe@…          |       Owner:  devans@…           
     Type:  defect            |      Status:  assigned           
 Priority:  Normal            |   Milestone:                     
Component:  ports             |     Version:  1.8.0              
 Keywords:                    |        Port:  gimp2              
------------------------------+---------------------------------------------

Comment(by dkeverne@…):

 I've got a lot further by editing config.h and turning off ARCH_X86 and
 turning on ARCH_X86_64.  Not sure where configure is deciding it shouldn't
 be 64bit.

 It then fails a lot later on

 {{{
 Making all in twain
 /bin/sh ../../libtool --tag=CC   --mode=link /usr/bin/gcc-4.2  -O2 -arch
 x86_64 -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-
 declarations -Winit-self -Wpointer-arith -Wold-style-definition -framework
 Carbon -framework TWAIN -L/opt/local/lib -o twain tw_func.o tw_util.o
 twain.o tw_mac.o ../../libgimp/libgimp-2.0.la
 ../../libgimpcolor/libgimpcolor-2.0.la
 ../../libgimpbase/libgimpbase-2.0.la -L/opt/local/lib -lgobject-2.0
 -lgthread-2.0 -lglib-2.0 -lintl -liconv    -lintl
 libtool: link: /usr/bin/gcc-4.2 -O2 -arch x86_64 -Wall -Wdeclaration-
 after-statement -Wmissing-prototypes -Wmissing-declarations -Winit-self
 -Wpointer-arith -Wold-style-definition -o .libs/twain tw_func.o tw_util.o
 twain.o tw_mac.o  -framework TWAIN -L/opt/local/lib
 ../../libgimp/.libs/libgimp-2.0.dylib
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_gimp2/work/gimp-2.6.7/libgimpconfig/.libs/libgimpconfig-2.0.dylib
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_gimp2/work/gimp-2.6.7/libgimpmath/.libs/libgimpmath-2.0.dylib
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_gimp2/work/gimp-2.6.7/libgimpcolor/.libs/libgimpcolor-2.0.dylib
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_gimp2/work/gimp-2.6.7/libgimpbase/.libs/libgimpbase-2.0.dylib
 ../../libgimpcolor/.libs/libgimpcolor-2.0.dylib -lm
 ../../libgimpbase/.libs/libgimpbase-2.0.dylib
 /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libgthread-2.0.dylib
 /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib
 /opt/local/lib/libiconv.dylib -lc -framework Carbon
 Undefined symbols:
   "_EndQDContextForApplicationDockTile", referenced from:
       _twainMain in tw_mac.o
   "_BeginQDContextForApplicationDockTile", referenced from:
       _twainMain in tw_mac.o
   "_SetApplicationDockTileImage", referenced from:
       _twainMain in tw_mac.o
 ld: symbol(s) not found
 collect2: ld returned 1 exit status
 }}}

 Might try deselecting twain from configure and see if I can get past this
 later.

 Regards, Darren

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


More information about the macports-tickets mailing list