Feature request #4756

Add compile-time option "qgis-server-only"

Added by aperi2007 - almost 10 years ago. Updated almost 10 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:QGIS Server
Pull Request or Patch supplied:No Resolution:fixed
Easy fix?:No Copied to github as #:14624

Description

Actually compile qgis for use as a qgis-server require to install many libraries absolutely unuseful like the QTWEBKIT.

In some OS like redHat there is really difficult to retrieve some libraries, and if the libraries missing are libraries that are unusefult for qgis-server.

An option at compile-time like "qgis-server-only" will allow to use the qgis-server more easily in many OS.

Associated revisions

Revision 8a2ea36a
Added by Jürgen Fischer almost 10 years ago

[FEATURE] make desktop build optional (but default; fixes #4756)

History

#1 Updated by Paolo Cavallini almost 10 years ago

  • Assignee deleted (Paolo Cavallini)

#2 Updated by Jürgen Fischer almost 10 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

#3 Updated by aperi2007 - almost 10 years ago

  • Assignee set to Paolo Cavallini

I tested it.

Now it don't ask no more for the QTWEBKIT.
But it ask for the FastCGI library.

Unfortunately not all the server web can use it.
I'm using tomcat (not apache).
And it don't allow the use of FastCGI.

I know FastCGI is a library to speedup the execution.
In the standars web server.

But Tomcat is a special web-server that has inside a mechanism like that of the FastCGI.
Infact the difference between a CGI and a FastCGI is that the CGI startup on every request the environment where run the
executable. FastCGI make it persistent in memory speeding up so the startup of environmnet (is just started).

Tomcat work with a similar mechanism, also it don't use the FastCGI library.

So I guess should be better if the FastCGI was an optional parameter.
So even the webserver that cannot use the FastCGI could try to use the qgis-server.

Thx,

Andrea.

#4 Updated by Jürgen Fischer almost 10 years ago

aperi2007 - wrote:

Now it don't ask no more for the QTWEBKIT.
But it ask for the FastCGI library.

mapserver will not work without libfcgi, but mapserver can still be run in CGI and FastCGI mode.

#5 Updated by Paolo Cavallini almost 10 years ago

  • Assignee deleted (Paolo Cavallini)

#6 Updated by Paolo Cavallini almost 10 years ago

  • Status changed from Closed to Open

So fastcgi is necessary for compilation, even if not used because the server will run under Tomcat?

#7 Updated by Giovanni Manghi almost 10 years ago

Paolo Cavallini wrote:

So fastcgi is necessary for compilation, even if not used because the server will run under Tomcat?

as far as I understand qgis-server is fast-cgi only, (umn) mapserver can be run as cgi and fastcgi.

#8 Updated by Jürgen Fischer almost 10 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

Paolo Cavallini wrote:

So fastcgi is necessary for compilation, even if not used because the server will run under Tomcat?

yes.

Also available in: Atom PDF