Installation problem on OpenSolaris

Started by slackamp, June 19, 2007, 11:11:21 AM

Previous topic - Next topic

Alex

When I'm try to do make, I get the next error:

Making all in core
make[4]: Entering directory `/export/home/raven/netxms-0.2.17/src/server/core'
/bin/sh ../../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I../../../src/server/include  -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 -I/usr/local/include -D_THREAD_SAFE -DDATADIR=\"/usr/local/share/netxms\" -DLIBDIR=\"/usr/local/lib\"  -g -O2 -fno-rtti -fno-exceptions -MT session.lo -MD -MP -MF .deps/session.Tpo -c -o session.lo session.cpp
g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I../../../src/server/include -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 -I/usr/local/include -D_THREAD_SAFE -DDATADIR=\"/usr/local/share/netxms\" -DLIBDIR=\"/usr/local/lib\" -g -O2 -fno-rtti -fno-exceptions -MT session.lo -MD -MP -MF .deps/session.Tpo -c session.cpp  -fPIC -DPIC -o .libs/session.o
session.cpp: In member function 'void ClientSession::SendServerInfo(DWORD)':
session.cpp:1218: error: 'RAND_bytes' was not declared in this scope
session.cpp: In member function 'void ClientSession::AddCACertificate(CSCPMessage*)':
session.cpp:8885: error: 'X509' was not declared in this scope
session.cpp:8885: error: 'pCert' was not declared in this scope
session.cpp:8903: error: 'd2i_X509' was not declared in this scope
session.cpp:8907: error: 'X509_free' was not declared in this scope
session.cpp:8922: error: 'ReloadCertificates' was not declared in this scope
session.cpp: In member function 'void ClientSession::DeleteCertificate(CSCPMessage*)':
session.cpp:8971: error: 'ReloadCertificates' was not declared in this scope
make[4]: *** [session.lo] Error 1
make[4]: Leaving directory `/export/home/axel/netxms-0.2.17/src/server/core'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/export/home/axel/netxms-0.2.17/src/server'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/export/home/axel/netxms-0.2.17/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/axel/netxms-0.2.17'
make: *** [all] Error 2
#

I've install openssl0.9.8e already and it's not help. How I understand the problem with ssl module... Can you help me??

Thanks in advance.

Alex

Ouch. I get a new error :)

../../libnetxms/.libs/libnetxms.so: undefined reference to `EVP_CIPHER_iv_length'
../../libnetxms/.libs/libnetxms.so: undefined reference to `EVP_CIPHER_CTX_cipher'
../../libnetxms/.libs/libnetxms.so: undefined reference to `EVP_CIPHER_block_size'
collect2: ld returned 1 exit status
make[4]: *** [netxmsd] Error 1
make[4]: Leaving directory `/export/home/axel/netxms-0.2.17/src/server/netxmsd'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/export/home/axel/netxms-0.2.17/src/server'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/export/home/axel/netxms-0.2.17/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/axel/netxms-0.2.17'
make: *** [all] Error 2

Alex Kirhenshtein

Hello.

Can you send me config.log to alk - at - netxms.org?

Alex

Check your mail :) Thanks in advance.

Alex

Did you recieve my mail? Any ideas?

Alex Kirhenshtein

Yes, i've got your mail.

I'll try to answer in a few hours.

Alex Kirhenshtein

I've checked log files - no clue.

Currently i'm downloading Nexenta, will install it and try to fix.

Alex


Alex Kirhenshtein

Hello.

I've tried NexentaOS alpha7 (latest), and it works fine (except nxhttpd, which is patched in latest snapshot)

Packages required:

gcc
g++
libmysqlclient12-dev
libssl-dev

Alex Kirhenshtein

Forgot one more package (required for nxhttpd): libgd-dev

Also, here are details on packages i've tried:

Package: gcc
Priority: standard
Section: devel
Installed-Size: 29
Maintainer: Debian GCC Maintainers <[email protected]>
Architecture: solaris-i386
Source: gcc-defaults (1.32)
Version: 4:4.0.3-1
Provides: c-compiler
Depends: cpp (>= 4:4.0.3-1), gcc-4.0 (>= 4.0.3)
Recommends: libc6-dev | libc-dev
Suggests: make, manpages-dev, autoconf, automake1.9, libtool, flex, bison, gdb, gcc-doc
Conflicts: gcc-doc (<< 1:2.95.3)
Filename: dists/testing/main/binary-solaris-i386/devel/gcc_4.0.3-1_solaris-i386.deb
Size: 5030
MD5sum: 701ccc3a23a5a9b937bf3189c50d1f53
Description: The GNU C compiler
This is the GNU C compiler, a fairly portable optimizing compiler for C.
.
This is a dependency package providing the default GNU C compiler.

