Opened 21 years ago

Closed 21 years ago

Last modified 19 years ago

#664 closed defect (fixed)

gimp install fails

Reported by: jt.marsh@… Owned by: fkr@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: fkr@…
Port:

Description

After building gimp 1.3:

[KailuaBeach:dports/graphics/gimp] masa% sudo port install Password: ---> Installing gimp Error: Target com.apple.install returned: shell command "cd "/usr/dports/darwinports/dports/graphics/gimp/work/gimp-1.3.15" && make install prefix=/usr/dports/darwinports/dports/graphics/gimp/work/destroot/opt/local" returned error 2

Then later on:

Making install in libgimpmodule /bin/sh ../mkinstalldirs /usr/dports/darwinports/dports/graphics/gimp/work/destroot/opt/local/lib

/bin/sh ../libtool --mode=install /usr/bin/install -c libgimpmodule-1.3.la

/usr/dports/darwinports/dports/graphics/gimp/work/destroot/opt/local/lib/libgimpmodule-1.3.la libtool: install: warning: relinking `libgimpmodule-1.3.la' (cd /usr/dports/darwinports/dports/graphics/gimp/work/gimp-1.3.15/libgimpmodule; /bin/sh ../libtool --mode=relink gcc -I/opt/local/include -Wall -L/opt/local/lib -o libgimpmodule-1.3.la -rpath /opt/local/lib -version-info 15:0:0 gimpmodule.lo gimpmoduledb.lo ../libgimpbase/libgimpbase-1.3.la -L/opt/local/lib -lgobject-2.0 -lglib-2.0 -lintl -liconv -L/opt/local/lib -lgmodule-2.0 -lglib-2.0 -lintl -liconv -inst-prefix-dir /usr/dports/darwinports/dports/graphics/gimp/work/destroot) gcc -r -keep_private_externs -nostdlib -o .libs/libgimpmodule-1.3.15.0.0.dylib-master.o gimpmodule.lo gimpmoduledb.lo && gcc -dynamiclib -flat_namespace -undefined suppress -o .libs/libgimpmodule-1.3.15.0.0.dylib .libs/libgimpmodule-1.3.15.0.0.dylib-master.o -L/opt/local/lib /opt/local/lib/libgimpbase-1.3.dylib /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib /opt/local/lib/libiconv.dylib -lc -install_name /opt/local/lib/libgimpmodule-1.3.15.dylib -compatibility_version 16 -current_version 16.0 gcc: /opt/local/lib/libgimpbase-1.3.dylib: No such file or directory libtool: install: error: relink `libgimpmodule-1.3.la' with the above command before installing it make[2]: * [install-libLTLIBRARIES] Error 1 make[1]: * [install-am] Error 2 make: * [install-recursive] Error 1

Attachments (1)

patch-Portfile-gimp (759 bytes) - added by fkr@… 21 years ago.
patch to portfile

Download all attachments as: .zip

Change History (11)

comment:1 Changed 21 years ago by jt.marsh@…

I haven't come close to getting this to work yet, but also appears that the Portfile references gimp-1.2 instead of 1.3.

comment:2 Changed 21 years ago by michaelm@…

Owner: changed from darwinports-bugs@… to eric@…

re-assign bug to maintainer

comment:3 Changed 21 years ago by eric@…

Owner: changed from eric@… to darwinports-bugs@…

comment:4 Changed 21 years ago by fkr@…

Resolution: fixed
Status: newclosed

I believe, this can be closed.

comment:5 Changed 21 years ago by jt.marsh@…

I now get something like:

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../intl -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib-1.2 -I/opt/local/lib/glib/include -I/usr/X11R6/include

-I/opt/local/include -DREGEX_MALLOC

-DLOCALEDIR=\""/opt/local/share/locale"\" -I/opt/local/include

-DGTK_DISABLE_COMPAT_H -g -O2 -Wall -c interp_regex.c interp_regex.c: In function `regcomp_l': interp_regex.c:61: warning: implicit declaration of function `gimpregcomp' interp_regex.c: In function `regexec_l': interp_regex.c:94: warning: implicit declaration of function `gimpregexec' interp_regex.c: In function `regex_gc_free': interp_regex.c:114: warning: implicit declaration of function `gimpregfree' /bin/sh ../../libtool --mode=link gcc -g -O2 -Wall -o script-fu interp_md5.o interp_regex.o interp_slib.o interp_sliba.o interp_trace.o regex.o script-fu.o script-fu-console.o script-fu-constants.o script-fu-scripts.o script-fu-server.o ../../plug-ins/dbbrowser/dbbrowser_utils.o ../../libgimp/libgimpui.la ../../libgimp/libgimp.la

-L/opt/local/lib -L/usr/X11R6/lib -lgtk -lgdk -lgmodule

-lglib -ldl -lXext -lX11 -lm

../../intl/libintl.a

