Andy,
Am 19.11.2010 22:38, schrieb Andy Polyakov via RT:
yes - that's same issue; I did delete my source tree, and extracted from
MSYS with:
tar xfhz openssl-1.0.0b.tar.gz

Is it correctly understood that in this context 'h' option simply omits
symbolic links? I get a bunch of "Cannot create symlink to" with
corresponding consequences. Configure then "recreates" them by copying
files symlinks should point to. Can you confirm this? A.
nope. See:
http://linux.die.net/man/1/tar
-h, --dereference
    don't dump symlinks; dump the files they point to

I dont see what you describe; but some more tests on MSYS show that it works also correctly even when I extract the release archive with standard command:
tar xfz openssl-1.0.0b.tar.gz

so I guess with 1st trial I did extract with 7-Zip (stupid habbit on Windoze) which caused the symlinks stripped. MSYS tar seems clever enough to dump the files when it sees symlinks ...

also did just some tests on Linux, and it seems that -h does only work for archiving, but not extracting:
tar xfz openssl-1.0.0b.tar.gz
tar cf openssl-1.0.0b.tar openssl-1.0.0b/
tar chf openssl-1.0.0b-h.tar openssl-1.0.0b/
ll *.tar
-rw-r--r-- 1 root root 21575680 Nov 20 03:15 openssl-1.0.0b-h.tar
-rw-r--r-- 1 root root 19793920 Nov 20 03:15 openssl-1.0.0b.tar

when I extract with -h I can still see symlinks in ./test folder ...

apologies for not fully testing at 1st time. New patch below:

--- INSTALL.W32.orig    2010-07-09 14:31:41 +0000
+++ INSTALL.W32 2010-11-20 02:51:07 +0000
@@ -184,6 +184,10 @@
    MinGW and MSYS are available from http://www.mingw.org/, both are
    required. Run the installers and do whatever magic they say it takes
    to start MSYS bash shell with GNU tools on its PATH.
+   Since the release tarballs contain symlinks which Windows cant deal
+   with you must use MSYS tar in order to dereference the symlinks:
+   $ tar xfz openssl-x.y.zr.tar.gz
+   Dont use a GUI tool like 7-Zip or WinZip for extracting!

  * Compile OpenSSL:

BTW. I tested with a relatively new MSYS version -> msysinfo:
MSYS 1.0.15(0.47/3/2) 2010-07-06 22:04 i686 unknown; targ=MINGW32
and:
gcc version 4.5.0 (GCC)

Günter.


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to