FreeBSD 7.1 KDE4 compiling error

来源:互联网 发布:淘宝erp服装软件哪个好 编辑:程序博客网 时间:2024/05/17 04:05

1. kdenetwork error

Error info:

===>  Installing for kdenetwork-4.1.4
===> kdenetwork-4.1.4 depends on package: qca-ossl>=2.0.0.b3 - not found
===> Verifying install for qca-ossl>=2.0.0.b3 in /usr/ports/security/qca-ossl
===> Building for qca-ossl-2.0.0.b3
/usr/local/bin/qmake-qt4 -unix -o Makefile qca-ossl.pro
c++ -c -pipe -O2 -fno-strict-aliasing -pipe -Wall -W -fPIC -DOSSL_097 -DQT_NO_DEBUG -DQT_PLUGIN -DQT_CORE_LIB -DQT_SHARED -I/usr/local/share/qt4/mkspecs/freebsd-g++ -I. -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4 -I/usr/local/include/QtCrypto -I. -I. -I/usr/local/include -o qca-ossl.o qca-ossl.cpp
qca-ossl.cpp: In function 'X509_EXTENSION* opensslQCAPlugin::new_subject_key_id(X509*)':
qca-ossl.cpp:330: warning: deprecated conversion from string constant to 'char*'
qca-ossl.cpp: In member function 'virtual QCA::Provider::Context* opensslProvider::createContext(const QString&)':
qca-ossl.cpp:6815: error: 'EVP_whirlpool' was not declared in this scope
*** Error code 1

Stop in /usr/ports/security/qca-ossl/work/qca-ossl-2.0.0-beta3.
*** Error code 1

Stop in /usr/ports/security/qca-ossl.
*** Error code 1

Stop in /usr/ports/net/kdenetwork4.

 

Solution:

cd /usr/ports/security/qca-ossl
mkdir files
cd files
fetch http://4bit.ws/~dhn/patch-qca-ossl.cpp
cd ..
make clean
make install

 

 

from: http://forums.freebsd.org/showthread.php?p=13104

 

2. libglut error


checking pkg-config files for X11 are available... yes
checking for LIBDRM... yes
checking for DRI2PROTO... yes
checking for DRIGL... gnome-config: not found
configure: error: Package requirements (x11 xext xxf86vm xdamage xfixes
x11-xcb xcb-glx) were not met:

No package 'x11-xcb' 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 DRIGL_CFLAGS
and DRIGL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

===>  Script "configure" failed unexpectedly.
Please report the problem to x11@... [maintainer] and attach the
"/usr/ports/graphics/libglut/work/Mesa-7.3/config.log" including the output
of the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/graphics/libglut.
*** Error code 1

 

Solution:

Update libX11
This is getting to be a FAQ - see the archives.

 

from: http://www.nabble.com/molden-compiler-error-FreeBSD-7.1-td22196145.html


 

原创粉丝点击