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
>
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
>