Stefan-Michael Guenther wrote:
Hi,
>>
>> checking for --with-nss...
>> configure: error: /usr/src/mozilla/dist/public/nss not found
> Because /usr/src/mozilla/dist/public/nss/nss.h is not found.
>> Thanks for any hints or suggestions,
>>
okay, what might cause configure not find a file that is available in
that directory:
ls /usr/src/mozilla/dist/public/nss/nss.h -l
lrwxrwxrwx 1 root src 35 2010-07-12 12:31
/usr/src/mozilla/dist/public/nss/nss.h ->
../../../security/nss/lib/nss/nss.h
That is a symlink - does it point to a real
file?
none of the following options work:
--with-nss=/usr/src/mozilla/dist/public/nss/nss.h
the with options usually take a
directory name, not a file name
--with-nss=/usr/src/mozilla/dist/public/nss/
--with-nss is the
directory containing both the lib and include directories.
--with-nss=/usr/src/mozilla/security/nss/lib/nss.h
--with-nss=/usr/src/mozilla/security/nss/lib/
I think you mean
--with-nss-inc=/path/to/directory/containing/nss *.h files
--with-nss-lib=/path/to/directory/containing/nss *.so files
Can you paste your config.status?
Stefan