1 |
While emerging gimp: |
2 |
|
3 |
> [ebuild N ] media-gfx/gimp-2.4.7 USE="mmx pdf png smp sse svg |
4 |
> tiff -aalib (-alsa) (-altivec) -curl -dbus -debug -doc -exif -gnome - |
5 |
> gtkhtml -hal -lcms -mng -python -wmf" 0 kB |
6 |
|
7 |
|
8 |
I received the following error: |
9 |
|
10 |
> mkdir .libs |
11 |
> i686-apple-darwin9-gcc -march=prescott -O2 -pipe -fomit-frame- |
12 |
> pointer -Wall -Wdeclaration-after-statement -Wmissing-prototypes - |
13 |
> Wmissing-declarations -Winit-self -Wpointer-arith -o .libs/twain |
14 |
> tw_func.o tw_util.o twain.o tw_mac.o ../../libgimp/.libs/ |
15 |
> libgimp-2.0.dylib /Users/wilson/Library/Gentoo/var/tmp/portage/media- |
16 |
> gfx/gimp-2.4.7/work/gimp-2.4.7/libgimpconfig/.libs/ |
17 |
> libgimpconfig-2.0.dylib -L/Users/wilson/Library/Gentoo/usr/lib / |
18 |
> Users/wilson/Library/Gentoo/var/tmp/portage/media-gfx/gimp-2.4.7/ |
19 |
> work/gimp-2.4.7/libgimpmath/.libs/libgimpmath-2.0.dylib /Users/ |
20 |
> wilson/Library/Gentoo/var/tmp/portage/media-gfx/gimp-2.4.7/work/ |
21 |
> gimp-2.4.7/libgimpcolor/.libs/libgimpcolor-2.0.dylib /Users/wilson/ |
22 |
> Library/Gentoo/var/tmp/portage/media-gfx/gimp-2.4.7/work/gimp-2.4.7/ |
23 |
> libgimpbase/.libs/libgimpbase-2.0.dylib ../../libgimpcolor/.libs/ |
24 |
> libgimpcolor-2.0.dylib -lm ../../libgimpbase/.libs/ |
25 |
> libgimpbase-2.0.dylib /Users/wilson/Library/Gentoo/usr/lib/ |
26 |
> libgobject-2.0.dylib /Users/wilson/Library/Gentoo/usr/lib/ |
27 |
> libgthread-2.0.dylib /Users/wilson/Library/Gentoo/usr/lib/ |
28 |
> libglib-2.0.dylib /Users/wilson/Library/Gentoo/usr/lib/ |
29 |
> libintl.dylib /Users/wilson/Library/Gentoo/usr/lib/libiconv.dylib -lc |
30 |
> Undefined symbols: |
31 |
> "_NewHandle", referenced from: |
32 |
> _twainAllocHandle in tw_mac.o |
33 |
> "_InstallEventLoopTimer", referenced from: |
34 |
> _twainMain in tw_mac.o |
35 |
> "_RunApplicationEventLoop", referenced from: |
36 |
> _twainMain in tw_mac.o |
37 |
> "_DSM_Entry", referenced from: |
38 |
> _callDSM in tw_mac.o |
39 |
> "_GetMainEventLoop", referenced from: |
40 |
> _twainMain in tw_mac.o |
41 |
> "_DisposeHandle", referenced from: |
42 |
> _twainFreeHandle in tw_mac.o |
43 |
> "_CGImageCreateWithPNGDataProvider", referenced from: |
44 |
> _twainMain in tw_mac.o |
45 |
> "_CFURLCreateFromFileSystemRepresentation", referenced from: |
46 |
> _twainMain in tw_mac.o |
47 |
> "_CPSEnableForegroundOperation", referenced from: |
48 |
> _twainMain in tw_mac.o |
49 |
> "_CGDataProviderCreateWithURL", referenced from: |
50 |
> _twainMain in tw_mac.o |
51 |
> "_SetFrontProcess", referenced from: |
52 |
> _twainMain in tw_mac.o |
53 |
> "_kCFAllocatorDefault", referenced from: |
54 |
> _kCFAllocatorDefault$non_lazy_ptr in tw_mac.o |
55 |
> "_SetApplicationDockTileImage", referenced from: |
56 |
> _twainMain in tw_mac.o |
57 |
> "_QuitApplicationEventLoop", referenced from: |
58 |
> _doGetImage in tw_mac.o |
59 |
> _twainQuitApplication in tw_mac.o |
60 |
> "_EndQDContextForApplicationDockTile", referenced from: |
61 |
> _twainMain in tw_mac.o |
62 |
> "_GetCurrentProcess", referenced from: |
63 |
> _twainMain in tw_mac.o |
64 |
> "_BeginQDContextForApplicationDockTile", referenced from: |
65 |
> _twainMain in tw_mac.o |
66 |
> "_CPSSetProcessName", referenced from: |
67 |
> _twainMain in tw_mac.o |
68 |
> ld: symbol(s) not found |
69 |
> collect2: ld returned 1 exit status |
70 |
> make[3]: *** [twain] Error 1 |
71 |
> make[3]: Leaving directory `/Users/wilson/Library/Gentoo/var/tmp/ |
72 |
> portage/media-gfx/gimp-2.4.7/work/gimp-2.4.7/plug-ins/twain' |
73 |
> make[2]: *** [all-recursive] Error 1 |
74 |
> make[2]: Leaving directory `/Users/wilson/Library/Gentoo/var/tmp/ |
75 |
> portage/media-gfx/gimp-2.4.7/work/gimp-2.4.7/plug-ins' |
76 |
> make[1]: *** [all-recursive] Error 1 |
77 |
> make[1]: Leaving directory `/Users/wilson/Library/Gentoo/var/tmp/ |
78 |
> portage/media-gfx/gimp-2.4.7/work/gimp-2.4.7' |
79 |
> make: *** [all] Error 2 |
80 |
> * ERROR: media-gfx/gimp-2.4.7 failed: |
81 |
> * compile failure |
82 |
> * |
83 |
> * Call stack: |
84 |
> * ebuild.sh: 49: <call src_compile> |
85 |
> * environment:3406: <call gnome2_src_compile> |
86 |
> * environment:2432: emake || die "compile failure" |
87 |
> * |
88 |
> * If you need support, post the topmost build error, and the call |
89 |
> stack if relevant. |
90 |
> * build log: '/Users/wilson/Library/Gentoo/var/tmp/portage/media- |
91 |
> gfx/gimp-2.4.7/temp/build.log' |
92 |
> * ebuild environment: '/Users/wilson/Library/Gentoo/var/tmp/portage/ |
93 |
> media-gfx/gimp-2.4.7/temp/environment' |
94 |
> * S: '/Users/wilson/Library/Gentoo/var/tmp/portage/media-gfx/ |
95 |
> gimp-2.4.7/work/gimp-2.4.7' |
96 |
|
97 |
|
98 |
I found a solution in the following forum: |
99 |
|
100 |
http://gimper.net/viewtopic.php?p=25692&sid=03041c327f656ac3839efb15e14ee389#p25692 |
101 |
|
102 |
which allowed me to continue compiling within the work/ directory |
103 |
manually. I don't really know how to create the proper patch (or even |
104 |
if one is really needed here). I hope this is helpful. |
105 |
|
106 |
Aaron |