免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 4959 | 回复: 10
打印 上一主题 下一主题

交叉编译wvstream [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-08-20 16:25 |只看该作者 |倒序浏览
请教大家,我移植wvstream,openssl是0.98g版本,zlib是1.2.3都已经交叉编译了。现在我交叉编译wvstream-4.6.
设置:
./configure --host=arm-9tdmi-linux-gnu --with-openssl=/home/deng/workspace/dial/opensslhome/ --with-zlib=/home/deng/workspace/dial/zlibhome/

结果出现:configure: error: Required dependencies missing: OpenSSL>=0.9.7 zlib

我的OpenSSL是0.98g。干嘛configure还提示OpenSSL>=0.9.7 zlib 错误呢?谢谢!

论坛徽章:
5
摩羯座
日期:2014-07-22 09:03:552015元宵节徽章
日期:2015-03-06 15:50:392015亚冠之大阪钢巴
日期:2015-06-12 16:01:352015年中国系统架构师大会
日期:2015-06-29 16:11:2815-16赛季CBA联赛之四川
日期:2018-12-17 14:10:21
2 [报告]
发表于 2009-08-20 16:58 |只看该作者
--with-ssl=

论坛徽章:
0
3 [报告]
发表于 2009-08-20 17:14 |只看该作者
原帖由 T-bagwell 于 2009-8-20 16:58 发表
--with-ssl=

还是发生同样的错误!

论坛徽章:
5
摩羯座
日期:2014-07-22 09:03:552015元宵节徽章
日期:2015-03-06 15:50:392015亚冠之大阪钢巴
日期:2015-06-12 16:01:352015年中国系统架构师大会
日期:2015-06-29 16:11:2815-16赛季CBA联赛之四川
日期:2018-12-17 14:10:21
4 [报告]
发表于 2009-08-20 17:27 |只看该作者
./configure --help发出来看看

论坛徽章:
0
5 [报告]
发表于 2009-08-20 17:41 |只看该作者
原帖由 T-bagwell 于 2009-8-20 17:27 发表
./configure --help发出来看看

[root@localhost wvstreams-4.6]# ./configure --help
`configure' configures WvStreams 4.6 to adapt to many kinds of systems.

Usage: ./configure [OPTION]... [VAR=VALUE]...

To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE.  See below for descriptions of some of the useful variables.

Defaults for the options are specified in brackets.

Configuration:
  -h, --help              display this help and exit
      --help=short        display options specific to this package
      --help=recursive    display the short help of all the included packages
  -V, --version           display version information and exit
  -q, --quiet, --silent   do not print `checking...' messages
      --cache-file=FILE   cache test results in FILE [disabled]
  -C, --config-cache      alias for `--cache-file=config.cache'
  -n, --no-create         do not create output files
      --srcdir=DIR        find the sources in DIR [configure dir or `..']

Installation directories:
  --prefix=PREFIX         install architecture-independent files in PREFIX
                          [/usr/local]
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                          [PREFIX]

By default, `make install' will install all the files in
`/usr/local/bin', `/usr/local/lib' etc.  You can specify
an installation prefix other than `/usr/local' using `--prefix',
for instance `--prefix=$HOME'.

For better control, use the options below.

Fine tuning of the installation directories:
  --bindir=DIR            user executables [EPREFIX/bin]
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
  --libexecdir=DIR        program executables [EPREFIX/libexec]
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
  --libdir=DIR            object code libraries [EPREFIX/lib]
  --includedir=DIR        C header files [PREFIX/include]
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
  --infodir=DIR           info documentation [DATAROOTDIR/info]
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
  --mandir=DIR            man documentation [DATAROOTDIR/man]
  --docdir=DIR            documentation root [DATAROOTDIR/doc/wvstreams]
  --htmldir=DIR           html documentation [DOCDIR]
  --dvidir=DIR            dvi documentation [DOCDIR]
  --pdfdir=DIR            pdf documentation [DOCDIR]
  --psdir=DIR             ps documentation [DOCDIR]

System types:
  --build=BUILD     configure for building on BUILD [guessed]
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  --target=TARGET   configure for building compilers for TARGET [HOST]

Optional Features:
  --disable-option-checking  ignore unrecognized --enable/--with options
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  --disable-debug         strip debug information
  --enable-fatal-warnings turn warnings into errors
  --disable-optimization  optimization options
  --disable-resolver-fork WvResolver background name resolution (debugging)
  --enable-delete-detector
                          Delete detector (reference counting)
  --disable-warnings      extra warnings
  --disable-testgui       GUI for unit tests

Optional Packages:
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --with-dbus             DBUS
  --with-openssl          OpenSSL >= 0.9.7 (required)
  --with-pam              PAM
  --with-tcl              Tcl
  --with-qt               Qt
  --with-zlib             zlib (required)
  --with-valgrind         Valgrind

Some influential environment variables:
  MOC         Qt meta object compiler
  WEAVER_BUILD_INFO
              Extra version info
  CC          C compiler command
  CFLAGS      C compiler flags
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
              nonstandard directory <lib dir>
  LIBS        libraries to pass to the linker, e.g. -l<library>
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
              you have headers in a nonstandard directory <include dir>
  CXX         C++ compiler command
  CXXFLAGS    C++ compiler flags
  CPP         C preprocessor
  CXXCPP      C++ preprocessor

Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.

Report bugs to <wvstreams-devel@googlegroups.com>.

论坛徽章:
5
摩羯座
日期:2014-07-22 09:03:552015元宵节徽章
日期:2015-03-06 15:50:392015亚冠之大阪钢巴
日期:2015-06-12 16:01:352015年中国系统架构师大会
日期:2015-06-29 16:11:2815-16赛季CBA联赛之四川
日期:2018-12-17 14:10:21
6 [报告]
发表于 2009-08-20 17:50 |只看该作者
你要用ssl?

--with-openssl=/usr/lib
zlib也提示你错了吧
--with-zlib=/usr/lib

我的fedora10是没问题的

论坛徽章:
0
7 [报告]
发表于 2009-08-20 17:54 |只看该作者
原帖由 T-bagwell 于 2009-8-20 17:50 发表
你要用ssl?

--with-openssl=/usr/lib
zlib也提示你错了吧
--with-zlib=/usr/lib

我的fedora10是没问题的



我是交叉编译的。把他移植到arm平台。谢谢!

论坛徽章:
5
摩羯座
日期:2014-07-22 09:03:552015元宵节徽章
日期:2015-03-06 15:50:392015亚冠之大阪钢巴
日期:2015-06-12 16:01:352015年中国系统架构师大会
日期:2015-06-29 16:11:2815-16赛季CBA联赛之四川
日期:2018-12-17 14:10:21
8 [报告]
发表于 2009-08-20 21:25 |只看该作者
能给把你的所谓的wvstream传上来,我试试呢?

论坛徽章:
0
9 [报告]
发表于 2009-08-21 14:26 |只看该作者
原帖由 T-bagwell 于 2009-8-20 21:25 发表
能给把你的所谓的wvstream传上来,我试试呢?


我使用的是wvstream-4.6

论坛徽章:
5
摩羯座
日期:2014-07-22 09:03:552015元宵节徽章
日期:2015-03-06 15:50:392015亚冠之大阪钢巴
日期:2015-06-12 16:01:352015年中国系统架构师大会
日期:2015-06-29 16:11:2815-16赛季CBA联赛之四川
日期:2018-12-17 14:10:21
10 [报告]
发表于 2009-08-21 14:27 |只看该作者
google没有找到,谢谢
看到的是漫天都是你的提问
貌似全国就你在搞wvstream-4.6
你是创始人吧?

[ 本帖最后由 T-bagwell 于 2009-8-21 14:28 编辑 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP