hY,<br><br>This is strange. I tried the gentoo portage version, the gentoo lisp overlay version and finally I downloaded and compiled ECL myself. Same issue, all of them are ECL 11.1.1.<br>I tried it on a 64bit normal gentoo, and a 32bit hardened gentoo, same issue.<br>
<br>So these are the details of the 64 bit version (with my own ECL compilation after uninstalling all gentoo distributed versions) :<br><br><div style="margin-left: 40px; font-family: courier new,monospace;">sha256sum ecl-11.1.1.tar.gz <br>
28acce874e264a9e7182a2424bb7a1a3f7d834a8f2e1346ec0ef7156d4ed3b07 ecl-11.1.1.tar.gz<br><br>uname -a<br>
Linux ... 3.0.6-gentoo #1 SMP PREEMPT Mon Oct 24 10:30:30 MDT 2011
x86_64 Intel(R) Core(TM)2 CPU T7600 @ 2.33GHz GenuineIntel GNU/Linux<br>
<br>gcc --version<br>gcc (Gentoo 4.5.3-r1 p1.0, pie-0.4.5) 4.5.3<br><br>./configure | tee config-gentoo.log<br>make<br>make install<br><br>which ecl<br>/usr/local/bin/ecl<br><br>ldd `which ecl`<br> linux-vdso.so.1 => (0x00007fffa674a000)<br>
libecl.so.11.1 => /usr/local/lib/libecl.so.11.1 (0x00007f9b53a48000)<br> libdl.so.2 => /lib64/libdl.so.2 (0x00007f9b53844000)<br> libm.so.6 => /lib64/libm.so.6 (0x00007f9b535c3000)<br> libc.so.6 => /lib64/libc.so.6 (0x00007f9b5325d000)<br>
libffi.so.4 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/libffi.so.4 (0x00007f9b53055000)<br> libgmp.so.10 => /usr/lib64/libgmp.so.10 (0x00007f9b52de5000)<br> libgc.so.1 => /usr/lib64/libgc.so.1 (0x00007f9b52b8c000)<br>
/lib64/ld-linux-x86-64.so.2 (0x00007f9b53e3b000)<br> libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f9b5296f000)<br> libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f9b52759000)<br><br>/usr/local/bin/ecl --version<br>
ECL 11.1.1<br><br>ecl-config --cflags<br>-Dlinux -I/usr/local/include/<br><br>ecl-config --libs <br>-Wl,--rpath,/usr/local/lib/ -L/usr/local/lib/ -lecl -ldl -lm<br><br>ecl-config --ldflags<br>-Wl,--rpath,/usr/local/lib/ -L/usr/local/lib/ -lecl -ldl -lm<br>
<br></div><div style="font-family: courier new,monospace;"><span style="font-family: arial,helvetica,sans-serif;">In order to remove the gentoo bias, I compiled and tested ECL on Redhat linux too. Same result, :resolve-symlinks doesn't work for me.<br>
<br></span><div style="margin-left: 40px;">sha256sum ecl-11.1.1.tar.gz <br>28acce874e264a9e7182a2424bb7a1a3f7d834a8f2e1346ec0ef7156d4ed3b07 ecl-11.1.1.tar.gz<br><br>uname -a<br>Linux ... 2.6.18-128.el5 #1 SMP Wed Jan 21 10:41:14 EST 2009 x86_64 x86_64 x86_64 GNU/Linux<br>
<br>gcc --version<br>gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-44)<br><br>ldd bin/ecl<br> libecl.so.11.1 => /.../workspace/ecl/lib/libecl.so.11.1 (0x00002ac27504f000)<br> libdl.so.2 => /lib64/libdl.so.2 (0x00002ac275539000)<br>
libm.so.6 => /lib64/libm.so.6 (0x00002ac27573d000)<br> libc.so.6 => /lib64/libc.so.6 (0x00002ac2759c1000)<br> libgmp.so.3 => /usr/lib64/libgmp.so.3 (0x00002ac275d17000)<br> /lib64/ld-linux-x86-64.so.2 (0x00002ac274e32000)<br>
<br>bin/ecl --version<br>
ECL 11.1.1<br>
<br>
bin/ecl-config --cflags<br>
-Dlinux -I/.../workspace/ecl/include/<br>
<br>
bin/ecl-config --libs <br>
-Wl,--rpath,/.../workspace/ecl/lib/ -L/.../workspace/ecl/lib/ -lecl -ldl -lm<br>
<br>
bin/ecl-config --ldflags<br>
-Wl,--rpath,/.../workspace/ecl/lib/ -L/.../workspace/ecl/lib/ -lecl -ldl -lm<br><span style="font-family: arial,helvetica,sans-serif;"></span></div><span style="font-family: arial,helvetica,sans-serif;"><br>I attached the logs of the configure script, config-*.log.<br>
Let me know if you need some other info for debugging...<br></span></div><br>Thanks,<br>`bg`<br><br><br><div class="gmail_quote">
2011/10/29 Juan Jose Garcia-Ripoll <span dir="ltr"><<a href="mailto:juanjose.garciaripoll@googlemail.com" target="_blank">juanjose.garciaripoll@googlemail.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<span></span>Ok, several things. The first one, which I noticed right now, is that ECL defaults to :RESOLVE-SYMLINKS NIL. This may be unusual and I will change it. The second one is that I do not get your results with :RESOLVE-SYMNLINKS NIL (See below).<div>
<br></div><div>What type and version of the operating system is this? What version of ECL?<br><div><div><br></div><div>$ ls -l</div><div>total 16</div><div>drwxr-xr-x 3 jjgarcia jjgarcia 102 Oct 29 20:11 dir</div><div>
lrwxr-xr-x 1 jjgarcia jjgarcia 3 Oct 29 20:11 dir_link -> dir</div><div>-rw-r--r-- 1 jjgarcia jjgarcia 0 Oct 29 20:11 file</div><div>lrwxr-xr-x 1 jjgarcia jjgarcia 4 Oct 29 20:11 file_link -> file</div>
</div><div><br></div><div><div>$ ecl -norc</div><div><div>ECL (Embeddable Common-Lisp) 11.1.1</div><div>Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya</div><div>Copyright (C) 1993 Giuseppe Attardi</div><div>
Copyright (C) 2000 Juan J. Garcia-Ripoll</div>
</div><div>ECL is free software, and you are welcome to redistribute it</div><div>under certain conditions; see file 'Copyright' for details.</div><div>Type :h for Help. </div><div>Top level in: #<process TOP-LEVEL>.</div>
<div>> (directory "./*" :resolve-symlinks t)</div><div><br></div><div>(#P"/Users/jjgarcia/build/ecl/tmp/file" #P"/Users/jjgarcia/build/ecl/tmp/file")</div><div>> (directory "./*" :resolve-symlinks nil)</div>
<div><br></div><div>(#P"/Users/jjgarcia/build/ecl/tmp/file_link"</div><div> #P"/Users/jjgarcia/build/ecl/tmp/file"</div><div> #P"/Users/jjgarcia/build/ecl/tmp/dir_link")</div><div>> (directory "./*/" :resolve-symlinks t)</div>
<div><br></div><div>(#P"/Users/jjgarcia/build/ecl/tmp/dir/" #P"/Users/jjgarcia/build/ecl/tmp/dir/")</div><div>> (directory "./*/" :resolve-symlinks nil)</div><div><br></div><div>(#P"/Users/jjgarcia/build/ecl/tmp/dir/")</div>
<div><br></div><br><div class="gmail_quote"><div>2011/10/26 Gábor Balázs <span dir="ltr"><<a href="mailto:gabalz@gmail.com" target="_blank">gabalz@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>If it should, then maybe there is a bug:<br><br><span></span><span style="font-family: courier new,monospace;">TEST> ls -l</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">total 4</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">drwxr-xr-x 2 bege users 4096 Oct 25 23:25 dir</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">lrwxrwxrwx 1 bege users 3 Oct 25 23:25 dir-link -> dir</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">-rw-r--r-- 1 bege users 0 Oct 25 23:25 file</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">lrwxrwxrwx 1 bege users 4 Oct 25 23:25 file-link -> file</span><br>
<br><span style="font-family: courier new,monospace;">ECL (Embeddable Common-Lisp) 11.1.1</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Copyright (C) 1993 Giuseppe Attardi</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Copyright (C) 2000 Juan J. Garcia-Ripoll</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="background-color: rgb(153, 255, 153);"><span style="font-family: courier new,monospace;">> (directory "./*")</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">(#P"/home/bege/TEST/file" #P"/home/bege/TEST/file")</span></span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"></blockquote><div><br></div></div><div>This one is due to the defaulting method I mention above. An implied :resolve-symlinks nil is assumed.</div><div><div> </div>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<span style="background-color: rgb(255, 255, 153);"><span style="font-family: courier new,monospace;">> (directory "./*" :resolve-symlinks nil)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">(#P"/home/bege/TEST/file" #P"/home/bege/TEST/file") ; no difference (file symlinks are resolved)</span></span></blockquote><div><br></div></div><div>I do not get this one. See above.</div>
<div>
<div><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><span style="background-color: rgb(153, 255, 153);"><span style="font-family: courier new,monospace;">> (directory "./*/")</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">(#P"/home/bege/TEST/dir/" #P"/home/bege/TEST/dir/")</span></span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"></blockquote><div><br></div></div><div>Same as above</div><div><div> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<span style="background-color: rgb(255, 255, 153);"><span style="font-family: courier new,monospace;">> (directory "./*/" :resolve-symlink nil)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">(#P"/home/bege/TEST/dir/" #P"/home/bege/TEST/dir/") ; no difference (directory symlinks are resolved)</span></span></blockquote><div><br></div></div>
<div>Again, I do not see this here.</div>
<div><br></div><div>Juanjo</div><div><br></div></div><div>-- <br>Instituto de Física Fundamental, CSIC<br>c/ Serrano, 113b, Madrid 28006 (Spain) <br><a href="http://juanjose.garciaripoll.googlepages.com" target="_blank">http://juanjose.garciaripoll.googlepages.com</a><br>
</div></div></div>
</blockquote></div><br>