gnutls-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnutls-dev] gnutls-1.0.1 build errors


From: Dimitri Papadopoulos-Orfanos
Subject: [gnutls-dev] gnutls-1.0.1 build errors
Date: Mon, 15 Dec 2003 12:19:49 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007

Hi,

I'm attempting to build gnutls-1.0.1 on Solaris.


I already have libgcrypt-1.1.90 and opencdk-0.5.3 installed:

$ libgcrypt-config --cflags
-I/usr/local/libgcrypt-1.1.90/include -I/usr/local/libgpg-error-0.5/include
$
$ opencdk-config --cflags
-I/usr/local/libgcrypt-1.1.90/include -I/usr/local/libgpg-error-0.5/include -I/usr/local/opencdk-0.5.3/include
$


The configure script still doesn't insert all necessary compiler flags into a Makefile. Specifically the opencdk inclusion path is missing from src/Makefile:

$ ./configure --prefix=/usr/local/gnutls-1.0.1 \
        --with-libgcrypt-prefix=/usr/local/libgcrypt-1.1.90 \
        --with-libopencdk-prefix=/usr/local/opencdk-0.5.3
[...]
$ gmake
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../libtasn1/lib -I../includes -O -I/usr/local/libgcrypt-1.1.90/include -I/usr/local/libgpg-error-0.5/include -c `test -f 'serv.c' || echo './'`serv.c
"serv.c", line 41: cannot find include file: <opencdk.h>
[...]
cc: acomp failed for serv.c
gmake[3]: *** [serv.o] Error 2
gmake[3]: Leaving directory `/tmp/gnutls-1.0.1/src'
[...]
$


This issue was worked around by inserting manually into the Makefile:
        -I/usr/local/opencdk-0.5.3/include


Then there were the ususal signed/unsigned warnings, see attached build log file.

Regards,
--
Dimitri

Attachment: gnutls-1.0.1.log.gz
Description: GNU Zip compressed data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]