Re: [openssl-dev] [openssl.org #4601] install_sw does not honor --openssldir
On 30/06/16 20:23, Salz, Rich wrote: > >> Specify neither if you want most stuff to be installed in /usr/local and >> config >> files/default cert/keystore in /usr/local/ssl >> >> Specify just --openssldir if you want just config files/default >> cert/keystore to >> go into and everything else in /usr/local >> >> Specify just --prefix if you want most stuff in and config >> files/default cert/keystore in /ssl. >> >> Specify both if you want config file/default cert/keystore in >> and >> everything else in . > > +1 to someone's MR that puts that in a README or as a comment to config :) > It's already documented in INSTALL. Perhaps it could be clarified even further. Matt -- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
Re: [openssl-dev] [openssl.org #4601] install_sw does not honor --openssldir
> Specify neither if you want most stuff to be installed in /usr/local and > config > files/default cert/keystore in /usr/local/ssl > > Specify just --openssldir if you want just config files/default cert/keystore > to > go into and everything else in /usr/local > > Specify just --prefix if you want most stuff in and config > files/default cert/keystore in /ssl. > > Specify both if you want config file/default cert/keystore in and > everything else in . +1 to someone's MR that puts that in a README or as a comment to config :) -- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
Re: [openssl-dev] [openssl.org #4601] install_sw does not honor --openssldir
On 30/06/16 17:59, noloa...@gmail.com via RT wrote: > On Thu, Jun 30, 2016 at 12:52 PM, Salz, Rich via RTwrote: >>> I don't want either of them. I only want to install the library in the >>> directory of >>> my choosing :) >> >> #! /bin/sh >> make $* && cp *.a $MYDIR >> >> Less flippantly, not everything is supported :) > > Thanks Rich. > > So what are the new rules we should use? Do we specify both --prefix > and --openssldir? --prefix only? Something else? Specify neither if you want most stuff to be installed in /usr/local and config files/default cert/keystore in /usr/local/ssl Specify just --openssldir if you want just config files/default cert/keystore to go into and everything else in /usr/local Specify just --prefix if you want most stuff in and config files/default cert/keystore in /ssl. Specify both if you want config file/default cert/keystore in and everything else in . Matt -- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
Re: [openssl-dev] [openssl.org #4601] install_sw does not honor --openssldir
On Thu, Jun 30, 2016 at 12:52 PM, Salz, Rich via RTwrote: >> I don't want either of them. I only want to install the library in the >> directory of >> my choosing :) > > #! /bin/sh > make $* && cp *.a $MYDIR > > Less flippantly, not everything is supported :) Thanks Rich. So what are the new rules we should use? Do we specify both --prefix and --openssldir? --prefix only? Something else? Jeff -- Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4601 Please log in as guest with password guest if prompted -- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
Re: [openssl-dev] [openssl.org #4601] install_sw does not honor --openssldir
In messageon Thu, 30 Jun 2016 16:49:11 +, "noloa...@gmail.com via RT" said: noloader> I don't want either of them. I only want to install the library in the noloader> directory of my choosing :) Then configure with --prefix -- Richard Levitte levi...@openssl.org OpenSSL Project http://www.openssl.org/~levitte/ -- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
Re: [openssl-dev] [openssl.org #4601] install_sw does not honor --openssldir
> I don't want either of them. I only want to install the library in the > directory of > my choosing :) #! /bin/sh make $* && cp *.a $MYDIR Less flippantly, not everything is supported :) -- Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4601 Please log in as guest with password guest if prompted -- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
Re: [openssl-dev] [openssl.org #4601] install_sw does not honor --openssldir
On Thu, Jun 30, 2016 at 11:29 AM, Jeffrey Waltonwrote: > On Thu, Jun 30, 2016 at 11:12 AM, Richard Levitte via RT > wrote: >> That's correct for 1.1.0. install_sw honors --prefix. We made that change to >> get away from all the weird magic around the combinations of --prefix and >> --openssldir that happened in previous versions. >> >> In other words, it's not a bug, it's a feature. Closing this ticket. > > Gotta love unexpected changes :) They don't seem related given the > documented behaviors: > > * 'make install' installs the library and man pages > * 'make install_sw' install the library only > > Then we have: > > * if neither --prefix nor --openssldir, then use /usr/local/ssl > * If --openssldir and not --prefix, then use --openssldir > > I don't know what to expect if both --prefix and --openssldir because > I don't use it. is --prefix actiling like $DESTDIR for make recipes? By the way, here's there reference for DESTDIR and staged installs: http://www.gnu.org/software/make/manual/make.html#DESTDIR . I don't want either of them. I only want to install the library in the directory of my choosing :) Jeff -- Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4601 Please log in as guest with password guest if prompted -- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
Re: [openssl-dev] [openssl.org #4601] install_sw does not honor --openssldir
[taking this out of RT] In messageon Thu, 30 Jun 2016 15:29:54 +, "noloa...@gmail.com via RT" said: noloader> On Thu, Jun 30, 2016 at 11:12 AM, Richard Levitte via RT wrote: noloader> > That's correct for 1.1.0. install_sw honors --prefix. We made that change to noloader> > get away from all the weird magic around the combinations of --prefix and noloader> > --openssldir that happened in previous versions. noloader> > noloader> > In other words, it's not a bug, it's a feature. Closing this ticket. noloader> noloader> Gotta love unexpected changes :) Maybe you should read NEWS a CHANGES ;-) NEWS: o Change of Configure to use --prefix as the main installation directory location rather than --openssldir. The latter becomes the directory for certs, private key and openssl.cnf exclusively. CHANGES: *) To clarify their intended purposes, the Configure options --prefix and --openssldir change their semantics, and become more straightforward and less interdependent. --prefix shall be used exclusively to give the location INSTALLTOP where programs, scripts, libraries, include files and manuals are going to be installed. The default is now /usr/local. --openssldir shall be used exclusively to give the default location OPENSSLDIR where certificates, private keys, CRLs are managed. This is also where the default openssl.cnf gets installed. If the directory given with this option is a relative path, the values of both the --prefix value and the --openssldir value will be combined to become OPENSSLDIR. The default for --openssldir is INSTALLTOP/ssl. Anyone who uses --openssldir to specify where OpenSSL is to be installed MUST change to use --prefix instead. [Richard Levitte] noloader> I don't know what to expect if both --prefix and --openssldir because noloader> I don't use it. is --prefix actiling like $DESTDIR for make recipes? DESTDIR is to be used if you want things to get installed in a staging directory rather than the final installation directory. That's useful for package builders. noloader> Maybe I need to ask, how do we install only the library into the noloader> directory of our choosing? ./config --prefix=/TOP/INSTALL/DIRECTORY make install_sw Cheers, Richard -- Richard Levitte levi...@openssl.org OpenSSL Project http://www.openssl.org/~levitte/ -- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
Re: [openssl-dev] [openssl.org #4601] install_sw does not honor --openssldir
On Thu, Jun 30, 2016 at 11:12 AM, Richard Levitte via RTwrote: > That's correct for 1.1.0. install_sw honors --prefix. We made that change to > get away from all the weird magic around the combinations of --prefix and > --openssldir that happened in previous versions. > > In other words, it's not a bug, it's a feature. Closing this ticket. Gotta love unexpected changes :) They don't seem related given the documented behaviors: * 'make install' installs the library and man pages * 'make install_sw' install the library only Then we have: * if neither --prefix nor --openssldir, then use /usr/local/ssl * If --openssldir and not --prefix, then use --openssldir I don't know what to expect if both --prefix and --openssldir because I don't use it. is --prefix actiling like $DESTDIR for make recipes? Maybe I need to ask, how do we install only the library into the directory of our choosing? Jeff -- Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4601 Please log in as guest with password guest if prompted -- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
[openssl-dev] [openssl.org #4601] install_sw does not honor --openssldir
That's correct for 1.1.0. install_sw honors --prefix. We made that change to get away from all the weird magic around the combinations of --prefix and --openssldir that happened in previous versions. In other words, it's not a bug, it's a feature. Closing this ticket. Cheers, Richard On Thu Jun 30 14:31:33 2016, noloa...@gmail.com wrote: > Working on OS 10.8.5. Working from Master, > 8a3c000c8f621cd01929313fcb7d0cc23fb516a6. > > Using the following configure line: > > $ KERNEL_BITS=64 ./config no-shared enable-ec_nistp_64_gcc_128 > --openssldir=/usr/local/ssl/1.1.0 > > Later, when I attempt to compile: > > $ gcc -I/usr/local/ssl/1.1.0/include test.cc -o test.exe > /usr/local/ssl/1.1.0/lib/libcrypto.a > clang: error: no such file or directory: > '/usr/local/ssl/1.1.0/lib/libcrypto.a' > > And: > > $ ls /usr/local/ssl/1.1.0/ > misc > > ** > > $ sudo make install_sw > /opt/local/bin/perl5.22 "-I." -Mconfigdata "util/dofile.pl" \ > "-oMakefile" crypto/include/internal/bn_conf.h.in > > crypto/include/internal/bn_conf.h > /opt/local/bin/perl5.22 "-I." -Mconfigdata "util/dofile.pl" \ > "-oMakefile" crypto/include/internal/dso_conf.h.in > > crypto/include/internal/dso_conf.h > /opt/local/bin/perl5.22 "-I." -Mconfigdata "util/dofile.pl" \ > "-oMakefile" include/openssl/opensslconf.h.in > > include/openssl/opensslconf.h > /opt/local/bin/perl5.22 util/mkbuildinf.pl "cc -DDSO_DLFCN > -DHAVE_DLFCN_H -DNDEBUG -DOPENSSL_THREADS -DOPENSSL_NO_DYNAMIC_ENGINE > -DOPENSSL_PIC -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT > -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM > -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM > -DECP_NISTZ256_ASM -DPOLY1305_ASM > -DOPENSSLDIR=\"\\\"/usr/local/ssl/1.1.0\\\"\" > -DENGINESDIR=\"\\\"/usr/local/lib/engines\\\"\" " "darwin64-x86_64-cc" > > crypto/buildinf.h > cc -Iinclude -I. -Icrypto/include -Icrypto -DDSO_DLFCN -DHAVE_DLFCN_H > -DNDEBUG -DOPENSSL_THREADS -DOPENSSL_NO_DYNAMIC_ENGINE -DOPENSSL_PIC > -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 > -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM > -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM > -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/local/ssl/1.1.0\"" > -DENGINESDIR="\"/usr/local/lib/engines\"" -O3 -D_REENTRANT -arch > x86_64 -DL_ENDIAN -Wall -fPIC -MMD -MF crypto/cversion.d.tmp -MT > crypto/cversion.o -c -o crypto/cversion.o crypto/cversion.c > ar r libcrypto.a crypto/cversion.o > /usr/bin/ranlib: file: libcrypto.a(async_null.o) has no symbols > /usr/bin/ranlib: file: libcrypto.a(async_win.o) has no symbols > /usr/bin/ranlib: file: libcrypto.a(cms_cd.o) has no symbols > /usr/bin/ranlib: file: libcrypto.a(dso_dl.o) has no symbols > /usr/bin/ranlib: file: libcrypto.a(dso_openssl.o) has no symbols > /usr/bin/ranlib: file: libcrypto.a(dso_vms.o) has no symbols > /usr/bin/ranlib: file: libcrypto.a(dso_win32.o) has no symbols > /usr/bin/ranlib: file: libcrypto.a(ebcdic.o) has no symbols > /usr/bin/ranlib: file: libcrypto.a(e_rc5.o) has no symbols > /usr/bin/ranlib: file: libcrypto.a(m_md2.o) has no symbols > /usr/bin/ranlib: file: libcrypto.a(rand_egd.o) has no symbols > /usr/bin/ranlib: file: libcrypto.a(rand_vms.o) has no symbols > /usr/bin/ranlib: file: libcrypto.a(rand_win.o) has no symbols > /usr/bin/ranlib: file: libcrypto.a(threads_none.o) has no symbols > /usr/bin/ranlib: file: libcrypto.a(threads_win.o) has no symbols > ranlib -c libcrypto.a || echo Never mind. > ranlib: file: libcrypto.a(async_null.o) has no symbols > ranlib: file: libcrypto.a(async_win.o) has no symbols > ranlib: file: libcrypto.a(cms_cd.o) has no symbols > ranlib: file: libcrypto.a(dso_dl.o) has no symbols > ranlib: file: libcrypto.a(dso_openssl.o) has no symbols > ranlib: file: libcrypto.a(dso_vms.o) has no symbols > ranlib: file: libcrypto.a(dso_win32.o) has no symbols > ranlib: file: libcrypto.a(ebcdic.o) has no symbols > ranlib: file: libcrypto.a(e_rc5.o) has no symbols > ranlib: file: libcrypto.a(m_md2.o) has no symbols > ranlib: file: libcrypto.a(rand_egd.o) has no symbols > ranlib: file: libcrypto.a(rand_vms.o) has no symbols > ranlib: file: libcrypto.a(rand_win.o) has no symbols > ranlib: file: libcrypto.a(threads_none.o) has no symbols > ranlib: file: libcrypto.a(threads_win.o) has no symbols > rm -f apps/openssl > make -f ./Makefile.shared -e \ > PERL="/opt/local/bin/perl5.22" SRCDIR=. \ > APPNAME=apps/openssl OBJECTS="apps/app_rand.o apps/apps.o > apps/asn1pars.o apps/ca.o apps/ciphers.o apps/cms.o apps/crl.o > apps/crl2p7.o apps/dgst.o apps/dhparam.o apps/dsa.o apps/dsaparam.o > apps/ec.o apps/ecparam.o apps/enc.o apps/engine.o apps/errstr.o > apps/gendsa.o apps/genpkey.o apps/genrsa.o apps/nseq.o apps/ocsp.o > apps/openssl.o apps/opt.o apps/passwd.o apps/pkcs12.o apps/pkcs7.o > apps/pkcs8.o apps/pkey.o apps/pkeyparam.o apps/pkeyutl.o apps/prime.o > apps/rand.o apps/rehash.o apps/req.o apps/rsa.o apps/rsautl.o > apps/s_cb.o apps/s_client.o
[openssl-dev] [openssl.org #4601] install_sw does not honor --openssldir
Working on OS 10.8.5. Working from Master, 8a3c000c8f621cd01929313fcb7d0cc23fb516a6. Using the following configure line: $ KERNEL_BITS=64 ./config no-shared enable-ec_nistp_64_gcc_128 --openssldir=/usr/local/ssl/1.1.0 Later, when I attempt to compile: $ gcc -I/usr/local/ssl/1.1.0/include test.cc -o test.exe /usr/local/ssl/1.1.0/lib/libcrypto.a clang: error: no such file or directory: '/usr/local/ssl/1.1.0/lib/libcrypto.a' And: $ ls /usr/local/ssl/1.1.0/ misc ** $ sudo make install_sw /opt/local/bin/perl5.22 "-I." -Mconfigdata "util/dofile.pl" \ "-oMakefile" crypto/include/internal/bn_conf.h.in > crypto/include/internal/bn_conf.h /opt/local/bin/perl5.22 "-I." -Mconfigdata "util/dofile.pl" \ "-oMakefile" crypto/include/internal/dso_conf.h.in > crypto/include/internal/dso_conf.h /opt/local/bin/perl5.22 "-I." -Mconfigdata "util/dofile.pl" \ "-oMakefile" include/openssl/opensslconf.h.in > include/openssl/opensslconf.h /opt/local/bin/perl5.22 util/mkbuildinf.pl "cc -DDSO_DLFCN -DHAVE_DLFCN_H -DNDEBUG -DOPENSSL_THREADS -DOPENSSL_NO_DYNAMIC_ENGINE -DOPENSSL_PIC -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM -DOPENSSLDIR=\"\\\"/usr/local/ssl/1.1.0\\\"\" -DENGINESDIR=\"\\\"/usr/local/lib/engines\\\"\" " "darwin64-x86_64-cc" > crypto/buildinf.h cc -Iinclude -I. -Icrypto/include -Icrypto -DDSO_DLFCN -DHAVE_DLFCN_H -DNDEBUG -DOPENSSL_THREADS -DOPENSSL_NO_DYNAMIC_ENGINE -DOPENSSL_PIC -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/local/ssl/1.1.0\"" -DENGINESDIR="\"/usr/local/lib/engines\"" -O3 -D_REENTRANT -arch x86_64 -DL_ENDIAN -Wall -fPIC -MMD -MF crypto/cversion.d.tmp -MT crypto/cversion.o -c -o crypto/cversion.o crypto/cversion.c ar r libcrypto.a crypto/cversion.o /usr/bin/ranlib: file: libcrypto.a(async_null.o) has no symbols /usr/bin/ranlib: file: libcrypto.a(async_win.o) has no symbols /usr/bin/ranlib: file: libcrypto.a(cms_cd.o) has no symbols /usr/bin/ranlib: file: libcrypto.a(dso_dl.o) has no symbols /usr/bin/ranlib: file: libcrypto.a(dso_openssl.o) has no symbols /usr/bin/ranlib: file: libcrypto.a(dso_vms.o) has no symbols /usr/bin/ranlib: file: libcrypto.a(dso_win32.o) has no symbols /usr/bin/ranlib: file: libcrypto.a(ebcdic.o) has no symbols /usr/bin/ranlib: file: libcrypto.a(e_rc5.o) has no symbols /usr/bin/ranlib: file: libcrypto.a(m_md2.o) has no symbols /usr/bin/ranlib: file: libcrypto.a(rand_egd.o) has no symbols /usr/bin/ranlib: file: libcrypto.a(rand_vms.o) has no symbols /usr/bin/ranlib: file: libcrypto.a(rand_win.o) has no symbols /usr/bin/ranlib: file: libcrypto.a(threads_none.o) has no symbols /usr/bin/ranlib: file: libcrypto.a(threads_win.o) has no symbols ranlib -c libcrypto.a || echo Never mind. ranlib: file: libcrypto.a(async_null.o) has no symbols ranlib: file: libcrypto.a(async_win.o) has no symbols ranlib: file: libcrypto.a(cms_cd.o) has no symbols ranlib: file: libcrypto.a(dso_dl.o) has no symbols ranlib: file: libcrypto.a(dso_openssl.o) has no symbols ranlib: file: libcrypto.a(dso_vms.o) has no symbols ranlib: file: libcrypto.a(dso_win32.o) has no symbols ranlib: file: libcrypto.a(ebcdic.o) has no symbols ranlib: file: libcrypto.a(e_rc5.o) has no symbols ranlib: file: libcrypto.a(m_md2.o) has no symbols ranlib: file: libcrypto.a(rand_egd.o) has no symbols ranlib: file: libcrypto.a(rand_vms.o) has no symbols ranlib: file: libcrypto.a(rand_win.o) has no symbols ranlib: file: libcrypto.a(threads_none.o) has no symbols ranlib: file: libcrypto.a(threads_win.o) has no symbols rm -f apps/openssl make -f ./Makefile.shared -e \ PERL="/opt/local/bin/perl5.22" SRCDIR=. \ APPNAME=apps/openssl OBJECTS="apps/app_rand.o apps/apps.o apps/asn1pars.o apps/ca.o apps/ciphers.o apps/cms.o apps/crl.o apps/crl2p7.o apps/dgst.o apps/dhparam.o apps/dsa.o apps/dsaparam.o apps/ec.o apps/ecparam.o apps/enc.o apps/engine.o apps/errstr.o apps/gendsa.o apps/genpkey.o apps/genrsa.o apps/nseq.o apps/ocsp.o apps/openssl.o apps/opt.o apps/passwd.o apps/pkcs12.o apps/pkcs7.o apps/pkcs8.o apps/pkey.o apps/pkeyparam.o apps/pkeyutl.o apps/prime.o apps/rand.o apps/rehash.o apps/req.o apps/rsa.o apps/rsautl.o apps/s_cb.o apps/s_client.o apps/s_server.o apps/s_socket.o apps/s_time.o apps/sess_id.o apps/smime.o apps/speed.o apps/spkac.o apps/srp.o apps/ts.o apps/verify.o apps/version.o apps/x509.o" \ LIBDEPS='-Wl,-search_paths_first '" -L. -lssl -L. -lcrypto"' ' \ CC='cc' CFLAGS='-DDSO_DLFCN -DHAVE_DLFCN_H -DNDEBUG -DOPENSSL_THREADS -DOPENSSL_NO_DYNAMIC_ENGINE -DOPENSSL_PIC -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM