[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kopete-devel
Subject:    Re: [kopete-devel] protocols/gadu/libgadu & solaris
From:       Thiago Macieira <thiago () macieira ! info>
Date:       2004-06-18 21:20:41
Message-ID: 200406181820.42283.thiago () macieira ! info
[Download RAW message or body]

[Attachment #2 (multipart/signed)]

[Attachment #4 (multipart/mixed)]


[readding the list]

Daniel Franke wrote:
>kopete/protocols/gadu/libgadu/  compiles (if stdint.h is not included)
>
>BUT
>
>kopete/protocols/gadu/ does not, therefore I sent you those Makefiles
> ...

A-ha! That's the problem.

libgadu correctly adds its OpenSSL's include dir to the include path, 
but gadu itself does not.

Another look at the error message shows:

>In file included from gaducommands.h:30,
>                 from gaducommands.cpp:27,
>                 from kopete_gadu_la.all_cpp.cpp:2:
>./libgadu/libgadu.h:41:25: openssl/ssl.h: No such file or directory

A file in protocols/gadu includes a file from protocols/gadu/libgadu, 
which in turn includes SSL headers.

I believe the attached patch to solve the problem. Can you test?
-- 
  Thiago Macieira  -  Registered Linux user #65028
   thiago (AT) macieira (DOT) info
    ICQ UIN: 1967141   PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

["diff" (text/x-diff)]

Index: ../../../kdenetwork/kopete/protocols/gadu/Makefile.am
===================================================================
RCS file: /home/kde/kdenetwork/kopete/protocols/gadu/Makefile.am,v
retrieving revision 1.28
diff -u -3 -p -r1.28 Makefile.am
--- ../../../kdenetwork/kopete/protocols/gadu/Makefile.am	1 Jun 2004 09:50:10 -0000	1.28
+++ ../../../kdenetwork/kopete/protocols/gadu/Makefile.am	18 Jun 2004 21:20:14 -0000
@@ -1,7 +1,7 @@
 METASOURCES = AUTO
 if include_libggcopy
 LIBGADU_COPY=libgadu
-GG_INCLUDES=-I$(srcdir)/libgadu
+GG_INCLUDES=-I$(srcdir)/libgadu $(SSL_INCLUDES)
 GG_LIBS=$(top_builddir)/kopete/protocols/gadu/libgadu/libgadu_copy.la \
 	   $(LIBPTHREAD)
 else

[Attachment #8 (application/pgp-signature)]

_______________________________________________
kopete-devel mailing list
kopete-devel@kde.org
https://mail.kde.org/mailman/listinfo/kopete-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic