From: Oliver.Graute@neuhaus.de
To: ptxdist@pengutronix.de
Cc: ptxdist-bounces@pengutronix.de
Subject: [ptxdist] Antwort: Re: [PATCH 1/2] apr-util: version bump apr-util
Date: Mon, 23 Feb 2015 15:09:16 +0100 [thread overview]
Message-ID: <OF8DF50AED.2A813CB3-ONC1257DF5.004D7D18-C1257DF5.004DD633@neuhaus.de> (raw)
In-Reply-To: <20150219161707.GB8151@pengutronix.de>
[-- Attachment #1.1.1: Type: text/plain, Size: 5619 bytes --]
> > +APR_UTIL_CONF_ENV := $(CROSS_ENV)
> > +
> > #
> > # autoconf
> > #
> > APR_UTIL_CONF_TOOL := autoconf
> > APR_UTIL_CONF_OPT := \
> > $(CROSS_AUTOCONF_USR) \
> > - --with-apr=$(PTXDIST_SYSROOT_CROSS)/bin/apr-config \
> > - --with-expat=$(PTXDIST_SYSROOT_TARGET)/usr
> > + --with-apr=$(PTXDIST_SYSROOT_CROSS)/bin/apr-1-config \
>
> This seems strange (the original, not just your change): I don't think
> there is a $(PTXDIST_SYSROOT_CROSS)/bin/apr-config, it should be in
> PTXDIST_SYSROOT_TARGET. Can you check what configure does here?
>
> > + --with-expat=$(PTXDIST_SYSROOT_TARGET)/usr/include/apr-1
>
> No, I'm pretty sure, that's not where expat is found.
>
but what is then the right here?
if I change it to PTXDIST_SYSROOT_TARGET then I get:
checking for APR... configure: error: the --with-apr parameter is
incorrect.
It must specify an install prefix, a build directory, or an apr-config
file.
my sysroot-cross/bin/ contains these files
platform/sysroot-cross/bin$ ll
-rwxr-xr-x 1 dnt dnt 7128 Feb 18 13:44 apr-1-config*
-rwxr-xr-x 1 dnt dnt 6752 Feb 20 14:09 apu-1-config*
if I use PTXDIST_SYSROOT_CROSS configure:
------------------------
target: apr-util.prepare
------------------------
checking build system type... i686-host-linux-gnu
checking host system type... arm-v5te-linux-gnueabi
checking target system type... arm-v5te-linux-gnueabi
checking for a BSD-compatible
install... /usr/local/lib/ptxdist-2013.06.0/bin/install -c
checking for working mkdir -p... yes
APR-util Version: 1.5.4
checking for chosen layout... apr-util
checking for arm-v5te-linux-gnueabi-gcc... arm-v5te-linux-gnueabi-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-v5te-linux-gnueabi-gcc accepts -g... yes
checking for arm-v5te-linux-gnueabi-gcc option to accept ISO C89... none
needed
Applying apr-util hints file rules for arm-v5te-linux-gnueabi
checking for APR... yes
setting CPPFLAGS to " -DLINUX -D_REENTRANT -D_GNU_SOURCE"
checking how to run the C preprocessor... arm-v5te-linux-gnueabi-cpp
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for ldap support...
checking for default DBM... sdbm (default)
checking for pg_config... no
checking libpq-fe.h usability... no
checking libpq-fe.h presence... no
checking for libpq-fe.h... no
checking postgresql/libpq-fe.h usability... no
checking postgresql/libpq-fe.h presence... no
checking for postgresql/libpq-fe.h... no
checking sqlite3.h usability... no
checking sqlite3.h presence... no
checking for sqlite3.h... no
checking sqlite.h usability... no
checking sqlite.h presence... no
checking for sqlite.h... no
checking sybdb.h usability... no
checking sybdb.h presence... no
checking for sybdb.h... no
checking freetds/sybdb.h usability... no
checking freetds/sybdb.h presence... no
checking for freetds/sybdb.h... no
checking for odbc_config... no
checking sql.h usability... no
checking sql.h presence... no
checking for sql.h... no
checking odbc/sql.h usability... no
checking odbc/sql.h presence... no
checking for odbc/sql.h... no
setting LDFLAGS to
"-L/media/data/bsp/dnt8209ptxdist_git/platform-dnt3202/sysroot-target/usr/include/apr-1/lib"
adding
"-I/media/data/bsp/dnt8209ptxdist_git/platform-dnt3202/sysroot-target/usr/include/apr-1/include"
to CPPFLAGS
setting APRUTIL_INCLUDES to
"-I/media/data/bsp/dnt8209ptxdist_git/platform-dnt3202/sysroot-target/usr/include/apr-1/include"
setting APRUTIL_LDFLAGS to
"-L/media/data/bsp/dnt8209ptxdist_git/platform-dnt3202/sysroot-target/usr/include/apr-1/lib"
checking Expat 1.95.x... yes
setting APRUTIL_EXPORT_LIBS to "-lexpat"
setting APRUTIL_LIBS to "-lexpat"
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for type of inbuf parameter to iconv... char **
checking for iconv.h... (cached) yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking for nl_langinfo... yes
checking for CODESET in langinfo.h... yes
checking whether APR has DSO support... yes
checking for library containing crypt... -lcrypt
checking if system crypt() function is threadsafe... no
checking for crypt_r... yes
checking style of crypt_r... struct_crypt_data
adding "/usr/lib/libapr-1.la" to APRUTIL_LIBS
adding "-luuid" to APRUTIL_LIBS
adding "-lrt" to APRUTIL_LIBS
adding "-lcrypt" to APRUTIL_LIBS
adding "-lpthread" to APRUTIL_LIBS
adding "-ldl" to APRUTIL_LIBS
configure: creating ./config.status
config.status: creating Makefile
config.status: creating export_vars.sh
config.status: creating build/pkg/pkginfo
config.status: creating apr-util.pc
config.status: creating apu-1-config
config.status: creating include/private/apu_select_dbm.h
config.status: creating include/apr_ldap.h
config.status: creating include/apu.h
config.status: creating include/apu_want.h
config.status: creating test/Makefile
config.status: creating include/private/apu_config.h
config.status: executing default commands
finished target apr-util.prepare
[-- Attachment #1.1.2: Type: text/html, Size: 7625 bytes --]
[-- Attachment #1.2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 2446 bytes --]
[-- Attachment #2: Type: text/plain, Size: 48 bytes --]
--
ptxdist mailing list
ptxdist@pengutronix.de
next prev parent reply other threads:[~2015-02-23 14:09 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-18 10:49 [ptxdist] " Oliver Graute
2015-02-18 10:49 ` [ptxdist] [PATCH 2/2] added 0001-apu-config-add-SYSROOT.patch Oliver Graute
2015-02-19 16:17 ` [ptxdist] [PATCH 1/2] apr-util: version bump apr-util Michael Olbrich
2015-02-19 19:00 ` Marc Kleine-Budde
2015-02-23 14:09 ` Oliver.Graute [this message]
2015-02-23 14:27 ` [ptxdist] Antwort: " Marc Kleine-Budde
2015-02-23 15:21 ` [ptxdist] Antwort: " Oliver.Graute
2015-02-23 15:30 ` Marc Kleine-Budde
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=OF8DF50AED.2A813CB3-ONC1257DF5.004D7D18-C1257DF5.004DD633@neuhaus.de \
--to=oliver.graute@neuhaus.de \
--cc=ptxdist-bounces@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox