<div dir="ltr">On Tue, Aug 12, 2008 at 10:06 AM, John P Martin <span dir="ltr"><<a href="mailto:jmartin23@csc.com">jmartin23@csc.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Hi,<br>
      I have been trying to build a Hobbit server in a Solaris 10<br>
non-global zone (or container), having downloaded the 4.2.0 source kit.  I<br>
believe I have met all the prerequisites, but when I come to the "make"<br>
stage, the build fails.<br>
<br>
I spent some time checking what I had done and searching for known<br>
problems, so apologies if the information is already out there and I've<br>
missed it.<br>
<br>
I repeated the steps I went through on another similar server, but this<br>
time built the kit in the global zone, and it built OK.  Has anyone<br>
sucessfully built a hobbit server in a Solaris 10 non-global zone?<br>
<br>
Details:<br>
OS: Solaris 10 1/06<br>
Hobbit 4.2.0<br>
Hardware: SunFire V240 (Sparc).<br>
<br>
The configure goes OK.  The make seems to be OK up to this point:<br>
<br>
(cd c-ares && CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT  -DSunOS -I.<br>
-I/export/home/user1/hobbit-4.2.0/include -I/usr/local/include" ./configure<br>
--disable-shared)<br>
shell-init: error retrieving current directory: getcwd: cannot access<br>
parent directories: Error 0<br>
job-working-directory: error retrieving current directory: getcwd: cannot<br>
access parent directories: Error 0<br></blockquote></div><br><br>I don't know if this is useful, but I can reproduce the message on a linux system by doing this:<br><br>     mkdir /tmp/a<br>     cd /tmp/a<br>     rmdir /tmp/a<br>
     bash<br><br>I don't have a Solaris 10 non-global zone handy to try it in, but that *doesn't* work in either Solaris 8 (sparc) or Solaris 10 (x86 in VMware) global zone.  I guess they're smart enough to notice when you try to remove a directory that's in your working directory path.<br>
<br>So, this may not be helpful, and I don't know how it does it, but I'd say it looks like *something* is somehow making part of the directory path disappear...<br><br>Ralph Mitchell<br><br></div>