General :: File Pk11func.h Not Found While Compiling ECryptfs On Slackware 13.1
Apr 26, 2011
I'm trying to install eCryptfs in my new Slackware system. ./configure runs pretty well, without errors, but when a try to run `make` i got this:
[...]
main.c:25:22: error: pk11func.h: No such file or directory
main.c: In function 'do_hash':
main.c:77: error: 'SECStatus' undeclared (first use in this function)
What's going wrong?, why the compiler can't find the header if it's installed? I don't have too much experience compiling package, and it's the first time i try to it in Slackware.
I've trying to compile conky 1.7.2 in slack 13 with lua-cairo and lua-imlib2 bindings, have lua 5.1.4 installed and also installed tolua++-1.0.93 from der site installed it through scons.. here's my config_linux.py
Code: ## This is the linux configuration file # This file was adapted to be used with ArchLinux # Use 'scons -h' to see the list of command line options available # Compiler flags (based on ArchLinux's installation of lua) #LINKFLAGS = ['-g'] CCFLAGS = ['-O2', '-ansi', '-Wall' ]
Right, I seem to get very random system crashes. My machine will stay up for long periods of time, or sometimes only a few mins, also it doesn't seem related to just using a particular program. As you can imagine this is leading to a bag of woes. After reading on a forum about logs I went to /var/log and in the system log found the following entry . . .
"Jan 10 18:46:10 jon-desktop kernel: [ 92.718896] Either the lower file is not in a valid eCryptfs format, or the key could not be retrieved. Plaintext passthrough mode is not enabled; returning -EIO"
This is repeated multiple times and having checked after a few crashes seems to be the central problem. Being specific about the crashes, they freeze the entire system. Can't ctl-alt-del and sound loops, have to hard reset. I have a feeling that when I first installed Ubuntu 9.10 I selected to use an encrypted file system but have a feeling that I didn't set it up correctly. Not sure exactly what I didn't do but I seem to remember it was to do with generating a passphrase. So . . .
1) What is this error from my logs? 2) Is it linked to me not setting up the encrypted filesystem correctly? 3) Is there a way to check the settings / sort them out properly? 4) Is there documentation for my dullard state which can aid me in this, or is it quite simple?
I've setup an ecryptfs folder which I can easily mount/umount as su.
Inspite of adding a `user' option in fstab I'm unable to mount the folder as normal user: mount secret
Code: Passphrase: Error attempting to evaluate mount options: [-22] Invalid argument Check your system logs for details on why this happened. Try updating your ecryptfs-utils package, and/or
I've gone through some online tutorial on how to create a MAKE file and actually I don't have a complete understanding of it specifically, linking the particular compiling program to a library and also creating a share/dynamic library.
Linux- openSuse 11.1 Am I trying to make a few modifications to 'Cheese.' When I run the ./configure command the only program that I am having a problem installing is libebook-1.2. The Yast function has found everything but libebook. I went out to find a RPM, got one from [URL] and [URL]. Every install I try has only led to errors. I have had multiple errors. Now when I download a file, it will not do an auto-install. I have also tried rpm -i package. no such luck there either.
I have an ecryptfs partition on a usb drive, system runs Debian squeezeWhat I'd like to have is that when I connect the drive it will be auto. mounted and I'lleither have to enter the passphrase or it will already be in the keyring (even better).It seems ecryptfs can auto-mount a directory but I want to auto-mount an entire encryptd partition. Is this possible?.Also, can I have another encrypted directory, say ~/Private, at the same time or can ecryptfs handle only one at a time?
i ve been trying to compile rtorrent from source and while configuring i run to this: Code: checking for OPENSSL. configure: error: Package requirements (openssl) were not met: No package 'openssl' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables OPENSSL_CFLAGS and OPENSSL_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. i tried to install openssl and than i came up to this:
Code: [kuba@Kuba-fedora uget-1.8.0]$ ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executable .....
Configure: error: Package requirements (libnotify) were not met: No package 'libnotify' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables LIBNOTIFY_CFLAGS and LIBNOTIFY_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. But I have the newest version of libnotify.
After compileing my kernel i get no sound. I tried : alsaconf - choose my sound card - everything is all right, but when i try alsamixer i get : No mixer elems found
when i wget aro2220.com it displays --2011-03-02 16:35:58-- url... 127.0.1.1 Connecting to aro2220.com|127.0.1.1|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 177 [text/html] Saving to: 'index.html' 100% 2011-03-02 16:35:58 (12.4 MB/s) - 'index.html' saved [177/177]
However, when I look into the file it is actually blank saying something like "It works! This is the default web page for this server" which can't be correct since that is not what Aro2220.com actually displays.
Furthermore, when I try to wget files I've put on the server for myself it returns a 404, file not found.
Pretty much self explanatory:This morning I went into the update manager, and found a bunch of RPM package-management stuff such as rpm, alien, compiling tools, etc. What is up with this?I suspect they are setting the scenery for some big press release saying they now support RPM packages in Ubuntu too. Any ideas? (or better, inside info from someone who knows)
I'm totally new to linux and a more experienced friend advised me to install slackware if I want to get the best possible understanding of how linux works. I've installed slackware but having logged in as root, when I type the command "startx" to load the GUI I get this error message:
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Oct 24 14:40:24 2010 (==) Using config file: "/etc/X11/xorg.conf" (EE) intel(0): Given depth (4) is not supported by I830 driver (EE) intel(1): [drm] failed to set drm interface version. (EE) intel(1): Failed to become DRM master.
I have a need to recompile mesa. The --enable-32-bit option falls over every header and basic 32 bit lib, and won't compile. But if I try to install 32 bit packages, I could slap a 32 bit binary straight on top of my 64 bit one. What's the accepted way of doing this? I can't seem to find a package in Slackware 13.0
i try to compile freej on slackware 13.1 the problem is with ffmpeg >= 0.6 i have this error
Quote:
In file included from /usr/include/libavutil/avutil.h:81, from /usr/include/ffmpeg/avcodec.h:30, from ../src/include/video_layer.h:22, from ../src/include/impl_layers.h:48,
I'm running 13.1 64bit with alienbob's multilib extension and want to add openmotif. I used Eric's Slackbuild from [URL] applying it to openmotif-2.3.3 and succeeded in compiling the 64bit-version.Next I tried to compile in 32bit-mode, following alienbob instructions:
move lib64 to lib in openmotif.Slackbuild export ARCH=x86_64 . /etc/profile.d/32dev.sh ./openmotif.Slackbuild
linking stops with error-message
Quote:
/usr/lib64/gcc/x86_64-slackware-linux/4.4.4/../../../../lib/crt1.o: In function `_start': /glibc-tmp-88b9835d8519e3638ef4d116a6932cb2/glibc-2.11.1/csu/../sysdeps/i386/elf/start.S:115: undefined reference to `main' collect2: ld returned 1 exit status
Specifically, where does /usr/lib64/gcc/ come from?
Having trouble compiling the regular par2cmdline-0.4, I stumbled upon [URL] modified version of par2cmdline-0.4 with tbb which allows for concurrent processing of files. I have tried compiling this with no luck on my system and was wondering if anyone has had any luck. The ./configure goes through fine, and tbb is detected and used however it craps out just moments after issuing the make command. I have tried both tbb 2.2 and 3.0, but to no avail.
Im trying to recompile glibc from a working slackware-current system using source from a slackware mirror. I'm doing it for testing purpose only. Never done that before, so i'm not sure if i'm doing it right. I get the following error:
Code:
make[2]: Entering directory `/glibc-tmp-a44be92860d34519b0c9a4500878e2e6/glibc-2.11.1/iconvdata' ../Makeconfig:85: ../i486/config.make: No such file or directory /bin/sh: line 0: cd: ../i486: No such file or directory The GNU C library has not been configured.
I'm trying to compile imlib against libpng 1.4. I am using the slack sources from slackware64 13.1, and a SlackBuild file modified with the extra configure parameter "--with-png=/usr/lib64/libpng.so.14"
The final crashing portion of my output is as follows:
I'm trying to build some boot and kernel images for my WD Mybook world edition, which uses an arm processor on my x86_64 host box. Ultimately i'd like to install slackarm. Lilo doesn't work on arm so you have to compile your own kernel and have the bootloader statically linked to kernel inorder to boot the OS. So i'm using my slackware install to cross compile the boot loaders (u-boot) and kernel image (uImage).
I've successfully compiled the buildroot environment which has generated the arm-linux-* binaries, eg, gcc 3.4.2 for arm.
Code:
These are in a build folder (shortened in text below), which i add to my PATH
Code:
I then move to the directory where i want to build the stage1 boot loader, which is supplied in the GPL code from WD.
Code:
However the build fails with a segfault, which looks to be caused by the incorrect libraries and compiler being used:
Code:
It seems to be using my x86_64 libs and gcc 4.4.4 which is the host compiler not the target.
I've tried setting ARCH=arm but got the same results.
Do i need to export some additional variables or unset some to prevent the host files being used instead of the targets?
I'm trying to install squidGuard-1.4, I have a minimal install. I have installed squid-3.2.0.5 without any problems, but squidGuard is driving me crazy
I can run the ./configure with no problems but when I run make, or make install I keep getting this error:
Code: make: *** [y.tab.c] Error 141 And that is is all, no more verbosity or anything else. Error suggests that YACC is missing but bison is present, also db4 (tried with db44 and db3, same story).
Just in case you can see anything I cannot I've attached the config.log
I'm doing a group project using some UML stuff. I tried install graphiz and it installed find but apparently it keeps telling me I'm missing dot when compiling the UML (tells me dot should be at /usr/bin/dot which it is, but it can't find it). I also tried a command "java -jar plantuml.jar -testdot" (which was suggested where the UML should have been) and the jar file couldn't be found.
I am in need of some more clear information about compiling and installing various applications in Slackware. I mean, i am not that new in Linux world, but i am not used to having to check for dependencies on my own and making Slackware packages myself. Things i would like to know more about and would be these:
a) is there some magical way you use to find out what dependencies a package has? I would appreciate as much information in this field as much as i can get. As now if i download source of some application i have completely no idea about what it needs from my system to function properly or where to look for this information. I think there should be more "correct way" than goggling for it...
b) I know about nice site SlackBuilds.org that it is, but lets say i want to install application A, and there is written, that application A requires application B, which requires application C, and this one needs application D. So now i have to spend good half of a day getting and compiling dependencies for one application, i mean common there has to be a quicker way to do this... at least some tool that would let me build some kind of ques that would be processed automatically or some kind of trick... So if you know some focuses under your sleeve, then please oh please do share
c) I would also like to know more about optimizing Slackware for boot time and general performance (but it's not that important, there are a lot of walls of text about this in Google world).
I haven't used slackware for many years. There used to be a sticky thread with a great kernel compiling guide for slackware. It feels somewhat unnatural to me to use slackware without a shiny new kernel. Does that guide still exist? I'm working from memory right now.
Installpkg will no longer work, complaining that the rev command is not found. The problem hit with the removal of util-linux-ng. I cp'd util-linux to ~/. Extracted with tar and executed the doinstall. Fixed.