Jump to content

Recommended Posts

  • 40 years later...
Posted

rev 9260 not compile again in linux environment =(

../configure: line 15090: syntax error near unexpected token ,'

../configure: line 15090:AX_CHECK_OPENSSL(, AC_MSG_ERROR([Missing OpenSSL]))'

Posted

/mangos# autoreconf --install --force
/mangos# automake --add-missing
/mangos# automake src/bindings/ScriptDev2/Makefile
/mangos# mkdir objdir
/mangos# cd objdir/
/mangos/objdir# ../configure --prefix=/yourdirectory/opt_mangos --sysconfdir=/yourdirectory/opt_mangos/etc --enable-cli --enable-ra --datadir=/yourdirectory/opt_mangos
/mangos/objdir# make
/mangos/objdir# make install

Try that, everything is fine for me (Debian Lenny).

EDIT: don't forget to set "yourdirectory" :eek:

Posted

Yes, the documented procedure of compiling in linux is outdated for example in my case was:

> autoreconf --install --force

> [color="red"]aclocal[/color]

> [color="red"]autoheader[/color]

> [color="red"]autoconf[/color]

> automake --add-missing

> automake src/bindings/ScriptDev2/Makefile

> mkdir objdir

> cd objdir

> ../configure CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -m64 -pipe  -msse4.2 -DFD_SETSIZE=4096 -fno-delete-null-pointer-checks -fno-strength-reduce -fno-strict-aliasing -frename-registers" CXXFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -m64 -pipe  -msse4.2 -DFD_SETSIZE=4096 -fno-delete-null-pointer-checks -fno-strength-reduce -fno-strict-aliasing -frename-registers" --prefix=/opt/mangos --sysconfdir=/opt/mangos/etc --enable-cli --enable-ra --datadir=/opt/mangos --with-debug-info --disable-builtin-ace

autoreconf = aclocal && autoheader && automake && autoconf

And maybe that redundant execution of autoconf is the origin of problem in new configure.ac version

Now with the procedure in snake post all compiling ok =):


autoreconf --install --force

automake --add-missing

automake src/bindings/ScriptDev2/Makefile

mkdir objdir

cd objdir

../configure CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -m64 -pipe  -msse4.2 -DFD_SETSIZE=4096 -fno-delete-null-pointer-checks -fno-strength-reduce -fno-strict-aliasing -frename-registers" CXXFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -m64 -pipe  -msse4.2 -DFD_SETSIZE=4096 -fno-delete-null-pointer-checks -fno-strength-reduce -fno-strict-aliasing -frename-registers" --prefix=/opt/mangos --sysconfdir=/opt/mangos/etc --enable-cli --enable-ra --datadir=/opt/mangos --with-debug-info --disable-builtin-ace

Best Regards

Posted

configure: line 20611: syntax error near unexpected token `,'

configure: line 20611: `AX_CHECK_OPENSSL(, AC_MSG_ERROR([Missing OpenSSL]))'

I get this error?!?

I cant compile mangos since revision 9186, where is the problem and how to solve it?

Posted

[...]checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 static flag -static works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for a BSD-compatible install... /usr/bin/install -c
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for pthread_create in -lpthread... yes
checking for compress in -lz... yes
checking for ftime in -lcompat... no
../configure: line 19450: syntax error near unexpected token `,'
../configure: line 19450: `AX_CHECK_OPENSSL(, AC_MSG_ERROR([Missing OpenSSL]))'

The system we have OpenSSL installed: openssl-0.9.8e-12.el5_4.1

Posted

Compiles fine here, Centos 5.4

autoreconf --install --force

automake --add-missing

automake src/bindings/ScriptDev2/Makefile

mkdir objdir

cd objdir

../configure --prefix=/opt/mangos --sysconfdir=/opt/mangos/etc --enable-cli --enable-ra --datadir=/opt/mangos

  • 2 weeks later...
Posted
/root/mangos-installer/Sources/src/game/Group.cpp: In member function Б─≤void Group::SetTargetIcon(uint8, uint64, uint64)Б─≥:

/root/mangos-installer/Sources/src/game/Group.cpp:917: error: Б─≤guidБ─≥ was not declared in this scope

/root/mangos-installer/Sources/src/game/Group.cpp:922: error: Б─≤guidБ─≥ was not declared in this scope

Now i get this error? mangos rev. 9316 Debian Lenny

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use