#18275: shapelib gives error: invalid command name "cd" --------------------------------------+------------------------------------- Reporter: george@… | Owner: shadow@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: shapelib --------------------------------------+------------------------------------- Changes (by blb@…): * cc: blb@… (added) * keywords: shapelib => * owner: macports-tickets@… => shadow@… * port: => shapelib Old description:
When tying to install shapelib, install fails with "invalid command name "cd" " error
DEBUG: Executing org.macports.build (shapelib) DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_shapelib/work/shapelib-1.2.10" && make all shptree.o' make: Nothing to be done for `all'. make: `shptree.o' is up to date. DEBUG: Executing proc-post-org.macports.build-build-0 Error: Target org.macports.build returned: invalid command name "cd" Warning: the following items did not execute (for shapelib): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing.
New description: When tying to install shapelib, install fails with "invalid command name "cd" " error {{{ DEBUG: Executing org.macports.build (shapelib) DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_shapelib/work/shapelib-1.2.10" && make all shptree.o' make: Nothing to be done for `all'. make: `shptree.o' is up to date. DEBUG: Executing proc-post-org.macports.build-build-0 Error: Target org.macports.build returned: invalid command name "cd" Warning: the following items did not execute (for shapelib): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. }}} -- Comment: Attached patch should fix this (and switches the system install to use xinstall, and removes a redundant second install of shapefil.h). -- Ticket URL: <http://trac.macports.org/ticket/18275#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS