Re: Configure FreeTDS as non-root

[email protected] (Christos Zoulas)
Newsgroups gmane.comp.db.tds.freetds
Organization Astron Software
Message-ID <[email protected]>
On Nov 26, 12:29pm, [email protected] ("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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.