Quite a few years ago I somehow decided to look at encryption of volumes/disks (I was using SuSE). I've been going ape-crazy trying to remember what it was and finally did today...ScramDisk http://sd4l.sourceforge.net/
At the time I was looking at it, it was working wonderfully for kernel 2.x and my SuSE. There still seems to be a 'little' bit of work on it according to a post or two on the sourceforge page and one of the devs had uploaded a couple of patches to try and get it working on 3.x kernels. QWithout the patch, the build gets stuck much earlier than after the patch is applied. After applying the patch, the build gets stuck at: Code:
make[1]: Leaving directory `/home/me/build/ScramDisk-2.1/utils' |
Not personally using but by the error message you would probably need qt3 installed, for latest release available here at SlackBuilds.org.
Or try to compile without Qt GUI if there is such option. |
Quote:
Unfortunately I just can't seem to get the makefile and the Scrqamdisk.pro fixed up right to start 'make' Not being a programmer, I can sometimes muddle my way through these things just barely enough to make them work. This time though is one of those times that even after 8+ hours I just can't seem to get it right. Maybe one day someone who understands this stuff will look at it. I'm pretty sure someone who programs, even a beginner, could fix it correctly...I'm just not even a 'beginner', no programming skills, I just 'look' at things and add this or delete that and keep trying (if that makes sense). Anyway, I appreciate the tip as it's qt3 that this app is wanting to use to build it. |
just make sure that it is qt3 qmake that is used:
I use qt3 from slackbuilds.org Code:
export PATH=/opt/lib64/qt3/bin:$PATH had to patch with ScramDisk-2.1.patch from http://ehc.ac/p/sd4l/bugs/27/ and further patch sddriver.c in 3 places to build kernel module (from ScramDisk-2.1.patch.for.linux.3.14) |
Quote:
I then (in that directory) did qmake, but when I went to do 'make', I get bash: make: command not found Am I supposed to be 'making' as root or user? It also seems my bash is now borked. No commands I enter are recognized, not 'patch', not even 'ls'. What have I done wrong now? UPDATE: Okay, I sorta figured out how to get my bash working again (I copied the PATH from profile in /etc and just 'export' that to get back to working normal). So here's what I've been doing to try and build this: I tried patching with *both* patches. The first time I did 'make', it stopped at the error of the sddriver. Deleted that directory and extracted a new one from the tarball. Patched with just the one (*not* the kernel 3.14) patch. Entered ScramDisk-2.1 Entered ScramDisk-2.1/gui and did the 'export' to my qt3 Did 'qmake' and since 'make' doesn't work after this, I 'export' back to my normal bash. I then cd back to ScramDisk-2.1 and do 'make'. It is working longer than it ever has, but it again stops at: Code:
make[1]: Entering directory `/home/john/build/ScramDisk-2.1/gui' I'd really, really like to try and get this working so I can test it out on my Slackware 14.1 (32bit) and if it works, then maybe try to get a couple of people to help me make it into a Slackbuild. |
Maybe you did not keep your original PATH
you need: Code:
export PATH=/opt/kde3/lib/qt3-3.3.8b/bin:$PATH supposed to'make' as user and 'make install' as root Just close the terminal window you are in, and open a new one, and you have your original PATH Do not apply the full ScramDisk-2.1.patch.for.linux.3.14 patch, just 3 places are needed |
Quote:
Code:
scramdisk.cpp:292:24: fatal error: qhgroupbox.h: No such file or directory I come to a similar error but one that complains about Code:
scramdisk.cpp:285:19: fatal error: qrect.h: No such file or directory |
@irgunII If you've managed to install qt3, C++ compiler tells you it can't just find qt3 header file(s). You'd need to set correct paths for include and library files, either in Makefile or in an environment. Compiler recognizes C_INCLUDE_PATH and CPLUS_INCLUDE_PATH where searches header files and LIBRARY_PATH for library files. Multiple paths are colon-separated.
|
Quote:
Quote:
It still doesn't explain why it worked for ml4711 with what he did and it doesn't do it for me (or more than likely I just simply don't understand something somewhere and am missing it completely). Anyway, been going at it for at least a full 16 hours now and since I haven't the skills to figure out anything more than what I've already tried on my own and it doesn't seem like too much other interest has picked up for this, it's probably best I just let it gather dust and forget it. Kind of a bummer though since I believe it could be another good disk encryption app to have around so that the linux world isn't so sparse and running around with its head cut off trying to find a replacement. Thanks though for the help, it's honestly appreciated. |
Quote:
source: http://www.phoronix.com/scan.php?pag...tem&px=MTcwNTc |
It seems Your qt3 install is not complete,
maybe You are missing "/etc/profile.d/qt.sh" which set up needed environment variables for You. The needed ones to set are: QTDIR and CPLUS_INCLUDE_PATH Or you do not have the qt3 include files in the right place. I did try to compile without those two variables set, and got the same errors as You get. Actually you don't need to call qmake yourself, as it is called from the Makefile. So the full command set to compile should be: Code:
cd ScramDisk-2.1 |
Quote:
|
Quote:
When I was trying over and over to re-write the Makefile and .pro file and then doing 'make', even though I'd *thought* I'd found everything I could possibly find to do with 'includes' *and* QTDIR's, it would always give the errors I was telling about *and* would rewrite itself back to the stock Makefile (that one *really* was getting me PO'd, lol). Anyway, it's now installed on my system and I'm going to wipe my spare hdd of any files and give this ScramDisk a try and see if it's working well enough and if it is, I'll try and figure out how to make all this into a Slackbuild for the community (and of course I'll more than likely be back here begging for help with *that too, heh). I'm very, very grateful for all your help, ml4711, and glad you had the patience to stick with me with all my idiocy. I also appreciate everyone else who helped. Thanks to all. JB |
Quote:
That little script - qt.sh would have set QTDIR and CPLUS_INCLUDE_PATH for You, so the only thing You had to do was an export of the PATH variable Just get it from slackbuilds.org, adjust the path in the script if needed and put it in place. The qt3.SlackBuild also creates links to the qt3 executables from /opt/bin so if you have these links, export PATH=/opt/bin:$PATH should also have worked! Very good it worked for You - have a nice Sunday Evening! |
1 Attachment(s)
Quote:
|
All times are GMT -5. The time now is 07:34 AM. |