Gimp installation errors

Jasper Frumau jasperfrumau at gmail.com
Tue Nov 17 11:55:36 PST 2009


I found http://trac.macports.org/ticket/21011 that is very similar and there
is a patch offered:

1. download the files patch-plug-ins-twain-tw_mac.c.diff and
Portfile-gimp2.diff

2. copy patch-plug-ins-twain-tw_mac.c.diff to the gimp2 port files diretory


$ sudo cp ~/Downloads/patch-plug-ins-twain-tw_mac.c.diff
/opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/gimp2/files/

3. patch the gimp2 profile


$ cd /opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/gimp2/
$ sudo patch -p0 < ~/Downloads/Portfile-gimp2.diff

4. rebuild gimp2


$ sudo port clean gimp2
$ sudo port install gimp2

I will try this today or tomorrow..


On Tue, Nov 17, 2009 at 10:46 PM, Jasper Frumau <jasperfrumau at gmail.com>wrote:

> I have done all the updates -Xcode 3.2.1 and OS X 10.6.2 -  and a proper
> clean of gimp2. All files were fetched and it took quite a while again. I
> made a log as you described:
>
> sudo port clean gimp2
> sudo port -d install gimp2 2>&1 | tee ~/Desktop/gimp2.txt
> bzip2 ~/Desktop/gimp2.txt
>
> I still got errors. I will have a look at the tracker and report the
> problems I experienced. Here is a brief summary of the errors I quickly
> located in the long text file:
> /var/tmp//ccW5tnrQ.s:125:suffix or operands invalid for `pushf'
> /var/tmp//ccW5tnrQ.s:126:suffix or operands invalid for `pushf'
> /var/tmp//ccW5tnrQ.s:127:suffix or operands invalid for `pop'
> /var/tmp//ccW5tnrQ.s:130:suffix or operands invalid for `push'
> /var/tmp//ccW5tnrQ.s:131:suffix or operands invalid for `popf'
> /var/tmp//ccW5tnrQ.s:132:suffix or operands invalid for `pushf'
> /var/tmp//ccW5tnrQ.s:133:suffix or operands invalid for `pop'
> /var/tmp//ccW5tnrQ.s:134:suffix or operands invalid for `popf'
> make[2]: *** [gimpcpuaccel.lo] Error 1
> make[2]: *** Waiting for unfinished jobs....
> libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I..
> -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
> -I/opt/local/include -I/opt/local/include -DPREFIX=\"/opt/local\"
> -DGIMPDIR=\".gimp-2.6\" -DDATADIR=\"/opt/local/share/gimp/2.0\"
> -DLOCALEDIR=\"/opt/local/share/locale\"
> -DPLUGINDIR=\"/opt/local/lib/gimp/2.0\"
> -DSYSCONFDIR=\"/opt/local/etc/gimp/2.0\" -DGIMP_PACKAGE=\"gimp\"
> -DGIMP_DATA_VERSION=\"2.0\" -DGIMP_SYSCONF_VERSION=\"2.0\"
> -DGIMP_PLUGIN_VERSION=\"2.0\" -DG_LOG_DOMAIN=\"LibGimpBase\"
> -I/opt/local/include -DGIMP_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE
> -DGTK_MULTIHEAD_SAFE -O2 -arch x86_64 -Wall -Wdeclaration-after-statement
> -Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith
> -Wold-style-definition -MT gimpdatafiles.lo -MD -MP -MF
> .deps/gimpdatafiles.Tpo -c gimpdatafiles.c  -fno-common -DPIC -o
> .libs/gimpdatafiles.o
>  mv -f .deps/gimpdatafiles.Tpo .deps/gimpdatafiles.Plo
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
>     while executing
> "command_exec build"
>     (procedure "portbuild::build_main" line 9)
>     invoked from within
> "$procedure $targetname"
> Warning: the following items did not execute (for gimp2):
> org.macports.activate org.macports.build org.macports.destroot
> org.macports.install
> Error: Status 1 encountered during processing.
>
>
>
> On Tue, Nov 17, 2009 at 12:37 PM, Ryan Schmidt <ryandesign at macports.org>wrote:
>
>>
>> On Nov 17, 2009, at 03:27, Jasper Frumau wrote:
>>
>> > DEBUG: OS Version: 10.0.0
>> > DEBUG: Mac OS X Version: 10.6
>>
>> FYI, Mac OS X 10.6.2 is available and you should probably update to it and
>> anything else Software Update suggests. If you still have Xcode 3.2, you
>> should probably update to 3.2.1 also. (Software Update will not update Xcode
>> for you.)
>>
>>
>>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20091117/1e511b0d/attachment.html>


More information about the macports-users mailing list