Error in solaris 10 installation
-
Hello
I'm installing NetXMS 0.2.31 in a solaris 10 server. Configure run ok with some warnings related to libiconv.so:
"ld: aviso: archivo /usr/local/lib/libiconv.so: intento de inclusión múltiple de archivo"Now i'm running make but the process stopped with the following error:
Making all in mibs
Making all in backgrounds
Making all in include
Making all in src
Making all in libexpat
Making all in libexpat
/bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -DHAVE_EXPAT_CONFIG_H -I.. -I/opt/coolstack/mysql_32bit/include/mysql -I/usr/local/mysql/include -I/usr/include/mysql -I/usr/mysql/include -I/usr/local/include/mysql -I/usr/local/mysql/include/mysql -I/usr/mysql/include/mysql -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/local/include -D_THREAD_SAFE -DPREFIX=\"/opt\" -DPREFIXW=L\"/opt\" -DDATADIR=\"/opt/share/netxms\" -DLIBDIR=\"/opt/lib\" -g -O2 -MT libnxexpat_la-xmlparse.lo -MD -MP -MF .deps/libnxexpat_la-xmlparse.Tpo -c -o libnxexpat_la-xmlparse.lo `test -f 'xmlparse.c' || echo './'`xmlparse.c
../../../libtool: syntax error at line 653: `func_arith_result=$' unexpected
*** Error code 2
make: Fatal error: Command failed for target `libnxexpat_la-xmlparse.lo'
Current working directory /tmp/netxms-0.2.31/src/libexpat/libexpat
*** Error code 1
The following command caused the error:
failcom='exit 1'; \Any ideas why is this happening? Thank you in advance.
-
-
One step ahead, after looking for elegant solutions i decided to use a quick fix:
cp /bin/sh /bin/sh.tmp
cp /bin/bash /bin/shIt worked until new errors appeared in make:
odbcsapi.cpp:28:17: sql.h: No such file or directory
odbcsapi.cpp:29:20: sqlext.h: No such file or directory
odbcsapi.cpp:30:22: sqltypes.h: No such file or directoryUntil a solution can be found for these new ones, /bin/sh was returned to normal state
Any ideas?
-
Hello!
How do you run ./configure? odbcsapi.cpp is a part of odbcquery subagent, which compiles only if --enable-unstable is set. Try to run configure without that switch.
Best regards,
Victor -
Hi Victor
What advantages do i get installing netxms with --enable-unstable? indeed i ran configure with that option set, I will try without it.
My configure was ./configure --prefix=/opt --enable-unstable --with-server --with-server --with-mysql --with-gd --with-nxhttpd
-
-
Hi!
Currently, --enable-unstable only enables ODBCQUERY subagent. If you ever need it, you will have to install UNIXODBC first, and then it should compile as well.
Best regards,
Victor
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login