pvbrowser install ubuntu

Rainer,

I'll start working upon your suggestions.


--- In  pvbrowser@yahoogroups.com , "pvbrowser" wrote:
>
> Hi Arian,
> thanks for these instructions regarding Ubuntu.
>
> Eventually we could make some changes to our scripts in order to need
> NO manual steps in ubuntu.
>
> > 1. Install g++
> > >apt-get install g++
> >
> > 2. Install qt4 and designer
> > >apt-get install libqt4-core libqt4-dev libqt4-gui libqwt5-qt4
> > libqwt5-doc libqwt5-qt4-dev qt4-designer qt4-doc
> >
> > 3. Install xterm (!)
> > >apt-get install xterm
> This we should include in a README within pvb.tar.gz
> But i think, qwt5 is not needed because it is included in pvb.tar.gz
>
> > 4. Download pvbrowser from:
ftp://pvbrowser.de/pvbrowser/tar/pvb.tar.gz
> > 5. Save the archive in a folder (ex. /home/pvb_install). Then:
> > > cd /home/pvb_install
> > > tar -zxvf pvb.tar.gz
> >
>
> We should modify our pro files in order to be usable even on ubuntu.
> > 6. Modify some files (both because some issues of qmake in ubuntu):
> > a. In pvb/pvserver add the following line at the beginning of
> > pvsmt.pro file:
> > QMAKE_LFLAGS_SHLIB *= -lpthread
> isn't it ?
> QMAKE_LFLAGS_SHLIB += -lpthread
>
> > b. In /usr/share/qt4/mkspecs/common open the g++.conf
> > file an look for
> > the following line:
> > QMAKE_LFLAGS += -Wl,--no-undefined
> >
> > and modfiy it as follows:
> > QMAKE_LFLAGS += -Wl
> >
> > (here it may exist a special line to be added in the .pro file as in
> > step a, but I couldn't fint it. If someone knows it, please advise!)
> couldn't we simply write
> QMAKE_LFLAGS = -Wl
> instead of += and thus replace the default on ubuntu ?
>
> > 7. Now the build process can be started
> > > cd /home/pvb_install
> > > ./clean.sh
> > > ./build.sh
> OK
>
> > 8. After everything is builded, install it:
> > > ./install.sh
> >
> > This step should create a /opt/pvb
> > folder with all package components
> > installed
> OK
>
> > 9. Some small arrangements:
> These arrangements should NOT be necessary if the OSTYPE is detected
> correctly within install.sh
> # see install.sh ###############################
> # detect real OS on different linux distries
> export PVB_OSTYPE="unknown"
> if [ "$OSTYPE" == "linux" ]; then
> export PVB_OSTYPE="linux"
> fi
> if [ "$OSTYPE" == "gnu-linux" ]; then
> export PVB_OSTYPE="linux"
> fi
> #################################################
> If PVB_OSTYPE equals to linux
> install.sh will set symbolic links to the libraries and executables.
> Thus you will not need manual adjustments.
> >
> > a. Copy pvbrowser designer plugins in qt designer plugins folder:
> > > cp /opt/pvb/designer/plugins/libpvb_designer_plugin.so
> > /usr/lib/qt4/plugins/designer/
> >
> > If the plugins are ok, you should find in Qt Designer Help->About
> Plugins
> > (If libqwt_designer_plugin.so failed, you may need to install
> libqwt5:
> > > apt-get install libqwt5-qt4 libqwt-dev libqwt-doc)
> >
> > b. Copy pvbrowser libraries in /usr/lib folder. These are located in
> > /opt/pvb/pvserver:
> >
> > /opt/pvb/pvserver/libpvsid.so /opt/pvb/pvserver/libpvsmt.so
> > /opt/pvb/pvserver/libpvsid.so.1 /opt/pvb/pvserver/libpvsmt.so.1
> > /opt/pvb/pvserver/libpvsid.so.1.0
> /opt/pvb/pvserver/libpvsmt.so.1.0
> > /opt/pvb/pvserver/libpvsid.so.1.0.0
> /opt/pvb/pvserver/libpvsmt.so.1.0.0
> >
> > and in /opt/pvb/rllib/lib/:
> >
> > /opt/pvb/rllib/lib/librllib.a
> /opt/pvb/rllib/lib/librllibsql.so
> > /opt/pvb/rllib/lib/librllib.so
> /opt/pvb/rllib/lib/librllibsql.so.1
> > /opt/pvb/rllib/lib/librllib.so.1
> > /opt/pvb/rllib/lib/librllibsql.so.1.0
> > /opt/pvb/rllib/lib/librllib.so.1.0
> > /opt/pvb/rllib/lib/librllibsql.so.1.0.0
> > /opt/pvb/rllib/lib/librllib.so.1.0.0
> >
> > c. Add in path some locations. Put those lines in /etc/profile file:
> >
> > export PATH=$PATH:/opt/pvb/pvdevelop/
> > export PATH=$PATH:/opt/pvb/rllib/rlsvg/
> >
> >
> > I hope I didn't forgot something.
> Arian,
> please try my suggestions,
> so i could add the necessary modifications to our package
>
> linux is somewhat complicated, because there are soooo much distries
> all configured a little bit different :-(
>
> Rainer
>
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值