Package: g++
Priority: standard
Section: devel
Installed-Size: 16
Maintainer: Debian GCC Maintainers <[email protected]>
Architecture: solaris-i386
Source: gcc-defaults (1.32)
Version: 4:4.0.3-1
Provides: c++-compiler
Depends: cpp (>= 4:4.0.3-1), gcc (>= 4:4.0.3-1), g++-4.0 (>= 4.0.3), gcc-4.0 (>= 4.0.3)
Filename: dists/testing/main/binary-solaris-i386/devel/g++_4.0.3-1_solaris-i386.deb
Size: 1394
MD5sum: bdeb1bdaadc23f27c5d717d60680bd40
Description: The GNU C++ compiler
This is the GNU C++ compiler, a fairly portable optimizing compiler for C++.
.
This is a dependency package providing the default GNU C++ compiler.

Package: libmysqlclient12-dev
Priority: extra
Section: libdevel
Installed-Size: 7571
Maintainer: Christian Hammers <[email protected]>
Architecture: solaris-i386
Source: mysql-dfsg
Version: 4.0.24-10gnusol2
Replaces: libmysqlclient-dev, libmysqlclient9-dev, libmysqlclient6, libmysqlclient6-dev, mysql-gpl-dev, mysql-dev, mysql-devel
Provides: libmysqlclient-dev
Depends: libmysqlclient12 (>= 4.0.24-10gnusol2), zlib1g-dev
Conflicts: libmysqlclient-dev, libmysqlclient14-dev, libmysqlclient10-dev, libmysqlclient9-dev, libmysqlclient6-dev, mysql-gpl-dev, mysql-dev, mysql-devel
Filename: dists/testing/main/binary-solaris-i386/libdevel/libmysqlclient12-dev_4.0.24-10gnusol2_solaris-i386.deb
Size: 2624136
MD5sum: 53f377f5b0568a77d3a36d9363fd8ea1
Description: mysql database development files
MySQL is a fast, stable and true multi-user, multi-threaded SQL database
server. SQL (Structured Query Language) is the most popular database query
language in the world. The main goals of MySQL are speed, robustness and
ease of use.
.
This package includes development libraries and header files.

Package: libgd-dev
Priority: extra
Section: oldlibs
Installed-Size: 192
Maintainer: Jonas Smedegaard <[email protected]>
Architecture: all
Source: libgd
Version: 1.8.4.debian-1nexenta1
Provides: libgd1g-dev, libgd1-altdev
Depends: libgd-noxpm-dev (>= 1.8.4-27) | libgd-xpm-dev (>= 1.8.4-27)
Filename: dists/testing/main/binary-all/oldlibs/libgd-dev_1.8.4.debian-1nexenta1_all.deb
Size: 71504
MD5sum: 25092619193c59a5f11d3e68ee4235d4
Description: GD Graphics Library (transitional package)
GD is a graphics library...
.
This is a transitional package, provided for backwards compatibility
only. You can safely remove this package when no other package depend
on it.

Package: libssl-dev
Priority: optional
Section: libdevel
Installed-Size: 6278
Maintainer: Debian OpenSSL Team <[email protected]>
Architecture: solaris-i386
Source: openssl
Version: 0.9.8a-7build1
Depends: libssl0.9.8 (= 0.9.8a-7build1), zlib1g-dev
Conflicts: ssleay (<< 0.9.2b), libssl08-dev, libssl09-dev, libssl095a-dev, libssl096-dev
Filename: dists/testing/main/binary-solaris-i386/libdevel/libssl-dev_0.9.8a-7build1_solaris-i386.deb
Size: 2177912
MD5sum: df9b822af9ff295b2e4395943d9ad310
Description: SSL development libraries, header files and documentation
libssl and libcrypt development libraries, header files and manpages
.
It is part of the OpenSSL implementation of SSL.