LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   File pk11func.h not found while compiling eCryptfs on Slackware 13.1 (https://www.linuxquestions.org/questions/linux-newbie-8/file-pk11func-h-not-found-while-compiling-ecryptfs-on-slackware-13-1-a-877257/)

emirhg 04-26-2011 05:15 PM

File pk11func.h not found while compiling eCryptfs on Slackware 13.1
 
Hello forum, i've been using Linux for a while but i recently move to Slackware, and i've been facing a lot of dificulties while working with it.

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)
main.c:77: error: (Each undeclared identifier is reported only once
main.c:77: error: for each function it appears in.)
main.c:77: error: expected ';' before 'err'
main.c:80: error: 'err' undeclared (first use in this function)
main.c:82: error: 'SECFailure' undeclared (first use in this function)
main.c: In function 'generate_passphrase_sig':
main.c:217: error: 'SEC_OID_SHA512' undeclared (first use in this function)
make[3]: *** [libecryptfs_la-main.lo] Error 1
make[3]: Leaving directory `/root/Tools/ecryptfs-utils-87/src/libecryptfs'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/Tools/ecryptfs-utils-87/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/Tools/ecryptfs-utils-87'
make: *** [all] Error 2


But i do have 3 copies of pk11func.h under:

/usr/include/seamonkey-2.0.4/pk11func.h
/usr/include/seamonkey-2.0.4/nss/pk11func.h
/usr/include/nss/pk11func.h

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.

Tinkster 04-26-2011 05:23 PM

Hi, welcome to LQ!


Chances are that the person who wrote eCryptfs has another idea
of where the include should live (lives on his/her development box).

Check main, and see what the include line for pk11func.h looks
like. Modify according to your needs ;}



Cheers,
Tink (may the source be with you!)


All times are GMT -5. The time now is 07:09 AM.