Jump to content

Compile failes while making json-c


Recommended Posts

  • MTA Team

Compiling the MTA-Server fails on some distributions while it is attempting to make json-c . To fix this do the following:

cd vendor/json-c && make clean && autoreconf -fi && ./configure && make && make install && cd ../..

afterwards continue building mta with "make install"

Link to comment

This didn't fix it for me, it still throws these errors when doing "make" in json-c

./libtool: line 815: X--tag=CC: command not found
./libtool: line 848: libtool: ignoring unknown tag : command not found
./libtool: line 815: X--mode=compile: command not found
./libtool: line 982: *** Warning: inferring the mode of operation is deprecated.: command not found
./libtool: line 983: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
./libtool: line 1126: Xgcc: command not found
./libtool: line 1126: X-DHAVE_CONFIG_H: command not found
./libtool: line 1126: X-I.: command not found
./libtool: line 1126: X-Wall: command not found
./libtool: line 1126: X-std=gnu99: command not found
./libtool: line 1126: X-D_GNU_SOURCE: command not found
./libtool: line 1126: X-D_REENTRANT: command not found
./libtool: line 1126: X-g: command not found
./libtool: line 1126: X-O2: command not found
./libtool: line 1126: X-MT: command not found
./libtool: line 1126: Xarraylist.lo: command not found
./libtool: line 1126: X-MD: command not found
./libtool: line 1126: X-MP: command not found
./libtool: line 1126: X-MF: command not found
./libtool: line 1126: X.deps/arraylist.Tpo: No such file or directory
./libtool: line 1126: X-c: command not found
./libtool: line 1179: Xarraylist.lo: command not found
./libtool: line 1184: libtool: compile: cannot determine name of library object from `': command not found
make[1]: *** [arraylist.lo] Fehler 1
make[1]: Leaving directory `/root/mtagit/multitheftauto-multitheftauto-fe44d06/vendor/json-c'
make: *** [all] Fehler 2

My libtool version is 2.2 (latest)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...