|
|
| Author |
Message |
| 9 new of 13 responses total. |
papa
|
|
response 5 of 13:
|
Feb 28 22:36 UTC 2018 |
Or maybe monkeying around with the install scripts will unciver a way to
install BT without httpd user perms. After all, I don't think BT is doing much
more functionally than some of the CGI- or PHP-based bulletin board systems
that can be installed on a web site with only user perms.
|
cross
|
|
response 6 of 13:
|
Mar 5 13:33 UTC 2018 |
resp:4 I all you want is shell access, install it into whatever directory
you want, download fronttalk, and run that (it's a perl script). Note
that there are some problems on the version on unixpapa.com, and those
will not be fixed. We've patched the version here on Grex to avoid them.
In any event, fronttalk executes the backtalk executable directly, without
a web server.
However, for testing, running on a dedicated (thin) web server on some
non-privileged port should work.
|
papa
|
|
response 7 of 13:
|
May 8 11:53 UTC 2018 |
Making a fresh attempt to build bt 1.3.30 on SDF MetaArray.
Why would gcc give a conflicting types error on a function prototype in a .h
file when it is the first appearance of the function in the compilation unit?
The error happens on the prototype for strndup() in str.h included in
builtins.c.
|
cross
|
|
response 8 of 13:
|
May 8 12:16 UTC 2018 |
What's the exact error message?
|
papa
|
|
response 9 of 13:
|
May 8 12:41 UTC 2018 |
In file included from builtin.c:13:
./../incl/str.h:16: error: conflicting types for strndup
|
papa
|
|
response 10 of 13:
|
May 8 14:21 UTC 2018 |
Maybe because strndup is a gcc built-in function.
Trying to build with option -fno-builtin-strndup on gcc.
|
papa
|
|
response 11 of 13:
|
May 8 14:32 UTC 2018 |
... and/or because strndup() is also defined in standard string.h.
Will try renaming the bt version of strndup().
|
papa
|
|
response 12 of 13:
|
May 8 14:56 UTC 2018 |
Renaming strndup() to btstrndup() got bt to build. (Also dropped the
-fno-builtin option.)
Now trying to install bt on my web site.
|
papa
|
|
response 13 of 13:
|
May 8 23:34 UTC 2018 |
I got the install scripts to run, though I had to doctor some of the Makefiles
by hand, so that will need some work.
bt seems to work partially, but the CGI script produces code 500 error pages
for some queries. More later ...
|