From: Stewart M. <smm...@gm...> - 2011-07-10 19:16:07
|
On Sun, 2011-07-10 at 12:36 -0400, Stewart Millen wrote: Update on this. After doing some searching, it does seem the 'ptmr7t' error requires an update to texlive. I first found this thread: http://sysad.wordpress.com/2008/11/06/ubuntu-hardy-to-intrepid-upgrade-remnants/ And then tried installing texlive-fonts-recommended. Didn't work. Then rather than experiment I took the plunge and installed texlive-full. That did the trick, allowing me to run the 'sudo make' and 'sudo make deb' commands to build a .deb file and install the package. However, Ubuntu warned me that the package was 'bad' during the installation and gave me the option of quitting. (I ignored it and installed anyway). I tested my package and it works with linux kernel 2.6.38-8-generic. However, it still doesn't work with the linux kernel 2.6.38-8-generic-pae. For now, I've edited the /etc/default/grub file to boot to the kernel 2.6.38-8-generic. Hans-Ullrich, are there any plans to support the generic-pae packages? Not urgent, this is a 32-bit system with 4 GB of RAM. Also, have you given any thought of separating the documentation from the build itself and merely including it in the source package file? Something apparently happened in the requirements to build the documentation between 10.10 and 11.04. Best regards, Stewart > Hello all. > > I updated my laptop to Ubuntu 11.04. The relevant kernels installed were > the 2.6.38-8-generic-pae and the 2.6.38-8-generic. > > When I tried compiling this with the 2.6.38-8-generic-pae, with 'sudo > make', it crashed out when it didn't find a the > directory /lib/modules/2.6.38-8-generic-pae/Build > > ---------------------------------------------------------------------- > > stimpy@stimpy-laptop:/usr/src/linux/ScramDisk-2.1$ sudo make > [sudo] password for stimpy: > cd gui && qmake && lrelease scramdisk_de.ts > echo "#define KERNEL_BUILD \"2.6.38\"" > 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:10: warning: array subscript is above array bounds > 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.38-8-generic-pae/build > SUBDIRS=/usr/src/linux/ScramDisk-2.1/driver modules > make: Entering an unknown directory > make: *** /lib/modules/2.6.38-8-generic-pae/build: No such file or > directory. Stop. > make: Leaving an unknown directory > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/usr/src/linux/ScramDisk-2.1/driver' > make: *** [all] Error 1 > > ------------------------------------------------------------------- > > When I booted to kernel 2.6.38-8-generic, I ran into this problem. I ran > it twice, which is why it's shorter, it found > the /lib/modules/2.6.38-8-generic/build directory, but hung up further > down the command. > > (Resuming from a previous failure, just to show you where it hangs up. > It seems to be in a problem involving building the documentation). It > stops with a '?'. > > Please advise. > > Stewart > > ------------------------------------------------------------------- > > stimpy@stimpy-laptop:~$ cd /usr/src/linux/ScramDisk-2.1 > stimpy@stimpy-laptop:/usr/src/linux/ScramDisk-2.1$ sudo make > [sudo] password for stimpy: > cd gui && qmake && lrelease scramdisk_de.ts > echo "#define KERNEL_BUILD \"2.6.38\"" > 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.38-8-generic/build > SUBDIRS=/usr/src/linux/ScramDisk-2.1/driver modules > make[2]: Entering directory `/usr/src/linux-headers-2.6.38-8-generic' > Building modules, stage 2. > MODPOST 1 modules > make[2]: Leaving directory `/usr/src/linux-headers-2.6.38-8-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 > This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) > entering extended mode > (./scramdisk.tex > LaTeX2e <2009/09/24> > Babel <v3.8l> and hyphenation patterns for english, usenglishmax, > dumylang, noh > yphenation, loaded. > (/usr/share/texmf-texlive/tex/latex/base/article.cls > Document Class: article 2007/10/19 v1.4h Standard LaTeX document class > (/usr/share/texmf-texlive/tex/latex/base/size11.clo)) > (/usr/share/texmf-texlive/tex/latex/psnfss/times.sty) > (/usr/share/texmf-texlive/tex/latex/graphics/epsfig.sty > (/usr/share/texmf-texlive/tex/latex/graphics/graphicx.sty > (/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty) > (/usr/share/texmf-texlive/tex/latex/graphics/graphics.sty > (/usr/share/texmf-texlive/tex/latex/graphics/trig.sty) > (/etc/texmf/tex/latex/config/graphics.cfg) > (/usr/share/texmf-texlive/tex/latex/pdftex-def/pdftex.def)))) > (/usr/share/texmf-texlive/tex/latex/oberdiek/epstopdf.sty > (/usr/share/texmf-texlive/tex/latex/oberdiek/epstopdf-base.sty > (/usr/share/texmf-texlive/tex/generic/oberdiek/infwarerr.sty) > (/usr/share/texmf-texlive/tex/latex/oberdiek/grfext.sty) > (/usr/share/texmf-texlive/tex/latex/oberdiek/kvoptions.sty > (/usr/share/texmf-texlive/tex/generic/oberdiek/kvsetkeys.sty > (/usr/share/texmf-texlive/tex/generic/oberdiek/etexcmds.sty))) > (/usr/share/texmf-texlive/tex/generic/oberdiek/pdftexcmds.sty > (/usr/share/texmf-texlive/tex/generic/oberdiek/ifluatex.sty) > (/usr/share/texmf-texlive/tex/generic/oberdiek/ltxcmds.sty)) > > Package epstopdf Warning: Shell escape feature is not enabled. > > (/usr/share/texmf-texlive/tex/latex/latexconfig/epstopdf-sys.cfg))) > (/usr/share/texmf-texlive/tex/latex/tools/longtable.sty) > (./scramdisk.aux) > (/usr/share/texmf-texlive/tex/latex/psnfss/ot1ptm.fd) > kpathsea: Running mktextfm ptmr7t > mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; > nonstopmode; input ptmr7t > This is METAFONT, Version 2.718281 (TeX Live 2009/Debian) > > > kpathsea: Running mktexmf ptmr7t > ! I can't find file `ptmr7t'. > <*> ...:=ljfour; mag:=1; nonstopmode; input ptmr7t > > Please type another input file name > ! Emergency stop. > <*> ...:=ljfour; mag:=1; nonstopmode; input ptmr7t > > Transcript written on mfput.log. > grep: ptmr7t.log: No such file or directory > mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; > input ptmr7t' failed to make ptmr7t.tfm. > kpathsea: Appending font creation commands to missfont.log. > > ! Font OT1/ptm/m/n/10.95=ptmr7t at 10.95pt not loadable: Metric (TFM) > file not > found. > <to be read again> > relax > l.131 \begin{document} > > ? > ------------------------------------------------------------------------- |