Re: DevTool/bin/instlserver: No such file or directory

Daniel Dittmar <[email protected]> Sun, 26 Jan 2003 19:19:15 +0100
Newsgroups gmane.comp.db.sapdb.sources
Organization SAP AG
Message-ID <[email protected]>
Post, Mark K wrote:
> When building ls.mac, I get to the very end, and then this message comes
> out:
> lserver.lnk fast
> !$TOOL/bin/instlserver
> /bin/sh: /home/mark/DevTool/bin/instlserver: No such file or directory
> COMMAND error 127
> 'ls.mac' not made because of dependency errors
> 24-01-03 19:29:58 end    of    ls.mac   fast
> 
> 
> There is no file by that name, anywhere on the system that I can see.  The
> instructions on the web site say to do this:
>          4.Execute the following commands as user root.
>           chown root <...>/DevTool/bin/instdbmsrv
>           chmod 4775 <...>/DevTool/bin/instdbmsrv
>           chown root <...>/DevTool/bin/instlserver
>           chmod 4775 <...>/DevTool/bin/instlserver
> but the files don't seem to be getting built by the "make" command.  Where
> are these files supposed to come from?
> 
> Mark Post

Edit $DESC/ls.mac and put the following around the call to instlserver

&ifdef SAPDB_INTERNAL
!$TOOL/bin/instlserver
&endif

instlserver does a chown root + chmod +s. But running as root is 
generally not necessary for lserver and dbmsrv when developing. And 
because instlserver has to suid root as well, building it can't be 
integrated easily into the ./configure & make anyway, so I've decided to 
leave it out.

Daniel Dittmar

-- 
Daniel Dittmar
SAP DB, SAP Labs Berlin
[email protected]
http://www.sapdb.org