Forum

new version 9.4

kfft
22 March 2014, 11:50
Thanks for the 9.4 it works fine!
Hugo Leisink
22 March 2014, 11:51
You're welcome!
Mustafa Ramadhan
26 March 2014, 06:01
Not able compile in Centos 5 64bit. Nothing problem with Centos 5 32bit, Centos 6 32bit and Centos 6 64bit.
Hugo Leisink
26 March 2014, 06:40
Can you show me the compile output?
Mustafa Ramadhan
26 March 2014, 21:14
[root@c564h SPECS]# yum remove cmake
Loaded plugins: priorities, protectbase, replace
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package cmake.x86_64 0:2.8.4-1.el5.centos set to be erased
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Removing:
cmake x86_64 2.8.4-1.el5.centos installed 21 M

Transaction Summary
================================================================================
Remove 1 Package(s)
Reinstall 0 Package(s)
Downgrade 0 Package(s)

Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Erasing : cmake 1/1

Removed:
cmake.x86_64 0:2.8.4-1.el5.centos

Complete!
[root@c564h SPECS]# yum install cmake
Loaded plugins: priorities, protectbase, replace
Excluding Packages from MRatWork - centalt - arch
Finished
Excluding Packages from MRatWork - CentOS 5 Packages from CentOS.EC
Finished
Excluding Packages from MRatWork - IUS Community Packages for EL 5 - arch
Finished
Reducing MRatWork - IUS Community Packages for EL 5 (special) - arch to included packages only
Finished
0 packages excluded due to repository protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package cmake.x86_64 0:2.8.4-1.el5.centos set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
cmake x86_64 2.8.4-1.el5.centos mratwork-centosec 7.4 M

Transaction Summary
================================================================================
Install 1 Package(s)
Upgrade 0 Package(s)

Total download size: 7.4 M
Is this ok [y/N]: y
Downloading Packages:
cmake-2.8.4-1.el5.centos.x86_64.rpm | 7.4 MB 00:31
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : cmake 1/1

Installed:
cmake.x86_64 0:2.8.4-1.el5.centos

