[MacPorts] #40254: mapserver @6.2.1_0 +apache2 installs script in /opt/local/apache2/cgi-bin
#40254: mapserver @6.2.1_0 +apache2 installs script in /opt/local/apache2/cgi-bin --------------------+-------------------------------- Reporter: jea@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: | Port: mapserver --------------------+-------------------------------- The mapserver install copies a bash script into the /opt/local/apache2 /cgi-bin directory, and then apache complains {{{ [Mon Aug 26 13:58:58 2013] [error] [client 127.0.0.1] /opt/local/apache2 /cgi-bin/mapserv: error: `/opt/local/apache2/cgi-bin/.libs/mapserv' does not exist [Mon Aug 26 13:58:58 2013] [error] [client 127.0.0.1] This script is just a wrapper for mapserv. [Mon Aug 26 13:58:58 2013] [error] [client 127.0.0.1] See the libtool documentation for more information. [Mon Aug 26 13:58:58 2013] [error] [client 127.0.0.1] Premature end of script headers: mapserv }}} I've been able to get macports @6.2.1_0 working with macports apache 2 if I copy the binary to the cgi-bin directory sudo cp /opt/local/bin/mapserv /opt/local/apache2/cgi-bin/mapserv but the installer should probably do that somehow. PS The script clearly states # This wrapper script should never be moved out of the build directory. # If it is, it will not operate correctly. -- Ticket URL: <https://trac.macports.org/ticket/40254> MacPorts <http://www.macports.org/> Ports system for OS X
#40254: mapserver @6.2.1_0 +apache2 installs script in /opt/local/apache2/cgi-bin ------------------------+-------------------------------- Reporter: jea@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: duplicate | Keywords: Port: mapserver | ------------------------+-------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (removed) * cc: jea@… (added) * status: new => closed * resolution: => duplicate Old description:
The mapserver install copies a bash script into the /opt/local/apache2 /cgi-bin directory, and then apache complains
{{{ [Mon Aug 26 13:58:58 2013] [error] [client 127.0.0.1] /opt/local/apache2 /cgi-bin/mapserv: error: `/opt/local/apache2/cgi-bin/.libs/mapserv' does not exist [Mon Aug 26 13:58:58 2013] [error] [client 127.0.0.1] This script is just a wrapper for mapserv. [Mon Aug 26 13:58:58 2013] [error] [client 127.0.0.1] See the libtool documentation for more information. [Mon Aug 26 13:58:58 2013] [error] [client 127.0.0.1] Premature end of script headers: mapserv }}}
I've been able to get macports @6.2.1_0 working with macports apache 2 if I copy the binary to the cgi-bin directory
sudo cp /opt/local/bin/mapserv /opt/local/apache2/cgi-bin/mapserv
but the installer should probably do that somehow.
PS The script clearly states # This wrapper script should never be moved out of the build directory. # If it is, it will not operate correctly.
New description: The mapserver install copies a bash script into the /opt/local/apache2 /cgi-bin directory, and then apache complains {{{ [Mon Aug 26 13:58:58 2013] [error] [client 127.0.0.1] /opt/local/apache2 /cgi-bin/mapserv: error: `/opt/local/apache2/cgi-bin/.libs/mapserv' does not exist [Mon Aug 26 13:58:58 2013] [error] [client 127.0.0.1] This script is just a wrapper for mapserv. [Mon Aug 26 13:58:58 2013] [error] [client 127.0.0.1] See the libtool documentation for more information. [Mon Aug 26 13:58:58 2013] [error] [client 127.0.0.1] Premature end of script headers: mapserv }}} I've been able to get macports @6.2.1_0 working with macports apache 2 if I copy the binary to the cgi-bin directory {{{ sudo cp /opt/local/bin/mapserv /opt/local/apache2/cgi-bin/mapserv }}} but the installer should probably do that somehow. PS The script clearly states {{{ # This wrapper script should never be moved out of the build directory. # If it is, it will not operate correctly. }}} -- Comment: Duplicate of #38033. -- Ticket URL: <https://trac.macports.org/ticket/40254#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts