Hi Santosh, you kind of have to start again clean from a fresh directory so
here are the steps I would recommend.

I had this exact same problem on CentOS and this is how I resolved it.

1) remove the lock file
2) DELETE the existing thrift directory you are trying to install from (wipe
it out completly)
3) unpack the tarball again (this way you have fresh files)
4) sudo ./configure
5) sudo make
6) sudo make install

let me know, I have been meaning to post this to my blog so a secondary
confirmation for this issue would be great.

Joe Stein

On Tue, Mar 2, 2010 at 10:42 AM, Santosh Koti <[email protected]>wrote:

>  Joe,
>
> Thanks for ur reply, i  tried removing the lock file & ran the *make*
> again.
> But the same issue pops up again.
> Is the make file trying to start some Xserver session..?
>
> I am running this from a putty client. Is that a problem..?
>
> Thanks,
> Santosh.
>
>
>
> On Tue, Mar 2, 2010 at 6:42 PM, Joe Stein <[email protected]> wrote:
>
> > Are you running bootstrap first?  If you are pulling the tarball down
> just
> > run configure.  When you run make again there will be error just rm the
> lock
> > file in that error and try again.
> >
> > /*
> > Joe Stein
> > http://www.linkedin.com/in/charmalloc
> > */
> >
> >
> > On Mar 2, 2010, at 6:20 AM, Santosh Koti <[email protected]> wrote:
> >
> >  Hi ,
> >>
> >> I am new to thrift.  I am having trouble installing thrift on redhat
> >> linux.
> >> when i run *make* on my system, i get this message:
> >>
> >> --------------------------------------Error
> >> Message------------------------------------------
> >>
> >> _XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
> >> _XSERVTransMakeAllCOTSServerListeners: server already running
> >>
> >> Fatal server error:
> >> Cannot establish any listening sockets - Make sure an X server isn't
> >> already
> >> running
> >>
> >> Please consult the The X.Org Foundation support
> >>        at http://wiki.X.Org
> >> for help.
> >> Please also check the log file at "/var/log/Xorg.0.log" for additional
> >> information.
> >>
> >> ../../libtool: line 4839: : command not found
> >> make[3]: Leaving directory `/home/santosh/thrift-0.2.0/compiler/cpp'
> >> make[2]: Leaving directory `/home/santosh/thrift-0.2.0/compiler/cpp'
> >> .............................................
> >> ../../libtool: line 953: X-c: command not found
> >> ../../libtool: line 1001: XThrift.lo: command not found
> >> ../../libtool: line 1006: libtool: compile: cannot determine name of
> >> library
> >> object from `': command not found
> >> make[3]: *** [Thrift.lo] Error 1
> >> make[3]: Leaving directory `/home/santosh/thrift-0.2.0/lib/cpp'
> >> make[2]: *** [all-recursive] Error 1
> >> make[2]: Leaving directory `/home/santosh/thrift-0.2.0/lib'
> >> make[1]: *** [all-recursive] Error 1
> >> make[1]: Leaving directory `/home/santosh/thrift-0.2.0'
> >> make: *** [all] Error 2
> >>
> >> --------------------------------------Error
> >> Message------------------------------------------
> >>
> >> *I tried stopping xserver by saying gdm -stop, it always keeps saying:
> gdm
> >> already running. Aborting!*
> >>
> >> Any help in getting past this is appreciated.
> >>
> >> Thanks,
> >> Santosh.
> >>
> >
>



-- 
/*
Joe Stein, 973-944-0094
http://www.medialets.com
*/

Reply via email to