bredzhang / shellinabox

Automatically exported from code.google.com/p/shellinabox
0 stars 0 forks source link

"make install" should futz with /etc/init.d/shellinabox /etc/rc?.d /etc/shellinabox etc... #9

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. ./configure; make; make install
2. /etc/init.d/shellinabox start

What is the expected output? What do you see instead?

Expected: ... starting ...

Actual: /etc/init.d/shellinabox: No such file or directory

What version of the product are you using? On what operating system?

Ubuntu

Please provide any additional information below.

Would be nice to have for all those of us who are rusty at making our own
/etc/init.d files from the template...

Original issue reported on code.google.com by TomOeh...@gmail.com on 23 Mar 2009 at 1:12

GoogleCodeExporter commented 8 years ago
It is very uncommon for "make install" to write any files outside of 
"/usr/local". 
This would interfere with the system's management tools and is thus frowned 
upon.

If you want files to be installed in "/etc", you should install package files 
that 
can be managed by the system's package manager. As is, ShellInABox only 
provides 
package files for Debian-based Linux systems (including Ubuntu). You can build 
them 
using the standard Debian build command:

  dpkg-buildpackage

It will build package files in your parent directory. You can then install them 
with

  dpkg -i *.deb

At some point, I should probably provide similar build tools for other 
distributions. But I was hoping to hear from the distribution vendors, if they 
want 
these tools to be provided in the upstream distribution (i.e. in my source 
package).

Original comment by zod...@gmail.com on 23 Mar 2009 at 3:07

GoogleCodeExporter commented 8 years ago
I added INSTALL.Debian to SVN. It includes more details on how to build, 
install, 
and manage Debian packages.

Original comment by zod...@gmail.com on 23 Mar 2009 at 3:50