make failed

Issue #238 closed
Alex Bender created an issue
$ git clone git@bitbucket.org:tildeslash/monit.git --recursive
Cloning into 'monit'...
remote: Counting objects: 5268, done.
remote: Compressing objects: 100% (2729/2729), done.
remote: Total 5268 (delta 4033), reused 3277 (delta 2418)
Receiving objects: 100% (5268/5268), 1.35 MiB | 1.02 MiB/s, done.
Resolving deltas: 100% (4033/4033), done.
Checking connectivity... done.
Submodule 'libmonit' (git@bitbucket.org:tildeslash/libmonit.git) registered for path 'libmonit'
Cloning into 'libmonit'...
remote: Counting objects: 471, done.
remote: Compressing objects: 100% (396/396), done.
remote: Total 471 (delta 284), reused 80 (delta 25)
Receiving objects: 100% (471/471), 176.98 KiB | 0 bytes/s, done.
Resolving deltas: 100% (284/284), done.
Checking connectivity... done.
Submodule path 'libmonit': checked out '6f940804e84f57b5883c02ba6da6b29e2f1f1960'
$ ./configure
...
...
Monit Build Information:

                Architecture: LINUX
       SSL include directory: /usr/include
       SSL library directory: 
              Compiler flags: -Wno-address -Wno-pointer-sign -g -O2 -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include
                Linker flags: -lcrypto -lssl -lpam -lpthread -lcrypt -lresolv -lnsl 
           pid file location: /run
           Install directory: /usr/local

+------------------------------------------------------------+
| License:                                                   |
...
+------------------------------------------------------------+
| Monit has been configured with the following options:      |
|                                                            |
|   PAM support:                                  ENABLED    |
|   SSL support:                                  ENABLED    |
|   Large files support:                          ENABLED    |
|   Optimized:                                    DISABLED   |
+------------------------------------------------------------+
$ make -j2
...
...
Makefile:722: recipe for target 'src/y.tab.o' failed
make[2]: *** [src/y.tab.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/alex/tools/monit'
Makefile:789: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/alex/tools/monit'
Makefile:512: recipe for target 'all' failed
make: *** [all] Error 2

Comments (1)

  1. Tildeslash repo owner

    Do not run make in parallel and make sure that you have all required build-tools installed, such as bison, flex, gmake etc

  2. Log in to comment