Hi,
I've some problem when try to lunch the script ./configure.
If somebody have some suggestion i will be very happy..
this is the command's syntax:
$ ./configure --enable-server --with-mysql=/opt/csw/mysql5/bin/mysql_config --with-net-snmp --with-libcurl
The output of the script its
checking for mysql_config... /opt/csw/mysql5/bin/mysql_config
checking for main in -lmysqlclient ... no
This the config.log it was created by configure, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ ./configure --enable-server --with-mysql=/opt/csw/mysql5/bin/mysql_config --with
-net-snmp --with-libcurl
## --------- ##
## Platform. ##
## --------- ##
hostname = RLMIUX060
uname -m = sun4u
...skipping...
LDFLAGS=' -L/opt/csw/lib/32 -L/opt/csw/mysql5/lib/sparcv8/mysql -L/opt/csw/lib'
LIBCURL_CFLAGS=''
LIBCURL_LDFLAGS=''
LIBCURL_LIBS=''
LIBOBJS=''
LIBS='-lkvm -lm -lresolv -lnsl -lkstat -lsocket '
LTLIBOBJS=''
MAKEINFO='${SHELL} /_INSTALL/zabbix-1.6.5/missing --run makeinfo'
MYSQL_CFLAGS='-I/opt/csw/mysql5/include/mysql -mt -D_FORTEC_ -xarch=v8 -D_FILE_O
FFSET_BITS=64 -DHAVE_CURSES_H -DHAVE_RWLOCK_T'
MYSQL_CONFIG='/opt/csw/mysql5/bin/mysql_config'
MYSQL_LDFLAGS=' -L/opt/csw/lib/32 -L/opt/csw/mysql5/lib/sparcv8/mysql -L/opt/csw/lib
'
MYSQL_LIBS=''
MYSQL_VERSION=''
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #if defined __stub_getopt_long || defined __stub___getopt_long
| choke me
| #endif
|
| int
| main ()
| {
| return getopt_long ();
| ;
| return 0;
| }
configure:8326: result: no
configure:8778: checking for mysql_config
configure:8809: result: /opt/csw/mysql5/bin/mysql_config
configure:8924: checking for main in -lmysqlclient
configure:8953: gcc -o conftest -g -O2 -I/opt/csw/mysql5/include/mysql -mt -D_FORTE
C_ -xarch=v8 -D_FILE_OFFSET_BITS=64 -DHAVE_CURSES_H -DHAVE_RWLOCK_T -L/opt/cs
w/lib/32 -L/opt/csw/mysql5/lib/sparcv8/mysql -L/opt/csw/lib conftest.c -lmysqlclient
-lkvm -lm -lresolv -lnsl -lkstat -lsocket >&5
gcc: language arch=v8 not recognized
ld: fatal: file conftest.c: unknown file type
ld: fatal: File processing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:8959: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "zabbix"
| #define VERSION "1.6.5"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
configure:8326: result: no
configure:8778: checking for mysql_config
configure:8809: result: /opt/csw/mysql5/bin/mysql_config
configure:8924: checking for main in -lmysqlclient
configure:8953: gcc -o conftest -g -O2 -I/opt/csw/mysql5/include/mysql -mt -D_FORTE
C_ -xarch=v8 -D_FILE_OFFSET_BITS=64 -DHAVE_CURSES_H -DHAVE_RWLOCK_T -L/opt/cs
w/lib/32 -L/opt/csw/mysql5/lib/sparcv8/mysql -L/opt/csw/lib conftest.c -lmysqlclient
-lkvm -lm -lresolv -lnsl -lkstat -lsocket >&5
gcc: language arch=v8 not recognized
ld: fatal: file conftest.c: unknown file type
ld: fatal: File processing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:8959: $? = 1
configure: failed program was:
| /* confdefs.h. */
[root@RLMIUX060]/# tail -f /_INSTALL/zabbix-1.6.5/config.log
#define RETSIGTYPE void
#define HAVE_GETLOADAVG 1
#define HAVE_SOCKET 1
#define HAVE_STRTOD 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_HSTRERROR 1
#define HAVE_ATOLL 1
configure: exit 1
^[^[[6~^[[6~
:Q
| #define HAVE___VA_COPY 1
| #define HAVE_SYS_SWAP_SWAPTABLE 1
| #define HAVE_FUNCTION_INITGROUPS 1
| #define HAVE_FUNCTION_SETEUID 1
| #define HAVE___VA_ARGS__ 1
| #define RETSIGTYPE void
| #define HAVE_GETLOADAVG 1
| #define HAVE_SOCKET 1
| #define HAVE_STRTOD 1
| #define HAVE_SNPRINTF 1
| #define HAVE_VSNPRINTF 1
| #define HAVE_HSTRERROR 1
| #define HAVE_ATOLL 1
| /* end confdefs.h. */
|
|
| int
| main ()
| {
| return main ();
| ;
| return 0;
| }
configure:8977: result: no
configure:8985: error: Not found mysqlclient library
Installed packages
PKGINST: CSWmysql5
PKGINST: CSWmysql5bench
PKGINST: CSWmysql5client
PKGINST: CSWmysql5devel
PKGINST: CSWmysql5rt
PKGINST: CSWmysql5test
PKGINST: CSWpmdbdmysql
Bye Bye Ale
I've some problem when try to lunch the script ./configure.
If somebody have some suggestion i will be very happy..

this is the command's syntax:
$ ./configure --enable-server --with-mysql=/opt/csw/mysql5/bin/mysql_config --with-net-snmp --with-libcurl
The output of the script its
checking for mysql_config... /opt/csw/mysql5/bin/mysql_config
checking for main in -lmysqlclient ... no
This the config.log it was created by configure, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ ./configure --enable-server --with-mysql=/opt/csw/mysql5/bin/mysql_config --with
-net-snmp --with-libcurl
## --------- ##
## Platform. ##
## --------- ##
hostname = RLMIUX060
uname -m = sun4u
...skipping...
LDFLAGS=' -L/opt/csw/lib/32 -L/opt/csw/mysql5/lib/sparcv8/mysql -L/opt/csw/lib'
LIBCURL_CFLAGS=''
LIBCURL_LDFLAGS=''
LIBCURL_LIBS=''
LIBOBJS=''
LIBS='-lkvm -lm -lresolv -lnsl -lkstat -lsocket '
LTLIBOBJS=''
MAKEINFO='${SHELL} /_INSTALL/zabbix-1.6.5/missing --run makeinfo'
MYSQL_CFLAGS='-I/opt/csw/mysql5/include/mysql -mt -D_FORTEC_ -xarch=v8 -D_FILE_O
FFSET_BITS=64 -DHAVE_CURSES_H -DHAVE_RWLOCK_T'
MYSQL_CONFIG='/opt/csw/mysql5/bin/mysql_config'
MYSQL_LDFLAGS=' -L/opt/csw/lib/32 -L/opt/csw/mysql5/lib/sparcv8/mysql -L/opt/csw/lib
'
MYSQL_LIBS=''
MYSQL_VERSION=''
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #if defined __stub_getopt_long || defined __stub___getopt_long
| choke me
| #endif
|
| int
| main ()
| {
| return getopt_long ();
| ;
| return 0;
| }
configure:8326: result: no
configure:8778: checking for mysql_config
configure:8809: result: /opt/csw/mysql5/bin/mysql_config
configure:8924: checking for main in -lmysqlclient
configure:8953: gcc -o conftest -g -O2 -I/opt/csw/mysql5/include/mysql -mt -D_FORTE
C_ -xarch=v8 -D_FILE_OFFSET_BITS=64 -DHAVE_CURSES_H -DHAVE_RWLOCK_T -L/opt/cs
w/lib/32 -L/opt/csw/mysql5/lib/sparcv8/mysql -L/opt/csw/lib conftest.c -lmysqlclient
-lkvm -lm -lresolv -lnsl -lkstat -lsocket >&5
gcc: language arch=v8 not recognized
ld: fatal: file conftest.c: unknown file type
ld: fatal: File processing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:8959: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "zabbix"
| #define VERSION "1.6.5"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
configure:8326: result: no
configure:8778: checking for mysql_config
configure:8809: result: /opt/csw/mysql5/bin/mysql_config
configure:8924: checking for main in -lmysqlclient
configure:8953: gcc -o conftest -g -O2 -I/opt/csw/mysql5/include/mysql -mt -D_FORTE
C_ -xarch=v8 -D_FILE_OFFSET_BITS=64 -DHAVE_CURSES_H -DHAVE_RWLOCK_T -L/opt/cs
w/lib/32 -L/opt/csw/mysql5/lib/sparcv8/mysql -L/opt/csw/lib conftest.c -lmysqlclient
-lkvm -lm -lresolv -lnsl -lkstat -lsocket >&5
gcc: language arch=v8 not recognized
ld: fatal: file conftest.c: unknown file type
ld: fatal: File processing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:8959: $? = 1
configure: failed program was:
| /* confdefs.h. */
[root@RLMIUX060]/# tail -f /_INSTALL/zabbix-1.6.5/config.log
#define RETSIGTYPE void
#define HAVE_GETLOADAVG 1
#define HAVE_SOCKET 1
#define HAVE_STRTOD 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_HSTRERROR 1
#define HAVE_ATOLL 1
configure: exit 1
^[^[[6~^[[6~
:Q
| #define HAVE___VA_COPY 1
| #define HAVE_SYS_SWAP_SWAPTABLE 1
| #define HAVE_FUNCTION_INITGROUPS 1
| #define HAVE_FUNCTION_SETEUID 1
| #define HAVE___VA_ARGS__ 1
| #define RETSIGTYPE void
| #define HAVE_GETLOADAVG 1
| #define HAVE_SOCKET 1
| #define HAVE_STRTOD 1
| #define HAVE_SNPRINTF 1
| #define HAVE_VSNPRINTF 1
| #define HAVE_HSTRERROR 1
| #define HAVE_ATOLL 1
| /* end confdefs.h. */
|
|
| int
| main ()
| {
| return main ();
| ;
| return 0;
| }
configure:8977: result: no
configure:8985: error: Not found mysqlclient library
Installed packages
PKGINST: CSWmysql5
PKGINST: CSWmysql5bench
PKGINST: CSWmysql5client
PKGINST: CSWmysql5devel
PKGINST: CSWmysql5rt
PKGINST: CSWmysql5test
PKGINST: CSWpmdbdmysql
Bye Bye Ale
Comment