Complete!
[root@c564h SPECS]# rpmbuild -bb --define 'dist .mr.el5' hiawatha.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.47285
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf hiawatha-9.4
+ /bin/gzip -dc /usr/src/redhat/SOURCES/hiawatha-9.4.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd hiawatha-9.4
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.47285
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd hiawatha-9.4
+ CFLAGS='-O2 -g -m64 -mtune=generic'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -m64 -mtune=generic'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -m64 -mtune=generic'
+ export FFLAGS
+ /usr/bin/cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib64 -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DENABLE_CHROOT:BOOL=ON -DENABLE_MONITOR:BOOL=ON -DUSE_PKCS11_HELPER_LIBRARY:BOOL=ON -DCMAKE_SKIP_RPATH:BOOL=OFF -DCMAKE_INSTALL_LOCALSTATEDIR:PATH=/var -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_BINDIR:PATH=/usr/bin -DCMAKE_INSTALL_SBINDIR:PATH=/usr/sbin -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc -DCMAKE_INSTALL_MANDIR:PATH=/usr/share/man
-- The C compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Found LibXml2: /usr/lib64/libxml2.so
-- checking for module 'libxslt'
-- found libxslt, version 1.1.17
-- Found LibXslt: /usr/lib64/libxslt.so
-- Looking for crypt.h
-- Looking for crypt.h - found
-- Looking for arpa/inet.h
-- Looking for arpa/inet.h - found
-- Looking for include files HAVE_NETINET_IN_H
-- Looking for include files HAVE_NETINET_IN_H - found
-- Looking for include files HAVE_NETINET_TCP_H
-- Looking for include files HAVE_NETINET_TCP_H - found
-- Looking for rpcsvc/crypt.h
-- Looking for rpcsvc/crypt.h - not found
-- Looking for setenv
-- Looking for setenv - found
-- Looking for unsetenv
-- Looking for unsetenv - found
-- Looking for clearenv
-- Looking for clearenv - found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for strncasecmp
-- Looking for strncasecmp - found
-- Looking for strnstr
-- Looking for strnstr - not found
-- Looking for strcasestr
-- Looking for strcasestr - found
-- Looking for strncasestr
-- Looking for strncasestr - not found
-- Looking for crypt in crypt
-- Looking for crypt in crypt - found
-- Looking for crypt_r in crypt
-- Looking for crypt_r in crypt - found
-- Looking for socket in network
-- Looking for socket in network - not found
-- Looking for gzdopen in z
-- Looking for gzdopen in z - found
-- Looking for SO_ACCEPTFILTER
-- Looking for SO_ACCEPTFILTER - not found.
-- Configuring done
-- Generating done
CMake Warning: The variable, 'ENABLE_CHROOT', specified manually, was not used during the generation.
CMake Warning: The variable, 'INCLUDE_INSTALL_DIR', specified manually, was not used during the generation.
CMake Warning: The variable, 'LIB_SUFFIX', specified manually, was not used during the generation.
CMake Warning: The variable, 'SHARE_INSTALL_PREFIX', specified manually, was not used during the generation.
CMake Warning: The variable, 'SYSCONF_INSTALL_DIR', specified manually, was not used during the generation.
CMake Warning: The variable, 'USE_PKCS11_HELPER_LIBRARY', specified manually, was not used during the generation.
-- Build files have been written to: /usr/src/redhat/BUILD/hiawatha-9.4
+ make
/usr/bin/cmake -H/usr/src/redhat/BUILD/hiawatha-9.4 -B/usr/src/redhat/BUILD/hiawatha-9.4 --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /usr/src/redhat/BUILD/hiawatha-9.4/CMakeFiles /usr/src/redhat/BUILD/hiawatha-9.4/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory `/usr/src/redhat/BUILD/hiawatha-9.4'
make -f CMakeFiles/cgi-wrapper.dir/build.make CMakeFiles/cgi-wrapper.dir/depend
make[2]: Entering directory `/usr/src/redhat/BUILD/hiawatha-9.4'
cd /usr/src/redhat/BUILD/hiawatha-9.4 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/redhat/BUILD/hiawatha-9.4 /usr/src/redhat/BUILD/hiawatha-9.4 /usr/src/redhat/BUILD/hiawatha-9.4 /usr/src/redhat/BUILD/hiawatha-9.4 /usr/src/redhat/BUILD/hiawatha-9.4/CMakeFiles/cgi-wrapper.dir/DependInfo.cmake --color=
Scanning dependencies of target cgi-wrapper
make[2]: Leaving directory `/usr/src/redhat/BUILD/hiawatha-9.4'
make -f CMakeFiles/cgi-wrapper.dir/build.make CMakeFiles/cgi-wrapper.dir/build
make[2]: Entering directory `/usr/src/redhat/BUILD/hiawatha-9.4'
/usr/bin/cmake -E cmake_progress_report /usr/src/redhat/BUILD/hiawatha-9.4/CMakeFiles
[ 0%] Building C object CMakeFiles/cgi-wrapper.dir/src/alternative.c.o
/usr/bin/gcc -DPOLARSSL_THREADING_PTHREAD -DPOLARSSL_THREADING_C -O2 -Wall -Wextra -O2 -g -m64 -mtune=generic -O2 -g -I/usr/src/redhat/BUILD/hiawatha-9.4 -I/usr/src/redhat/BUILD/hiawatha-9.4/polarssl/include -I/usr/include/libxml2 -o CMakeFiles/cgi-wrapper.dir/src/alternative.c.o -c /usr/src/redhat/BUILD/hiawatha-9.4/src/alternative.c
/usr/bin/cmake -E cmake_progress_report /usr/src/redhat/BUILD/hiawatha-9.4/CMakeFiles 1
[ 1%] Building C object CMakeFiles/cgi-wrapper.dir/src/cgi-wrapper.c.o
/usr/bin/gcc -DPOLARSSL_THREADING_PTHREAD -DPOLARSSL_THREADING_C -O2 -Wall -Wextra -O2 -g -m64 -mtune=generic -O2 -g -I/usr/src/redhat/BUILD/hiawatha-9.4 -I/usr/src/redhat/BUILD/hiawatha-9.4/polarssl/include -I/usr/include/libxml2 -o CMakeFiles/cgi-wrapper.dir/src/cgi-wrapper.c.o -c /usr/src/redhat/BUILD/hiawatha-9.4/src/cgi-wrapper.c
/usr/bin/cmake -E cmake_progress_report /usr/src/redhat/BUILD/hiawatha-9.4/CMakeFiles 2
[ 2%] Building C object CMakeFiles/cgi-wrapper.dir/src/userconfig.c.o
/usr/bin/gcc -DPOLARSSL_THREADING_PTHREAD -DPOLARSSL_THREADING_C -O2 -Wall -Wextra -O2 -g -m64 -mtune=generic -O2 -g -I/usr/src/redhat/BUILD/hiawatha-9.4 -I/usr/src/redhat/BUILD/hiawatha-9.4/polarssl/include -I/usr/include/libxml2 -o CMakeFiles/cgi-wrapper.dir/src/userconfig.c.o -c /usr/src/redhat/BUILD/hiawatha-9.4/src/userconfig.c
/usr/bin/cmake -E cmake_progress_report /usr/src/redhat/BUILD/hiawatha-9.4/CMakeFiles 3
[ 3%] Building C object CMakeFiles/cgi-wrapper.dir/src/libfs.c.o
/usr/bin/gcc -DPOLARSSL_THREADING_PTHREAD -DPOLARSSL_THREADING_C -O2 -Wall -Wextra -O2 -g -m64 -mtune=generic -O2 -g -I/usr/src/redhat/BUILD/hiawatha-9.4 -I/usr/src/redhat/BUILD/hiawatha-9.4/polarssl/include -I/usr/include/libxml2 -o CMakeFiles/cgi-wrapper.dir/src/libfs.c.o -c /usr/src/redhat/BUILD/hiawatha-9.4/src/libfs.c
/usr/bin/cmake -E cmake_progress_report /usr/src/redhat/BUILD/hiawatha-9.4/CMakeFiles 4
[ 4%] Building C object CMakeFiles/cgi-wrapper.dir/src/libstr.c.o
/usr/bin/gcc -DPOLARSSL_THREADING_PTHREAD -DPOLARSSL_THREADING_C -O2 -Wall -Wextra -O2 -g -m64 -mtune=generic -O2 -g -I/usr/src/redhat/BUILD/hiawatha-9.4 -I/usr/src/redhat/BUILD/hiawatha-9.4/polarssl/include -I/usr/include/libxml2 -o CMakeFiles/cgi-wrapper.dir/src/libstr.c.o -c /usr/src/redhat/BUILD/hiawatha-9.4/src/libstr.c
Linking C executable cgi-wrapper
/usr/bin/cmake -E cmake_link_script CMakeFiles/cgi-wrapper.dir/link.txt --verbose=1
/usr/bin/gcc -O2 -Wall -Wextra -O2 -g -m64 -mtune=generic -O2 -g CMakeFiles/cgi-wrapper.dir/src/alternative.c.o CMakeFiles/cgi-wrapper.dir/src/cgi-wrapper.c.o CMakeFiles/cgi-wrapper.dir/src/userconfig.c.o CMakeFiles/cgi-wrapper.dir/src/libfs.c.o CMakeFiles/cgi-wrapper.dir/src/libstr.c.o -o cgi-wrapper -rdynamic
make[2]: Leaving directory `/usr/src/redhat/BUILD/hiawatha-9.4'
/usr/bin/cmake -E cmake_progress_report /usr/src/redhat/BUILD/hiawatha-9.4/CMakeFiles 1 2 3 4
[ 4%] Built target cgi-wrapper
make -f polarssl/library/CMakeFiles/polarssl.dir/build.make polarssl/library/CMakeFiles/polarssl.dir/depend
make[2]: Entering directory `/usr/src/redhat/BUILD/hiawatha-9.4'
cd /usr/src/redhat/BUILD/hiawatha-9.4 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/redhat/BUILD/hiawatha-9.4 /usr/src/redhat/BUILD/hiawatha-9.4/polarssl/library /usr/src/redhat/BUILD/hiawatha-9.4 /usr/src/redhat/BUILD/hiawatha-9.4/polarssl/library /usr/src/redhat/BUILD/hiawatha-9.4/polarssl/library/CMakeFiles/polarssl.dir/DependInfo.cmake --color=
Scanning dependencies of target polarssl
make[2]: Leaving directory `/usr/src/redhat/BUILD/hiawatha-9.4'
make -f polarssl/library/CMakeFiles/polarssl.dir/build.make polarssl/library/CMakeFiles/polarssl.dir/build
make[2]: Entering directory `/usr/src/redhat/BUILD/hiawatha-9.4'
/usr/bin/cmake -E cmake_progress_report /usr/src/redhat/BUILD/hiawatha-9.4/CMakeFiles 29
[ 5%] Building C object polarssl/library/CMakeFiles/polarssl.dir/aes.c.o
cd /usr/src/redhat/BUILD/hiawatha-9.4/polarssl/library && /usr/bin/gcc -Dpolarssl_EXPORTS -DPOLARSSL_THREADING_PTHREAD -DPOLARSSL_THREADING_C -O2 -Wall -Wextra -O2 -g -m64 -mtune=generic -O2 -Wall -Wextra -W -Wdeclaration-after-statement -O2 -g -fPIC -I/usr/src/redhat/BUILD/hiawatha-9.4/polarssl/include -o CMakeFiles/polarssl.dir/aes.c.o -c /usr/src/redhat/BUILD/hiawatha-9.4/polarssl/library/aes.c
/usr/bin/cmake -E cmake_progress_report /usr/src/redhat/BUILD/hiawatha-9.4/CMakeFiles 30
[ 6%] Building C object polarssl/library/CMakeFiles/polarssl.dir/aesni.c.o
cd /usr/src/redhat/BUILD/hiawatha-9.4/polarssl/library && /usr/bin/gcc -Dpolarssl_EXPORTS -DPOLARSSL_THREADING_PTHREAD -DPOLARSSL_THREADING_C -O2 -Wall -Wextra -O2 -g -m64 -mtune=generic -O2 -Wall -Wextra -W -Wdeclaration-after-statement -O2 -g -fPIC -I/usr/src/redhat/BUILD/hiawatha-9.4/polarssl/include -o CMakeFiles/polarssl.dir/aesni.c.o -c /usr/src/redhat/BUILD/hiawatha-9.4/polarssl/library/aesni.c
/tmp/ccnZnCzy.s: Assembler messages:
/tmp/ccnZnCzy.s:68: Error: no such instruction: `aesenc %xmm1,%xmm0'
/tmp/ccnZnCzy.s:73: Error: no such instruction: `aesenclast %xmm1,%xmm0'
/tmp/ccnZnCzy.s:77: Error: no such instruction: `aesdec %xmm1,%xmm0'
/tmp/ccnZnCzy.s:82: Error: no such instruction: `aesdeclast %xmm1,%xmm0'
/tmp/ccnZnCzy.s:131: Error: no such instruction: `pclmulqdq $0x00,%xmm0,%xmm1'
/tmp/ccnZnCzy.s:132: Error: no such instruction: `pclmulqdq $0x11,%xmm0,%xmm2'
/tmp/ccnZnCzy.s:133: Error: no such instruction: `pclmulqdq $0x10,%xmm0,%xmm3'
/tmp/ccnZnCzy.s:134: Error: no such instruction: `pclmulqdq $0x01,%xmm0,%xmm4'
/tmp/ccnZnCzy.s:256: Error: no such instruction: `aeskeygenassist $0x01,%xmm1,%xmm2'
/tmp/ccnZnCzy.s:258: Error: no such instruction: `aeskeygenassist $0x02,%xmm1,%xmm2'
/tmp/ccnZnCzy.s:260: Error: no such instruction: `aeskeygenassist $0x04,%xmm1,%xmm2'
/tmp/ccnZnCzy.s:262: Error: no such instruction: `aeskeygenassist $0x08,%xmm1,%xmm2'
/tmp/ccnZnCzy.s:264: Error: no such instruction: `aeskeygenassist $0x10,%xmm1,%xmm2'
/tmp/ccnZnCzy.s:266: Error: no such instruction: `aeskeygenassist $0x20,%xmm1,%xmm2'
/tmp/ccnZnCzy.s:268: Error: no such instruction: `aeskeygenassist $0x40,%xmm1,%xmm2'
/tmp/ccnZnCzy.s:270: Error: no such instruction: `aeskeygenassist $0x80,%xmm1,%xmm2'
/tmp/ccnZnCzy.s:301: Error: no such instruction: `aeskeygenassist $0,%xmm0,%xmm2'
/tmp/ccnZnCzy.s:314: Error: no such instruction: `aeskeygenassist $0x01,%xmm1,%xmm2'
/tmp/ccnZnCzy.s:316: Error: no such instruction: `aeskeygenassist $0x02,%xmm1,%xmm2'
/tmp/ccnZnCzy.s:318: Error: no such instruction: `aeskeygenassist $0x04,%xmm1,%xmm2'
/tmp/ccnZnCzy.s:320: Error: no such instruction: `aeskeygenassist $0x08,%xmm1,%xmm2'
/tmp/ccnZnCzy.s:322: Error: no such instruction: `aeskeygenassist $0x10,%xmm1,%xmm2'
/tmp/ccnZnCzy.s:324: Error: no such instruction: `aeskeygenassist $0x20,%xmm1,%xmm2'
/tmp/ccnZnCzy.s:326: Error: no such instruction: `aeskeygenassist $0x40,%xmm1,%xmm2'
/tmp/ccnZnCzy.s:358: Error: no such instruction: `aeskeygenassist $0x01,%xmm0,%xmm1'
/tmp/ccnZnCzy.s:360: Error: no such instruction: `aeskeygenassist $0x02,%xmm0,%xmm1'
/tmp/ccnZnCzy.s:362: Error: no such instruction: `aeskeygenassist $0x04,%xmm0,%xmm1'
/tmp/ccnZnCzy.s:364: Error: no such instruction: `aeskeygenassist $0x08,%xmm0,%xmm1'
/tmp/ccnZnCzy.s:366: Error: no such instruction: `aeskeygenassist $0x10,%xmm0,%xmm1'
/tmp/ccnZnCzy.s:368: Error: no such instruction: `aeskeygenassist $0x20,%xmm0,%xmm1'
/tmp/ccnZnCzy.s:370: Error: no such instruction: `aeskeygenassist $0x40,%xmm0,%xmm1'
/tmp/ccnZnCzy.s:372: Error: no such instruction: `aeskeygenassist $0x80,%xmm0,%xmm1'
/tmp/ccnZnCzy.s:374: Error: no such instruction: `aeskeygenassist $0x1B,%xmm0,%xmm1'
/tmp/ccnZnCzy.s:376: Error: no such instruction: `aeskeygenassist $0x36,%xmm0,%xmm1'
/tmp/ccnZnCzy.s:420: Error: no such instruction: `aesimc %xmm0,%xmm0'
make[2]: *** [polarssl/library/CMakeFiles/polarssl.dir/aesni.c.o] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/hiawatha-9.4'
make[1]: *** [polarssl/library/CMakeFiles/polarssl.dir/all] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/hiawatha-9.4'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.47285 (%build)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.47285 (%build)
[root@c564h SPECS]#
Hugo Leisink
26 March 2014, 22:56
This is a PolarSSL error, not a Hiawatha error. You should address this issue to the PolarSSL developer.
Mustafa Ramadhan
27 March 2014, 13:39
Possible yes.

But, still found error if I disabled BuildRequires to polarssl. Again, nothing problem enable/disable BuildRequires to polarssl in Centos 5 32bit, Centos 6 32bit and Centos 6 64bit.
Hugo Leisink
27 March 2014, 15:22
Not 'possible', fact. Compilation fails at polarssl/library/aesni.c.
Mustafa Ramadhan
30 March 2014, 15:05
I made patch for using polarssl from 9.3.1 and patch for proxy (refer to https://www.hiawatha-webserver.org/forum/topic/1613). This 'special' 9.4 use by Kloxo-MR now.
This topic has been closed.