[MacPorts] #17808: gd2 2.0.35 build error
#17808: gd2 2.0.35 build error ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: gd2 ------------------------------------------+--------------------------------- I'm attempting to install gd2, but I see the following build error: {{{ $ sudo port install gd2 ---> Fetching gd2 ---> Attempting to fetch gd-2.0.35.tar.bz2 from http://distfiles.macports.org/gd2 ---> Verifying checksum(s) for gd2 ---> Extracting gd2 ---> Applying patches to gd2 ---> Configuring gd2 ---> Building gd2 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_graphics_gd2/work/gd-2.0.35" && make all " returned error 2 Command output: make all-recursive Making all in config make[2]: Nothing to be done for `all'. Making all in test make[2]: Nothing to be done for `all'. /bin/sh ./libtool --tag=CC --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include -I/usr/X11/include -O2 -MT gd.lo -MD -MP -MF .deps/gd.Tpo -c -o gd.lo gd.c ./libtool: line 838: X--tag=CC: command not found ./libtool: line 871: libtool: ignoring unknown tag : command not found ./libtool: line 838: X--mode=compile: command not found ./libtool: line 1004: *** Warning: inferring the mode of operation is deprecated.: command not found ./libtool: line 1005: *** Future versions of Libtool will require --mode=MODE be specified.: command not found ./libtool: line 1035: libtool: warning: cannot infer operation mode from `/usr/bin/gcc-4.0': No such file or directory ./libtool: line 7122: libtool: you must specify a MODE: command not found ./libtool: line 7123: Try `libtool --help' for more information.: command not found make[2]: *** [gd.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Status 1 encountered during processing. ]}} Mac OS X 10.5.6. Intel. Xcode 3.1.2. XQuartz 2.3.1. -- Ticket URL: <http://trac.macports.org/ticket/17808> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17808: gd2 2.0.35 build error ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: gd2 ------------------------------------------+--------------------------------- Description changed by macsforever2000@…: Old description:
I'm attempting to install gd2, but I see the following build error:
{{{ $ sudo port install gd2 ---> Fetching gd2 ---> Attempting to fetch gd-2.0.35.tar.bz2 from http://distfiles.macports.org/gd2 ---> Verifying checksum(s) for gd2 ---> Extracting gd2 ---> Applying patches to gd2 ---> Configuring gd2 ---> Building gd2 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_graphics_gd2/work/gd-2.0.35" && make all " returned error 2 Command output: make all-recursive Making all in config make[2]: Nothing to be done for `all'. Making all in test make[2]: Nothing to be done for `all'. /bin/sh ./libtool --tag=CC --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include -I/usr/X11/include -O2 -MT gd.lo -MD -MP -MF .deps/gd.Tpo -c -o gd.lo gd.c ./libtool: line 838: X--tag=CC: command not found ./libtool: line 871: libtool: ignoring unknown tag : command not found ./libtool: line 838: X--mode=compile: command not found ./libtool: line 1004: *** Warning: inferring the mode of operation is deprecated.: command not found ./libtool: line 1005: *** Future versions of Libtool will require --mode=MODE be specified.: command not found ./libtool: line 1035: libtool: warning: cannot infer operation mode from `/usr/bin/gcc-4.0': No such file or directory ./libtool: line 7122: libtool: you must specify a MODE: command not found ./libtool: line 7123: Try `libtool --help' for more information.: command not found make[2]: *** [gd.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
Error: Status 1 encountered during processing. ]}}
Mac OS X 10.5.6. Intel. Xcode 3.1.2. XQuartz 2.3.1.
New description: I'm attempting to install gd2, but I see the following build error: {{{ $ sudo port install gd2 ---> Fetching gd2 ---> Attempting to fetch gd-2.0.35.tar.bz2 from http://distfiles.macports.org/gd2 ---> Verifying checksum(s) for gd2 ---> Extracting gd2 ---> Applying patches to gd2 ---> Configuring gd2 ---> Building gd2 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_graphics_gd2/work/gd-2.0.35" && make all " returned error 2 Command output: make all-recursive Making all in config make[2]: Nothing to be done for `all'. Making all in test make[2]: Nothing to be done for `all'. /bin/sh ./libtool --tag=CC --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include -I/usr/X11/include -O2 -MT gd.lo -MD -MP -MF .deps/gd.Tpo -c -o gd.lo gd.c ./libtool: line 838: X--tag=CC: command not found ./libtool: line 871: libtool: ignoring unknown tag : command not found ./libtool: line 838: X--mode=compile: command not found ./libtool: line 1004: *** Warning: inferring the mode of operation is deprecated.: command not found ./libtool: line 1005: *** Future versions of Libtool will require --mode=MODE be specified.: command not found ./libtool: line 1035: libtool: warning: cannot infer operation mode from `/usr/bin/gcc-4.0': No such file or directory ./libtool: line 7122: libtool: you must specify a MODE: command not found ./libtool: line 7123: Try `libtool --help' for more information.: command not found make[2]: *** [gd.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Status 1 encountered during processing. ]}} {{{ $ port installed libtool The following ports are currently installed: libtool @2.2.6a_0 (active) }}} Mac OS X 10.5.6. Intel. Xcode 3.1.2. XQuartz 2.3.1. -- -- Ticket URL: <http://trac.macports.org/ticket/17808#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17808: gd2 2.0.35 build error ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: gd2 ------------------------------------------+--------------------------------- Description changed by macsforever2000@…: Old description:
I'm attempting to install gd2, but I see the following build error:
{{{ $ sudo port install gd2 ---> Fetching gd2 ---> Attempting to fetch gd-2.0.35.tar.bz2 from http://distfiles.macports.org/gd2 ---> Verifying checksum(s) for gd2 ---> Extracting gd2 ---> Applying patches to gd2 ---> Configuring gd2 ---> Building gd2 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_graphics_gd2/work/gd-2.0.35" && make all " returned error 2 Command output: make all-recursive Making all in config make[2]: Nothing to be done for `all'. Making all in test make[2]: Nothing to be done for `all'. /bin/sh ./libtool --tag=CC --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include -I/usr/X11/include -O2 -MT gd.lo -MD -MP -MF .deps/gd.Tpo -c -o gd.lo gd.c ./libtool: line 838: X--tag=CC: command not found ./libtool: line 871: libtool: ignoring unknown tag : command not found ./libtool: line 838: X--mode=compile: command not found ./libtool: line 1004: *** Warning: inferring the mode of operation is deprecated.: command not found ./libtool: line 1005: *** Future versions of Libtool will require --mode=MODE be specified.: command not found ./libtool: line 1035: libtool: warning: cannot infer operation mode from `/usr/bin/gcc-4.0': No such file or directory ./libtool: line 7122: libtool: you must specify a MODE: command not found ./libtool: line 7123: Try `libtool --help' for more information.: command not found make[2]: *** [gd.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
Error: Status 1 encountered during processing. ]}}
{{{ $ port installed libtool The following ports are currently installed: libtool @2.2.6a_0 (active) }}}
Mac OS X 10.5.6. Intel. Xcode 3.1.2. XQuartz 2.3.1.
New description: I'm attempting to install gd2, but I see the following build error: {{{ $ sudo port install gd2 ---> Fetching gd2 ---> Attempting to fetch gd-2.0.35.tar.bz2 from http://distfiles.macports.org/gd2 ---> Verifying checksum(s) for gd2 ---> Extracting gd2 ---> Applying patches to gd2 ---> Configuring gd2 ---> Building gd2 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_graphics_gd2/work/gd-2.0.35" && make all " returned error 2 Command output: make all-recursive Making all in config make[2]: Nothing to be done for `all'. Making all in test make[2]: Nothing to be done for `all'. /bin/sh ./libtool --tag=CC --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include -I/usr/X11/include -O2 -MT gd.lo -MD -MP -MF .deps/gd.Tpo -c -o gd.lo gd.c ./libtool: line 838: X--tag=CC: command not found ./libtool: line 871: libtool: ignoring unknown tag : command not found ./libtool: line 838: X--mode=compile: command not found ./libtool: line 1004: *** Warning: inferring the mode of operation is deprecated.: command not found ./libtool: line 1005: *** Future versions of Libtool will require --mode=MODE be specified.: command not found ./libtool: line 1035: libtool: warning: cannot infer operation mode from `/usr/bin/gcc-4.0': No such file or directory ./libtool: line 7122: libtool: you must specify a MODE: command not found ./libtool: line 7123: Try `libtool --help' for more information.: command not found make[2]: *** [gd.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Status 1 encountered during processing. }}} {{{ $ port installed libtool The following ports are currently installed: libtool @2.2.6a_0 (active) }}} Mac OS X 10.5.6. Intel. Xcode 3.1.2. XQuartz 2.3.1. -- -- Ticket URL: <http://trac.macports.org/ticket/17808#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17808: gd2 2.0.35 build error ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: gd2 ------------------------------------------+--------------------------------- Comment(by ph.mignon@…): I have a similar problem when installing gnuplot (Leopard 10.5.6/MacPorts 1.7.0) : {{{ ./configure: line 4746: syntax error near unexpected token `build_libtool_libs,' ./configure: line 4746: ` _LT_DECL(build_libtool_libs, enable_shared, 0,' Error: The following dependencies failed to build: gd2 }}} -- Ticket URL: <http://trac.macports.org/ticket/17808#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17808: gd2 2.0.35 build error ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: gd2 ------------------------------------------+--------------------------------- Changes (by ryandesign@…): * status: new => assigned Comment: Replying to [ticket:17808 macsforever2000@…]:
./libtool: line 838: X--tag=CC: command not found
I can confirm this on Tiger. Probably gd2 is incompatible with libtool 2. Will probably have to switch to using the libtool1 port instead. Replying to [comment:3 ph.mignon@…]:
./configure: line 4746: syntax error near unexpected token `build_libtool_libs,'
I don't see this but maybe it is also related to libtool 2. -- Ticket URL: <http://trac.macports.org/ticket/17808#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17808: gd2 2.0.35 build error ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: gd2 ------------------------------------------+--------------------------------- Comment(by ph.mignon@…): To ryandesign@ : I agree with you. Yesterday morning I have installed gd2@2.0.35_2 with libtool@1.5.26_0 during tests for resolving the http://trac.macports.org/ticket/17631. Unfortunately gd2 does not get installed with libtool@2.2.6a_0. -- Ticket URL: <http://trac.macports.org/ticket/17808#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17808: gd2 2.0.35 build error ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: gd2 ------------------------------------------+--------------------------------- Changes (by jmr@…): * cc: jmr@… (added) Comment: Fix attached. -- Ticket URL: <http://trac.macports.org/ticket/17808#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17808: gd2 2.0.35 build error ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: gd2 ------------------------------------------+--------------------------------- Comment(by ph.mignon@…): To jmr@ : gd2 as well as gnuplot get installed with your fix. Nevertheless, I have modified the gd2 Portfile on my Mac since the port selfupdate command did not refresh it. Thqnk you. -- Ticket URL: <http://trac.macports.org/ticket/17808#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17808: gd2 2.0.35 build error -------------------------------------------+-------------------------------- Reporter: macsforever2000@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: Port: gd2 | -------------------------------------------+-------------------------------- Changes (by ryandesign@…): * cc: ph.mignon@… (added) * status: assigned => closed * resolution: => fixed Comment: Thanks, Joshua. I committed the fix in r44555 (with the small change that I copy the file in the post-patch phase instead of the pre-configure phase). -- Ticket URL: <http://trac.macports.org/ticket/17808#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts