Hello,

I'm trying to build openssl 1.0.0c on an Intel i3 box.

Atm, I'm using GCC version:

  gcc version 4.5.0 20100604 [gcc-4_5-branch revision 160292] (SUSE
  Linux)

As i3-specific march/mtune FLAGS are apaprently not available until GCC
4.6:

 Support for Intel Core i3/i5/i7 processors is now available through the
 -march=corei7 and -mtune=corei7 options.
 http://www.gnu.org/software/gcc/gcc-4.6/changes.html

I'm using

  setenv CFLAGS "-O2 -march=native -mtune=native"

I'm able to build with no errors but "--prefix=" seems to be ignored.  I
specify "--prefix=/usr/local/ssl --openssldir=/usr/local/ssl" to
./Configure, but it gets build, and installed, incorrectly to
"--prefix=/usr", and more of a problem -- "--libdir=/usr/lib64
--libexecdir=/usr/lib64".

Here's what I'm doing:

cd /usr/local/src/openssl/openssl-1.0.0c
./Configure shared --prefix=/usr/local/ssl --openssldir=/usr/local/ssl
linux-x86_64 threads zlib enable-idea enable-rc5 enable-mdc2

setenv BFLAG "SHARED_LDFLAGS=-Wl,-rpath,/usr/local/ssl/lib64"
make $BFLAG depend
make $BFLAG
make $BFLAG test
make $BFLAG report
cat testlog


OpenSSL self-test report:

OpenSSL version:  1.0.0c
Last change:      Disable code workaround for ancient and obsolete
Netsca...
Options:          enable-shared --prefix=/usr/local/ssl
--openssldir=/usr/local/ssl enable-threads enable-zlib enable-idea
enable-rc5 enable-mdc2 no-gmp no-jpake no-krb5 no-md2 no-rfc3779
no-store no-zlib-dynamic no-static-engine
OS (uname):       Linux pcedgar 2.6.34.7-0.5-desktop #1 SMP PREEMPT
2010-10-25 08:40:12 +0200 x86_64 x86_64 x86_64 GNU/Linux
OS (config):      x86_64-whatever-linux2
Target (default): linux-x86_64
Target:           linux-x86_64
Compiler:         Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-suse-linux/4.5/lto-wrapper
Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64
--enable-languages=c,c++,objc,fortran,obj-c++,java,ada
--enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.5
--enable-ssp --disable-libssp --disable-plugin
--with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux'
--disable-libgcj --disable-libmudflap --with-slibdir=/lib64
--with-system-zlib --enable-__cxa_atexit
--enable-libstdcxx-allocator=new --disable-libstdcxx-pch
--enable-version-specific-runtime-libs --program-suffix=-4.5
--enable-linux-futex --without-system-libunwind --enable-gold
--with-plugin-ld=/usr/bin/gold --with-arch-32=i586 --with-tune=generic
--build=x86_64-suse-linux
Thread model: posix
gcc version 4.5.0 20100604 [gcc-4_5-branch revision 160292] (SUSE Linux)

Test passed.


How do I get the build to 'respect' my --prefix specifications?

Cheers,

Bobby
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to