I'm still trying to track down the bug in the port for libmng. I've tried to contact the maintainer but have heard nothing. In the build process it appears that autoconf generates a configure script, but executing 'configure' does nothing. It does not go through the normal checks and it does not create a Makefile it simply prints nothing and exits. Without the Makefile the installation can't proceed. config.log shows exit 0. My ports installation is up to date and synced. I'm on a PBook G4 with 10.4.10 Dave
I tried re-installing the port of m4, which made no difference with my install problem, then I reviewed the m4 description at m4.darwinports.com and saw that it tries to install the binary as gm4. `which m4` returned /usr/bin/m4 (version 1.4.2) while `which gm4` returned /opt/local/bin/gm4 (version 1.4.10) Guessing that the build tools might look for m4 before gm4 I moved /usr/bin/m4 to /usr/bin/m4.old, then did a clean and install on libmng. It worked! libmng is now installed. If you're having trouble with no Makefile being generated and 'no rule' errors, have a look at your path for old versions of m4. Dave David Moylan wrote:
I'm still trying to track down the bug in the port for libmng. I've tried to contact the maintainer but have heard nothing. In the build process it appears that autoconf generates a configure script, but executing 'configure' does nothing. It does not go through the normal checks and it does not create a Makefile it simply prints nothing and exits. Without the Makefile the installation can't proceed.
config.log shows exit 0.
My ports installation is up to date and synced.
I'm on a PBook G4 with 10.4.10
Dave
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
This list has been a great help, but I'm not out of the woods yet. Hiding m4 worked to get me past some of the errors in installing gimp - in particular something complaining that there wasn't already a work directory for it before it started upgrading itself. However I've now run into another error. I would be grateful for any ideas in getting past this one. ---> Building librsvg with target all Error: Target org.macports.build returned: shell command " cd "/opt/ local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_l ibrsvg/work/librsvg-2.16.1" && make all " returned error 2 Command output: gcc -dynamiclib -o .libs/ librsvg-2.2.16.1.dylib .libs/rsvg-affine.o .libs/librsvg- features.o .libs/rsvg-bpath-util.o .libs/rsvg-css.o .libs/rsvg- defs.o .libs/rsvg-image.o .libs/rsvg-paint-server.o .libs/rsvg- path.o .libs/rsvg-base-file-util.o .libs/rsvg-filter.o .libs/rsvg- marker.o .libs/rsvg-mask.o .libs/rsvg-shapes.o .libs/rsvg- structure.o .libs/rsvg-styles.o .libs/rsvg-text.o .libs/rsvg- cond.o .libs/rsvg-base.o .libs/librsvg-enum-types.o .libs/rsvg-cairo- draw.o .libs/rsvg-cairo-render.o .libs/rsvg-cairo-clip.o .libs/ rsvg.o .libs/rsvg-gobject.o .libs/rsvg-file-util.o -L/opt/local/lib / opt/local/lib/libgnomevfs-2.dylib /opt/local/lib/libdbus- glib-1.dylib /opt/local/lib/libdbus-1.dylib /opt/local/lib/ libssl.dylib /opt/local/lib/libcrypto.dylib /opt/local/lib/ libz.dylib /opt/local/lib/libhowl.dylib /opt/local/lib/ libbonobo-2.dylib /opt/local/lib/libORBitCosNaming-2.dylib /opt/local/ lib/libgconf-2.dylib /opt/local/lib/libbonobo-activation.dylib /opt/ local/lib/libORBit-2.dylib /opt/local/lib/libgthread-2.0.dylib /opt/ local/lib/libgsf-1.dylib /opt/local/lib/libcroco-0.6.dylib -L/usr/ X11R6/lib /opt/local/lib/libgdk_pixbuf-2.0.dylib /opt/local/lib/ libtiff.dylib /opt/local/lib/libjpeg.dylib /opt/local/lib/ libxml2.dylib -lpthread -lm /opt/local/lib/libpangoft2-1.0.dylib /opt/ local/lib/libpangocairo-1.0.dylib /usr/X11R6/lib/libSM.dylib /usr/ X11R6/lib/libICE.dylib /usr/X11R6/lib/libX11.dylib /opt/local/lib/ libpango-1.0.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 /opt/local/lib/ libcairo.dylib -lSM -lICE /opt/local/lib/libpng12.dylib /opt/local/ lib/libXrender.dylib -lX11 /opt/local/lib/libfontconfig.dylib /opt/ local/lib/libexpat.dylib /opt/local/lib/libfreetype.dylib -lz - install_name /opt/local/lib/librsvg-2.2.dylib -compatibility_version 19 -current_version 19.1 ld: warning prebinding disabled because dependent library: /opt/local/ lib/libgnomevfs-2.0.dylib is not prebound nmedit -s .libs/librsvg-2-symbols.expsym .libs/librsvg-2.2.16.1.dylib (cd .libs && rm -f librsvg-2.2.dylib && ln -s librsvg-2.2.16.1.dylib librsvg-2.2.dylib) (cd .libs && rm -f librsvg-2.dylib && ln -s librsvg-2.2.16.1.dylib librsvg-2.dylib) ar cru .libs/librsvg-2.a rsvg-affine.o librsvg-features.o rsvg-bpath- util.o rsvg-css.o rsvg-defs.o rsvg-image.o rsvg-paint-server.o rsvg- path.o rsvg-base-file-util.o rsvg-filter.o rsvg-marker.o rsvg-mask.o rsvg-shapes.o rsvg-structure.o rsvg-styles.o rsvg-text.o rsvg-cond.o rsvg-base.o librsvg-enum-types.o rsvg-cairo-draw.o rsvg-cairo- render.o rsvg-cairo-clip.o rsvg.o rsvg-gobject.o rsvg-file-util.o ranlib .libs/librsvg-2.a creating librsvg-2.la (cd .libs && rm -f librsvg-2.la && ln -s ../librsvg-2.la librsvg-2.la) if gcc -DHAVE_CONFIG_H -I. -I. -I. -D_REENTRANT -DORBIT2=1 -I/opt/ local/include/gnome-vfs-2.0 -I/opt/local/lib/gnome-vfs-2.0/include -I/ opt/local/include/bonobo-activation-2.0 -I/opt/local/include/ libbonobo-2.0 -I/opt/local/include/gconf/2 -I/opt/local/include/ glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/ opt/local/include/orbit-2.0 -DHAVE_GNOME_VFS=1 -I/opt/local/include/ libgsf-1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/ include -I/opt/local/include -I/opt/local/include/libxml2 - DHAVE_SVGZ=1 -I/opt/local/include/libcroco-0.6 -I/opt/local/include/ glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/ opt/local/include/libxml2 -DHAVE_LIBCROCO=1 -I. -I. -DXTHREADS -I/ opt/local/include/gtk-2.0 -I/opt/local/include/glib-2.0 -I/opt/local/ lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/ libxml2 -I/opt/local/include/pango-1.0 -I/opt/local/include/freetype2 -I/opt/local/include/cairo -I/opt/local/include/libpng12 -I/usr/X11R6/ include -DXTHREADS -I/opt/local/include/gtk-2.0 -I/opt/local/lib/ gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/ cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/ opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/ include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11R6/ include -DXTHREADS -I/opt/local/include/gtk-2.0 -I/opt/local/lib/ gtk-2.0/include -I/opt/local/include/pango-1.0 -I/opt/local/include/ glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/ opt/local/include/cairo -I/opt/local/include/freetype2 -I/opt/local/ include/libpng12 -I/usr/X11R6/include -I/usr/X11R6/include - DG_LOG_DOMAIN=\"librsvg\" -DLIBRSVG_DATADIR="\"/opt/local/share\"" - I/opt/local/include -L/opt/local/lib -O2 -no-cpp-precomp - flat_namespace -undefined suppress -MT rsvg-convert.o -MD -MP -MF ".deps/rsvg-convert.Tpo" -c -o rsvg-convert.o rsvg-convert.c; \ then mv -f ".deps/rsvg-convert.Tpo" ".deps/rsvg-convert.Po"; else rm - f ".deps/rsvg-convert.Tpo"; exit 1; fi /bin/sh ./libtool --mode=link --tag=CC gcc -O2 -no-cpp-precomp - flat_namespace -undefined suppress -L/opt/local/lib -o rsvg-convert rsvg-convert.o -L/opt/local/lib -lgnomevfs-2 -lbonobo-2 -lgconf-2 - lbonobo-activation -lORBit-2 -lm -lgmodule-2.0 -lgthread-2.0 - lgobject-2.0 -lglib-2.0 -lintl -liconv -L/opt/local/lib -lgsf-1 - lgobject-2.0 -lxml2 -lpthread -lz -lm -lglib-2.0 -lintl -liconv -L/ opt/local/lib -lcroco-0.6 -lglib-2.0 -lintl -lxml2 -lpthread -lz - liconv -lm -L/opt/local/lib -L/usr/X11R6/lib -lgdk_pixbuf-2.0 - lxml2 -lpthread -lm -lpangoft2-1.0 -lpangocairo-1.0 -lpango-1.0 - lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -lcairo -lSM - lICE -lpng12 -lXrender -lX11 -lfontconfig -lexpat -lfreetype -lz ./ librsvg-2.la -lm gcc -O2 -no-cpp-precomp -flat_namespace -undefined suppress -o .libs/ rsvg-convert rsvg-convert.o -L/opt/local/lib -L/usr/X11R6/ lib ./.libs/librsvg-2.dylib /opt/local/lib/libgnomevfs-2.dylib /opt/ local/lib/libdbus-glib-1.dylib /opt/local/lib/libdbus-1.dylib -lssl - lcrypto /opt/local/lib/libhowl.dylib /opt/local/lib/ libbonobo-2.dylib /opt/local/lib/libgconf-2.dylib /opt/local/lib/ libbonobo-activation.dylib /opt/local/lib/libORBitCosNaming-2.dylib / opt/local/lib/libORBit-2.dylib -lresolv /opt/local/lib/ libgthread-2.0.dylib /opt/local/lib/libgsf-1.dylib -lbz2 /opt/local/ lib/libcroco-0.6.dylib /opt/local/lib/libgdk_pixbuf-2.0.dylib /opt/ local/lib/libtiff.dylib /opt/local/lib/libjpeg.dylib /opt/local/lib/ libxml2.dylib -lpthread /opt/local/lib/libpangocairo-1.0.dylib /opt/ local/lib/libpangoft2-1.0.dylib /opt/local/lib/libpango-1.0.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 -lc /opt/local/lib/libiconv.dylib /opt/local/lib/ libcairo.dylib -lSM -lICE /opt/local/lib/libpng12.dylib /opt/local/ lib/libXrender.dylib -lX11 /opt/local/lib/libfontconfig.dylib /opt/ local/lib/libexpat.dylib /opt/local/lib/libfreetype.dylib -lz -lm /usr/bin/ld: warning -undefined suppress disables -prebind creating rsvg-convert if gcc -DHAVE_CONFIG_H -I. -I. -I. -D_REENTRANT -DORBIT2=1 -I/opt/ local/include/gnome-vfs-2.0 -I/opt/local/lib/gnome-vfs-2.0/include -I/ opt/local/include/bonobo-activation-2.0 -I/opt/local/include/ libbonobo-2.0 -I/opt/local/include/gconf/2 -I/opt/local/include/ glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/ opt/local/include/orbit-2.0 -DHAVE_GNOME_VFS=1 -I/opt/local/include/ libgsf-1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/ include -I/opt/local/include -I/opt/local/include/libxml2 - DHAVE_SVGZ=1 -I/opt/local/include/libcroco-0.6 -I/opt/local/include/ glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/ opt/local/include/libxml2 -DHAVE_LIBCROCO=1 -I. -I. -DXTHREADS -I/ opt/local/include/gtk-2.0 -I/opt/local/include/glib-2.0 -I/opt/local/ lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/ libxml2 -I/opt/local/include/pango-1.0 -I/opt/local/include/freetype2 -I/opt/local/include/cairo -I/opt/local/include/libpng12 -I/usr/X11R6/ include -DXTHREADS -I/opt/local/include/gtk-2.0 -I/opt/local/lib/ gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/ cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/ opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/ include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11R6/ include -DXTHREADS -I/opt/local/include/gtk-2.0 -I/opt/local/lib/ gtk-2.0/include -I/opt/local/include/pango-1.0 -I/opt/local/include/ glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/ opt/local/include/cairo -I/opt/local/include/freetype2 -I/opt/local/ include/libpng12 -I/usr/X11R6/include -I/usr/X11R6/include - DG_LOG_DOMAIN=\"librsvg\" -DLIBRSVG_DATADIR="\"/opt/local/share\"" - I/opt/local/include -L/opt/local/lib -DXTHREADS -I/opt/local/include/ libgnomeprint-2.2 -I/opt/local/include/libart-2.0 -I/opt/local/ include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/ include -I/opt/local/include/libxml2 -I/opt/local/include/pango-1.0 - I/opt/local/include/libgnomeprintui-2.2 -I/opt/local/include/ libgnomecanvas-2.0 -I/opt/local/include/freetype2 -I/opt/local/ include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/ atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/libpng12 -I/ usr/X11R6/include -DHAVE_GNOME_PRINT=1 -O2 -no-cpp-precomp - flat_namespace -undefined suppress -MT rsvg_view-test-display.o -MD - MP -MF ".deps/rsvg_view-test-display.Tpo" -c -o rsvg_view-test- display.o `test -f 'test-display.c' || echo './'`test-display.c; \ then mv -f ".deps/rsvg_view-test-display.Tpo" ".deps/rsvg_view-test- display.Po"; else rm -f ".deps/rsvg_view-test-display.Tpo"; exit 1; fi test-display.c:135:48: error: libgnomeprintui/gnome-print-dialog.h: No such file or directory test-display.c:136:53: error: libgnomeprintui/gnome-print-job- preview.h: No such file or directory test-display.c: In function 'print_pixbuf': test-display.c:145: warning: assignment makes pointer from integer without a cast test-display.c:148: error: 'GNOME_PRINT_DIALOG_RESPONSE_CANCEL' undeclared (first use in this function) test-display.c:148: error: (Each undeclared identifier is reported only once test-display.c:148: error: for each function it appears in.) test-display.c:159: warning: passing argument 1 of 'gnome_print_job_new' makes pointer from integer without a cast test-display.c:212: error: 'GNOME_PRINT_DIALOG_RESPONSE_PRINT' undeclared (first use in this function) test-display.c:218: warning: assignment makes pointer from integer without a cast make[2]: *** [rsvg_view-test-display.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: The following dependencies failed to build: gimp-app gimp2 librsvg libwmf poppler poppler-data py25-gtk py25-cairo gimp-jp2 openjpeg gimp-user-manual gtk-nodoka-engine coreutils gutenprint icns- gimp macclipboard-gimp macfile-gimp ufraw exiv2 xsane sane-backends libusb Error: Status 1 encountered during processing. Lenore On Sep 18, 2007, at 9:27 PM, David Moylan wrote:
I tried re-installing the port of m4, which made no difference with my install problem, then I reviewed the m4 description at m4.darwinports.com and saw that it tries to install the binary as gm4.
`which m4` returned /usr/bin/m4 (version 1.4.2)
while
`which gm4` returned /opt/local/bin/gm4 (version 1.4.10)
Guessing that the build tools might look for m4 before gm4 I moved / usr/bin/m4 to /usr/bin/m4.old, then did a clean and install on libmng.
It worked!
libmng is now installed.
If you're having trouble with no Makefile being generated and 'no rule' errors, have a look at your path for old versions of m4.
Dave
David Moylan wrote:
I'm still trying to track down the bug in the port for libmng. I've tried to contact the maintainer but have heard nothing. In the build process it appears that autoconf generates a configure script, but executing 'configure' does nothing. It does not go through the normal checks and it does not create a Makefile it simply prints nothing and exits. Without the Makefile the installation can't proceed. config.log shows exit 0. My ports installation is up to date and synced. I'm on a PBook G4 with 10.4.10 Dave _______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
On Sep 18, 2007, at 21:27, David Moylan wrote:
I tried re-installing the port of m4, which made no difference with my install problem, then I reviewed the m4 description at m4.darwinports.com and saw that it tries to install the binary as gm4.
Please do not use any information obtained from darwinports.com. It is a rogue site not affiliated with the MacPorts project.
`which m4` returned /usr/bin/m4 (version 1.4.2)
while
`which gm4` returned /opt/local/bin/gm4 (version 1.4.10)
Guessing that the build tools might look for m4 before gm4 I moved / usr/bin/m4 to /usr/bin/m4.old, then did a clean and install on libmng.
It worked!
libmng is now installed.
If you're having trouble with no Makefile being generated and 'no rule' errors, have a look at your path for old versions of m4.
/usr/bin/m4 is provided by Mac OS X. You should not need to move it. If you do, then that is merely a workaround. It sounds like a more permanent fix for the libmng portfile is still required. Please file a bug in Trac and assign it to the maintainer and Cc the maintainer and yourself.
participants (3)
-
David Moylan
-
Lenore Horner
-
Ryan Schmidt