Re: Error make vim on termux terminal

2023-04-06 Thread hence jack
Many thanks! i don't have any other questions anymore.

在2023年4月6日星期四 UTC+8 06:21:19 写道:

> hence jack  wrote:
> > According to the error message, I add the explicit declaration for "
> > *setpwent"* and "*getpwent"* function at src/misc1.c, and it works,
> ...
> > Has anyone had this problem?藍
>
> Have you tried the build configuration in the Termux packages repo?
>
> https://github.com/termux/termux-packages/tree/master/packages/vim
>
> That may be better than setpwent/getpwent hacks.
>
> Elijah
>
>

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/ac84cb78-6e5b-463d-930c-73ac02c63145n%40googlegroups.com.


Re: Error make vim on termux terminal

2023-04-05 Thread Eli the Bearded
hence jack  wrote:
> According to the error message, I add the explicit declaration for "
> *setpwent"* and "*getpwent"* function at src/misc1.c, and it works,
...
> Has anyone had this problem?藍

Have you tried the build configuration in the Termux packages repo?

https://github.com/termux/termux-packages/tree/master/packages/vim

That may be better than setpwent/getpwent hacks.

Elijah

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/4PsJxj2zLPzfYm%40panix5.panix.com.


Re: Error make vim on termux terminal

2023-04-04 Thread Bram Moolenaar


> [image: vim-bugs.jpg]
> According to the error message, I add the explicit declaration for "
> *setpwent"* and "*getpwent"* function at src/misc1.c, and it works,  like 
> this: 
> [image: vim-fix.png]
> *Environment:*
> Vim:9.0
> clang:16.0.0
> cmake:3.26.1
> Termux:latest
> 
> Has anyone had this problem?ߤ£

Please check the output of configure, especially src/auto/config.log.
Search for "getpwent".  Also search for pwd.h.

Can you find HAVE_PWD_H in src/auto/config.h ?

Instead of explicitly declaring the functions, this might work:

#include 

-- 
-rwxr-xr-x  1 root  24 Oct 29  1929 /bin/ed
-rwxr-xr-t  4 root  131720 Jan  1  1970 /usr/ucb/vi
-rwxr-xr-x  1 root  5.89824e37 Oct 22  1990 /usr/bin/emacs

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///  \\\
\\\sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\help me help AIDS victims -- http://ICCF-Holland.org///

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/20230404210527.411581C0B8A%40moolenaar.net.