compiling libmemcached in OpenSolaris x86
Hi there
I have OpenSolaris x86 installed on my PC
I wish to compile libmemcached onto my PC using libmemcached-
I can successfully execute the ./configure process with the following output
+++++++
configure: creating ./config.status
config.status: creating libhashkit/
config.status: creating libhashkit-
config.status: creating libtest/version.h
config.status: creating libtest/yatlcon.h
config.status: creating Makefile
config.status: creating docs/source/conf.py
config.status: creating libmemcached-
config.status: creating support/
config.status: creating support/
config.status: creating mem_config.h
config.status: mem_config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
---
Configuration summary for libmemcached version 1.1.0
* Installation prefix: /usr/local
* System type: pc-solaris2.11
* Host CPU: i386
* C Compiler: cc: Sun C 5.10 SunOS_i386 2009/06/03
* C Flags: -g
* C++ Compiler: c++: error: unrecognized command line option '-V'
* C++ Flags: -g -O2 -Wno-unknown-
* CPP Flags:
* LIB Flags:
* Assertions enabled: no
* Debug enabled: no
* Shared: yes
* Warnings as failure: no
* SASL support: no
* make -j: 2
* VCS checkout: no
+++++++
however when I try to compile libmemcached using the 'make' command I get this error
+++++++
CC libmemcached/
CXX libmemcached/
"./libmemcached
"./libmemcached
"./libmemcached
"./libmemcached
"./libmemcached
"./libmemcached
"./libmemcached
"./libmemcached
"./libmemcached
"./libmemcached
"./libmemcached
"./mem_config.h", line 9: #error: "You should include mem_config.h as your first include file"
cc: acomp failed for libmemcached/
gmake[2]: *** [Makefile:5645: libmemcached/
gmake[2]: *** Waiting for unfinished jobs....
libmemcached/
libmemcached/
return ntohll(value);
libmemcached/
libmemcached/
return htonll(value);
gmake[2]: *** [Makefile:6262: libmemcached/
gmake[2]: Leaving directory '/export/
gmake[1]: *** [Makefile:9173: all-recursive] Error 1
gmake[1]: Leaving directory '/export/
gmake: *** [Makefile:3635: all] Error 2
+++++++
what shall I do? Any help I can get would be great
thanks
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Frederick Shawgrove for more information if necessary.