Hi,

I don't know for what you need sope, maybe for sogo?
I just updated sope in cvs to 1.3.4, and imported www/sogo.

However, the problem will probably persist with the new version, since
in the configure script, nothing changed. And it works for me on i386,
but I see you are on amd64, which I don't have unfortunately.

However, you should update the ports tree to have sope-1.3.4, and retry.
If it doesn't help, you should apply appended patch, and run make clean
&& make configure again.
If that still doesn't help, then take a look at
/usr/ports/pobj/SOPE-1.3.4/SOPE-1.3.4 there should be a temporary
directory in it.
change into that directory
source GNUstep.sh like this:
. /usr/local/share/GNUstep/Makefiles/GNUstep.sh
and run gmake messages=yes
Then you should produce some output/error message, which I am interested in.

Btw, next time ask a port related question on ports@


cheers,
Sebastian


Hugo Osvaldo Barrera wrote:
> I'm trying to build SOPE from ports, but keep getting a message I really
> don't understand:
>
> "failed to link required library: ssl"
>
> All dependencies seem to build fine.
> I'm running OpenBSD 4.8-current (upgraded yesterday from snapshots) on
> amd64.
> Ports tree is up to date.
> The full message I get is:
>
>
> # make clean && make
> ===>  Cleaning for sope-1.3.3
> ===>  sope-1.3.3 depends on: gnustep-make-* - found
> ===>  sope-1.3.3 depends on: gmake-* - found
> ===>  sope-1.3.3 depends on: libiconv-* - found
> ===>  sope-1.3.3 depends on: gnustep-base-* - found
> ===>  sope-1.3.3 depends on: openldap-client-* - found
> ===>  sope-1.3.3 depends on: mysql-client-* - found
> ===>  sope-1.3.3 depends on: postgresql-client-* - found
> ===>  Verifying specs: m iconv>=2 objc gnustep-base m iconv>=2 objc
> gnustep-base c pthread crypto ssl z lber ldap xml2 objc gnustep-base m
> GDLAccess EOControl  mysqlclient crypto ssl z objc gnustep-base m
> GDLAccess EOControl pq
> ===>  found m.5.2 iconv.6.0 objc.5.0 gnustep-base.3.1 c.58.0
> pthread.13.1 crypto.19.0 ssl.16.0 z.4.1 lber.9.1 ldap.9.1 xml2.11.0
> GDLAccess.0.0 EOControl.0.0 mysqlclient.20.0 pq.5.3
> ===>  Checking files for SOPE-1.3.3
> `/usr/ports/distfiles/SOPE-1.3.3.tar.gz' is up to date.
>   
>>> (SHA256) SOPE-1.3.3.tar.gz: OK
>>>       
> ===>  Extracting for SOPE-1.3.3
> # those fhs.make files are not needed and may cause harm if they exist
> ===>  Patching for SOPE-1.3.3
> ===>  Configuring for SOPE-1.3.3
> GNUstep environment:
>   system: /usr/local/System
>   local:  /usr/local/Local
>   user:   /SOPE-1.3.3_writes_to_HOME/GNUstep
>   path:  
> /usr/local/System:/usr/local/Network:/usr/local/Local:/SOPE-1.3.3_writes_to_HOME/GNUstep
>   flat:   yes
>   arch:   x86_64-unknown-openbsd4.8
>   combo:  gnu-gnu-gnu
>
> Configuration:
>   FHS:    install in FHS root
>   debug:  yes
>   strip:  yes
>   prefix:     /usr/local
>   frameworks:
>   gstep:      /usr/local/share/GNUstep/Makefiles
>   config:     /usr/ports/pobj/SOPE-1.3.3/SOPE-1.3.3/config.make
>   script:     /usr/local/share/GNUstep/Makefiles/GNUstep.sh
>
> creating: /usr/ports/pobj/SOPE-1.3.3/SOPE-1.3.3/config.make
> optional library found: xml2
> optional library found: ldap
> failed to link required library: ssl
> *** Error code 1
>
> Stop in /usr/ports/www/sope (line 2427 of
> /usr/ports/infrastructure/mk/bsd.port.mk).
> *** Error code 1
>
> Stop in /usr/ports/www/sope (line 2225 of
> /usr/ports/infrastructure/mk/bsd.port.mk).
> #
? sope-crypto.fix
Index: patches/patch-configure
===================================================================
RCS file: /cvs/ports/www/sope/patches/patch-configure,v
retrieving revision 1.2
diff -u -r1.2 patch-configure
--- patches/patch-configure     25 Oct 2010 09:59:02 -0000      1.2
+++ patches/patch-configure     24 Nov 2010 18:55:56 -0000
@@ -5,8 +5,8 @@
 remove unused ssl check that generates a make variable with whitespace in
 its name
 
---- configure.orig     Thu Aug 19 17:13:13 2010
-+++ configure  Sun Oct 24 19:22:44 2010
+--- configure.orig     Tue Nov  2 15:12:12 2010
++++ configure  Wed Nov 24 19:47:41 2010
 @@ -1,4 +1,4 @@
 -#!/bin/bash
 +#!/bin/sh
@@ -33,6 +33,15 @@
      cfgwrite "SOPE_DBADAPTORS=\${SOPE_LIBDIR}/dbadaptors"
      cfgwrite "SOPE_PRODUCTS=\${SOPE_LIBDIR}/products"
      cfgwrite "SOPE_SAXDRIVERS=\${SOPE_LIBDIR}/saxdrivers"
+@@ -435,7 +436,7 @@ checkLinking() {
+   echo >>$tmpmake "CTOOL_NAME           := linktest"
+   echo >>$tmpmake "linktest_C_FILES := dummytool.c"
+   echo >>$tmpmake "ifeq (\$(findstring openbsd, \$(GNUSTEP_HOST_OS)), 
openbsd)"
+-  echo >>$tmpmake "linktest_TOOL_LIBS  += $LIBS -liconv"
++  echo >>$tmpmake "linktest_TOOL_LIBS  += $LIBS -liconv -lcrypto"
+   echo >>$tmpmake "else"
+   echo >>$tmpmake "linktest_TOOL_LIBS  += $LIBS"
+   echo >>$tmpmake "endif"
 @@ -469,11 +470,7 @@ checkDependencies() {
    cfgwrite "# library dependencies"
    checkLinking "xml2"        optional;

Reply via email to