http://mahogany.sourceforge.net/cgi-bin/show_bug.cgi?id=630





------- Additional Comments From [EMAIL PROTECTED]  2002-04-22 11:59 -------
I'm running with all GNU gcc:

bautsche@callisto > gcc -v
Reading specs from /client/bin/../lib/gcc-lib/i386-pc-solaris2.8/3.0.3/specs
Configured with: ../gcc-3.0.3/configure
--prefix=/sw/i386-pc-solaris2.8/gcc-3.0.3 --enable-shared --with-gnu-as
--with-as=/client/bin/as --enable-threads=solaris --enable-threads=posix
--with-gnu-ld --with-ld=/client/bin/ld
Thread model: posix
gcc version 3.0.3


I cannot get around setting CFLAGS.

BASECFLAGS does not appear to make a difference either:
gcc -g -O2 -I/usr/include/openssl -DNO_IDEA -DNO_DSA `cat OSCFLAGS` -c osdep.c
In file included from auths.c:2,
                 from env_unix.c:116,
                 from osdep.c:51:
auth_ssl.c:22:18: x509.h: No such file or directory
auth_ssl.c:23:17: ssl.h: No such file or directory
auth_ssl.c:24:17: err.h: No such file or directory
auth_ssl.c:25:17: pem.h: No such file or directory
auth_ssl.c:26:20: buffer.h: No such file or directory
auth_ssl.c:27:17: bio.h: No such file or directory
auth_ssl.c:28:20: crypto.h: No such file or directory
auth_ssl.c:29:18: rand.h: No such file or directory
In file included from auths.c:2,
                 from env_unix.c:116,
                 from osdep.c:51:
auth_ssl.c:43: parse error before "SSL_CTX"
[...]

However with the modifications I described earlier, now that I have re-comiled
openssl with the "shared" option, i.e. edit configure and change three
occurrences of ssl directory search. list /client/[lib|include] as the first
option. edit extra/src/c-client/Makefile.ssl to correct to:
SSLDIR=/client
SSLCERTS=$(SSLDIR)/openssl/certs
SSLINCLUDE=$(SSLDIR)/include
SSLLIB=$(SSLDIR)/lib

I can now compile Mahogany no problem.

This is obviously a very bad hack, as it only fixes my personal problem but
is no general fix.

I'm afraid my programming skills are limited and I shall have to leave a proper
solution to you.... :-(




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
Mahogany-Developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-developers

Reply via email to