> >> On Mon, 15 Apr 2013 17:17:15 +0200, "Roberto De Ioris" >> <[email protected]> wrote: >>>You solve the issue (known by ages, but no-one was able to fix it with >>> the >>>result of dozens of broken packages on debian), by building the python >>>support as a plugin: >>> >>>UWSGI_PROFILE=core make >>>python uwsgiconfig.py --plugin plugins/python core >>> >>>then just remember to add --plugin = python to the configs/commandline >> >> After recompiling uWSGI and runing the command above, I tried again: >> >> ================== >> /tmp/uwsgi-1.9.5# ./uwsgi --http :9090 --wsgi-file hello.py >> ./uwsgi: option '--http' is ambiguous >> getopt_long() error >> ================== >> /tmp/uwsgi-1.9.5# ./uwsgi --http :9090 --plugin=python --wsgi-file >> hello.py >> ./uwsgi: option '--http' is ambiguous >> getopt_long() error >> ================== >> >> Could it be due to recompiling uWSGI? >> >> _______________________________________________ >> uWSGI mailing list >> [email protected] >> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi >> > > --http is added by the http plugin (requiring the corerouter plugin) > > Just compile both (and load the 'http' one as you load python) > > >
oh, and as you are on an embedded system with few resources, use --http-socket instead of --http to avoid an additional process -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
