[freetds] Configure FreeTDS as non-root

Christos Zoulas christos at zoulas.com
Wed Nov 26 14:44:01 EST 2008


On Nov 26, 12:29pm, Mark.Malyj at gdit.com ("Malyj, Mark") wrote:
-- Subject: [freetds] Configure FreeTDS as non-root

| I am a Windows developer, and am new to Unix. I am trying to "configure"
| FreeTDS as a non-root user on Solaris 8 Sparc. I was successful with a
| non-root account on my development Solaris 8 i386 server, but on the
| production Sparc server, I have lower rights, and am not allowed to have
| more.
| 
| I am getting errors running "configure" in this low rights environment.
| Could you help?
| 
| I am using freetds-current.tgz dated 11-Nov-2008 09:01. When I run:
| $ ./configure --with-tdsver=8.0 --prefix=/home/marko/freetds
| 
| it eventually bombs out with the errors:
| config.status: executing depfiles commands
| sort: getexecname() failed
| Broken Pipe
| sort: getexecname() failed
| 
| More info - when I googled this error (for example
| http://forums.sun.com/thread.jspa?threadID=5092096), it seems that this
| error could be caused by a missing /proc directory. I verified that it
| is not listed when I run "ls -l /proc". 
| 
| I tried to fix this. I verified that /proc is listed in my /etc/vfstab
| file as:
| /proc	-	/proc	proc	-	no	-
| 
| So then I did:
| $ mkdir /proc
| 
| Then I tried to mount this /proc. But "mount" was not in my PATH. I
| found several "mount" commands, the best one seemed to be in
| /usr/lib/fs/proc. But the best I could do was:
| $ /usr/lib/fs/proc/mount proc /proc
| which gave me the error:
| mount: not super user


Looks like sort is broken if it cannot find its execname from /proc.
Contact your system administrator and tell him that sort does not work.
There is nothing you can do...

christos


More information about the FreeTDS mailing list