Installing uClibc-0.9.28 to your rootfs(arm) (2011-07-26 08:59)

 
 

安装uclibc库

     #
     # Configure uClibc.
     #
     try cp uclibc.config .config
     echo Configuring ${UCLIBC}... 

     make oldconfig     
     echo Building ...
     try CROSS=arm-linux- \
         CC=arm-linux-gcc \
         BASEDIR=${BASEDIR} \
        make
    echo Installing ...

    try make PREFIX=${dir} install #安装所有uclibc到根文件系统/lib下
    try rm -Rf ${dir}/include  #不需要头文件,删
    try cp -dpR /usr/local/arm/3.4/lib/libgcc_s* ${dir}/lib
    try cp -dpR /usr/local/arm/3.4/lib/libstdc++.so* ${dir}/lib
    try arm-linux-strip ${dir}/lib/libstdc++.so.6.0.3 #Removes symbols and sections from files

-> Installing FirebaseAnalytics (11.8.0) > Http download $ /usr/bin/curl -f -L -o /var/folders/kr/xtwcw1w52g957t5l5wmft2xc0000gn/T/d20250725-74885-h8rk2/file.tgz https://dl.google.com/firebase/ios/analytics/f18d9810c6c5311c/FirebaseAnalytics-11.7.0.tar.gz --create-dirs --netrc-optional --retry 2 -A 'CocoaPods/1.16.2 cocoapods-downloader/2.1' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0 0 0 0 0 0 0 0 --:--:-- 0:00:06 --:--:-- 0 0 0 0 0 0 0 0 --:--:-- 0:00:07 --:--:-- 0 0 0 0 0 0 0 0 --:--:-- 0:00:08 --:--:-- 0 0 0 0 0 0 0 0 --:--:-- 0:00:09 --:--:-- 0 0 0 0 0 0 0 0 --:--:-- 0:00:10 --:--:-- 0 0 0 0 0 0 0 0 --:--:-- 0:00:10 --:--:-- 0 curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to dl.google.com:443 [!] Error installing FirebaseAnalytics [!] /usr/bin/curl -f -L -o /var/folders/kr/xtwcw1w52g957t5l5wmft2xc0000gn/T/d20250725-74885-h8rk2/file.tgz https://dl.google.com/firebase/ios/analytics/f18d9810c6c5311c/FirebaseAnalytics-11.7.0.tar.gz --create-dirs --netrc-optional --retry 2 -A 'CocoaPods/1.16.2 cocoapods-downloader/2.1' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- 0:00:10 --:--:-- 0 curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to dl.google.com:443
最新发布
07-26
在使用 CocoaPods 安装 FirebaseAnalytics 时,如果遇到 `LibreSSL SSL_connect: SSL_ERROR_SYSCALL` 或 `Operation timed out` 错误,通常与网络连接或代理设置有关。以下是可能的解决方案: ### 1. 检查网络连接 SSL 错误的一个常见原因是网络连接不稳定或无法访问 GitHub 等外部资源。确保设备能够正常访问互联网,并尝试通过浏览器访问 `https://github.com` 以确认是否可以正常加载页面。 ### 2. 设置代理(如需要) 如果网络环境需要通过代理访问外部资源,应正确配置代理设置。可以通过以下命令设置全局代理: ```bash export http_proxy=http://your.proxy.server:port export https_proxy=https://your.proxy.server:port ``` 如果使用的是 SOCKS 代理,可以使用如下命令: ```bash export all_proxy=socks5://127.0.0.1:port ``` 取消代理设置可以使用: ```bash unset http_proxy unset https_proxy unset all_proxy ``` ### 3. 使用 `arch -x86_64` 强制运行在 x86_64 架构下 某些情况下,尤其是 Apple Silicon(M1/M2)芯片设备上,可能会出现兼容性问题。可以尝试使用以下命令强制 CocoaPods 在 x86_64 架构下运行: ```bash arch -x86_64 pod install --verbose ``` 该命令有助于查看详细的安装过程,并可能绕过部分架构兼容性问题[^1]。 ### 4. 更换 Ruby 镜像源 如果问题与 Ruby 环境有关,可以尝试更换 Ruby 的 gem 镜像源。例如,使用国内镜像: ```bash gem sources --add https://gems.ruby-china.com/ --remove https://rubygems.org/ ``` 确认镜像更换成功后,重新安装 CocoaPods: ```bash sudo gem install cocoapods ``` ### 5. 使用脚本手动安装 RVM(如引用[2]所述) 如果问题出现在 RVM 安装阶段,可以尝试通过手动下载并执行 RVM 安装脚本。具体步骤如下: 1. 浏览器访问 [https://get.rvm.io](https://get.rvm.io) 下载脚本内容。 2. 在本地创建 `install.sh` 文件,并将脚本内容粘贴进去。 3. 执行以下命令以赋予执行权限并运行脚本: ```bash chmod 777 install.sh ./install.sh ``` 4. 安装完成后,重新加载配置文件: ```bash source ~/.bashrc source ~/.bash_profile ``` ### 6. 更新系统和工具链 确保系统和开发工具为最新版本,包括 macOS 系统、Xcode、Command Line Tools 和 Ruby 环境。某些 SSL 问题可能与旧版本的 LibreSSL 或 OpenSSL 有关。 ### 7. 使用 `pod repo update` 更新本地仓库 CocoaPods 的本地仓库可能已过时,尝试更新仓库: ```bash pod repo update ``` ### 8. 清理 CocoaPods 缓存 有时缓存可能导致安装失败,可以尝试清理缓存后重试: ```bash pod cache clean --all ``` ### 9. 使用 `--no-repo-update` 参数跳过仓库更新 如果问题出现在仓库更新阶段,可以尝试使用以下参数跳过更新: ```bash pod install --no-repo-update ``` ### 10. 使用 `--verbose` 参数查看详细错误信息 在安装时使用 `--verbose` 参数可以获取更详细的日志信息,有助于定位问题: ```bash pod install --verbose ``` ---
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值