Skip to main content

Thread: Errors in installing program


hello,
part of bioinformatics project i'm using program called med2. i'm not going lie, it's obscure (developed chinese theoretical biology lab) , oldish (the website last updated around 2007), there isn't hope support. readme says install should run "build" in main directory (it contains shell script called "build".

give bearings, there main directory called linux_unix, contains subdirectories: bin, med, tismodel. bin empty , med , tismodel directories have bunch of files, including makefiles.

here in "build" file:

#!/bin/bash
cd med2
make
cp med2 ../bin
cd ..
cd tismodel
make
cp tismodel ../bin
cd ..
cd bin
chmod a+x med2 tismodel
cd ..
so , happens:
chris@ubuntu:~/documents/is/bioinformatics-software/med/linux_unix$ perl build
g++ geneinfo.cpp -c
in file included typedef.h:4:0,
geneinfo.h:3,
geneinfo.cpp:5:
typedefbase.h:7:21: error: ‘string’ not member of ‘std’
typedefbase.h:7:21: error: ‘string’ not member of ‘std’
typedefbase.h:7:32: error: template argument 1 invalid
typedefbase.h:7:32: error: template argument 2 invalid
typedefbase.h:7:40: error: invalid type in declaration before ‘;’ token
typedefbase.h:17:32: error: ‘string’ not member of ‘std’
typedefbase.h:17:32: error: ‘string’ not member of ‘std’
typedefbase.h:17:48: error: template argument 1 invalid
typedefbase.h:17:50: error: template argument 1 invalid
typedefbase.h:17:50: error: template argument 2 invalid
typedefbase.h:17:63: error: invalid type in declaration before ‘;’ token
in file included typedef.h:6:0,
geneinfo.h:3,
geneinfo.cpp:5:
matrix.h:34:87: warning: friend declaration ‘matrix_t<type_t> operator-(matrix_t<type_t>&, matrix_t<type_t>&)’ declares non-template function [-wnon-template-friend]
matrix.h:34:87: note: (if not intended, make sure function template has been declared , add <> after function name here)
matrix.h: in member function ‘matrix_t<type_t>& matrix_t<type_t>::tobelogo()’:
matrix.h:119:22: error: there no arguments ‘log’ depend on template parameter, declaration of ‘log’ must available [-fpermissive]
matrix.h:119:22: note: (if use ‘-fpermissive’, g++ accept code, allowing use of undeclared name deprecated)
matrix.h:119:29: error: there no arguments ‘log’ depend on template parameter, declaration of ‘log’ must available [-fpermissive]
matrix.h:123:58: error: there no arguments ‘log’ depend on template parameter, declaration of ‘log’ must available [-fpermissive]
matrix.h: in member function ‘void matrix_t<type_t>::rand()’:
matrix.h:174:20: error: there no arguments ‘random’ depend on template parameter, declaration of ‘random’ must available [-fpermissive]
make: *** [geneinfo.o] error 1
cp: cannot stat `med2': no such file or directory
g++ geneinfo.cpp -c
in file included typedef.h:4:0,
geneinfo.h:3,
geneinfo.cpp:1:
typedefbase.h:7:21: error: ‘string’ not member of ‘std’
typedefbase.h:7:21: error: ‘string’ not member of ‘std’
typedefbase.h:7:32: error: template argument 1 invalid
typedefbase.h:7:32: error: template argument 2 invalid
typedefbase.h:7:40: error: invalid type in declaration before ‘;’ token
typedefbase.h:17:32: error: ‘string’ not member of ‘std’
typedefbase.h:17:32: error: ‘string’ not member of ‘std’
typedefbase.h:17:48: error: template argument 1 invalid
typedefbase.h:17:50: error: template argument 1 invalid
typedefbase.h:17:50: error: template argument 2 invalid
typedefbase.h:17:63: error: invalid type in declaration before ‘;’ token
in file included typedef.h:6:0,
geneinfo.h:3,
geneinfo.cpp:1:
matrix.h: in member function ‘double matrix_t<type_t>::getinfo(int, int, ve_d&)’:
matrix.h:36:53: error: there no arguments ‘log’ depend on template parameter, declaration of ‘log’ must available [-fpermissive]
matrix.h:36:53: note: (if use ‘-fpermissive’, g++ accept code, allowing use of undeclared name deprecated)
make: *** [geneinfo.o] error 1
cp: cannot stat `tismodel': no such file or directory
chmod: cannot access `med2': no such file or directory
chmod: cannot access `tismodel': no such file or directory
the end result of running "build" 2 progam files available in bin directory of med folder: med2 , tismodel. needless say, neither there after run build. same errors when run "make" inside subdirectories.

i'm kind of hoping there's can myself fix this. if not i'll reevaluate i'm doing. can give me appreciated, thanks.

--chris

removed - misread opening post , therefore had posted here invalid.


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [SOLVED] Errors in installing program


Ubuntu

Comments

Popular posts from this blog

Could not place because the source rectangle is empty

Thread: Using smartcard reader with vpnc

Adobe Font Folio 7.0 or just 7?