* [Buildroot] wvstreams configure error
@ 2010-12-28 8:42 olyvine.chen at logiways.com.cn
2010-12-28 9:13 ` Thomas Petazzoni
0 siblings, 1 reply; 5+ messages in thread
From: olyvine.chen at logiways.com.cn @ 2010-12-28 8:42 UTC (permalink / raw)
To: buildroot
Hello, all,
I now run into an error when configure wvstreams as following:
##################################################################################
make[2]: Circular wvstreams-depends <- wvstreams dependency dropped.
>>> wvstreams 4.6.1 Configuring
configure: WARNING: unrecognized options: --disable-gtk-doc
configure: WARNING: valgrind/memcheck.h: present but cannot be compiled
configure: WARNING: valgrind/memcheck.h: check for missing
prerequisite headers?
configure: WARNING: valgrind/memcheck.h: see the Autoconf documentation
configure: WARNING: valgrind/memcheck.h: section "Present But Cannot
Be Compiled"
configure: WARNING: valgrind/memcheck.h: proceeding with the
preprocessor's result
configure: WARNING: valgrind/memcheck.h: in the future, the compiler
will take precedence
configure: WARNING: ##
----------------------------------------------- ##
configure: WARNING: ## Report this to
wvstreams-devel at googlegroups.com ##
configure: WARNING: ##
----------------------------------------------- ##
configure: WARNING: zlib.h: present but cannot be compiled
configure: WARNING: zlib.h: check for missing prerequisite headers?
configure: WARNING: zlib.h: see the Autoconf documentation
configure: WARNING: zlib.h: section "Present But Cannot Be Compiled"
configure: WARNING: zlib.h: proceeding with the preprocessor's result
configure: WARNING: zlib.h: in the future, the compiler will take
precedence
configure: WARNING: ##
----------------------------------------------- ##
configure: WARNING: ## Report this to
wvstreams-devel at googlegroups.com ##
configure: WARNING: ##
----------------------------------------------- ##
configure: WARNING: tr1/functional: present but cannot be compiled
configure: WARNING: tr1/functional: check for missing prerequisite
headers?
configure: WARNING: tr1/functional: see the Autoconf documentation
configure: WARNING: tr1/functional: section "Present But Cannot Be
Compiled"
configure: WARNING: tr1/functional: proceeding with the preprocessor's
result
configure: WARNING: tr1/functional: in the future, the compiler will
take precedence
configure: WARNING: ##
----------------------------------------------- ##
configure: WARNING: ## Report this to
wvstreams-devel at googlegroups.com ##
configure: WARNING: ##
----------------------------------------------- ##
configure: WARNING: DBUS is missing.
configure: WARNING: PAM is missing.
configure: WARNING: Qt is missing.
configure: WARNING: OpenSSL is missing.
configure: WARNING: readline is missing.
configure: WARNING: zlib is missing.
configure: error: Required dependencies missing: OpenSSL>=0.9.7 zlib
make[2]: *** [????????/wvstreams-4.6.1/.stamp_configured] Error 1
make[1]: *** [buildroot] Error 2
make: *** [buildroot] Error 2
##################################################################################
However, both openssl and zlib are compiled, and the makefile for
wvstreams is as following:
##################################################################################
WVSTREAMS_VERSION = 4.6.1
WVSTREAMS_SOURCE = wvstreams-$(WVSTREAMS_VERSION).tar.gz
WVSTREAMS_SITE = http://wvstreams.googlecode.com/files/
WVSTREAMS_LIBTOOL_PATCH = NO
WVSTREAMS_AUTORECONF = NO
WVSTREAMS_INSTALL_STAGING = YES
WVSTREAMS_INSTALL_TARGET = YES
ifeq ($(BR2_PACKAGE_OPENSSL),y)
WVSTREAMS_CONF_OPT+=--with-openssl
WVSTREAMS_DEPENDENCIES+=openssl
else
WVSTREAMS_CONF_OPT+=--without-openssl
endif
ifeq ($(BR2_PACKAGE_ZLIB),y)
WVSTREAMS_CONF_OPT+=--with-zlib=$(STAGING_DIR)
WVSTREAMS_DEPENDENCIES+=zlib
else
WVSTREAMS_CONF_OPT+=--without-zlib
endif
WVSTREAMS_CONF_OPT += --without-dbus --with-pam=no --with-tcl=no
--with-qt=no
$(eval $(call AUTOTARGETS,package,wvstreams))
##################################################################################
Can anybody help me?
Thanks and Best regards!
Olyvine.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] wvstreams configure error
2010-12-28 8:42 [Buildroot] wvstreams configure error olyvine.chen at logiways.com.cn
@ 2010-12-28 9:13 ` Thomas Petazzoni
2010-12-28 9:45 ` olyvine.chen at logiways.com.cn
0 siblings, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2010-12-28 9:13 UTC (permalink / raw)
To: buildroot
On Tue, 28 Dec 2010 16:42:45 +0800
"olyvine.chen at logiways.com.cn" <olyvine.chen@logiways.com.cn> wrote:
> I now run into an error when configure wvstreams as following:
> ##################################################################################
> make[2]: Circular wvstreams-depends <- wvstreams dependency dropped.
Hum, this message is strange.
> configure: error: Required dependencies missing: OpenSSL>=0.9.7 zlib
It says OpenSSL and zlib are *required* dependencies, so:
> ifeq ($(BR2_PACKAGE_OPENSSL),y)
> WVSTREAMS_CONF_OPT+=--with-openssl
> WVSTREAMS_DEPENDENCIES+=openssl
> else
> WVSTREAMS_CONF_OPT+=--without-openssl
> endif
This should just be:
WVSTREAMS_CONF_OPT+=--with-openssl
WVSTREAMS_DEPENDENCIES+=openssl
and the package should "select BR2_PACKAGE_OPENSSL"
> ifeq ($(BR2_PACKAGE_ZLIB),y)
> WVSTREAMS_CONF_OPT+=--with-zlib=$(STAGING_DIR)
> WVSTREAMS_DEPENDENCIES+=zlib
> else
> WVSTREAMS_CONF_OPT+=--without-zlib
> endif
This should just be:
WVSTREAMS_CONF_OPT+=--with-zlib=$(STAGING_DIR)
WVSTREAMS_DEPENDENCIES+=zlib
and the package should "select BR2_PACKAGE_ZLIB"
Then, if zlib and openssl are still not found while being compiled
before wvstreams, then you'll have to look at wvstreams config.log file
to see why it cannot find them.
Regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] wvstreams configure error
2010-12-28 9:13 ` Thomas Petazzoni
@ 2010-12-28 9:45 ` olyvine.chen at logiways.com.cn
2010-12-28 10:33 ` Thomas Petazzoni
0 siblings, 1 reply; 5+ messages in thread
From: olyvine.chen at logiways.com.cn @ 2010-12-28 9:45 UTC (permalink / raw)
To: buildroot
Thomas,
Thanks for your reply, and I check the config.log, and find CXX compiler
is missing, then how to pass the argument to configure to enable CXX ?
####################################################################
configure:8427: result: no
configure:8461: checking for openssl/ssl.h
configure:8482: false -c -Os -pipe -Os -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 --sysroot ????/staging/
-Iyes/include conftest.cpp >&5
configure:8489: $? = 1
configure: failed program was:
####################################################################
Best regards!
Olyvine.
On Tue, 2010-12-28 at 10:13 +0100, Thomas Petazzoni wrote:
> On Tue, 28 Dec 2010 16:42:45 +0800
> "olyvine.chen at logiways.com.cn" <olyvine.chen@logiways.com.cn> wrote:
>
> > I now run into an error when configure wvstreams as following:
> > ##################################################################################
> > make[2]: Circular wvstreams-depends <- wvstreams dependency dropped.
>
> Hum, this message is strange.
>
> > configure: error: Required dependencies missing: OpenSSL>=0.9.7 zlib
>
> It says OpenSSL and zlib are *required* dependencies, so:
>
> > ifeq ($(BR2_PACKAGE_OPENSSL),y)
> > WVSTREAMS_CONF_OPT+=--with-openssl
> > WVSTREAMS_DEPENDENCIES+=openssl
> > else
> > WVSTREAMS_CONF_OPT+=--without-openssl
> > endif
>
> This should just be:
>
> WVSTREAMS_CONF_OPT+=--with-openssl
> WVSTREAMS_DEPENDENCIES+=openssl
>
> and the package should "select BR2_PACKAGE_OPENSSL"
>
> > ifeq ($(BR2_PACKAGE_ZLIB),y)
> > WVSTREAMS_CONF_OPT+=--with-zlib=$(STAGING_DIR)
> > WVSTREAMS_DEPENDENCIES+=zlib
> > else
> > WVSTREAMS_CONF_OPT+=--without-zlib
> > endif
>
> This should just be:
>
> WVSTREAMS_CONF_OPT+=--with-zlib=$(STAGING_DIR)
> WVSTREAMS_DEPENDENCIES+=zlib
>
> and the package should "select BR2_PACKAGE_ZLIB"
>
> Then, if zlib and openssl are still not found while being compiled
> before wvstreams, then you'll have to look at wvstreams config.log file
> to see why it cannot find them.
>
> Regards,
>
> Thomas
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] wvstreams configure error
2010-12-28 10:33 ` Thomas Petazzoni
@ 2010-12-28 10:31 ` olyvine.chen at logiways.com.cn
0 siblings, 0 replies; 5+ messages in thread
From: olyvine.chen at logiways.com.cn @ 2010-12-28 10:31 UTC (permalink / raw)
To: buildroot
But I add the following to the makefile, it can compile ok:
WVSTREAMS_CONF_OPT = CXX=$(TARGET_CXX)
WVSTREAMS_MAKE_OPT = CXX=$(TARGET_CXX)
and BR2_INSTALL_LIBSTDCPP is not set.
On Tue, 2010-12-28 at 11:33 +0100, Thomas Petazzoni wrote:
> On Tue, 28 Dec 2010 17:45:40 +0800
> "olyvine.chen at logiways.com.cn" <olyvine.chen@logiways.com.cn> wrote:
>
> > Thanks for your reply, and I check the config.log, and find CXX compiler
> > is missing, then how to pass the argument to configure to enable CXX ?
> > ####################################################################
> > configure:8427: result: no
> > configure:8461: checking for openssl/ssl.h
> > configure:8482: false -c -Os -pipe -Os -D_LARGEFILE_SOURCE
> > -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 --sysroot ????/staging/
> > -Iyes/include conftest.cpp >&5
>
> Presumably, you forgot to enable BR2_TOOLCHAIN_BUILDROOT_CXX, and so
> you don't have a C++ cross-compiler. Your project should therefore
> "depends on BR2_INSTALL_LIBSTDCPP" in its Config.in.
>
> However, the "????" string for the sysroot argument is a bit strange.
> It should be that way. Is it you that edited the log to not show the
> full location of your staging directory ?
>
> Thomas
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] wvstreams configure error
2010-12-28 9:45 ` olyvine.chen at logiways.com.cn
@ 2010-12-28 10:33 ` Thomas Petazzoni
2010-12-28 10:31 ` olyvine.chen at logiways.com.cn
0 siblings, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2010-12-28 10:33 UTC (permalink / raw)
To: buildroot
On Tue, 28 Dec 2010 17:45:40 +0800
"olyvine.chen at logiways.com.cn" <olyvine.chen@logiways.com.cn> wrote:
> Thanks for your reply, and I check the config.log, and find CXX compiler
> is missing, then how to pass the argument to configure to enable CXX ?
> ####################################################################
> configure:8427: result: no
> configure:8461: checking for openssl/ssl.h
> configure:8482: false -c -Os -pipe -Os -D_LARGEFILE_SOURCE
> -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 --sysroot ????/staging/
> -Iyes/include conftest.cpp >&5
Presumably, you forgot to enable BR2_TOOLCHAIN_BUILDROOT_CXX, and so
you don't have a C++ cross-compiler. Your project should therefore
"depends on BR2_INSTALL_LIBSTDCPP" in its Config.in.
However, the "????" string for the sysroot argument is a bit strange.
It should be that way. Is it you that edited the log to not show the
full location of your staging directory ?
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-12-28 10:33 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-28 8:42 [Buildroot] wvstreams configure error olyvine.chen at logiways.com.cn
2010-12-28 9:13 ` Thomas Petazzoni
2010-12-28 9:45 ` olyvine.chen at logiways.com.cn
2010-12-28 10:33 ` Thomas Petazzoni
2010-12-28 10:31 ` olyvine.chen at logiways.com.cn
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.