Problem building Hobbit on a Solaris 10 zone
Hi, I have been trying to build a Hobbit server in a Solaris 10 non-global zone (or container), having downloaded the 4.2.0 source kit. I believe I have met all the prerequisites, but when I come to the "make" stage, the build fails.
I spent some time checking what I had done and searching for known problems, so apologies if the information is already out there and I've missed it.
I repeated the steps I went through on another similar server, but this time built the kit in the global zone, and it built OK. Has anyone sucessfully built a hobbit server in a Solaris 10 non-global zone?
Details: OS: Solaris 10 1/06 Hobbit 4.2.0 Hardware: SunFire V240 (Sparc).
The configure goes OK. The make seems to be OK up to this point:
(cd c-ares && CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/export/home/user1/hobbit-4.2.0/include -I/usr/local/include" ./configure --disable-shared) shell-init: error retrieving current directory: getcwd: cannot access parent directories: Error 0 job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: Error 0
This message repeats lots of times, then a bunch of:
cat: cannot open confdefs.h
messages, and the whole session ends with:
checking for library containing gethostbyname... -lnsl checking for library containing socket... -lsocket checking whether to enable debug options... no configure: error: cannot run /bin/bash ./config.sub make[1]: *** [c-ares/Makefile] Error 1 make[1]: Leaving directory `/export/home/user1/hobbit-4.2.0/bbnet' make: *** [bbnet-build] Error 2
Cheers,
John
It looks like permissions problems on the directories to me.
Jim Smith SVHS Little Rock, AR
-----Original Message----- From: John P Martin [mailto:jmartin23 at csc.com] Sent: Tuesday, August 12, 2008 10:07 AM To: hobbit at hswn.dk Subject: [hobbit] Problem building Hobbit on a Solaris 10 zone
Hi, I have been trying to build a Hobbit server in a Solaris 10 non-global zone (or container), having downloaded the 4.2.0 source kit. I believe I have met all the prerequisites, but when I come to the "make" stage, the build fails.
I spent some time checking what I had done and searching for known problems, so apologies if the information is already out there and I've missed it.
I repeated the steps I went through on another similar server, but this time built the kit in the global zone, and it built OK. Has anyone sucessfully built a hobbit server in a Solaris 10 non-global zone?
Details: OS: Solaris 10 1/06 Hobbit 4.2.0 Hardware: SunFire V240 (Sparc).
The configure goes OK. The make seems to be OK up to this point:
(cd c-ares && CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/export/home/user1/hobbit-4.2.0/include -I/usr/local/include" ./configure --disable-shared) shell-init: error retrieving current directory: getcwd: cannot access parent directories: Error 0 job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: Error 0
This message repeats lots of times, then a bunch of:
cat: cannot open confdefs.h
messages, and the whole session ends with:
checking for library containing gethostbyname... -lnsl checking for library containing socket... -lsocket checking whether to enable debug options... no configure: error: cannot run /bin/bash ./config.sub make[1]: *** [c-ares/Makefile] Error 1 make[1]: Leaving directory `/export/home/user1/hobbit-4.2.0/bbnet' make: *** [bbnet-build] Error 2
Cheers,
John
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
I will create a version of hobbit server package for sparc and intel solaris 10 for hobbit community. but I hope you can wait. the package will be here
http://hobbitmon.svn.sourceforge.net/viewvc/hobbitmon/branches/tjyang/dist/c...
I didn't use gcc to compile hobbit on Solaris platform. package source will be released also.
T.J. Yang
To: hobbit at hswn.dk From: jmartin23 at csc.com Date: Tue, 12 Aug 2008 16:06:43 +0100 Subject: [hobbit] Problem building Hobbit on a Solaris 10 zone
Hi, I have been trying to build a Hobbit server in a Solaris 10 non-global zone (or container), having downloaded the 4.2.0 source kit. I believe I have met all the prerequisites, but when I come to the "make" stage, the build fails.
I spent some time checking what I had done and searching for known problems, so apologies if the information is already out there and I've missed it.
I repeated the steps I went through on another similar server, but this time built the kit in the global zone, and it built OK. Has anyone sucessfully built a hobbit server in a Solaris 10 non-global zone?
Details: OS: Solaris 10 1/06 Hobbit 4.2.0 Hardware: SunFire V240 (Sparc).
The configure goes OK. The make seems to be OK up to this point:
(cd c-ares && CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/export/home/user1/hobbit-4.2.0/include -I/usr/local/include" ./configure --disable-shared) shell-init: error retrieving current directory: getcwd: cannot access parent directories: Error 0 job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: Error 0
This message repeats lots of times, then a bunch of:
cat: cannot open confdefs.h
messages, and the whole session ends with:
checking for library containing gethostbyname... -lnsl checking for library containing socket... -lsocket checking whether to enable debug options... no configure: error: cannot run /bin/bash ./config.sub make[1]: *** [c-ares/Makefile] Error 1 make[1]: Leaving directory `/export/home/user1/hobbit-4.2.0/bbnet' make: *** [bbnet-build] Error 2
Cheers, JohnTo unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Get Windows Live and get whatever you need, wherever you are. Start here. http://www.windowslive.com/default.html?ocid=TXT_TAGLM_WL_Home_082008
Is this a sparse root or a whole root zone? If the former then the container may not have permission to write to /usr .
- katherine hosch
-----Original Message----- From: John P Martin [mailto:jmartin23 at csc.com] Sent: Tuesday, August 12, 2008 10:07 To: hobbit at hswn.dk Subject: [hobbit] Problem building Hobbit on a Solaris 10 zone
Hi, I have been trying to build a Hobbit server in a Solaris 10 non-global zone (or container), having downloaded the 4.2.0 source kit. I believe I have met all the prerequisites, but when I come to the "make" stage, the build fails.
I spent some time checking what I had done and searching for known problems, so apologies if the information is already out there and I've missed it.
I repeated the steps I went through on another similar server, but this time built the kit in the global zone, and it built OK. Has anyone sucessfully built a hobbit server in a Solaris 10 non-global zone?
Details: OS: Solaris 10 1/06 Hobbit 4.2.0 Hardware: SunFire V240 (Sparc).
The configure goes OK. The make seems to be OK up to this point:
(cd c-ares && CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/export/home/user1/hobbit-4.2.0/include -I/usr/local/include" ./configure --disable-shared) shell-init: error retrieving current directory: getcwd: cannot access parent directories: Error 0 job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: Error 0
This message repeats lots of times, then a bunch of:
cat: cannot open confdefs.h
messages, and the whole session ends with:
checking for library containing gethostbyname... -lnsl checking for library containing socket... -lsocket checking whether to enable debug options... no configure: error: cannot run /bin/bash ./config.sub make[1]: *** [c-ares/Makefile] Error 1 make[1]: Leaving directory `/export/home/user1/hobbit-4.2.0/bbnet' make: *** [bbnet-build] Error 2
Cheers,
John
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
I have just reconfigured/recompiled Hobbit 4.2.0 within a Solaris 10 zone although I don't know which patch level I am running and this is an i386 arch machine, so it can definitely be done.
Since it looks like ./configure is complaining you could have a look in ~/hobbit-4.2.0/bbnet/c-ares/config.log file, that may have more detailed information.
|\/|artin
-----Original Message----- From: John P Martin [mailto:jmartin23 at csc.com] Sent: 12 August 2008 16:07 To: hobbit at hswn.dk Subject: [hobbit] Problem building Hobbit on a Solaris 10 zone
Hi, I have been trying to build a Hobbit server in a Solaris 10 non-global zone (or container), having downloaded the 4.2.0 source kit. I believe I have met all the prerequisites, but when I come to the "make" stage, the build fails.
I spent some time checking what I had done and searching for known problems, so apologies if the information is already out there and I've missed it.
I repeated the steps I went through on another similar server, but this time built the kit in the global zone, and it built OK. Has anyone sucessfully built a hobbit server in a Solaris 10 non-global zone?
Details: OS: Solaris 10 1/06 Hobbit 4.2.0 Hardware: SunFire V240 (Sparc).
The configure goes OK. The make seems to be OK up to this point:
(cd c-ares && CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/export/home/user1/hobbit-4.2.0/include -I/usr/local/include" ./configure --disable-shared) shell-init: error retrieving current directory: getcwd: cannot access parent directories: Error 0 job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: Error 0
This message repeats lots of times, then a bunch of:
cat: cannot open confdefs.h
messages, and the whole session ends with:
checking for library containing gethostbyname... -lnsl checking for library containing socket... -lsocket checking whether to enable debug options... no configure: error: cannot run /bin/bash ./config.sub make[1]: *** [c-ares/Makefile] Error 1 make[1]: Leaving directory `/export/home/user1/hobbit-4.2.0/bbnet' make: *** [bbnet-build] Error 2
Cheers,
John
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
The message is intended for the named addressee only and may not be disclosed to or used by anyone else, nor may it be copied in any way.
The contents of this message and its attachments are confidential and may also be subject to legal privilege. If you are not the named addressee and/or have received this message in error, please advise us by e-mailing security at colt.net and delete the message and any attachments without retaining any copies.
Internet communications are not secure and COLT does not accept responsibility for this message, its contents nor responsibility for any viruses.
No contracts can be created or varied on behalf of COLT Telecommunications, its subsidiaries or affiliates ("COLT") and any other party by email Communications unless expressly agreed in writing with such other party.
Please note that incoming emails will be automatically scanned to eliminate potential viruses and unsolicited promotional emails. For more information refer to www.colt.net or contact us on +44(0)20 7390 3900.
Hi
I have just built a test Hobbit server in a Solaris zone, but I used sol10_u5. It's also a Sparc system.
I tried in a sparse zone, and experienced a world of hurt. I reinstalled the zone as non-sparse, and life was good.
I did notice that LD_LIBRARY_PATH needed many additions along the way, but it doesn't look like that's your problem. You will also need to make sure your LD_LIBRARY_PATH is correctly defined when you start Hobbit (when you get there)
Are you using a sparse zone? That might be the cause of your pain.
Cheers Vernon
-----Original Message----- From: Ward, Martin [mailto:Martin.Ward at colt.net] Sent: Wednesday, 13 August 2008 3:55 PM To: hobbit at hswn.dk Subject: RE: [hobbit] Problem building Hobbit on a Solaris 10 zone
I have just reconfigured/recompiled Hobbit 4.2.0 within a Solaris 10 zone although I don't know which patch level I am running and this is an i386 arch machine, so it can definitely be done.
Since it looks like ./configure is complaining you could have a look in ~/hobbit-4.2.0/bbnet/c-ares/config.log file, that may have more detailed information.
|\/|artin
-----Original Message----- From: John P Martin [mailto:jmartin23 at csc.com] Sent: 12 August 2008 16:07 To: hobbit at hswn.dk Subject: [hobbit] Problem building Hobbit on a Solaris 10 zone
Hi, I have been trying to build a Hobbit server in a Solaris 10 non-global zone (or container), having downloaded the 4.2.0 source kit. I believe I have met all the prerequisites, but when I come to the "make" stage, the build fails.
I spent some time checking what I had done and searching for known problems, so apologies if the information is already out there and I've missed it.
I repeated the steps I went through on another similar server, but this time built the kit in the global zone, and it built OK. Has anyone sucessfully built a hobbit server in a Solaris 10 non-global zone?
Details: OS: Solaris 10 1/06 Hobbit 4.2.0 Hardware: SunFire V240 (Sparc).
The configure goes OK. The make seems to be OK up to this point:
(cd c-ares && CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/export/home/user1/hobbit-4.2.0/include -I/usr/local/include" ./configure --disable-shared) shell-init: error retrieving current directory: getcwd: cannot access parent directories: Error 0 job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: Error 0
This message repeats lots of times, then a bunch of:
cat: cannot open confdefs.h
messages, and the whole session ends with:
checking for library containing gethostbyname... -lnsl checking for library containing socket... -lsocket checking whether to enable debug options... no configure: error: cannot run /bin/bash ./config.sub make[1]: *** [c-ares/Makefile] Error 1 make[1]: Leaving directory `/export/home/user1/hobbit-4.2.0/bbnet' make: *** [bbnet-build] Error 2
Cheers,
John
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
The message is intended for the named addressee only and may not be disclosed to or used by anyone else, nor may it be copied in any way.
The contents of this message and its attachments are confidential and may also be subject to legal privilege. If you are not the named addressee and/or have received this message in error, please advise us by e-mailing security at colt.net and delete the message and any attachments without retaining any copies.
Internet communications are not secure and COLT does not accept responsibility for this message, its contents nor responsibility for any viruses.
No contracts can be created or varied on behalf of COLT Telecommunications, its subsidiaries or affiliates ("COLT") and any other party by email Communications unless expressly agreed in writing with such other party.
Please note that incoming emails will be automatically scanned to eliminate potential viruses and unsolicited promotional emails. For more information refer to www.colt.net or contact us on +44(0)20 7390 3900.
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
NOTICE: This email and any attachments are confidential. They may contain legally privileged information or copyright material. You must not read, copy, use or disclose them without authorisation. If you are not an intended recipient, please contact us at once by return email and then delete both messages and all attachments.
On Tue, Aug 12, 2008 at 10:06 AM, John P Martin <jmartin23 at csc.com> wrote:
Hi, I have been trying to build a Hobbit server in a Solaris 10 non-global zone (or container), having downloaded the 4.2.0 source kit. I believe I have met all the prerequisites, but when I come to the "make" stage, the build fails.
I spent some time checking what I had done and searching for known problems, so apologies if the information is already out there and I've missed it.
I repeated the steps I went through on another similar server, but this time built the kit in the global zone, and it built OK. Has anyone sucessfully built a hobbit server in a Solaris 10 non-global zone?
Details: OS: Solaris 10 1/06 Hobbit 4.2.0 Hardware: SunFire V240 (Sparc).
The configure goes OK. The make seems to be OK up to this point:
(cd c-ares && CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT -DSunOS -I. -I/export/home/user1/hobbit-4.2.0/include -I/usr/local/include" ./configure --disable-shared) shell-init: error retrieving current directory: getcwd: cannot access parent directories: Error 0 job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: Error 0
I don't know if this is useful, but I can reproduce the message on a linux system by doing this:
mkdir /tmp/a
cd /tmp/a
rmdir /tmp/a
bash
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.
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...
Ralph Mitchell
participants (7)
-
jmartin23@csc.com
-
JMSmith@stvincenthealth.com
-
katherine.hosch@navy.mil
-
Martin.Ward@colt.net
-
ralphmitchell@gmail.com
-
tj_yang@hotmail.com
-
Vernon.Everett@woodside.com.au