Hi there, I am really busy these days, so I had no time to report this. Building the Developer Snapshots I've found:
checking for openssl/opensslv.h... no configure: error: We require OpenSSL; try --with-openssl dmake: Error code 1, while making './unxlngi6.pro/misc/build/so_configured_so_serf' Temporal solution: a) add openssl as a dependency in serf/prj/build.lst b) add -I$(SOLARINCDIR)$/external to the CONFIGURE_FLAGS in the makefile The patch is attached, I don't commit it because I didn't have the time to test with system's openssl (and I wonder how it does not break on Mac too. On my Fedora it does not break because I happen to have the system headers in place). Regards -- Ariel Constenla-Haile La Plata, Argentina
diff --git a/serf/makefile.mk b/serf/makefile.mk index 4d78b6e..2693c1e 100644 --- a/serf/makefile.mk +++ b/serf/makefile.mk @@ -67,8 +67,17 @@ PATCH_FILES+=$(TARFILE_NAME).ldl.patch CONFIGURE_DIR= CONFIGURE_ACTION=autoconf && .$/configure -.IF "$(OS)"=="MACOSX" -# On Mac we need the content of CDEFS in CFLAGS so that the ssl headers are searched for + +.IF "$(OS)"=="MACOSX" || "$(OS)"=="LINUX" +.IF "$(OS)"=="LINUX" +.IF "$(SYSTEM_OPENSSL)"=="YES" +CDEFS+=$(OPENSSL_CFLAGS) +.ELSE +OPENSSLINCDIR=external +CDEFS+=-I$(SOLARINCDIR)$/$(OPENSSLINCDIR) +.ENDIF +.ENDIF +# On Linux/Mac we need the content of CDEFS in CFLAGS so that the ssl headers are searched for # in a directory that corresponds to the directory that is searched for the ssl library. CONFIGURE_FLAGS='CFLAGS=$(CDEFS)' .ENDIF diff --git a/serf/prj/build.lst b/serf/prj/build.lst index fb2792c..5b7524a 100644 --- a/serf/prj/build.lst +++ b/serf/prj/build.lst @@ -1,3 +1,3 @@ -serf serf : apr-util NULL +serf serf : apr-util OPENSSL:openssl NULL serf serf usr1 - all serf_mkout NULL serf serf nmake - all serf_serf NULL
pgp2HjReBTrrd.pgp
Description: PGP signature
