Good afternoon, I seem to have gotten the chroot to function. Not know much about them and searching for answers I still have the following questions (and if you point me in the right direction I'll read, search, try, and then ask more questions):
1) the installation we've done sets up a minimun "system" and things like network config, wget, and other programs need to be copied into the system to make them work? 2) I downloaded the source for mozjs and attempted to build starting with a ./configure and found python was missing. Is it better to install the networking and such to do an apt-get install or should I manually install python? 3) The version of mozjs I downloaded was 31.2.0-rc0. Should I start with the this one or should I try 1.8.5-1.0.0+dfsg-4.3? I appreciate the help in understanding how this should be done. Please let me know if I'm going about it wrong? I hope my questions don't bother the guru's. Reading and following maintainers guide as well. Rod -newbie still- On 9/18/2015 2:22 AM, R.Schnell wrote: > Not calling myself an idiot but...I'll go find my shoes. ;) > > I have no excuse. Time to dig back into the man page(s) and see if I can > glean anything more. > Rod > > Sent from my iPhone > >> On Sep 18, 2015, at 01:40, John Paul Adrian Glaubitz >> <[email protected]> wrote: >> >> On 09/18/2015 03:42 AM, rod wrote:> So... >>> Following the directions given (on two different machines just to make >>> sure) I get to the point where I try to use dpkg -i to install the >>> downloaded file and I end up with this error: >>> >>> I have no name!@ravirin:/# dpkg -i libpcre3_8.35-7.1+sparc64_sparc64.deb >>> dpkg: error while loading shared libraries: libpcre.so.3: cannot open >>> shared object file: No such file or directory >> >> Well, it actually tells you what's wrong. Your problem is that dpkg >> requires libpcre3.so.3 to work which is in the package you are >> currently trying to install. >> >> $ dpkg-deb -c libpcre3_8.35-7.1+sparc64_sparc64.deb |grep libpcre.so.3.13.1 >> -rw-r--r-- root/root 437096 2015-08-11 04:18 >> ./lib/sparc64-linux-gnu/libpcre.so.3.13.1 >> lrwxrwxrwx root/root 0 2015-08-11 04:18 >> ./lib/sparc64-linux-gnu/libpcre.so.3 -> libpcre.so.3.13.1 >> >> Just extract libpcre3.so.3.13.1 manually and copy it into place: >> >> $ dpkg -x libpcre3_8.35-7.1+sparc64_sparc64.deb ~/libpcre3 >> $ cp -av ~/libpcre3/lib/sparc64-linux-gnu/libpcre.so.3.13.1 \ >> sid-sparc64-sbuild/lib/sparc64-linux-gnu/libpcre.so.3.13.1 >> $ ln -s sid-sparc64-sid/lib/sparc64-linux-gnu/libpcre.so.3.13.1 \ >> sparc64-sid-sbuild/lib/sparc64-linux-gnu/libpcre.so.3 >> >> Then try again. >> >>> Q1: did I miss a step? I am logged in as myself and not as root. Does it >>> matter? >> >> No, you didn't. I forgot to mention that. But the error message above >> should have given you the proper clue. >> >>> Q2: should debootstrap --second-stage be run from within chroot or from >>> outside? >> >> Of course *within* the chroot. The idea behind the two stages is that >> the first stage is run on the host system while the second stage is >> run on the target system when using --foreign to debbootstrap a foreign >> architecture. >> >> Please read the manpage of debootstrap. >> >> Adrian >> >> -- >> .''`. John Paul Adrian Glaubitz >> : :' : Debian Developer - [email protected] >> `. `' Freie Universitaet Berlin - [email protected] >> `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 >

