OpenViBE forum

The OpenViBE community
It is currently Wed Sep 18, 2019 11:52 am

All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Fri Mar 18, 2011 1:21 am 
Offline

Joined: Tue Jan 19, 2010 9:47 pm
Posts: 16
Dear all,

I'm having problems installing the linux dependecies under Ubuntu 10.10.

It stops at the itpp. Before this error occurred, another one was bugging me: the F77 variable, which was corrected after the following command line (I saw it somewhere here in the forum)
export F77=/usr/bin/gfortran

I upload its log file. Please check the itpp.log. Last lines of it:

libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../itpp -I../.. -I../.. -I/home/ema/openvibe/trunk/scripts/software/include -DNDEBUG -O3 -pipe -MT libbase_la-timing.lo -MD -MP -MF .deps/libbase_la-timing.Tpo -c ../../itpp/base/timing.cpp -fPIC -DPIC -o .libs/libbase_la-timing.o
../../itpp/base/timing.cpp: In function ‘void itpp::pause(double)’:
../../itpp/base/timing.cpp:173: error: ‘getchar’ was not declared in this scope
make[4]: *** [libbase_la-timing.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
mv -f .deps/libbase_la-svec.Tpo .deps/libbase_la-svec.Plo
make[4]: Leaving directory `/home/ema/openvibe/trunk/scripts/software/tmp/itpp-4.0.6/itpp/base'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/ema/openvibe/trunk/scripts/software/tmp/itpp-4.0.6/itpp/base'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/ema/openvibe/trunk/scripts/software/tmp/itpp-4.0.6/itpp'

Where is getchar declared/defined?

cheers,
emerson


Attachments:
itpp.log [69.93 KiB]
Downloaded 143 times
Top
 Profile  
Reply with quote  
PostPosted: Fri Mar 18, 2011 9:36 am 
Offline
Site Admin

Joined: Fri Sep 01, 2006 3:39 pm
Posts: 645
Dear emerson,

please consider using native packages for Ubuntu 10.10. The dependency installation performs much better with native packages.
By the way, I deactivated the proposition of compiling dependencies from sources on officially supported platforms (which should use native packages).

Hope this helps,
Yann

_________________
CTO at Mensia Technologies | Image my blog | Image my tweets | Image my linkedin


Top
 Profile  
Reply with quote  
PostPosted: Fri Mar 18, 2011 2:57 pm 
Offline

Joined: Tue Jan 19, 2010 9:47 pm
Posts: 16
Hi Yann,

Quote:
please consider using native packages for Ubuntu 10.10. The dependency installation performs much better with native packages.

The script does tell me I have all necessary native dependencies. Nevertheless, it goes installing cmake and others, even though I have cmake installed in my system (see it below). Am I missing something here? BTW, I'm building the latest openvibe release.

Thanks,
emerson

____________________________________________________________
ema@ema-Ubuntu:~/openvibe/trunk/scripts$ ./linux-install_dependencies
Setting target folder to [/home/ema/openvibe/trunk/scripts/software]...
Setting environment configuration script to [/home/ema/openvibe/trunk/scripts/software/environment-configuration-script]...

Creating target tree structure...

Checking native dependencies...
You are currently running Ubuntu and all necessary native dependencies are
already installed.


It is possible to install use those native packages in order to avoid some potential
errors / save time. Such installation requires root access. If you want
to continue with native packages, answer 'yes' (recommanded)

Do you want to use native packages (y) ?y

Checking software script dependencies...
Using as sh : [/bin/sh]...
Using as subversion : [/usr/bin/svn]...
Using as wget : [/usr/bin/wget]...
Using as tar : [/bin/tar]...
Using as gzip : [/bin/gzip]...
Using as bzip2 : [/bin/bzip2]...
Using as unnzip : [/usr/bin/unzip]...
Using as make : [/usr/bin/make]...
Using as gcc : [/usr/bin/gcc]...
Using as g++ : [/usr/bin/g++]...
Using as g77/gfortran : [/usr/bin/gfortran]...
Using as sed : [/bin/sed]...
Using as find : [/usr/bin/find]...
Using as uname : [/bin/uname]...
Using as true : [/bin/true]...
Using as false : [/bin/false]...
Using as tail : [/usr/bin/tail]...
Using as automake : [/usr/bin/automake]...
Using as autoconf : [/usr/bin/autoconf]...

Trying to install package [cmake]...
Downloading [http://www.cmake.org/files/v2.6/cmake-2.6.2.tar.gz] as [cmake-2.6.2.tar.gz]...
^C

I aborted the installation of cmake and tested if it's already installed

ema@ema-Ubuntu:~/openvibe/trunk/scripts$ cmake
cmake version 2.8.2
Usage

cmake [options] <path-to-source>
cmake [options] <path-to-existing-build>

Options
-C <initial-cache> = Pre-load a script to populate the cache.
-D <var>:<type>=<value> = Create a cmake cache entry.
-U <globbing_expr> = Remove matching entries from CMake cache.
-G <generator-name> = Specify a makefile generator.
-Wno-dev = Suppress developer warnings.
-Wdev = Enable developer warnings.
-E = CMake command mode.
-i = Run in wizard mode.
-L[A][H] = List non-advanced cached variables.
--build <dir> = Build a CMake-generated project binary tree.
-N = View mode only.
-P <file> = Process script mode.
--graphviz=[file] = Generate graphviz of dependencies.
--system-information [file] = Dump information about this system.
--debug-trycompile = Do not delete the try compile directories..
--debug-output = Put cmake in a debug mode.
--trace = Put cmake in trace mode.
--help-command cmd [file] = Print help for a single command and exit.
--help-command-list [file] = List available listfile commands and exit.
--help-commands [file] = Print help for all commands and exit.
--help-compatcommands [file]= Print help for compatibility commands.
--help-module module [file] = Print help for a single module and exit.
--help-module-list [file] = List available modules and exit.
--help-modules [file] = Print help for all modules and exit.
--help-custom-modules [file]= Print help for all custom modules and exit.
--help-policy cmp [file] = Print help for a single policy and exit.
--help-policies [file] = Print help for all policies and exit.
--help-property prop [file] = Print help for a single property and exit.
--help-property-list [file] = List available properties and exit.
--help-properties [file] = Print help for all properties and exit.
--help-variable var [file] = Print help for a single variable and exit.
--help-variable-list [file] = List documented variables and exit.
--help-variables [file] = Print help for all variables and exit.
--copyright [file] = Print the CMake copyright and exit.
--help = Print usage information and exit.
--help-full [file] = Print full help and exit.
--help-html [file] = Print full help in HTML format.
--help-man [file] = Print full help as a UNIX man page and exit.
--version [file] = Show program name/version banner and exit.

Generators

The following generators are available on this platform:
Unix Makefiles = Generates standard UNIX makefiles.
CodeBlocks - Unix Makefiles = Generates CodeBlocks project files.
Eclipse CDT4 - Unix Makefiles
= Generates Eclipse CDT 4.0 project files.
KDevelop3 = Generates KDevelop 3 project files.
KDevelop3 - Unix Makefiles = Generates KDevelop 3 project files.


Top
 Profile  
Reply with quote  
PostPosted: Fri Mar 18, 2011 3:24 pm 
Offline
Site Admin

Joined: Fri Sep 01, 2006 3:39 pm
Posts: 645
Dear emerson,

obviously you did it right this time. But IT++ should not be compiled from sources when native packages are selected. So my guess is that you asked the installation script to not use native packages at some point and it remembered this. This is the reason why I disabled this choice recently : I have been contacted by a user with the exact same problem as you have.

So in order to sort this out, please try the following steps :
  • remove your openvibe/scripts/software directory (where the dependencies are actually installed)
  • cd to openvibe/scripts
  • run ./linux-install_dependencies
  • please chose yes in order to use native packages
  • go for a small cup of tea
  • notify us that it worked perfectly ;)

Byt the way, cmake is still compiled from sources even if already installed, the reason for this is that some versions that were shipped on the different supported platforms caused some problems... I'm pretty confident that this could be removed now but anyway ; it should work !

Have fun,
Yann

_________________
CTO at Mensia Technologies | Image my blog | Image my tweets | Image my linkedin


Top
 Profile  
Reply with quote  
PostPosted: Fri Mar 18, 2011 6:52 pm 
Offline

Joined: Tue Jan 19, 2010 9:47 pm
Posts: 16
Right to the point, Yann :D
It's running smoothly now. Even the tie-fighter (ov-vr-demo-tie-fighter.sh) is running now. Build process is lightning fast compared to Windows (sorry Bill :twisted: ). My next move is to port the KT88 driver to Linux.

Thanks a lot man!

Best,
emerson


Top
 Profile  
Reply with quote  
PostPosted: Mon Apr 25, 2011 3:35 pm 
Offline

Joined: Mon Apr 25, 2011 3:31 pm
Posts: 1
I have problems in too, but in Ubuntu 10.04...with de package vrpn. Here is waht i got:

Package [ogre] is already built, skipped...
Package [cegui] is already built, skipped...
Trying to install package [vrpn]...
Downloading [ftp://ftp.cs.unc.edu/pub/packages/GRIP/vrpn/old_versions/vrpn_07_26.zip] as [vrpn_07_26.zip]...
Downloading [ftp://ftp.cs.unc.edu/pub/packages/GRIP/vrpn/old_versions/vrpn_07_26.zip] failed !
Log file can be found at [/home/odin/Desktop/openvibe-0.10.0-svn2909-src/scripts/software/log/vrpn.log] and ends with :

--2011-04-25 07:55:49-- ftp://ftp.cs.unc.edu/pub/packages/GRIP/ ... _07_26.zip
(try:19) => `/home/odin/Desktop/openvibe-0.10.0-svn2909-src/scripts/software/arch/vrpn_07_26.zip.tmp'
Connecting to ftp.cs.unc.edu|152.2.128.80|:21... failed: Connection timed out.
Retrying.

--2011-04-25 07:56:20-- ftp://ftp.cs.unc.edu/pub/packages/GRIP/ ... _07_26.zip
(try:20) => `/home/odin/Desktop/openvibe-0.10.0-svn2909-src/scripts/software/arch/vrpn_07_26.zip.tmp'
Connecting to ftp.cs.unc.edu|152.2.128.80|:21... failed: Connection timed out.
Giving up.


Thanks


Top
 Profile  
Reply with quote  
PostPosted: Tue Apr 26, 2011 7:57 am 
Offline

Joined: Tue Nov 02, 2010 8:51 am
Posts: 239
Location: Mensia Technologies Paris FR
Hello Oshin, welcome to the forums.

In your case, the archive containing sources of VRPN fail to download. I have checked and the link is alive. Maybe there was a downtime on the server in which case you can retry launching the dependency install script and it should be OK.

In case it does not work download the file directly by following this link : ftp://ftp.cs.unc.edu/pub/packages/GRIP/ ... _07_26.zip and put the file in your scripts/software/arch folder, then run the install dependencies script again.

Hope it helps, if you have any more questions feel free to ask

_________________
My Weblog Follow me on Twitter


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Americanized by Maël Soucaze.