帮我安装一下nurbs++-3.0.11.zip吧

编译打包和其他
回复
qianxishaozi
帖子: 6
注册时间: 2011-02-24 16:27

帮我安装一下nurbs++-3.0.11.zip吧

#1

帖子 qianxishaozi » 2012-02-24 15:45

我把它解压出来,然偶cd到解压后的文件夹,然后执行./configure,这一步没问题,下面是一些提示:
The package has now been configured. Type
make
make install

To generate and install the NURBS++ package.

The library will be installed in ${exec_prefix}/lib
The header files will be installed in ${prefix}/include/nurbs++

下一步make就提示了一些错误,我没管因为我也看不懂,具体错误提示如下:
shao@shao-laptop:~/Downloads/nurbs++-3.0.11$ make
Making all in include
make[1]: 正在进入目录 `/home/shao/Downloads/nurbs++-3.0.11/include'
make all-am
make[2]: 正在进入目录 `/home/shao/Downloads/nurbs++-3.0.11/include'
make[2]:正在离开目录 `/home/shao/Downloads/nurbs++-3.0.11/include'
make[1]:正在离开目录 `/home/shao/Downloads/nurbs++-3.0.11/include'
Making all in matrix
make[1]: 正在进入目录 `/home/shao/Downloads/nurbs++-3.0.11/matrix'
source='cvector.cpp' object='cvector.lo' libtool=yes \
depfile='.deps/cvector.Plo' tmpdepfile='.deps/cvector.TPlo' \
depmode=gcc3 /bin/bash ../depcomp \
/bin/bash ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -fno-implicit-templates -c -o cvector.lo `test -f 'cvector.cpp' || echo './'`cvector.cpp
rm -f .libs/cvector.lo
g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -fno-implicit-templates -c cvector.cpp -MT cvector.lo -MD -MP -MF .deps/cvector.TPlo -fPIC -DPIC -o .libs/cvector.lo
In file included from cvector.h:31,
from cvector.cpp:27:
vector.h: In member function 'int PLib::Vector<T>::rows() const':
vector.h:72: error: 'sze' was not declared in this scope
In file included from cvector.cpp:27:
cvector.h: In member function 'T& PLib::CVector<T>::operator[](int)':
cvector.h:57: error: 'x' was not declared in this scope
cvector.h:57: error: 'sze' was not declared in this scope
cvector.h: In member function 'T PLib::CVector<T>::operator[](int) const':
cvector.h:58: error: 'x' was not declared in this scope
cvector.h:58: error: 'sze' was not declared in this scope
cvector.h: In member function 'void PLib::CVector<T>::put(T)':
cvector.h:60: error: 'x' was not declared in this scope
cvector.h:60: error: 'sze' was not declared in this scope
make[1]: *** [cvector.lo] 错误 1
make[1]:正在离开目录 `/home/shao/Downloads/nurbs++-3.0.11/matrix'
make: *** [all-recursive] 错误 1

