请大家帮忙。谢谢为什么会这样,终端里说No package 'openssl' found,但是新得利里有openssl

编译打包和其他
回复
飘荡的孩子
帖子: 5
注册时间: 2010-06-25 22:57

请大家帮忙。谢谢为什么会这样,终端里说No package 'openssl' found,但是新得利里有openssl

#1

帖子 飘荡的孩子 » 2010-08-03 20:39

以下就是终端的内容
root@lsp-laptop:~/下载/openfetion-1.7# sudo ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... 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... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for ranlib... ranlib
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... (cached) ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -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 dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for notify_init in -lnotify... no
checking for SSL_library_init in -lssl... no
checking for RSA_new in -lcrypto... no
checking for pthread_create in -lpthread... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for unistd.h... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GTK... yes
checking for GTHREAD... yes
checking for LIBXML... yes
checking for GSTREAMER... no
checking for LIBNOTIFY... no
checking for LIBSSL... configure: error: Package requirements (
openssl
) were not met:

No package 'openssl' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBSSL_CFLAGS
and LIBSSL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

root@lsp-laptop:~/下载/openfetion-1.7#
头像
幻白狼
帖子: 491
注册时间: 2010-05-27 9:28

Re: 请大家帮忙。谢谢为什么会这样,终端里说No package 'openssl' found,但是新得利里有ope

#4

帖子 幻白狼 » 2010-09-17 20:57

出现同样的情况~~~二楼的方法似乎没什么用处
头像
人间正道-shzsc
帖子: 180
注册时间: 2010-07-30 22:57

Re: 请大家帮忙。谢谢为什么会这样,终端里说No package 'openssl' found,但是新得利里有ope

#5

帖子 人间正道-shzsc » 2010-09-19 16:04

刚注意到楼主是在 root 下面 configure…… 把源码目录放到某个普通用户的主目录里面,确保各种 dev 包都安上,然后以该普通用户登录,不用 su,不加 sudo,直接 ./configure,不知这样会不会就解决问题了(我瞎猜的……)

啥时有空找个 openfetion 自己来看看……
kqzj
帖子: 4
注册时间: 2010-04-12 13:31

Re: 请大家帮忙。谢谢为什么会这样,终端里说No package 'openssl' found,但是新得利里有ope

#6

帖子 kqzj » 2010-12-12 10:52

我如二楼所说的安装后,编译通过,谢谢
rediscover
帖子: 3173
注册时间: 2010-01-13 23:26

Re: 请大家帮忙。谢谢为什么会这样,终端里说No package 'openssl' found,但是新得利里有ope

#7

帖子 rediscover » 2010-12-15 19:33

为啥还用无限老的openfetion 1.7???

如果系统允许,最低用 2.0.4,这个版本才解决了大部分已知的安全性和稳定性问题。

另外,除了 make install 都不要用sudo
Here I am.
Ubuntu 桌面培训 - 全中文官方文档,含汉化截图,提供PDF
回复