我正在尝试按照指示安装 id3v2。我安装了 id3lib 并没有收到任何错误。我现在尝试按照他们的建议执行“make”然后“make install”。
当我完成这个过程时,我得到了以下回复。
我假设我可以通过键入“id3v2 .....”来使用该程序
但是,系统似乎没有找到该命令。这是否意味着该程序未安装?如果是这样,我将如何尝试找到解决方案?
[root@ip-xxx-xxx-xxx-xxx id3v2-0.1.12]# make
g++ -Wall -I/opt/local/include/ -DVERSION="\"0.1.12\"" -c -o convert.o convert.cpp
g++ -Wall -I/opt/local/include/ -DVERSION="\"0.1.12\"" -c -o list.o list.cpp
g++ -Wall -I/opt/local/include/ -DVERSION="\"0.1.12\"" -c -o id3v2.o id3v2.cpp
g++ -Wall -I/opt/local/include/ -DVERSION="\"0.1.12\"" -c -o genre.o genre.cpp
g++ -L/opt/local/lib/ -pedantic -Wall -g -o id3v2 convert.o list.o id3v2.o genre.o -lz -lid3
[root@ip-xxx-xxx-xxx-xxx id3v2-0.1.12]# make install
install -c -s id3v2 /opt/local/bin/id3v2
nroff -man id3v2.1 > /opt/local/share/man/man1/id3v2.1
[root@ip-xxx-xxx-xxx-xxx id3v2-0.1.12]# id3v2
-bash: id3v2: command not found
我查看了make文件本身,它说:
install: all
install -c -s id3v2 ${PREFIX}/bin/id3v2
nroff -man id3v2.1 > ${PREFIX}/share/man/man1/id3v2.1
硬编码到 make 文件中的前缀是:
/选择/本地
现在我认为它安装在错误的目录中一定是真的。调整Makefile是否正常?我在吠叫错误的树吗?