Compiling and installing Spro 5.0 on Ubuntu-18.04
I have problems compiling Spro 5.0 (available here: https://github.com/giuliopaci/SPro). After ./configure I get the following warning:
ubuntu@ubuntu:~/Documents/spro-5.0$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/ubuntu/Documents/spro-5.0/auxdir/missing: Unknown `--run' option
Try `/home/ubuntu/Documents/spro-5.0/auxdir/missing --help' for more information
configure: WARNING: `missing' script is too old or missing
The warning is similar to this answer (https://github.com/giuliopaci/SPro). I can't find the codeline mentioned in the answer, but I do find "-lm" and "-lspro" in Makefile.am (ln 43) and Makefile.in (ln 213). I have therefore changed both lines, so that "-lspro" is before "-lm".
However, this action gives me the following when typing make:
ubuntu@ubuntu:~/Documents/spro-5.0$ make
make all-recursive
make[1]: Entering directory '/home/ubuntu/Documents/spro-5.0'
Making all in doc
make[2]: Entering directory '/home/ubuntu/Documents/spro-5.0/doc'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/ubuntu/Documents/spro-5.0/doc'
Making all in auxdir
make[2]: Entering directory '/home/ubuntu/Documents/spro-5.0/auxdir'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/ubuntu/Documents/spro-5.0/auxdir'
Making all in test
make[2]: Entering directory '/home/ubuntu/Documents/spro-5.0/test'
Making all in ref
make[3]: Entering directory '/home/ubuntu/Documents/spro-5.0/test/ref'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/ubuntu/Documents/spro-5.0/test/ref'
Making all in dat
make[3]: Entering directory '/home/ubuntu/Documents/spro-5.0/test/dat'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/ubuntu/Documents/spro-5.0/test/dat'
make[3]: Entering directory '/home/ubuntu/Documents/spro-5.0/test'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/ubuntu/Documents/spro-5.0/test'
make[2]: Leaving directory '/home/ubuntu/Documents/spro-5.0/test'
make[2]: Entering directory '/home/ubuntu/Documents/spro-5.0'
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT sig.o -MD -MP -MF ".deps/sig.Tpo" -c -o sig.o sig.c;
then mv -f ".deps/sig.Tpo" ".deps/sig.Po"; else rm -f ".deps/sig.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT spf.o -MD -MP -MF ".deps/spf.Tpo" -c -o spf.o spf.c;
then mv -f ".deps/spf.Tpo" ".deps/spf.Po"; else rm -f ".deps/spf.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT header.o -MD -MP -MF ".deps/header.Tpo" -c -o header.o header.c;
then mv -f ".deps/header.Tpo" ".deps/header.Po"; else rm -f ".deps/header.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT misc.o -MD -MP -MF ".deps/misc.Tpo" -c -o misc.o misc.c;
then mv -f ".deps/misc.Tpo" ".deps/misc.Po"; else rm -f ".deps/misc.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT lpc.o -MD -MP -MF ".deps/lpc.Tpo" -c -o lpc.o lpc.c;
then mv -f ".deps/lpc.Tpo" ".deps/lpc.Po"; else rm -f ".deps/lpc.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT convert.o -MD -MP -MF ".deps/convert.Tpo" -c -o convert.o convert.c;
then mv -f ".deps/convert.Tpo" ".deps/convert.Po"; else rm -f ".deps/convert.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT fft.o -MD -MP -MF ".deps/fft.Tpo" -c -o fft.o fft.c;
then mv -f ".deps/fft.Tpo" ".deps/fft.Po"; else rm -f ".deps/fft.Tpo"; exit 1; fi
rm -f libspro.a
ar cru libspro.a sig.o spf.o header.o misc.o lpc.o convert.o fft.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib libspro.a
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT scopy.o -MD -MP -MF ".deps/scopy.Tpo" -c -o scopy.o scopy.c;
then mv -f ".deps/scopy.Tpo" ".deps/scopy.Po"; else rm -f ".deps/scopy.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT gggetopt.o -MD -MP -MF ".deps/gggetopt.Tpo" -c -o gggetopt.o gggetopt.c;
then mv -f ".deps/gggetopt.Tpo" ".deps/gggetopt.Po"; else rm -f ".deps/gggetopt.Tpo"; exit 1; fi
gggetopt.c: In function ‘_getopt_long’:
gggetopt.c:442:12: warning: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration]
if ( strcmp(optarg, "--") == 0 ) {
^~~~~~
gcc -g -O2 -o scopy scopy.o gggetopt.o -lspro -L. -lm
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT slpc.o -MD -MP -MF ".deps/slpc.Tpo" -c -o slpc.o slpc.c;
then mv -f ".deps/slpc.Tpo" ".deps/slpc.Po"; else rm -f ".deps/slpc.Tpo"; exit 1; fi
gcc -g -O2 -o slpc slpc.o gggetopt.o -lspro -L. -lm
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT slpcep.o -MD -MP -MF ".deps/slpcep.Tpo" -c -o slpcep.o slpcep.c;
then mv -f ".deps/slpcep.Tpo" ".deps/slpcep.Po"; else rm -f ".deps/slpcep.Tpo"; exit 1; fi
gcc -g -O2 -o slpcep slpcep.o gggetopt.o -lspro -L. -lm
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT sfbank.o -MD -MP -MF ".deps/sfbank.Tpo" -c -o sfbank.o sfbank.c;
then mv -f ".deps/sfbank.Tpo" ".deps/sfbank.Po"; else rm -f ".deps/sfbank.Tpo"; exit 1; fi
gcc -g -O2 -o sfbank sfbank.o gggetopt.o -lspro -L. -lm
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT sfbcep.o -MD -MP -MF ".deps/sfbcep.Tpo" -c -o sfbcep.o sfbcep.c;
then mv -f ".deps/sfbcep.Tpo" ".deps/sfbcep.Po"; else rm -f ".deps/sfbcep.Tpo"; exit 1; fi
gcc -g -O2 -o sfbcep sfbcep.o gggetopt.o -lspro -L. -lm
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT splp.o -MD -MP -MF ".deps/splp.Tpo" -c -o splp.o splp.c;
then mv -f ".deps/splp.Tpo" ".deps/splp.Po"; else rm -f ".deps/splp.Tpo"; exit 1; fi
gcc -g -O2 -o splp splp.o gggetopt.o -lspro -L. -lm
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT scompare.o -MD -MP -MF ".deps/scompare.Tpo" -c -o scompare.o scompare.c;
then mv -f ".deps/scompare.Tpo" ".deps/scompare.Po"; else rm -f ".deps/scompare.Tpo"; exit 1; fi
gcc -g -O2 -o scompare scompare.o gggetopt.o -lspro -L. -lm
make[2]: Leaving directory '/home/ubuntu/Documents/spro-5.0'
make[1]: Leaving directory '/home/ubuntu/Documents/spro-5.0'
Do I miss something?
I should probably mention, that first of all I of course tried './configure; make' without making any changes to the makefiles. This, however, gave me a couple of errors as well.
Makefile:353: recipe for target 'scopy' failed
make[2]: *** [scopy] Error 1
make[2]: Leaving directory '/home/ubuntu/Documents/spro-5.0'
Makefile:432: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/ubuntu/Documents/spro-5.0'
Makefile:236: recipe for target 'all' failed
make: *** [all] Error 2
My gcc version is 7.3.0, and I am running on Ubuntu 18.04 in persistent mode if that has anything to say.
gcc ubuntu-18.04
add a comment |
I have problems compiling Spro 5.0 (available here: https://github.com/giuliopaci/SPro). After ./configure I get the following warning:
ubuntu@ubuntu:~/Documents/spro-5.0$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/ubuntu/Documents/spro-5.0/auxdir/missing: Unknown `--run' option
Try `/home/ubuntu/Documents/spro-5.0/auxdir/missing --help' for more information
configure: WARNING: `missing' script is too old or missing
The warning is similar to this answer (https://github.com/giuliopaci/SPro). I can't find the codeline mentioned in the answer, but I do find "-lm" and "-lspro" in Makefile.am (ln 43) and Makefile.in (ln 213). I have therefore changed both lines, so that "-lspro" is before "-lm".
However, this action gives me the following when typing make:
ubuntu@ubuntu:~/Documents/spro-5.0$ make
make all-recursive
make[1]: Entering directory '/home/ubuntu/Documents/spro-5.0'
Making all in doc
make[2]: Entering directory '/home/ubuntu/Documents/spro-5.0/doc'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/ubuntu/Documents/spro-5.0/doc'
Making all in auxdir
make[2]: Entering directory '/home/ubuntu/Documents/spro-5.0/auxdir'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/ubuntu/Documents/spro-5.0/auxdir'
Making all in test
make[2]: Entering directory '/home/ubuntu/Documents/spro-5.0/test'
Making all in ref
make[3]: Entering directory '/home/ubuntu/Documents/spro-5.0/test/ref'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/ubuntu/Documents/spro-5.0/test/ref'
Making all in dat
make[3]: Entering directory '/home/ubuntu/Documents/spro-5.0/test/dat'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/ubuntu/Documents/spro-5.0/test/dat'
make[3]: Entering directory '/home/ubuntu/Documents/spro-5.0/test'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/ubuntu/Documents/spro-5.0/test'
make[2]: Leaving directory '/home/ubuntu/Documents/spro-5.0/test'
make[2]: Entering directory '/home/ubuntu/Documents/spro-5.0'
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT sig.o -MD -MP -MF ".deps/sig.Tpo" -c -o sig.o sig.c;
then mv -f ".deps/sig.Tpo" ".deps/sig.Po"; else rm -f ".deps/sig.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT spf.o -MD -MP -MF ".deps/spf.Tpo" -c -o spf.o spf.c;
then mv -f ".deps/spf.Tpo" ".deps/spf.Po"; else rm -f ".deps/spf.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT header.o -MD -MP -MF ".deps/header.Tpo" -c -o header.o header.c;
then mv -f ".deps/header.Tpo" ".deps/header.Po"; else rm -f ".deps/header.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT misc.o -MD -MP -MF ".deps/misc.Tpo" -c -o misc.o misc.c;
then mv -f ".deps/misc.Tpo" ".deps/misc.Po"; else rm -f ".deps/misc.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT lpc.o -MD -MP -MF ".deps/lpc.Tpo" -c -o lpc.o lpc.c;
then mv -f ".deps/lpc.Tpo" ".deps/lpc.Po"; else rm -f ".deps/lpc.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT convert.o -MD -MP -MF ".deps/convert.Tpo" -c -o convert.o convert.c;
then mv -f ".deps/convert.Tpo" ".deps/convert.Po"; else rm -f ".deps/convert.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT fft.o -MD -MP -MF ".deps/fft.Tpo" -c -o fft.o fft.c;
then mv -f ".deps/fft.Tpo" ".deps/fft.Po"; else rm -f ".deps/fft.Tpo"; exit 1; fi
rm -f libspro.a
ar cru libspro.a sig.o spf.o header.o misc.o lpc.o convert.o fft.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib libspro.a
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT scopy.o -MD -MP -MF ".deps/scopy.Tpo" -c -o scopy.o scopy.c;
then mv -f ".deps/scopy.Tpo" ".deps/scopy.Po"; else rm -f ".deps/scopy.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT gggetopt.o -MD -MP -MF ".deps/gggetopt.Tpo" -c -o gggetopt.o gggetopt.c;
then mv -f ".deps/gggetopt.Tpo" ".deps/gggetopt.Po"; else rm -f ".deps/gggetopt.Tpo"; exit 1; fi
gggetopt.c: In function ‘_getopt_long’:
gggetopt.c:442:12: warning: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration]
if ( strcmp(optarg, "--") == 0 ) {
^~~~~~
gcc -g -O2 -o scopy scopy.o gggetopt.o -lspro -L. -lm
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT slpc.o -MD -MP -MF ".deps/slpc.Tpo" -c -o slpc.o slpc.c;
then mv -f ".deps/slpc.Tpo" ".deps/slpc.Po"; else rm -f ".deps/slpc.Tpo"; exit 1; fi
gcc -g -O2 -o slpc slpc.o gggetopt.o -lspro -L. -lm
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT slpcep.o -MD -MP -MF ".deps/slpcep.Tpo" -c -o slpcep.o slpcep.c;
then mv -f ".deps/slpcep.Tpo" ".deps/slpcep.Po"; else rm -f ".deps/slpcep.Tpo"; exit 1; fi
gcc -g -O2 -o slpcep slpcep.o gggetopt.o -lspro -L. -lm
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT sfbank.o -MD -MP -MF ".deps/sfbank.Tpo" -c -o sfbank.o sfbank.c;
then mv -f ".deps/sfbank.Tpo" ".deps/sfbank.Po"; else rm -f ".deps/sfbank.Tpo"; exit 1; fi
gcc -g -O2 -o sfbank sfbank.o gggetopt.o -lspro -L. -lm
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT sfbcep.o -MD -MP -MF ".deps/sfbcep.Tpo" -c -o sfbcep.o sfbcep.c;
then mv -f ".deps/sfbcep.Tpo" ".deps/sfbcep.Po"; else rm -f ".deps/sfbcep.Tpo"; exit 1; fi
gcc -g -O2 -o sfbcep sfbcep.o gggetopt.o -lspro -L. -lm
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT splp.o -MD -MP -MF ".deps/splp.Tpo" -c -o splp.o splp.c;
then mv -f ".deps/splp.Tpo" ".deps/splp.Po"; else rm -f ".deps/splp.Tpo"; exit 1; fi
gcc -g -O2 -o splp splp.o gggetopt.o -lspro -L. -lm
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT scompare.o -MD -MP -MF ".deps/scompare.Tpo" -c -o scompare.o scompare.c;
then mv -f ".deps/scompare.Tpo" ".deps/scompare.Po"; else rm -f ".deps/scompare.Tpo"; exit 1; fi
gcc -g -O2 -o scompare scompare.o gggetopt.o -lspro -L. -lm
make[2]: Leaving directory '/home/ubuntu/Documents/spro-5.0'
make[1]: Leaving directory '/home/ubuntu/Documents/spro-5.0'
Do I miss something?
I should probably mention, that first of all I of course tried './configure; make' without making any changes to the makefiles. This, however, gave me a couple of errors as well.
Makefile:353: recipe for target 'scopy' failed
make[2]: *** [scopy] Error 1
make[2]: Leaving directory '/home/ubuntu/Documents/spro-5.0'
Makefile:432: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/ubuntu/Documents/spro-5.0'
Makefile:236: recipe for target 'all' failed
make: *** [all] Error 2
My gcc version is 7.3.0, and I am running on Ubuntu 18.04 in persistent mode if that has anything to say.
gcc ubuntu-18.04
add a comment |
I have problems compiling Spro 5.0 (available here: https://github.com/giuliopaci/SPro). After ./configure I get the following warning:
ubuntu@ubuntu:~/Documents/spro-5.0$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/ubuntu/Documents/spro-5.0/auxdir/missing: Unknown `--run' option
Try `/home/ubuntu/Documents/spro-5.0/auxdir/missing --help' for more information
configure: WARNING: `missing' script is too old or missing
The warning is similar to this answer (https://github.com/giuliopaci/SPro). I can't find the codeline mentioned in the answer, but I do find "-lm" and "-lspro" in Makefile.am (ln 43) and Makefile.in (ln 213). I have therefore changed both lines, so that "-lspro" is before "-lm".
However, this action gives me the following when typing make:
ubuntu@ubuntu:~/Documents/spro-5.0$ make
make all-recursive
make[1]: Entering directory '/home/ubuntu/Documents/spro-5.0'
Making all in doc
make[2]: Entering directory '/home/ubuntu/Documents/spro-5.0/doc'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/ubuntu/Documents/spro-5.0/doc'
Making all in auxdir
make[2]: Entering directory '/home/ubuntu/Documents/spro-5.0/auxdir'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/ubuntu/Documents/spro-5.0/auxdir'
Making all in test
make[2]: Entering directory '/home/ubuntu/Documents/spro-5.0/test'
Making all in ref
make[3]: Entering directory '/home/ubuntu/Documents/spro-5.0/test/ref'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/ubuntu/Documents/spro-5.0/test/ref'
Making all in dat
make[3]: Entering directory '/home/ubuntu/Documents/spro-5.0/test/dat'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/ubuntu/Documents/spro-5.0/test/dat'
make[3]: Entering directory '/home/ubuntu/Documents/spro-5.0/test'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/ubuntu/Documents/spro-5.0/test'
make[2]: Leaving directory '/home/ubuntu/Documents/spro-5.0/test'
make[2]: Entering directory '/home/ubuntu/Documents/spro-5.0'
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT sig.o -MD -MP -MF ".deps/sig.Tpo" -c -o sig.o sig.c;
then mv -f ".deps/sig.Tpo" ".deps/sig.Po"; else rm -f ".deps/sig.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT spf.o -MD -MP -MF ".deps/spf.Tpo" -c -o spf.o spf.c;
then mv -f ".deps/spf.Tpo" ".deps/spf.Po"; else rm -f ".deps/spf.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT header.o -MD -MP -MF ".deps/header.Tpo" -c -o header.o header.c;
then mv -f ".deps/header.Tpo" ".deps/header.Po"; else rm -f ".deps/header.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT misc.o -MD -MP -MF ".deps/misc.Tpo" -c -o misc.o misc.c;
then mv -f ".deps/misc.Tpo" ".deps/misc.Po"; else rm -f ".deps/misc.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT lpc.o -MD -MP -MF ".deps/lpc.Tpo" -c -o lpc.o lpc.c;
then mv -f ".deps/lpc.Tpo" ".deps/lpc.Po"; else rm -f ".deps/lpc.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT convert.o -MD -MP -MF ".deps/convert.Tpo" -c -o convert.o convert.c;
then mv -f ".deps/convert.Tpo" ".deps/convert.Po"; else rm -f ".deps/convert.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT fft.o -MD -MP -MF ".deps/fft.Tpo" -c -o fft.o fft.c;
then mv -f ".deps/fft.Tpo" ".deps/fft.Po"; else rm -f ".deps/fft.Tpo"; exit 1; fi
rm -f libspro.a
ar cru libspro.a sig.o spf.o header.o misc.o lpc.o convert.o fft.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib libspro.a
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT scopy.o -MD -MP -MF ".deps/scopy.Tpo" -c -o scopy.o scopy.c;
then mv -f ".deps/scopy.Tpo" ".deps/scopy.Po"; else rm -f ".deps/scopy.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT gggetopt.o -MD -MP -MF ".deps/gggetopt.Tpo" -c -o gggetopt.o gggetopt.c;
then mv -f ".deps/gggetopt.Tpo" ".deps/gggetopt.Po"; else rm -f ".deps/gggetopt.Tpo"; exit 1; fi
gggetopt.c: In function ‘_getopt_long’:
gggetopt.c:442:12: warning: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration]
if ( strcmp(optarg, "--") == 0 ) {
^~~~~~
gcc -g -O2 -o scopy scopy.o gggetopt.o -lspro -L. -lm
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT slpc.o -MD -MP -MF ".deps/slpc.Tpo" -c -o slpc.o slpc.c;
then mv -f ".deps/slpc.Tpo" ".deps/slpc.Po"; else rm -f ".deps/slpc.Tpo"; exit 1; fi
gcc -g -O2 -o slpc slpc.o gggetopt.o -lspro -L. -lm
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT slpcep.o -MD -MP -MF ".deps/slpcep.Tpo" -c -o slpcep.o slpcep.c;
then mv -f ".deps/slpcep.Tpo" ".deps/slpcep.Po"; else rm -f ".deps/slpcep.Tpo"; exit 1; fi
gcc -g -O2 -o slpcep slpcep.o gggetopt.o -lspro -L. -lm
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT sfbank.o -MD -MP -MF ".deps/sfbank.Tpo" -c -o sfbank.o sfbank.c;
then mv -f ".deps/sfbank.Tpo" ".deps/sfbank.Po"; else rm -f ".deps/sfbank.Tpo"; exit 1; fi
gcc -g -O2 -o sfbank sfbank.o gggetopt.o -lspro -L. -lm
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT sfbcep.o -MD -MP -MF ".deps/sfbcep.Tpo" -c -o sfbcep.o sfbcep.c;
then mv -f ".deps/sfbcep.Tpo" ".deps/sfbcep.Po"; else rm -f ".deps/sfbcep.Tpo"; exit 1; fi
gcc -g -O2 -o sfbcep sfbcep.o gggetopt.o -lspro -L. -lm
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT splp.o -MD -MP -MF ".deps/splp.Tpo" -c -o splp.o splp.c;
then mv -f ".deps/splp.Tpo" ".deps/splp.Po"; else rm -f ".deps/splp.Tpo"; exit 1; fi
gcc -g -O2 -o splp splp.o gggetopt.o -lspro -L. -lm
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT scompare.o -MD -MP -MF ".deps/scompare.Tpo" -c -o scompare.o scompare.c;
then mv -f ".deps/scompare.Tpo" ".deps/scompare.Po"; else rm -f ".deps/scompare.Tpo"; exit 1; fi
gcc -g -O2 -o scompare scompare.o gggetopt.o -lspro -L. -lm
make[2]: Leaving directory '/home/ubuntu/Documents/spro-5.0'
make[1]: Leaving directory '/home/ubuntu/Documents/spro-5.0'
Do I miss something?
I should probably mention, that first of all I of course tried './configure; make' without making any changes to the makefiles. This, however, gave me a couple of errors as well.
Makefile:353: recipe for target 'scopy' failed
make[2]: *** [scopy] Error 1
make[2]: Leaving directory '/home/ubuntu/Documents/spro-5.0'
Makefile:432: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/ubuntu/Documents/spro-5.0'
Makefile:236: recipe for target 'all' failed
make: *** [all] Error 2
My gcc version is 7.3.0, and I am running on Ubuntu 18.04 in persistent mode if that has anything to say.
gcc ubuntu-18.04
I have problems compiling Spro 5.0 (available here: https://github.com/giuliopaci/SPro). After ./configure I get the following warning:
ubuntu@ubuntu:~/Documents/spro-5.0$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/ubuntu/Documents/spro-5.0/auxdir/missing: Unknown `--run' option
Try `/home/ubuntu/Documents/spro-5.0/auxdir/missing --help' for more information
configure: WARNING: `missing' script is too old or missing
The warning is similar to this answer (https://github.com/giuliopaci/SPro). I can't find the codeline mentioned in the answer, but I do find "-lm" and "-lspro" in Makefile.am (ln 43) and Makefile.in (ln 213). I have therefore changed both lines, so that "-lspro" is before "-lm".
However, this action gives me the following when typing make:
ubuntu@ubuntu:~/Documents/spro-5.0$ make
make all-recursive
make[1]: Entering directory '/home/ubuntu/Documents/spro-5.0'
Making all in doc
make[2]: Entering directory '/home/ubuntu/Documents/spro-5.0/doc'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/ubuntu/Documents/spro-5.0/doc'
Making all in auxdir
make[2]: Entering directory '/home/ubuntu/Documents/spro-5.0/auxdir'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/ubuntu/Documents/spro-5.0/auxdir'
Making all in test
make[2]: Entering directory '/home/ubuntu/Documents/spro-5.0/test'
Making all in ref
make[3]: Entering directory '/home/ubuntu/Documents/spro-5.0/test/ref'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/ubuntu/Documents/spro-5.0/test/ref'
Making all in dat
make[3]: Entering directory '/home/ubuntu/Documents/spro-5.0/test/dat'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/ubuntu/Documents/spro-5.0/test/dat'
make[3]: Entering directory '/home/ubuntu/Documents/spro-5.0/test'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/ubuntu/Documents/spro-5.0/test'
make[2]: Leaving directory '/home/ubuntu/Documents/spro-5.0/test'
make[2]: Entering directory '/home/ubuntu/Documents/spro-5.0'
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT sig.o -MD -MP -MF ".deps/sig.Tpo" -c -o sig.o sig.c;
then mv -f ".deps/sig.Tpo" ".deps/sig.Po"; else rm -f ".deps/sig.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT spf.o -MD -MP -MF ".deps/spf.Tpo" -c -o spf.o spf.c;
then mv -f ".deps/spf.Tpo" ".deps/spf.Po"; else rm -f ".deps/spf.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT header.o -MD -MP -MF ".deps/header.Tpo" -c -o header.o header.c;
then mv -f ".deps/header.Tpo" ".deps/header.Po"; else rm -f ".deps/header.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT misc.o -MD -MP -MF ".deps/misc.Tpo" -c -o misc.o misc.c;
then mv -f ".deps/misc.Tpo" ".deps/misc.Po"; else rm -f ".deps/misc.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT lpc.o -MD -MP -MF ".deps/lpc.Tpo" -c -o lpc.o lpc.c;
then mv -f ".deps/lpc.Tpo" ".deps/lpc.Po"; else rm -f ".deps/lpc.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT convert.o -MD -MP -MF ".deps/convert.Tpo" -c -o convert.o convert.c;
then mv -f ".deps/convert.Tpo" ".deps/convert.Po"; else rm -f ".deps/convert.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT fft.o -MD -MP -MF ".deps/fft.Tpo" -c -o fft.o fft.c;
then mv -f ".deps/fft.Tpo" ".deps/fft.Po"; else rm -f ".deps/fft.Tpo"; exit 1; fi
rm -f libspro.a
ar cru libspro.a sig.o spf.o header.o misc.o lpc.o convert.o fft.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib libspro.a
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT scopy.o -MD -MP -MF ".deps/scopy.Tpo" -c -o scopy.o scopy.c;
then mv -f ".deps/scopy.Tpo" ".deps/scopy.Po"; else rm -f ".deps/scopy.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT gggetopt.o -MD -MP -MF ".deps/gggetopt.Tpo" -c -o gggetopt.o gggetopt.c;
then mv -f ".deps/gggetopt.Tpo" ".deps/gggetopt.Po"; else rm -f ".deps/gggetopt.Tpo"; exit 1; fi
gggetopt.c: In function ‘_getopt_long’:
gggetopt.c:442:12: warning: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration]
if ( strcmp(optarg, "--") == 0 ) {
^~~~~~
gcc -g -O2 -o scopy scopy.o gggetopt.o -lspro -L. -lm
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT slpc.o -MD -MP -MF ".deps/slpc.Tpo" -c -o slpc.o slpc.c;
then mv -f ".deps/slpc.Tpo" ".deps/slpc.Po"; else rm -f ".deps/slpc.Tpo"; exit 1; fi
gcc -g -O2 -o slpc slpc.o gggetopt.o -lspro -L. -lm
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT slpcep.o -MD -MP -MF ".deps/slpcep.Tpo" -c -o slpcep.o slpcep.c;
then mv -f ".deps/slpcep.Tpo" ".deps/slpcep.Po"; else rm -f ".deps/slpcep.Tpo"; exit 1; fi
gcc -g -O2 -o slpcep slpcep.o gggetopt.o -lspro -L. -lm
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT sfbank.o -MD -MP -MF ".deps/sfbank.Tpo" -c -o sfbank.o sfbank.c;
then mv -f ".deps/sfbank.Tpo" ".deps/sfbank.Po"; else rm -f ".deps/sfbank.Tpo"; exit 1; fi
gcc -g -O2 -o sfbank sfbank.o gggetopt.o -lspro -L. -lm
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT sfbcep.o -MD -MP -MF ".deps/sfbcep.Tpo" -c -o sfbcep.o sfbcep.c;
then mv -f ".deps/sfbcep.Tpo" ".deps/sfbcep.Po"; else rm -f ".deps/sfbcep.Tpo"; exit 1; fi
gcc -g -O2 -o sfbcep sfbcep.o gggetopt.o -lspro -L. -lm
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT splp.o -MD -MP -MF ".deps/splp.Tpo" -c -o splp.o splp.c;
then mv -f ".deps/splp.Tpo" ".deps/splp.Po"; else rm -f ".deps/splp.Tpo"; exit 1; fi
gcc -g -O2 -o splp splp.o gggetopt.o -lspro -L. -lm
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT scompare.o -MD -MP -MF ".deps/scompare.Tpo" -c -o scompare.o scompare.c;
then mv -f ".deps/scompare.Tpo" ".deps/scompare.Po"; else rm -f ".deps/scompare.Tpo"; exit 1; fi
gcc -g -O2 -o scompare scompare.o gggetopt.o -lspro -L. -lm
make[2]: Leaving directory '/home/ubuntu/Documents/spro-5.0'
make[1]: Leaving directory '/home/ubuntu/Documents/spro-5.0'
Do I miss something?
I should probably mention, that first of all I of course tried './configure; make' without making any changes to the makefiles. This, however, gave me a couple of errors as well.
Makefile:353: recipe for target 'scopy' failed
make[2]: *** [scopy] Error 1
make[2]: Leaving directory '/home/ubuntu/Documents/spro-5.0'
Makefile:432: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/ubuntu/Documents/spro-5.0'
Makefile:236: recipe for target 'all' failed
make: *** [all] Error 2
My gcc version is 7.3.0, and I am running on Ubuntu 18.04 in persistent mode if that has anything to say.
gcc ubuntu-18.04
gcc ubuntu-18.04
asked Nov 27 '18 at 10:52
Ida HjorthIda Hjorth
11
11
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53498043%2fcompiling-and-installing-spro-5-0-on-ubuntu-18-04%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53498043%2fcompiling-and-installing-spro-5-0-on-ubuntu-18-04%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown