Problem installing rutorrent.

randac56

Member
May 25, 2018
915
0
16
I'm running slackware 14 with Apache/2.4.4. When I start up rutorrent it gives me this error.

Code: [Select]
No connection to rTorrent. Check if it is really running. Check $scgi_port and $scgi_host settings in config.php and scgi_port in rTorrent configuration file.
I'm not stuck with trying to install mod_scgi. When I try to make the scgi I get this error.

Code: [Select]
mod_scgi.c:138:13: note: expected 'const char *' but argument is of type 'apr_status_t'
mod_scgi.c:477:9: error: too many arguments to function 'log_err'
mod_scgi.c:138:13: note: declared here
mod_scgi.c: In function 'scgi_handler':
mod_scgi.c:506:5: warning: passing argument 3 of 'log_debug' makes pointer from integer without a cast [enabled by default]
mod_scgi.c:144:13: note: expected 'struct request_rec *' but argument is of type 'int'
mod_scgi.c:506:5: warning: passing argument 4 of 'log_debug' from incompatible pointer type [enabled by default]
mod_scgi.c:144:13: note: expected 'const char *' but argument is of type 'struct request_rec *'
mod_scgi.c:506:5: error: too many arguments to function 'log_debug'
mod_scgi.c:144:13: note: declared here
mod_scgi.c:517:9: warning: passing argument 3 of 'log_err' makes pointer from integer without a cast [enabled by default]
mod_scgi.c:138:13: note: expected 'struct request_rec *' but argument is of type 'int'
mod_scgi.c:517:9: warning: passing argument 4 of 'log_err' makes integer from pointer without a cast [enabled by default]
mod_scgi.c:138:13: note: expected 'apr_status_t' but argument is of type 'struct request_rec *'
mod_scgi.c:517:9: warning: passing argument 5 of 'log_err' makes pointer from integer without a cast [enabled by default]
mod_scgi.c:138:13: note: expected 'const char *' but argument is of type 'apr_status_t'
mod_scgi.c:517:9: error: too many arguments to function 'log_err'
mod_scgi.c:138:13: note: declared here
mod_scgi.c:523:9: warning: passing argument 3 of 'log_err' makes pointer from integer without a cast [enabled by default]
mod_scgi.c:138:13: note: expected 'struct request_rec *' but argument is of type 'int'
mod_scgi.c:523:9: warning: passing argument 4 of 'log_err' makes integer from pointer without a cast [enabled by default]
mod_scgi.c:138:13: note: expected 'apr_status_t' but argument is of type 'struct request_rec *'
mod_scgi.c:523:9: warning: passing argument 5 of 'log_err' makes pointer from integer without a cast [enabled by default]
mod_scgi.c:138:13: note: expected 'const char *' but argument is of type 'apr_status_t'
mod_scgi.c:523:9: error: too many arguments to function 'log_err'
mod_scgi.c:138:13: note: declared here
mod_scgi.c:529:9: warning: passing argument 3 of 'log_err' makes pointer from integer without a cast [enabled by default]
mod_scgi.c:138:13: note: expected 'struct request_rec *' but argument is of type 'int'
mod_scgi.c:529:9: warning: passing argument 4 of 'log_err' makes integer from pointer without a cast [enabled by default]
mod_scgi.c:138:13: note: expected 'apr_status_t' but argument is of type 'struct request_rec *'
mod_scgi.c:529:9: warning: passing argument 5 of 'log_err' makes pointer from integer without a cast [enabled by default]
mod_scgi.c:138:13: note: expected 'const char *' but argument is of type 'apr_status_t'
mod_scgi.c:529:9: error: too many arguments to function 'log_err'
mod_scgi.c:138:13: note: declared here
mod_scgi.c:533:5: warning: passing argument 3 of 'log_debug' makes pointer from integer without a cast [enabled by default]
mod_scgi.c:144:13: note: expected 'struct request_rec *' but argument is of type 'int'
mod_scgi.c:533:5: warning: passing argument 4 of 'log_debug' from incompatible pointer type [enabled by default]
mod_scgi.c:144:13: note: expected 'const char *' but argument is of type 'struct request_rec *'
mod_scgi.c:533:5: error: too many arguments to function 'log_debug'
mod_scgi.c:144:13: note: declared here
mod_scgi.c:543:13: warning: passing argument 3 of 'log_err' makes pointer from integer without a cast [enabled by default]
mod_scgi.c:138:13: note: expected 'struct request_rec *' but argument is of type 'int'
mod_scgi.c:543:13: warning: passing argument 4 of 'log_err' makes integer from pointer without a cast [enabled by default]
mod_scgi.c:138:13: note: expected 'apr_status_t' but argument is of type 'struct request_rec *'
mod_scgi.c:543:13: warning: passing argument 5 of 'log_err' makes pointer from integer without a cast [enabled by default]
mod_scgi.c:138:13: note: expected 'const char *' but argument is of type 'apr_status_t'
mod_scgi.c:543:13: error: too many arguments to function 'log_err'
mod_scgi.c:138:13: note: declared here
mod_scgi.c:578:9: warning: passing argument 3 of 'log_err' makes pointer from integer without a cast [enabled by default]
mod_scgi.c:138:13: note: expected 'struct request_rec *' but argument is of type 'int'
mod_scgi.c:578:9: warning: passing argument 4 of 'log_err' makes integer from pointer without a cast [enabled by default]
mod_scgi.c:138:13: note: expected 'apr_status_t' but argument is of type 'struct request_rec *'
mod_scgi.c:578:9: warning: passing argument 5 of 'log_err' makes pointer from integer without a cast [enabled by default]
mod_scgi.c:138:13: note: expected 'const char *' but argument is of type 'apr_status_t'
mod_scgi.c:578:9: error: too many arguments to function 'log_err'
mod_scgi.c:138:13: note: declared here
apxs:Error: Command failed with rc=65536

I'm having trouble finding much information about this online. I'm at a dead end. Any help would be much appreciated.

Thanks
 

randac56

Member
May 25, 2018
915
0
16
I actually have that plugin installed but it says "Not loaded". Am I doing it right by untaring it to the plugins folder and restarting rutorrent or is there more to it than that?