[MacPorts] #17827: gnokii-0.6.8 build faliure - libtool error
#17827: gnokii-0.6.8 build faliure - libtool error ---------------------------------------------+------------------------------ Reporter: tobie@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: gnokii libtool version mismatch | Port: gnokii ---------------------------------------------+------------------------------ hi, I'm working with a fresh install of macports 1.7.0 on OS X 10.5.6. I'm trying to install Gnokii and see the following error during build: {{{ [CRD:~] tob% sudo port install gnokii ---> Fetching gnokii ---> Verifying checksum(s) for gnokii ---> Extracting gnokii ---> Configuring gnokii ---> Building gnokii Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_comms_gnokii/work/gnokii-0.6.8" && make all " returned error 2 Command output: make -C common/phones /bin/sh ../../libtool --mode=compile /usr/bin/gcc-4.0 -O2 -I../../include -I/usr/X11/include -I/opt/local/include -I/System/Library/Frameworks/CoreFoundation.framework/Headers -I/usr/X11/include -o generic.lo -c generic.c ../../libtool: line 457: CDPATH: command not found /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_comms_gnokii/work/gnokii-0.6.8/libtool: line 457: CDPATH: command not found /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_comms_gnokii/work/gnokii-0.6.8/libtool: line 1135: func_opt_split: command not found libtool: Version mismatch error. This is libtool 2.2.6, but the libtool: definition of this LT_INIT comes from an older release. libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6 libtool: and run autoconf again. make[1]: *** [generic.lo] Error 63 make: *** [common/phones] Error 2 }}} Previously, install would fail during extraction as the path to ltmain.sh was wrong: {{{ ---> Extracting gnokii Error: Target org.macports.extract returned: error copying "/opt/local/share/libtool/ltmain.sh": no such file or directory Error: Status 1 encountered during processing. }}} I kludged this by duplicating "ltmain.sh" from "/opt/local/share/libtool/config/" -- Ticket URL: <http://trac.macports.org/ticket/17827> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17827: gnokii-0.6.8 build faliure - libtool error ---------------------------------------------+------------------------------ Reporter: tobie@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: gnokii libtool version mismatch | Port: gnokii ---------------------------------------------+------------------------------ Comment(by blb@…): See #17833. -- Ticket URL: <http://trac.macports.org/ticket/17827#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17827: gnokii-0.6.8 build faliure - libtool error ---------------------------------------------+------------------------------ Reporter: tobie@… | Owner: mpal1+bugzilla@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: gnokii libtool version mismatch | Port: gnokii ---------------------------------------------+------------------------------ Changes (by jmr@…): * cc: tobie@… (removed) * owner: macports-tickets@… => mpal1+bugzilla@… Comment: Should be able to either autoreconf to work with libtool 2, or depend on libtool1 and copy its ltmain.sh. -- Ticket URL: <http://trac.macports.org/ticket/17827#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17827: gnokii-0.6.8 build faliure - libtool error ---------------------------------------------+------------------------------ Reporter: tobie@… | Owner: mpal1+bugzilla@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: gnokii libtool version mismatch | Port: gnokii ---------------------------------------------+------------------------------ Comment(by tobie@…): Replying to [comment:3 jmr@…]:
Should be able to either autoreconf to work with libtool 2, or depend on libtool1 and copy its ltmain.sh.
Thanks, I'm new to this, can you point me to documentation that describes autoreconf, so I can use libtool 2? -- Ticket URL: <http://trac.macports.org/ticket/17827#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17827: gnokii-0.6.8 build faliure - libtool error ----------------------------+----------------------------------------------- Reporter: tobie@… | Owner: mpal1+bugzilla@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: gnokii libtool version mismatch Port: gnokii | ----------------------------+----------------------------------------------- Changes (by jmr@…): * cc: jmr@… (added) * status: new => closed * resolution: => fixed Comment: Fixed in r45082 by updating to 0.6.27 (maintainer timeout). -- Ticket URL: <http://trac.macports.org/ticket/17827#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts