From: Stewart M. <smm...@gm...> - 2011-02-28 04:14:22
|
On Thu, 2011-02-24 at 22:31 +0100, Hans-Ulrich Juettner wrote: Well, first time was not the charm: I installed the following via Synaptic: > * qt3-dev-tools > * qt3-linguist > * ghostscript > * texlive-base > * texlive-lang-german Then I created the folder /usr/src/linux and copied the boot/config-Version file to it. (The first try I forgot to rename it as .config but that didn't make a difference in the end. I made sure that my primary account had ownership of it and could read/write to it before proceeding. I then did: apt-get install linux-headers-generic But it told me that it was already installed (0 files and 0 packages downloaded) Then I unpacked the tarball, and went cd \usr\src\linux\ScramDisk-2.1 make And here is the output. My *very* untutored interpretation is that it hit something involving 'pdflatex' and then quit. stimpy@stimpys-desktop:/usr/src/linux/ScramDisk-2.1$ make cd gui && qmake && lrelease scramdisk_de.ts echo "#define KERNEL_BUILD \"2.6.32\"" > driver/kernel_build.h list='crypto driver utils gui docs'; for subdir in $list; \ do make -C $subdir all || exit 1; done make[1]: Entering directory `/usr/src/linux/ScramDisk-2.1/crypto' gcc -I. -I/usr/src/linux/include -O2 -Wall -c -o getiv.o getiv.c gcc -I. -I/usr/src/linux/include -O2 -Wall -c -o gf2e64.o gf2e64.c gcc -I. -I/usr/src/linux/include -O2 -Wall -c -o gf2e128.o gf2e128.c gcc -I. -I/usr/src/linux/include -O2 -Wall -c -o crc32.o crc32.c gcc -I. -O2 -Wall -o crc32-mktab crc32-mktab.c ./crc32-mktab -p 0x04c11db7 -b 32 -B 8 -r -c \ -s crc32_table -i crc32.h -t uint32 -o crc32-tab.c gcc -I. -I/usr/src/linux/include -O2 -Wall -c -o crc32-tab.o crc32-tab.c gcc -I. -I/usr/src/linux/include -O2 -Wall -c -o sha1.o sha1.c gcc -I. -I/usr/src/linux/include -O2 -Wall -c -o sha256.o sha256.c gcc -I. -I/usr/src/linux/include -O2 -Wall -c -o sha512.o sha512.c gcc -I. -I/usr/src/linux/include -O2 -Wall -c -o rmd160.o rmd160.c gcc -I. -I/usr/src/linux/include -O2 -Wall -c -o whirlpool.o whirlpool.c gcc -I. -O2 -Wall -o blowfish-mktab blowfish-mktab.c ./blowfish-mktab > blowfish-tab.h [.............................................................] gcc -I. -I/usr/src/linux/include -O2 -Wall -c -o blowfish.o blowfish.c gcc -I. -I/usr/src/linux/include -O2 -Wall -c -o cast128.o cast128.c gcc -I. -O2 -Wall -o des-mktab des-mktab.c ./des-mktab > des-tab.h gcc -I. -I/usr/src/linux/include -O2 -Wall -c -o des-base.o des-base.c gcc -I. -I/usr/src/linux/include -O2 -Wall -c -o des.o des.c gcc -I. -I/usr/src/linux/include -O2 -Wall -c -o des3.o des3.c gcc -I. -I/usr/src/linux/include -O2 -Wall -c -o tea.o tea.c gcc -I. -O2 -Wall -o rijndael-mktab rijndael-mktab.c ./rijndael-mktab > rijndael-tab.h gcc -I. -I/usr/src/linux/include -O2 -Wall -c -o rijndael.o rijndael.c gcc -I. -I/usr/src/linux/include -O2 -Wall -c -o serpent.o serpent.c gcc -I. -O2 -Wall -o square-mktab square-mktab.c ./square-mktab > square-tab.h gcc -I. -I/usr/src/linux/include -O2 -Wall -c -o square.o square.c square.c: In function ‘square_init’: square.c:91: warning: array subscript is above array bounds square.c:91: warning: ‘kk’ may be used uninitialized in this function gcc -I. -O2 -Wall -o twofish-mktab twofish-mktab.c ./twofish-mktab > twofish-tab.h gcc -I. -I/usr/src/linux/include -O2 -Wall -c -o twofish.o twofish.c ar rc libsdcrypto.a getiv.o gf2e64.o gf2e128.o crc32.o crc32-tab.o sha1.o sha256.o sha512.o rmd160.o whirlpool.o blowfish.o cast128.o des-base.o des.o des3.o tea.o rijndael.o serpent.o square.o twofish.o ranlib libsdcrypto.a make[1]: Leaving directory `/usr/src/linux/ScramDisk-2.1/crypto' make[1]: Entering directory `/usr/src/linux/ScramDisk-2.1/driver' ln -s ../crypto/crc32.c crc32.c ln -s ../crypto/crc32-tab.c crc32-tab.c ln -s ../crypto/sha1.c sha1.c ln -s ../crypto/sha256.c sha256.c ln -s ../crypto/sha512.c sha512.c ln -s ../crypto/rmd160.c rmd160.c ln -s ../crypto/whirlpool.c whirlpool.c ln -s ../crypto/blowfish.c blowfish.c ln -s ../crypto/cast128.c cast128.c ln -s ../crypto/des-base.c des-base.c ln -s ../crypto/des.c des.c ln -s ../crypto/des3.c des3.c ln -s ../crypto/tea.c tea.c ln -s ../crypto/rijndael.c rijndael.c ln -s ../crypto/serpent.c serpent.c ln -s ../crypto/square.c square.c ln -s ../crypto/twofish.c twofish.c ln -s ../crypto/gf2e64.c gf2e64.c ln -s ../crypto/gf2e128.c gf2e128.c ln -s ../crypto/getiv.c getiv.c make -C /lib/modules/2.6.32-28-generic/build SUBDIRS=/usr/src/linux/ScramDisk-2.1/driver modules make[2]: Entering directory `/usr/src/linux-headers-2.6.32-28-generic' CC [M] /usr/src/linux/ScramDisk-2.1/driver/cipher.o CC [M] /usr/src/linux/ScramDisk-2.1/driver/digest.o CC [M] /usr/src/linux/ScramDisk-2.1/driver/tweak.o CC [M] /usr/src/linux/ScramDisk-2.1/driver/sector.o CC [M] /usr/src/linux/ScramDisk-2.1/driver/volume.o /usr/src/linux/ScramDisk-2.1/driver/volume.c: In function ‘truecrypt_mount_container’: /usr/src/linux/ScramDisk-2.1/driver/volume.c:775: warning: the frame size of 1396 bytes is larger than 1024 bytes /usr/src/linux/ScramDisk-2.1/driver/volume.c: In function ‘scramdisk_mount_container’: /usr/src/linux/ScramDisk-2.1/driver/volume.c:374: warning: the frame size of 1604 bytes is larger than 1024 bytes CC [M] /usr/src/linux/ScramDisk-2.1/driver/sddriver.o CC [M] /usr/src/linux/ScramDisk-2.1/driver/crc32.o CC [M] /usr/src/linux/ScramDisk-2.1/driver/crc32-tab.o CC [M] /usr/src/linux/ScramDisk-2.1/driver/sha1.o CC [M] /usr/src/linux/ScramDisk-2.1/driver/sha256.o CC [M] /usr/src/linux/ScramDisk-2.1/driver/sha512.o CC [M] /usr/src/linux/ScramDisk-2.1/driver/rmd160.o CC [M] /usr/src/linux/ScramDisk-2.1/driver/whirlpool.o CC [M] /usr/src/linux/ScramDisk-2.1/driver/blowfish.o CC [M] /usr/src/linux/ScramDisk-2.1/driver/cast128.o CC [M] /usr/src/linux/ScramDisk-2.1/driver/des-base.o CC [M] /usr/src/linux/ScramDisk-2.1/driver/des.o CC [M] /usr/src/linux/ScramDisk-2.1/driver/des3.o CC [M] /usr/src/linux/ScramDisk-2.1/driver/tea.o CC [M] /usr/src/linux/ScramDisk-2.1/driver/rijndael.o CC [M] /usr/src/linux/ScramDisk-2.1/driver/serpent.o CC [M] /usr/src/linux/ScramDisk-2.1/driver/square.o /usr/src/linux/ScramDisk-2.1/driver/square.c: In function ‘square_init’: /usr/src/linux/ScramDisk-2.1/driver/square.c:91: warning: array subscript is above array bounds /usr/src/linux/ScramDisk-2.1/driver/square.c:91: warning: ‘kk’ may be used uninitialized in this function CC [M] /usr/src/linux/ScramDisk-2.1/driver/twofish.o /usr/src/linux/ScramDisk-2.1/driver/twofish.c: In function ‘twofish_fkinit’: /usr/src/linux/ScramDisk-2.1/driver/twofish.c:315: warning: the frame size of 4288 bytes is larger than 1024 bytes CC [M] /usr/src/linux/ScramDisk-2.1/driver/gf2e64.o CC [M] /usr/src/linux/ScramDisk-2.1/driver/gf2e128.o CC [M] /usr/src/linux/ScramDisk-2.1/driver/getiv.o LD [M] /usr/src/linux/ScramDisk-2.1/driver/scramdisk.o Building modules, stage 2. MODPOST 1 modules CC /usr/src/linux/ScramDisk-2.1/driver/scramdisk.mod.o LD [M] /usr/src/linux/ScramDisk-2.1/driver/scramdisk.ko make[2]: Leaving directory `/usr/src/linux-headers-2.6.32-28-generic' make[1]: Leaving directory `/usr/src/linux/ScramDisk-2.1/driver' make[1]: Entering directory `/usr/src/linux/ScramDisk-2.1/utils' g++ -I. -I../crypto -I../driver -O2 -Wall -c -o sdmount.o sdmount.cpp g++ -I. -I../crypto -I../driver -O2 -Wall -c -o mtab.o mtab.cpp g++ -I. -I../crypto -I../driver -O2 -Wall -c -o args.o args.cpp g++ -I. -I../crypto -I../driver -O2 -Wall -c -o sdpw.o sdpw.cpp g++ -I. -I../crypto -I../driver -O2 -Wall -c -o sdmnt.o sdmnt.cpp g++ -I. -I../crypto -I../driver -O2 -Wall -c -o sdinfo.o sdinfo.cpp g++ -o sdmount sdmount.o mtab.o args.o sdpw.o sdmnt.o sdinfo.o g++ -I. -I../crypto -I../driver -O2 -Wall -c -o sdumount.o sdumount.cpp g++ -I. -I../crypto -I../driver -O2 -Wall -c -o process.o process.cpp g++ -o sdumount sdumount.o process.o mtab.o args.o sdmnt.o sdinfo.o g++ -I. -I../crypto -I../driver -O2 -Wall -c -o sdcreate.o sdcreate.cpp sdcreate.cpp: In function ‘int main(int, char**)’: sdcreate.cpp:849: warning: ignoring return value of ‘int chown(const char*, __uid_t, __gid_t)’, declared with attribute warn_unused_result sdcreate.cpp:851: warning: ignoring return value of ‘int chown(const char*, __uid_t, __gid_t)’, declared with attribute warn_unused_result g++ -I. -I../crypto -I../driver -O2 -Wall -c -o rnd.o rnd.cpp g++ -I. -I../crypto -I../driver -O2 -Wall -c -o sdctx.o sdctx.cpp g++ -I. -I../crypto -I../driver -O2 -Wall -c -o tcctx.o tcctx.cpp g++ -I. -I../crypto -I../driver -O2 -Wall -c -o tweak.o tweak.cpp g++ -I. -I../crypto -I../driver -O2 -Wall -c -o cipher.o cipher.cpp g++ -I. -I../crypto -I../driver -O2 -Wall -c -o digest.o digest.cpp g++ -o sdcreate sdcreate.o process.o args.o rnd.o sdpw.o sdmnt.o sdctx.o tcctx.o tweak.o cipher.o digest.o -L../crypto -lsdcrypto g++ -I. -I../crypto -I../driver -O2 -Wall -c -o sdchange.o sdchange.cpp g++ -o sdchange sdchange.o sdctx.o tcctx.o args.o rnd.o sdpw.o tweak.o cipher.o digest.o -L../crypto -lsdcrypto g++ -I. -I../crypto -I../driver -O2 -Wall -c -o sdreformat.o sdreformat.cpp g++ -o sdreformat sdreformat.o sdctx.o tcctx.o args.o rnd.o sdpw.o tweak.o cipher.o digest.o -L../crypto -lsdcrypto g++ -I. -I../crypto -I../driver -O2 -Wall -c -o sdhelper.o sdhelper.cpp g++ -o sdhelper sdhelper.o mtab.o sdmnt.o sdinfo.o -L../crypto -lsdcrypto ar rc libsdutils.a cipher.o digest.o tweak.o sdctx.o tcctx.o sdinfo.o sdmnt.o mtab.o ranlib libsdutils.a make[1]: Leaving directory `/usr/src/linux/ScramDisk-2.1/utils' make[1]: Entering directory `/usr/src/linux/ScramDisk-2.1/gui' g++ -c -pipe -g -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I../crypto -I../driver -I../utils -I../../../../include/qt3 -o scramdisk.o scramdisk.cpp g++ -c -pipe -g -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I../crypto -I../driver -I../utils -I../../../../include/qt3 -o createdialog.o createdialog.cpp g++ -c -pipe -g -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I../crypto -I../driver -I../utils -I../../../../include/qt3 -o formatdialog.o formatdialog.cpp g++ -c -pipe -g -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I../crypto -I../driver -I../utils -I../../../../include/qt3 -o reformatdialog.o reformatdialog.cpp g++ -c -pipe -g -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I../crypto -I../driver -I../utils -I../../../../include/qt3 -o ppdialog.o ppdialog.cpp g++ -c -pipe -g -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I../crypto -I../driver -I../utils -I../../../../include/qt3 -o name_utils.o name_utils.cpp g++ -c -pipe -g -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I../crypto -I../driver -I../utils -I../../../../include/qt3 -o rnd.o rnd.cpp /usr/share/qt3/bin/moc scramdisk.h -o moc_scramdisk.cpp g++ -c -pipe -g -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I../crypto -I../driver -I../utils -I../../../../include/qt3 -o moc_scramdisk.o moc_scramdisk.cpp /usr/share/qt3/bin/moc createdialog.h -o moc_createdialog.cpp g++ -c -pipe -g -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I../crypto -I../driver -I../utils -I../../../../include/qt3 -o moc_createdialog.o moc_createdialog.cpp /usr/share/qt3/bin/moc formatdialog.h -o moc_formatdialog.cpp g++ -c -pipe -g -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I../crypto -I../driver -I../utils -I../../../../include/qt3 -o moc_formatdialog.o moc_formatdialog.cpp /usr/share/qt3/bin/moc reformatdialog.h -o moc_reformatdialog.cpp g++ -c -pipe -g -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I../crypto -I../driver -I../utils -I../../../../include/qt3 -o moc_reformatdialog.o moc_reformatdialog.cpp /usr/share/qt3/bin/moc ppdialog.h -o moc_ppdialog.cpp g++ -c -pipe -g -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I../crypto -I../driver -I../utils -I../../../../include/qt3 -o moc_ppdialog.o moc_ppdialog.cpp g++ -o scramdisk scramdisk.o createdialog.o formatdialog.o reformatdialog.o ppdialog.o name_utils.o rnd.o moc_scramdisk.o moc_createdialog.o moc_formatdialog.o moc_reformatdialog.o moc_ppdialog.o -L/usr/share/qt3/lib -L/usr/X11R6/lib -L../utils -L../crypto -lsdutils -lsdcrypto -lqt-mt -lXext -lX11 -lm -lpthread make[1]: Leaving directory `/usr/src/linux/ScramDisk-2.1/gui' make[1]: Entering directory `/usr/src/linux/ScramDisk-2.1/docs' gzip -9 -c scramdisk.1 > scramdisk.1.gz ps2pdf gui.eps gui.pdf ln -s gui.pdf `echo gui.eps | sed 's/.eps/-eps-converted-to.pdf/'` ps2pdf create.eps create.pdf ln -s create.pdf `echo create.eps | sed 's/.eps/-eps-converted-to.pdf/'` ps2pdf tccreate.eps tccreate.pdf ln -s tccreate.pdf `echo tccreate.eps | sed 's/.eps/-eps-converted-to.pdf/'` ps2pdf reformat.eps reformat.pdf ln -s reformat.pdf `echo reformat.eps | sed 's/.eps/-eps-converted-to.pdf/'` ps2pdf ppdialog.eps ppdialog.pdf ln -s ppdialog.pdf `echo ppdialog.eps | sed 's/.eps/-eps-converted-to.pdf/'` ps2pdf tcppdialog.eps tcppdialog.pdf ln -s tcppdialog.pdf `echo tcppdialog.eps | sed 's/.eps/-eps-converted-to.pdf/'` ps2pdf config.eps config.pdf ln -s config.pdf `echo config.eps | sed 's/.eps/-eps-converted-to.pdf/'` pdflatex scramdisk.tex && pdflatex scramdisk.tex /bin/sh: pdflatex: not found make[1]: *** [scramdisk.pdf] Error 127 make[1]: Leaving directory `/usr/src/linux/ScramDisk-2.1/docs' make: *** [all] Error 1 ------------------------------------------------------- Not knowing what I was doing, I then plowed ahead and entered: make deb Figuring that at the worst that would not disturb my current 2.0.3 installation (it didn't). It seemed to hang at the same 'pdflatex' error: stimpy@stimpys-desktop:/usr/src/linux/ScramDisk-2.1$ make deb mkdir -p debian/DEBIAN && \ install -m 0755 postinst postrm prerm debian/DEBIAN && \ install -m 0644 conffiles debian/DEBIAN && \ sed "s/%arch%/i386/;s/%kpkg%/linux-image-2.6.32-28-generic/;s/%qpkg%/libqt3-mt/" control | \ sed "s/%ver%/2.1/;s/%rel%/0/" > debian/DEBIAN/control cd gui && qmake && lrelease scramdisk_de.ts echo "#define KERNEL_BUILD \"2.6.32\"" > driver/kernel_build.h list='crypto driver utils gui docs'; for subdir in $list; \ do make -C $subdir all || exit 1; done make[1]: Entering directory `/usr/src/linux/ScramDisk-2.1/crypto' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/src/linux/ScramDisk-2.1/crypto' make[1]: Entering directory `/usr/src/linux/ScramDisk-2.1/driver' make -C /lib/modules/2.6.32-28-generic/build SUBDIRS=/usr/src/linux/ScramDisk-2.1/driver modules make[2]: Entering directory `/usr/src/linux-headers-2.6.32-28-generic' Building modules, stage 2. MODPOST 1 modules make[2]: Leaving directory `/usr/src/linux-headers-2.6.32-28-generic' make[1]: Leaving directory `/usr/src/linux/ScramDisk-2.1/driver' make[1]: Entering directory `/usr/src/linux/ScramDisk-2.1/utils' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/src/linux/ScramDisk-2.1/utils' make[1]: Entering directory `/usr/src/linux/ScramDisk-2.1/gui' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/src/linux/ScramDisk-2.1/gui' make[1]: Entering directory `/usr/src/linux/ScramDisk-2.1/docs' pdflatex scramdisk.tex && pdflatex scramdisk.tex /bin/sh: pdflatex: not found make[1]: *** [scramdisk.pdf] Error 127 make[1]: Leaving directory `/usr/src/linux/ScramDisk-2.1/docs' make: *** [all] Error 1 Sorry if I'm seeming to be such the klutz at this. Stewart > Hi Stewart, > > Stewart Millen worte: > > Hi all, > > > > I'd like to try to compile SD4L from source. I figure it's time given > > the fact that now every time there's even a minor update to the kernel, > > it breaks SD4L. (This would be for Ubuntu 10.04, 2.6-32-28 kernel. I > > know I can install it from the recent .deb file release if everything > > else fails, but I'd hate to bug Hans-Ulrich every time there's a kernel > > update). *And*, if there's an easy way for me to do so while doing all > > this, I could make the corresponding .deb files for distribution. > > > > I've been looking at the Scramdisk documentation, and this: > > > > https://help.ubuntu.com/community/CompilingEasyHowTo > > > > https://help.ubuntu.com/community/Kernel/Compile > > > > The latter because apparently I have to need the kernel sources to > > compile scramdisk. > > > > I've installed gcc and g++ via Synaptic. As I currently run scramdisk, I > > would suppose that I have no dependency issues to resolve (the libraries > > being already in-place, right?). I've also installed the Ubuntu packages > > build-essential and checkinstall. > > > > Question 1: But should I also install the following, which is > > recommended by the page on kernel source building? > > > > sudo apt-get install fakeroot build-essential crash kexec-tools > > makedumpfile kernel-wedge > > sudo apt-get build-dep linux > > sudo apt-get install git-core libncurses5 libncurses5-dev libelf-dev asciidoc binutils-dev > > > > no you don't need this packages for building scramdisk. > > > > > > > Question 2: I read also in the Scramdisk documentationo that I need to > > obtain the source code for 2.6.32-28. This would be: > > > > sudo apt-get build-dep --no-install-recommends linux-image-2.6.32-28 > > apt-get source linux-image-2.6.32-28. > > > > Right? (The Ubuntu help page recommends using the "git" command as preferable but the above seems simpler). > > And what directly will this source code be downloaded to? > > > > On Ubuntu linux-headers-2.6.32-28 suffices. If you install the > meta-package linux-headers-generic the above package is always > updated along with your kernel, so call > > apt-get install linux-headers-generic > > > > > Question 3: As I understand it, then I create a directory usr/src/linux and give my user account privileges to it: > > > > sudo chown $USER /usr/src/linux > > sudo chmod u+rwx /usr/src/linux > > > > Then I put the linux kernel source code I've downloaded into that (along with the file /boot/config-Version) and issue the commands: > > > > cd /usr/src/linux > > make oldconfig > > > > Is this right? > > > > With the linux-headers package on Ubuntu you don't need this step. > > > > > Question 4: Then I unpackage the Scramdisk tarball into the directory /usr/src/linux. (That creates the subdirectory /usr/src/linux/Scramdisk-2.1, right?). > > > > Then I do the following: > > > > cd /usr/src/linux/ScramDisk-2.1 > > make > > sudo make install > > > > (or would sudo checkinstall be preferable for the last step?). > > > > Please clear up any misconceptions I have displayed. I have read the > > documentation, and I'm murky on some things. I've not done this before, > > but I'm sure once I do it successfully it will be easy. Also, if there's some way (as a friend has told me) to make the corresponding .deb package for distribution while doing this I'd be happy to do so. He says it would be simple, but the documentation I've seen indicates otherwise. > > > > Stewart > > > > You need some other packages for building scramdisk: > * qt3-dev-tools > * qt3-linguist > * ghostscript > * texlive-base > * texlive-lang-german > The latter three are for building the scramdisk documentation. > As there is an english and a german documentation you need the > german language package for that. As scramdisk up to now is > based on Qt3 you need the qt3 packages and *not* the qt4 packages. > > After > cd /usr/src/linux/ScramDisk-2.1 > and > make > you have two possibilities: > Either you call sudo make install > which installs this bypassing your systems package management. > Or you call > make deb > by which a debian package ScramDisk_2.1-0_2.6.32_amd64.deb > is built. If your system is a 32 bit system the architecture > part of the name would be i386 instead of amd64. > Then you can install this with > sudo dpkg -i ScramDisk_2.1-0_2.6.32_amd64.deb > which installs scramdisk with your systems package management. > > Best regards > Ulrich |