北大侠客行MUD论坛

 找回密码
 注册
搜索
热搜: 新手 wiki 升级
查看: 36|回复: 2

求Mac怎么安装paotin

[复制链接]
发表于 5 天前 | 显示全部楼层 |阅读模式
本帖最后由 mongolianwei 于 2026-1-3 02:06 PM 编辑

这是wiki给的链接,依赖都装好了
MacBook-Air ~ % curl -sL https://chat.unix5.com/mudclient/paotin/raw/install/unix-install | bash

\e[1;32m第一步,检测系统环境。\e[m

\e[1;31mPaoTin++ 安装前需要先安装 ??\e[m
\e[1;31mRedhat 系发行版请使用 yum 命令安装,Debian 系发行版请使用 apt 命令安装。\e[m
\e[1;31mmacOS 推荐使用 brew 进行安装。\e[m
\e[1;31m其它系统请询问你的系统管理员或参考 README.md 指引进行安装。\e[m
咋搞which: shell built-in command
/usr/bin/env
/opt/homebrew/bin/bash
/opt/homebrew/bin/tmux
/usr/local/bin/git
/usr/bin/gcc
/usr/bin/make

北大侠客行Mud(pkuxkx.net),最好的中文Mud游戏!
发表于 5 天前 | 显示全部楼层
which which
which env
which bash
which tmux
which git
which gcc
which make

贴一下结果。
北大侠客行Mud(pkuxkx.net),最好的中文Mud游戏!
 楼主| 发表于 5 天前 | 显示全部楼层
本帖最后由 mongolianwei 于 2026-1-3 02:07 PM 编辑

重装了依赖,但还是不行
curl -sL https://chat.unix5.com/mudclient/paotin/raw/install/unix-install | bash


\e[1;32m第一步,检测系统环境。\e[m


\e[1;32m第二步,设置 GitHub 加速。\e[m


\e[1;32m第三步,下载 PaoTin++。\e[m

正克隆到 'paotin'...
dyld[23584]: Symbol not found: _curl_global_trace
  Referenced from: /opt/homebrew/Cellar/git/2.52.0_1/libexec/git-core/git-remote-http
  Expected in:      /usr/lib/libcurl.4.dylib
错误:git-remote-http died of signal 6
致命错误:remote helper 'http' aborted session

\e[1;32m第四步,准备本地环境。\e[m

ln: /Users/apple/paotin/var: No such file or directory

\e[1;32m第六步,编译 TinTin++,安装 PaoTin++。\e[m

bash: line 76: cd: /Users/apple/paotin: No such file or directory
\e[1;31m安装失败。\e[mapple@MacBook-Air ~ % curl -sL https://chat.unix5.com/mudclient/paotin/raw/install/unix-install | bash


第一步,检测系统环境。


第二步,设置 GitHub 加速。


第三步,下载 PaoTin++。

fatal: destination path 'paotin' already exists and is not an empty directory.

第四步,准备本地环境。

ln: /Users/apple/paotin/var/my-paotin: File exists

第六步,编译 TinTin++,安装 PaoTin++。

+ git submodule init
+ cd tintin
+ git fetch --all --prune
Fetching origin
warning: redirecting to https://chat.unix5.com/mudclient/tintin.git/
+ git submodule update --remote
warning: redirecting to https://chat.unix5.com/mudclient/tintin.git/
+ paths='/usr/local /opt/homebrew /usr/pkg'
+ for path in $paths
+ '[' -d /usr/local/include ']'
+ export CFLAGS=-I/usr/local/include
+ CFLAGS=-I/usr/local/include
+ export CPPFLAGS=-I/usr/local/include
+ CPPFLAGS=-I/usr/local/include
+ export LDFLAGS=-L/usr/local/lib
+ LDFLAGS=-L/usr/local/lib
+ for path in $paths
+ '[' -d /opt/homebrew/include ']'
+ export 'CFLAGS=-I/usr/local/include -I/opt/homebrew/include'
+ CFLAGS='-I/usr/local/include -I/opt/homebrew/include'
+ export 'CPPFLAGS=-I/usr/local/include -I/opt/homebrew/include'
+ CPPFLAGS='-I/usr/local/include -I/opt/homebrew/include'
+ export 'LDFLAGS=-L/usr/local/lib -L/opt/homebrew/lib'
+ LDFLAGS='-L/usr/local/lib -L/opt/homebrew/lib'
+ for path in $paths
+ '[' -d /usr/pkg/include ']'
+ cd tintin/src
+ ./configure
Configuring TinTin++
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether make sets $(MAKE)... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking net/errno.h usability... no
checking net/errno.h presence... no
checking for net/errno.h... no
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking param.h usability... no
checking param.h presence... no
checking for param.h... no
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking socks.h usability... no
checking socks.h presence... no
checking for socks.h... no
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/ptem.h usability... no
checking sys/ptem.h presence... no
checking for sys/ptem.h... no
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/termio.h usability... no
checking sys/termio.h presence... no
checking for sys/termio.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking util.h usability... yes
checking util.h presence... yes
checking for util.h... yes
checking pty.h usability... no
checking pty.h presence... no
checking for pty.h... no
checking stropts.h usability... no
checking stropts.h presence... no
checking for stropts.h... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking pcre.h usability... yes
checking pcre.h presence... yes
checking for pcre.h... yes
checking gnutls/gnutls.h usability... yes
checking gnutls/gnutls.h presence... yes
checking for gnutls/gnutls.h... yes
checking for an ANSI C-conforming const... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking return type of signal handlers... void
checking whether lstat correctly handles trailing slash... no
checking whether stat accepts an empty string... no
checking for strftime... yes
checking for utime.h... yes
checking whether utime accepts a null argument... yes
checking for vprintf... yes
checking for _doprnt... no
checking for gethostbyname... yes
checking for gethostname... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for memset... yes
checking for select... yes
checking for socket... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strftime... (cached) yes
checking for strncasecmp... yes
checking for strstr... yes
checking for utime... yes
checking for getaddrinfo... yes
checking for forkpty... yes
checking for popen... yes
checking for inflate in -lz... yes
checking for pthread_create in -lpthread... yes
checking for gethostbyname in -lnsl... no
checking for rresvport in -lsocket... no
checking for forkpty in -lutil... yes
checking for pcre_compile in -lpcre... no
configure: error: pcre runtime library not working, is it AND the corresponding development (header) file installed
安装失败。


北大侠客行Mud(pkuxkx.net),最好的中文Mud游戏!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|北大侠客行MUD ( 京ICP备16065414号-1 )

GMT+8, 2026-1-8 08:30 AM , Processed in 0.012637 second(s), 14 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表