之后再sudo make install又提示错误,最终也没装成,错误提示如下:
shao@shao-laptop:~/Downloads/nurbs++-3.0.11$ sudo make install
[sudo] password for shao:
Making install in include
make[1]: 正在进入目录 `/home/shao/Downloads/nurbs++-3.0.11/include'
make[2]: 正在进入目录 `/home/shao/Downloads/nurbs++-3.0.11/include'
make[2]: 没有什么可以做的为 `install-exec-am'。
/bin/bash ../mkinstalldirs /usr/local/include/nurbs++
/usr/bin/install -c -m 644 plib_config.h /usr/local/include/nurbs++/plib_config.h
/usr/bin/install -c -m 644 plib.h /usr/local/include/nurbs++/plib.h
make[2]:正在离开目录 `/home/shao/Downloads/nurbs++-3.0.11/include'
make[1]:正在离开目录 `/home/shao/Downloads/nurbs++-3.0.11/include'
Making install in matrix
make[1]: 正在进入目录 `/home/shao/Downloads/nurbs++-3.0.11/matrix'
source='cvector.cpp' object='cvector.lo' libtool=yes \
depfile='.deps/cvector.Plo' tmpdepfile='.deps/cvector.TPlo' \
depmode=gcc3 /bin/bash ../depcomp \
/bin/bash ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -fno-implicit-templates -c -o cvector.lo `test -f 'cvector.cpp' || echo './'`cvector.cpp
rm -f .libs/cvector.lo
g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -fno-implicit-templates -c cvector.cpp -MT cvector.lo -MD -MP -MF .deps/cvector.TPlo -fPIC -DPIC -o .libs/cvector.lo
In file included from cvector.h:31,
from cvector.cpp:27:
vector.h: In member function 'int PLib::Vector<T>::rows() const':
vector.h:72: error: 'sze' was not declared in this scope
In file included from cvector.cpp:27:
cvector.h: In member function 'T& PLib::CVector<T>::operator[](int)':
cvector.h:57: error: 'x' was not declared in this scope
cvector.h:57: error: 'sze' was not declared in this scope
cvector.h: In member function 'T PLib::CVector<T>::operator[](int) const':
cvector.h:58: error: 'x' was not declared in this scope
cvector.h:58: error: 'sze' was not declared in this scope
cvector.h: In member function 'void PLib::CVector<T>::put(T)':
cvector.h:60: error: 'x' was not declared in this scope
cvector.h:60: error: 'sze' was not declared in this scope
make[1]: *** [cvector.lo] 错误 1
make[1]:正在离开目录 `/home/shao/Downloads/nurbs++-3.0.11/matrix'
make: *** [install-recursive] 错误 1

我的系统是Ubuntu10.04,希望懂编程的人帮我看看,因为我想安装一个开源的软件,它需要安装PythonNURBS0.3,
而PythonNURBS0.3又依赖swig和nurbs++-3.0.11,swig我已经装了,就剩这个了,我把这个库文件也放上,希望大家
能帮我解决以下,十分感谢!
附件
nurbs++-3.0.11.zip
(675.41 KiB) 已下载 165 次
上次由 qianxishaozi 在 2012-02-25 9:46,总共编辑 1 次。
头像
nmsfan
帖子: 18958
注册时间: 2009-10-16 22:46
来自: finland

Re: 帮我安装一下nurbs++-3.0.11.zip吧

#2

帖子 nmsfan » 2012-02-24 16:17

下一步make就提示了一些错误,我没管因为我也看不懂,
:em20 :em20

把错误贴出来吧…………
>>>>推Ubuntu 桌面培训~~<<<<
>>>>想加入/了解gimp汉化吗,点我吧~<<<<
——————————————————————
不推荐wubi,也不推荐你给别人推荐wubi…………
随心而为的感觉真好……
强推mayhem!!
强推ensiferum
头像
nmsfan
帖子: 18958
注册时间: 2009-10-16 22:46
来自: finland

Re: 帮我安装一下nurbs++-3.0.11.zip吧

#3

帖子 nmsfan » 2012-02-25 9:58

make失败了就不需要make install了,不会成功的
我是码盲,不懂的……………………………………
帮你顶贴吧………………………………………………
>>>>推Ubuntu 桌面培训~~<<<<
>>>>想加入/了解gimp汉化吗,点我吧~<<<<
——————————————————————
不推荐wubi,也不推荐你给别人推荐wubi…………
随心而为的感觉真好……
强推mayhem!!
强推ensiferum
qianxishaozi
帖子: 6
注册时间: 2011-02-24 16:27

Re: 帮我安装一下nurbs++-3.0.11.zip吧

#4

帖子 qianxishaozi » 2012-02-25 19:21

谢谢楼上顶帖,怎么没有多少人看那
感觉用这种方法安装软件,很容易碰到问题。
头像
qy117121
论坛版主
帖子: 50546
注册时间: 2007-12-14 13:40
系统: Winbuntu
来自: 志虚国乌由市
联系:

Re: 帮我安装一下nurbs++-3.0.11.zip吧

#5

帖子 qy117121 » 2012-02-25 19:26

渠月 · QY   
本人只会灌水,不负责回答问题
无聊可以点一下→ http://u.nu/ubuntu

Ubuntu 20.04 快速设置指南,请配合浏浏览器自动翻译使用

邮箱 chuan@ubuntu.org.cn
头像
nmsfan
帖子: 18958
注册时间: 2009-10-16 22:46
来自: finland

Re: 帮我安装一下nurbs++-3.0.11.zip吧

#6

帖子 nmsfan » 2012-02-25 19:30

https://launchpad.net/nurbs++
换这个版本试试?
>>>>推Ubuntu 桌面培训~~<<<<
>>>>想加入/了解gimp汉化吗,点我吧~<<<<
——————————————————————
不推荐wubi,也不推荐你给别人推荐wubi…………
随心而为的感觉真好……
强推mayhem!!
强推ensiferum
头像
nmsfan
帖子: 18958
注册时间: 2009-10-16 22:46
来自: finland

Re: 帮我安装一下nurbs++-3.0.11.zip吧

#7

帖子 nmsfan » 2012-02-25 19:33

你确定源里边没有这个软件???
aptitude找找吧
我感觉有
http://old-releases.ubuntu.com/ubuntu/p ... se/n/nurbs++/
>>>>推Ubuntu 桌面培训~~<<<<
>>>>想加入/了解gimp汉化吗,点我吧~<<<<
——————————————————————
不推荐wubi,也不推荐你给别人推荐wubi…………
随心而为的感觉真好……
强推mayhem!!
强推ensiferum
qianxishaozi
帖子: 6
注册时间: 2011-02-24 16:27

Re: 帮我安装一下nurbs++-3.0.11.zip吧

#8

帖子 qianxishaozi » 2012-02-25 21:08

我从上面你说的那个网站下载了两个包:
libnurbs++1c102_3.0.11-4_i386
libnurbs++-dev_3.0.11-4_i386
然后安装成功了,可以一言难尽啊,真实麻烦:
我想安装的这个软件叫做bladedesigner,它是用python写的,但是要依赖很多库搞得我很晕,
这个软件可以从ftp.lfa.mw.tum.de. 下载到,这个软件要依赖的库很多如PythonNURBS0.3,PythonCGNS,
Scipy,Python-vtk,Python-ooc,PyQt4,matplotlab,PyopenGL。
我这才装第一个就鼓捣两天了,疯了。
你觉得我有可能把这玩意装成么?
头像
nmsfan
帖子: 18958
注册时间: 2009-10-16 22:46
来自: finland

Re: 帮我安装一下nurbs++-3.0.11.zip吧

#9

帖子 nmsfan » 2012-02-25 21:22

没注意5L已经贴出来了………………
缺少依赖的庫就慢慢装吧
先学学aptitude 那玩意比你的windows爽太多了 linux的标志性大杀器啊
>>>>推Ubuntu 桌面培训~~<<<<
>>>>想加入/了解gimp汉化吗,点我吧~<<<<
——————————————————————
不推荐wubi,也不推荐你给别人推荐wubi…………
随心而为的感觉真好……
强推mayhem!!
强推ensiferum
qianxishaozi
帖子: 6
注册时间: 2011-02-24 16:27

Re: 帮我安装一下nurbs++-3.0.11.zip吧

#10

帖子 qianxishaozi » 2012-02-25 21:37

我在这里找到了bladedesigner的deb软件包:
https://launchpad.net/~cae-team/+archive/ppa/+packages
双击安装时提示 错误: 依赖关系没有满足:python-occ
我就在同一个上面那个网址的列表里找到了python-occ - 0.4-1ppa2~lucid1
我正在下载.deb的包,不知道这次能装上不
头像
nmsfan
帖子: 18958
注册时间: 2009-10-16 22:46
来自: finland

Re: 帮我安装一下nurbs++-3.0.11.zip吧

#11

帖子 nmsfan » 2012-02-25 21:52


linux不是这么玩的
——————————————————————
安装软件建议使用aptitude
打开终端

代码: 全选

aptitude search python-occ
这是搜索软件源看看有没有这个软件
嫌麻烦直接

代码: 全选

sudo aptitude install python-occ   
这是安装软件

这才是linux
还有 sudo aptitude install -f 也常用
多学学linux的软件源,包管理方面的知识吧。很爽的。
>>>>推Ubuntu 桌面培训~~<<<<
>>>>想加入/了解gimp汉化吗,点我吧~<<<<
——————————————————————
不推荐wubi,也不推荐你给别人推荐wubi…………
随心而为的感觉真好……
强推mayhem!!
强推ensiferum
回复