Error when building vim

14 views
Skip to first unread message

sji...@gmail.com

unread,
Nov 23, 2009, 9:53:00 PM11/23/09
to Native Client Discuss
I am a newbie about native client. I download Source with prebuilt
binaries and SDK: Linux from http://code.google.com/p/nativeclient/wiki/Downloads.

Then I followed the instructions in the Getting Started guide.Then I
want to build vim in the folder tests/vim.

I used ./vim_tool.sh all. But I got a error below:

checking for linking with termcap -lstdc++ library... configure:
error: FAILED.

But I can find libtermcap in /usr/lib, so I don not know why the nacl-
ld can not find this lib?

Many thanks

Brad Chen

unread,
Nov 28, 2009, 7:26:10 AM11/28/09
to native-cli...@googlegroups.com
Sorry for the slow response.
Can you provide more information about your system?
What version of Linux are you working with?
What kind of hardware?

Brad


--

You received this message because you are subscribed to the Google Groups "Native Client Discuss" group.
To post to this group, send email to native-cli...@googlegroups.com.
To unsubscribe from this group, send email to native-client-di...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/native-client-discuss?hl=en.



Bennet Yee (余仕斌)

unread,
Nov 28, 2009, 8:02:02 PM11/28/09
to native-cli...@googlegroups.com
the version of termlib used should be one that's built by the
nacl-ized compilers, and the system version won't work -- the code
won't validate. i think you need to build the version in the
common/console/ directory. i think if you build w/ scons --mode nacl
you'll get a libtermcap.a in the scons-out/nacl-x86-32/lib directory.
at least that's the case for the current main branch; not sure if
everything is the same w/ the tarball.

-bsy

On Mon, Nov 23, 2009 at 6:53 PM, sji...@gmail.com <sji...@gmail.com> wrote:
> --
>
> You received this message because you are subscribed to the Google Groups "Native Client Discuss" group.
> To post to this group, send email to native-cli...@googlegroups.com.
> To unsubscribe from this group, send email to native-client-di...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/native-client-discuss?hl=en.
>
>
>



--
bennet s yee
i usually don't capitalize due to mild tendonitis

Bradley Nelson

unread,
Nov 30, 2009, 1:20:29 PM11/30/09
to native-cli...@googlegroups.com
I plan to move this to the nicolas' packaging scripts shortly.
It isn't building on a regular basis, so something may have regressed.
I'll check into it later today.

-BradN

sji...@gmail.com

unread,
Dec 2, 2009, 1:01:11 AM12/2/09
to Native Client Discuss
thanks for help.
It is ok according your suggestion

On 11月29日, 上午9时02分, Bennet Yee (余仕斌) <b...@google.com> wrote:
> the version of termlib used should be one that's built by the
> nacl-ized compilers, and the system version won't work -- the code
> won't validate.  i think you need to build the version in the
> common/console/ directory.  i think if you build w/ scons --mode nacl
> you'll get a libtermcap.a in the scons-out/nacl-x86-32/lib directory.
> at least that's the case for the current main branch; not sure if
> everything is the same w/ the tarball.
>
> -bsy
>
>
>
>
>
> On Mon, Nov 23, 2009 at 6:53 PM, sjia...@gmail.com <sjia...@gmail.com> wrote:
> > I am a newbie about native client. I download Source with prebuilt
> > binaries and SDK: Linux fromhttp://code.google.com/p/nativeclient/wiki/Downloads.
>
> > Then I followed the instructions in the Getting Started guide.Then I
> > want to build vim in the folder tests/vim.
>
> > I used ./vim_tool.sh all. But I got a error below:
>
> > checking for linking with termcap -lstdc++ library... configure:
> > error: FAILED.
>
> > But I can find libtermcap in /usr/lib, so I don not know why the nacl-
> > ld can not find this lib?
>
> > Many thanks
>
> > --
>
> > You received this message because you are subscribed to the Google Groups "Native Client Discuss" group.
> > To post to this group, send email to native-cli...@googlegroups.com.
> > To unsubscribe from this group, send email to native-client-di...@googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/native-client-discuss?hl=en.

Ian Lewis

unread,
Dec 3, 2009, 11:24:02 AM12/3/09
to native-cli...@googlegroups.com
Just yesterday I ran into what might be a similar problem. Cliff helped me out. The fix was to explicitly install the 32-bit version of libtermcap, since it wasn't included by default on my 64-bit Linux distro.
Reply all
Reply to author
Forward
0 new messages