From: Jonathan C. <jco...@ro...> - 2011-03-02 11:51:33
|
I have experienced the same thing. Try running the make as root. That solved the problem for me. You might want to run "make clean" first to make sure that everything gets rebuilt. You could even try starting your current ScramDisk -- the one that has the problem -- as root. If it works, then there really isn't another problem. Just remake the .deb as root and reinstall. Your .deb file will be owned by root and be read-only, but that's not a problem for installation. I had to re-make ScramDisk last night because of a kernel upgrade. If I recall correctly, I just ran "make deb" without a plain "make" first. On 11-03-01 11:32 PM, Stewart Millen wrote: > On Mon, 2011-02-28 at 18:30 -0500, Millen, Stewart wrote: >> -----Original Message----- >> From: Jonathan Coles [mailto:jco...@ro...] >> Sent: Monday, February 28, 2011 6:30 PM >> To: sd4...@li... >> Subject: [I] Re: [SD4L-user] Questions about compiling Scramdisk from Source >> >> The problem in your compile is in creating the documentation >> PDFs. >> >> Instructions that I have followed before require the >> following Latex packages: >> texlive >> texlive-latex-recommended >> texlive-latex-extra >> >> On my new system, Ubuntu 10.10, I tried simply entering the >> command "pdflatex". >> The response: >> The program 'pdflatex' is currently not installed. You >> can install it by typing: >> sudo apt-get install texlive-latex-base >> >> So there's another package name to try. >> >> It's annoying that building the documentation can break >> compilation. >> It would be better if the doc source was separate. The PDF >> file is all most users want. >> >> It's possible that if you got the English and German PDFs >> off the web site and put them >> in /usr/src/linux/ScramDisk-2.1/docs, the script would skip >> trying to make them. >> >> Jonathan > > Last night, before compiling, kernel 2.6.32-29 appeared in Update > Manager. So I installed it. Then I: > > sudo apt-get install texlive-latex-base > > Then I went into Synaptic and made sure that the other packages you > referred to: > > texlive > texlive-latex-recommended > texlive-latex-extra > > were all installed. > > I then cleared out the folder /usr/src/linux and restarted the computer > to activate kernel 2.6.32-29, and restarted the compilation process from > scratch again. > > The good news, if it is, is that this time it (apparently) compiled > successfully after the command "make", and after the command: > > make deb > > Created the package ScramDisk_2.1-0_2.6.32_i386.deb > > With no apparent error messages (though I could not save the output, as > it was too large--I tried but it was incomplete). > > With high hopes, I then went to my user account and tried to open a > container file. But I get the error: > > "Could not lock etc/mtab" > > So what gives? > > Stewart > > |