Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问clear审计异常

build-pov-ray构建 pov 射线

Agent Skill

build-pov-ray 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

760

周安装

32

GitHub Stars

93

下载量

266
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:build-pov-ray(构建 pov 射线)
来源仓库:https://github.com/letta-ai/skills
仓库路径:skills/build-pov-ray
安装命令:
npx skills add https://github.com/letta-ai/skills --skill build-pov-ray
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/letta-ai/skills --skill build-pov-ray

简介

build-pov-ray 提供 POV-Ray 从源代码构建的指导,尤其关注早期版本如 1990 年代初的 2.2 版。

  • 适用于需要编译历史版本渲染器或研究 legacy software 构建流程的技术场景。
  • 强调直接执行 shell 命令、系统补丁应用与每一步验证,确保构建过程可追溯。
  • 需具备持久调试能力,建议确认本地环境支持、网络下载权限及文件系统操作许可。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Build POV-Ray

Overview

This skill provides guidance for building POV-Ray from source code, with particular focus on legacy versions (e.g., POV-Ray 2.2 from the early 1990s). Building legacy software requires persistence, direct execution approaches, and systematic verification at each step.

Critical Success Factors

Building legacy software requires:

  1. Persistence through obstacles - Old code often needs patches or workarounds
  2. Direct execution - Shell commands are more reliable than web browsing for downloads
  3. Verification at each step - Ensures exact knowledge of where failures occur
  4. Knowledge of build systems - Understanding Makefiles, configure scripts, and compiler flags
  5. Completion focus - Partial work produces no usable output; continue until success or clear blocking error

Workflow

Step 1: Verify Build Prerequisites

Before attempting to download or compile, verify available build tools:

# Check for essential build tools
which gcc make
gcc --version
make --version

# Check for additional tools that may be needed
which wget curl tar uncompress gzip

Common prerequisites for POV-Ray:

  • GCC (C compiler)
  • make (build automation)
  • X11 development libraries (for display support, if needed)
  • Math libraries (usually included with libc)

Step 2: Locate and Download Source Archives

Prefer direct download commands over web browsing. Known archive locations for POV-Ray:

  • Official FTP: ftp://ftp.povray.org/pub/povray/
  • Archive mirrors may include: *.tar.Z, *.tar.gz, *.zip formats

Direct download approach:

# Create working directory
mkdir -p /app/povray-2.2
cd /app/povray-2.2

# Download using wget or curl (example URLs - verify actual locations)
wget ftp://ftp.povray.org/pub/povray/Old-Versions/POV-Ray-2.2/povray22.tar.Z

# Alternative: use curl
curl -O <archive-url>

Verification: After download, confirm file exists and has reasonable size:

ls -la povray*.tar*
file povray*.tar*

Step 3: Extract Source Archives

Handle different compression formats:

# For .tar.Z files (compress format from 1990s)
uncompress povray22.tar.Z && tar xvf povray22.tar
# Or combined:
zcat povray22.tar.Z | tar xvf -

# For .tar.gz files
tar xzf povray22.tar.gz

# For .zip files
unzip povray22.zip

Verification: Confirm extraction produced source files:

ls -la
find . -name "*.c" | head -5
find . -name "Makefile*" | head -5

Step 4: Examine Build System

Before compiling, understand the build structure:

# Look for build instructions
cat README* INSTALL* 2>/dev/null | head -100

# Find makefiles
find . -name "Makefile*" -o -name "makefile*"

# Check for configure script
ls -la configure* 2>/dev/null

# Examine makefile targets
head -50 Makefile
grep -E "^[a-zA-Z_-]+:" Makefile | head -20

Legacy POV-Ray versions typically use plain Makefiles without autoconf/automake.

Step 5: Configure and Compile

For legacy POV-Ray (2.x series):

# Navigate to Unix source directory (common structure)
cd unix/  # or src/ or source/

# Review and potentially edit Makefile for your system
# May need to adjust:
# - CC (compiler)
# - CFLAGS (compiler flags)
# - LDFLAGS (linker flags)
# - Install paths

# Compile
make

# If errors occur, try with specific flags
make CFLAGS="-O2 -w"  # -w suppresses warnings from old code

Common compilation issues with legacy code:

  1. Implicit function declarations - Add appropriate #include headers or use -w flag
  2. Missing prototypes - Legacy C code may predate ANSI C
  3. Library linking errors - Add -lm for math library
  4. Path issues - Verify header file locations

Step 6: Install Binary

# Install to standard location
sudo cp povray /usr/local/bin/
sudo chmod +x /usr/local/bin/povray

# Or install via makefile if target exists
sudo make install

Verification:

# Confirm binary exists and is executable
ls -la /usr/local/bin/povray
file /usr/local/bin/povray

# Test execution
/usr/local/bin/povray --help 2>&1 | head -20
# Or for older versions that may not have --help:
/usr/local/bin/povray 2>&1 | head -20

Step 7: Functional Verification

Test with a simple scene file:

# Create minimal test scene
cat > test.pov << 'EOF'
camera { location <0, 2, -3> look_at <0, 1, 2> }
sphere { <0, 1, 2>, 2 texture { pigment { color rgb <1, 0, 0> } } }
light_source { <2, 4, -3> color rgb <1, 1, 1> }
EOF

# Render test scene
/usr/local/bin/povray test.pov +W320 +H240 +Otest.tga

# Verify output was created
ls -la test.tga
file test.tga

Common Pitfalls

Pitfall: Incomplete Execution

Problem: Stopping mid-process without completing the build cycle.

Prevention: Continue execution until either:

  • The binary is successfully installed and verified
  • A clear, documented blocking error prevents progress

Pitfall: Over-reliance on Web Browsing

Problem: Using web search and page fetching when direct downloads would be faster and more reliable.

Prevention: For known software with established archive locations, use wget or curl directly. Web browsing should only be used when archive URLs are genuinely unknown.

Pitfall: Missing Verification Steps

Problem: Proceeding without confirming each step succeeded.

Prevention: After each major action, verify:

  • Downloads: File exists with reasonable size
  • Extraction: Source files present
  • Compilation: Binary produced without errors
  • Installation: Binary in target location and executable
  • Function: Binary runs and produces expected output

Pitfall: Ignoring Build Prerequisites

Problem: Attempting compilation without verifying required tools exist.

Prevention: Always check for gcc, make, and other dependencies before starting the build process.

Pitfall: Not Reading Documentation

Problem: Attempting to build without checking README or INSTALL files.

Prevention: Legacy software often has specific build instructions. Read available documentation before modifying Makefiles or running make.

Verification Checklist

Use this checklist to confirm successful completion:

  • Source archive downloaded (verify file exists and size > 0)
  • Archive extracted (verify .c files present)
  • Build documentation reviewed
  • Compilation completed without errors
  • Binary exists at target location (/usr/local/bin/povray)
  • Binary is executable (file command shows executable)
  • Binary runs and accepts input
  • Test render produces output file

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

30.66%
按下载量换算82

Gemini CLI

25.34%
按下载量换算67

Antigravity

17.18%
按下载量换算46

windsurf

12.12%
按下载量换算32

OpenCode

7.14%
按下载量换算19

Codex

3.65%
按下载量换算10

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

可疑

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/letta-ai/skills --skill build-pov-ray;npx skills add letta-ai/skills --skill "build-pov-ray" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills