[MacPorts] #21754: libwmf configure syntax error
#21754: libwmf configure syntax error ------------------------------------------+--------------------------------- Reporter: dominikbrugger@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: libwmf gdk-pixbuf pkg-config | Port: libwmf ------------------------------------------+--------------------------------- Installation of libwmf fails with a configure syntax error concerning a check for GDK_PIXBUF although the gdk-pixbuf package is installed. Here is the complete error log: {{{ Executing: /opt/local/bin/port install libwmf +expat Port command started with PID 28327 Computing dependencies for libwmf Configuring libwmf Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_libwmf/work/libwmf-0.2.8.4" && ./configure --prefix=/opt/local --with-jpeg --without-x --with- fontdir=/opt/local/share/fonts/libwmf " returned error 2 Command output: checking for snprintf... yes checking for vfscanf... yes checking for X... disabled checking expat.h usability... yes checking expat.h presence... yes checking for expat.h... yes checking for XML_ParserFree in -lexpat... yes checking for freetype-config... /opt/local/bin/freetype-config checking for FT_Init_FreeType in -lfreetype... yes checking ft2build.h usability... yes checking ft2build.h presence... yes checking for ft2build.h... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for gzputs in -lz... yes checking png.h usability... yes checking png.h presence... yes checking for png.h... yes checking for png_write_image in -lpng... yes checking jpeglib.h usability... yes checking jpeglib.h presence... yes checking for jpeglib.h... yes checking for jpeg_CreateCompress in -ljpeg... yes checking gd.h usability... yes checking gd.h presence... yes checking for gd.h... yes checking for gdClipSetAdd in -lgd... no ./configure: line 13672: syntax error near unexpected token `GDK_PIXBUF ,gdk-pixbuf-2.0' ./configure: line 13672: ` PKG_CHECK_MODULES(GDK_PIXBUF,gdk- pixbuf-2.0 >= 2.1.2,' Error: Status 1 encountered during processing. }}} -- Ticket URL: <http://trac.macports.org/ticket/21754> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21754: libwmf configure syntax error ------------------------------------------+--------------------------------- Reporter: dominikbrugger@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: libwmf gdk-pixbuf pkg-config | Port: libwmf ------------------------------------------+--------------------------------- Comment(by blb@…): Does it work if you install the pkgconfig port? -- Ticket URL: <http://trac.macports.org/ticket/21754#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21754: libwmf configure syntax error ------------------------------------------+--------------------------------- Reporter: dominikbrugger@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: libwmf gdk-pixbuf pkg-config | Port: libwmf ------------------------------------------+--------------------------------- Comment(by dominikbrugger@…): The pkg-config port is installed properly, e.g. on the command line I get the following: {{{ $ pkg-config --variable=gtk_binary_version gtk+-2.0 2.10.0 }}} In configure the offending part seems to be: {{{ PKG_CHECK_MODULES(GDK_PIXBUF,gdk-pixbuf-2.0 >= 2.1.2, GTK_VERSION=`$PKG_CONFIG --variable=gtk_binary_version gtk+-2.0` GDK_PIXBUF_DIR="gtk-2.0/$GTK_VERSION/loaders" wmf_gdk_pixbuf=yes , wmf_gdk_pixbuf=no ) }}} but have no clue why it fails. -- Ticket URL: <http://trac.macports.org/ticket/21754#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21754: libwmf configure syntax error ------------------------------------------+--------------------------------- Reporter: dominikbrugger@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: libwmf gdk-pixbuf pkg-config | Port: libwmf ------------------------------------------+--------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: Please selfupdate to make sure you have the latest MacPorts and port definitions, then clean libwmf and try again with debug output: {{{ sudo port selfupdate sudo port clean libwmf sudo port -d install libwmf build.jobs=1 2>&1 | tee ~/Desktop/libwmf.txt }}} If it fails again, please attach libwmf.txt from your desktop to this ticket so we can compare your output to ours. -- Ticket URL: <http://trac.macports.org/ticket/21754#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21754: libwmf configure syntax error ------------------------------------------+--------------------------------- Reporter: dominikbrugger@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: libwmf gdk-pixbuf pkg-config | Port: libwmf ------------------------------------------+--------------------------------- Comment(by dominikbrugger@…): Ok. It now builds installs fine. The executables, e.g. wmf2eps also work. Thanks. -- Ticket URL: <http://trac.macports.org/ticket/21754#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21754: libwmf configure syntax error -----------------------------------------+---------------------------------- Reporter: dominikbrugger@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: worksforme | Keywords: libwmf gdk-pixbuf pkg-config Port: libwmf | -----------------------------------------+---------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => worksforme Comment: Ok, not sure what the problem was. Maybe your ports were out of date and one of the prior updates fixed this problem. -- Ticket URL: <http://trac.macports.org/ticket/21754#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts