Installing TFMpvalue for FunSeq2


up vote
0
down vote
favorite
Based on the instructions I read, running make
can solve the problem of TFMpvalue installation for FunSeq2 but when I do so I get this error:
root@milad:/home/milad/funseq2-1.0# cd '/home/milad/funseq2-1.0/TFM-Pvalue'
root@milad:/home/milad/funseq2-1.0/TFM-Pvalue# make
g++ -O3 -DJASPAR=1 -DPROGRAM=0 TFMpvalue.cpp Matrix.cpp ArgumentException.cpp FileException.cpp ParseException.cpp -o TFMpvalue-pv2sc
TFMpvalue.cpp: In function âÂÂvoid arguments(int, char* const*)âÂÂ:
TFMpvalue.cpp:503:45: error: âÂÂgetoptâ was not declared in this scope
while (((option = getopt(argc,argv,options)) != EOF)) {
^
TFMpvalue.cpp:507:23: error: âÂÂoptindâ was not declared in this scope
OPTIONS[option] = optind-1;
^
make: *** [TFMpvalue-pv2sc] Error 1
What's the problem and how can I fix it?
software-installation
add a comment |Â
up vote
0
down vote
favorite
Based on the instructions I read, running make
can solve the problem of TFMpvalue installation for FunSeq2 but when I do so I get this error:
root@milad:/home/milad/funseq2-1.0# cd '/home/milad/funseq2-1.0/TFM-Pvalue'
root@milad:/home/milad/funseq2-1.0/TFM-Pvalue# make
g++ -O3 -DJASPAR=1 -DPROGRAM=0 TFMpvalue.cpp Matrix.cpp ArgumentException.cpp FileException.cpp ParseException.cpp -o TFMpvalue-pv2sc
TFMpvalue.cpp: In function âÂÂvoid arguments(int, char* const*)âÂÂ:
TFMpvalue.cpp:503:45: error: âÂÂgetoptâ was not declared in this scope
while (((option = getopt(argc,argv,options)) != EOF)) {
^
TFMpvalue.cpp:507:23: error: âÂÂoptindâ was not declared in this scope
OPTIONS[option] = optind-1;
^
make: *** [TFMpvalue-pv2sc] Error 1
What's the problem and how can I fix it?
software-installation
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Based on the instructions I read, running make
can solve the problem of TFMpvalue installation for FunSeq2 but when I do so I get this error:
root@milad:/home/milad/funseq2-1.0# cd '/home/milad/funseq2-1.0/TFM-Pvalue'
root@milad:/home/milad/funseq2-1.0/TFM-Pvalue# make
g++ -O3 -DJASPAR=1 -DPROGRAM=0 TFMpvalue.cpp Matrix.cpp ArgumentException.cpp FileException.cpp ParseException.cpp -o TFMpvalue-pv2sc
TFMpvalue.cpp: In function âÂÂvoid arguments(int, char* const*)âÂÂ:
TFMpvalue.cpp:503:45: error: âÂÂgetoptâ was not declared in this scope
while (((option = getopt(argc,argv,options)) != EOF)) {
^
TFMpvalue.cpp:507:23: error: âÂÂoptindâ was not declared in this scope
OPTIONS[option] = optind-1;
^
make: *** [TFMpvalue-pv2sc] Error 1
What's the problem and how can I fix it?
software-installation
Based on the instructions I read, running make
can solve the problem of TFMpvalue installation for FunSeq2 but when I do so I get this error:
root@milad:/home/milad/funseq2-1.0# cd '/home/milad/funseq2-1.0/TFM-Pvalue'
root@milad:/home/milad/funseq2-1.0/TFM-Pvalue# make
g++ -O3 -DJASPAR=1 -DPROGRAM=0 TFMpvalue.cpp Matrix.cpp ArgumentException.cpp FileException.cpp ParseException.cpp -o TFMpvalue-pv2sc
TFMpvalue.cpp: In function âÂÂvoid arguments(int, char* const*)âÂÂ:
TFMpvalue.cpp:503:45: error: âÂÂgetoptâ was not declared in this scope
while (((option = getopt(argc,argv,options)) != EOF)) {
^
TFMpvalue.cpp:507:23: error: âÂÂoptindâ was not declared in this scope
OPTIONS[option] = optind-1;
^
make: *** [TFMpvalue-pv2sc] Error 1
What's the problem and how can I fix it?
software-installation
edited Apr 21 at 20:25


Zanna
48k13119227
48k13119227
asked Apr 21 at 18:27


Milad Shademan
11
11
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
The problem is something wrong with TFMpvalue.cpp:
sudo chown username:username TFMpvalue.cpp
- Uncomment line 16 in TFMpvalue.cpp and change GetOpt.h into getopt.h
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
The problem is something wrong with TFMpvalue.cpp:
sudo chown username:username TFMpvalue.cpp
- Uncomment line 16 in TFMpvalue.cpp and change GetOpt.h into getopt.h
add a comment |Â
up vote
0
down vote
The problem is something wrong with TFMpvalue.cpp:
sudo chown username:username TFMpvalue.cpp
- Uncomment line 16 in TFMpvalue.cpp and change GetOpt.h into getopt.h
add a comment |Â
up vote
0
down vote
up vote
0
down vote
The problem is something wrong with TFMpvalue.cpp:
sudo chown username:username TFMpvalue.cpp
- Uncomment line 16 in TFMpvalue.cpp and change GetOpt.h into getopt.h
The problem is something wrong with TFMpvalue.cpp:
sudo chown username:username TFMpvalue.cpp
- Uncomment line 16 in TFMpvalue.cpp and change GetOpt.h into getopt.h
edited Jun 27 at 9:18


andrew.46
20.4k1463138
20.4k1463138
answered Jun 27 at 8:05
Yan zijun
1
1
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1027016%2finstalling-tfmpvalue-for-funseq2%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password