Dear all, 

I am trying to install [Primer3][1] on an Ubuntu machine. Following the instructions, I moved into primer3-<release>/src and typed `make all` but i got:

    /usr/local/lib/primer3/src$ make all
    g++ -c -g -Wall -D__USE_FIXED_PROTOTYPES__ -O2  primer3_boulder_main.c
    g++ -c -g -Wall -D__USE_FIXED_PROTOTYPES__ -O2  -o format_output.o format_output.c
    g++ -c -g -Wall -D__USE_FIXED_PROTOTYPES__ -O2  -o read_boulder.o read_boulder.c
    g++ -c -g -Wall -D__USE_FIXED_PROTOTYPES__ -O2  -o print_boulder.o print_boulder.c
    g++ -c -g -Wall -D__USE_FIXED_PROTOTYPES__ -O2 -Wno-deprecated  -o libprimer3.o libprimer3.c
    g++ -c -g -Wall -D__USE_FIXED_PROTOTYPES__ -O2 -o p3_seq_lib.o p3_seq_lib.c
    ar rv libprimer3.a libprimer3.o p3_seq_lib.o
    ar: creating libprimer3.a
    a - libprimer3.o
    a - p3_seq_lib.o
    ranlib libprimer3.a
    g++ -c -g -Wall -D__USE_FIXED_PROTOTYPES__ -O2  -o dpal_primer.o dpal.c
    dpal.c: In function ‘void print_align(const unsigned char*, const unsigned char*, int (*)[1600][3], int, int, const dpal_args*)’:
    dpal.c:1036:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
         for(i=j;i<j+70;i++) fprintf(stderr, "%c",sy[i]); fprintf(stderr,"\n");
         ^~~
    dpal.c:1036:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
         for(i=j;i<j+70;i++) fprintf(stderr, "%c",sy[i]); fprintf(stderr,"\n");
                                                          ^~~~~~~
    ar rv libdpal.a dpal_primer.o
    ar: creating libdpal.a
    a - dpal_primer.o
    ranlib libdpal.a
    g++ -c -g -Wall -D__USE_FIXED_PROTOTYPES__ -O2 -ffloat-store  -o thal_primer.o thal.c
    thal.c: In function ‘void thal(const unsigned char*, const unsigned char*, const thal_args*, thal_results*)’:
    thal.c:429:16: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
        if ('\0' == oligo_f) {
                    ^~~~~~~
    thal.c:434:16: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
        if ('\0' == oligo_r) {
                    ^~~~~~~
    thal.c: In function ‘void tableStartATS(double, double (*)[5])’:
    thal.c:1200:4: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
        for (i = 0; i < 5; ++i)
        ^~~
    thal.c:1203:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
          atpS[0][3] = atpS[3][0] = atp_value;
          ^~~~
    thal.c: In function ‘void tableStartATH(double, double (*)[5])’:
    thal.c:1212:4: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
        for (i = 0; i < 5; ++i)
        ^~~
    thal.c:1216:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
          atpH[0][3] = atpH[3][0] = atp_value;
          ^~~~
    Makefile:192: recipe for target 'thal_primer.o' failed
    make: *** [thal_primer.o] Error 1

 what I did wrong?

thank you

  [1]: https://sourceforge.net/projects/primer3/
I finally was able to install it following the instructions in the github page here https://github.com/primer3-org/primer3

Installing
sudo apt-get install -y build-essential g++ cmake git-all

git clone https://github.com/primer3-org/primer3.git primer3

cd primer3/src

make

make test