gcc -g -O2 -Wall -o .libs/script-fu interp_md5.o interp_regex.o interp_slib.o interp_sliba.o interp_trace.o regex.o script-fu.o script-fu-console.o script-fu-constants.o script-fu-scripts.o script-fu-server.o ../../plug-ins/dbbrowser/dbbrowser_utils.o -L../../libgimp/.libs -lgimpui -L/opt/local/lib -L/usr/X11R6/lib -lgimp -lgtk -lgdk -lgmodule -lglib -ldl -lXext -lX11 -lm ../../intl/libintl.a ld: warning multiple definitions of symbol _regcomp regex.o definition of _regcomp in section (TEXT,text) /usr/lib/libm.dylib(regcomp.So) definition of _regcomp ld: warning multiple definitions of symbol _regexec regex.o definition of _regexec in section (TEXT,text) /usr/lib/libm.dylib(regexec.So) definition of _regexec ld: warning multiple definitions of symbol _regfree regex.o definition of _regfree in section (TEXT,text) /usr/lib/libm.dylib(regfree.So) definition of _regfree ld: Undefined symbols: _gimpregcomp _gimpregexec _gimpregfree make[4]: * [script-fu] Error 1 make[3]: * [all-recursive] Error 1 make[2]: * [all-recursive] Error 1 make[1]: * [all-recursive] Error 1 make: * [all-recursive-am] Error 2

Changed 21 years ago by fkr@…

Attachment: patch-Portfile-gimp added

patch to portfile

comment:6 Changed 21 years ago by fkr@…

Cc: fkr@… added
Resolution: fixed
Status: closedreopened

comment:7 Changed 21 years ago by jt.marsh@…

It compiles but won't run.

Gdk-WARNING : locale not supported by C library dyld: perl multiple definitions of symbol _PLUG_IN_INFO /Library/Perl/darwin/auto/Gimp/Lib/Lib.bundle definition of _PLUG_IN_INFO /Library/Perl/darwin/auto/Gimp/UI/UI.bundle definition of _PLUG_IN_INFO

LibGimp-WARNING : gimp-1.2: wire_read: unexpected EOF

Gdk-WARNING : locale not supported by C library dyld: /opt/local/lib/gimp/1.2/plug-ins/script-fu Undefined symbols: _gimpregcomp _gimpregexec _gimpregfree

LibGimp-WARNING : gimp-1.2: wire_read: unexpected EOF /opt/local/bin/gimp-1.2: Plug-In crashed: "script-fu" (/opt/local/lib/gimp/1.2/plug-ins/script-fu)

The dying Plug-In may have messed up GIMP's internal state. You may want to save your images and restart GIMP to be on the safe side.

comment:8 Changed 21 years ago by jt.marsh@…

I removed the patchfiles patch-plug_in_cmds.c, patch-procedural_db_cmds.c, patch-regex.c patch-regex.h, and patch-scriptfu-interp_regex.c, and removed the

flat-namespace option from Portfile and successfully compiled, installed and

ran gimp.

But, at startup I get these messages repeated many times:

Gdk-WARNING : locale not supported by C library dyld: perl multiple definitions of symbol nl_current_default_domain /Library/Perl/darwin/auto/Gimp/Gimp.bundle definition of nl_current_default_domain /Library/Perl/darwin/auto/Gimp/Lib/Lib.bundle definition of nl_current_default_domain

LibGimp-WARNING : gimp-1.2: wire_read: unexpected EOF dyld: perl multiple definitions of symbol nl_current_default_domain /Library/Perl/darwin/auto/Gimp/Gimp.bundle definition of nl_current_default_domain /Library/Perl/darwin/auto/Gimp/Lib/Lib.bundle definition of nl_current_default_domain

LibGimp-WARNING : gimp-1.2: wire_read: unexpected EOF dyld: perl multiple definitions of symbol nl_current_default_domain /Library/Perl/darwin/auto/Gimp/Gimp.bundle definition of nl_current_default_domain /Library/Perl/darwin/auto/Gimp/Lib/Lib.bundle definition of nl_current_default_domain

LibGimp-WARNING : gimp-1.2: wire_read: unexpected EOF dyld: perl multiple definitions of symbol nl_current_default_domain /Library/Perl/darwin/auto/Gimp/Gimp.bundle definition of nl_current_default_domain /Library/Perl/darwin/auto/Gimp/Lib/Lib.bundle definition of nl_current_default_domain

LibGimp-WARNING : gimp-1.2: wire_read: unexpected EOF

comment:9 Changed 21 years ago by fkr@…

Owner: changed from darwinports-bugs@… to fkr@…
Status: reopenednew

comment:10 Changed 21 years ago by fkr@…

Resolution: fixed
Status: newclosed

sorry, forgot to include a couple patches. should be fixed now. -fkr

Note: See TracTickets for help on using tickets.