Opened 12 years ago

Closed 10 years ago

Last modified 10 years ago

#38033 closed defect (fixed)

mapserver installs libtool wrapper into CGI directory

Reported by: wlists@… Owned by: larryv (Lawrence Velázquez)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: tbonfort (Thomas Bonfort), Veence (Vincent), jeabraham
Port: mapserver

Description

As part of the mapserver install it copies mapserv to /Library/WebServer/CGI-Executables but when I just installed it, it copied a libtool wrapper.

To fix it I just copied the installed version from /opt/local/bin/mapserv to the CGI directory

I guess it is just an issue with where it is copying the executable from (the build directory instead of the install directory)

It installed mapserver @6.2.0_1+apache_apple+cairo+fastcgi+gdal+geos+kml+ogr+postgis+proj+sos+wcs+wfs+wfsclient+wms+wmsclient and i'm running on 10.8.2

Attachments (1)

Portfile-rrdtool.diff (373 bytes) - added by jeabraham 10 years ago.
Should fix it, copies the binary instead of the script

Download all attachments as: .zip

Change History (10)

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Keywords: mapserver gis removed
Owner: changed from macports-tickets@… to jea@…

In the future, please Cc the port maintainer(s).

comment:2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Has duplicate #40254.

comment:3 Changed 11 years ago by jeabraham

Hey, anyone know how to fix this permanently? It bit me again...

comment:4 Changed 11 years ago by mf2k (Frank Schima)

Cc: vince@… added; ​vince@… removed

comment:5 Changed 10 years ago by jeabraham

Cc: jea@… added

Cc Me!

comment:6 in reply to:  5 Changed 10 years ago by jeabraham

Replying to jea@…:

Cc Me!

Still a problem. This should be an easy fix, I suppose I should figure out how to fix it :)

Changed 10 years ago by jeabraham

Attachment: Portfile-rrdtool.diff added

Should fix it, copies the binary instead of the script

comment:7 Changed 10 years ago by jeabraham

Based on advice from #IRC I changed the post-destroot to copy the executable instead of the script (see patch): modified line is

xinstall -m 755 ${destroot}${prefix}/bin/mapserv ${destroot}${cgi_path}/mapserv
Last edited 10 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:8 in reply to:  7 Changed 10 years ago by larryv (Lawrence Velázquez)

Owner: changed from jea@… to larryv@…
Status: newassigned

Thanks. Looks fine, just needs a revbump also.

comment:9 Changed 10 years ago by larryv (Lawrence Velázquez)

Resolution: fixed
Status: assignedclosed

There’s apparently no compelling reason to keep the executable in ${prefix}/bin, so we decided to just move it.

r128674

Note: See TracTickets for help on using tickets.