Hi all,

I'm running Snow Leopard and want to install GHC. Since the ghc port is not
available for 10.6 yet, I'm trying to install GHC as described here:

http://www.haskell.org/haskellwiki/Mac_OS_X

This page links to another:

http://passingcuriosity.com/2009/haskell-on-snow-leopard/

which suggests (re)installing all ports with +universal. So I did:

sudo port selfupdate
sudo port sync
sudo port upgrade --force installed

which went fine until port tried to upgrade cyrus-sasl2. Running with the -d
option gives the following error:

======================================================================

[lots of build output snipped]

Making all in utils
/bin/sh ../libtool --mode=link /usr/bin/gcc-4.2  -Wall -W -O2 -arch i386  
-L/opt/local/lib -Wl,-rpath,/opt/local/lib -L/opt/local/lib -arch i386 -o 
dbconverter-2  dbconverter-2.o ../sasldb/libsasldb.la ../lib/libsasl2.la   
-lresolv -lresolv  
/bin/sh ../libtool --mode=link /usr/bin/gcc-4.2  -Wall -W -O2 -arch i386  
-L/opt/local/lib -Wl,-rpath,/opt/local/lib -L/opt/local/lib -arch i386 -o 
saslpasswd2  saslpasswd.o ../sasldb/libsasldb.la ../lib/libsasl2.la   -lresolv 
-lresolv  
/usr/bin/gcc-4.2 -Wall -W -O2 -arch i386 -L/opt/local/lib 
-Wl,-rpath,/opt/local/lib -L/opt/local/lib -arch i386 -o .libs/dbconverter-2 
dbconverter-2.o ../sasldb/.libs/libsasldb.al -lresolv -lresolv -L../lib/.libs 
-lsasl2 -ldl -lresolv -lresolv -lresolv -lresolv
/usr/bin/gcc-4.2 -Wall -W -O2 -arch i386 -L/opt/local/lib 
-Wl,-rpath,/opt/local/lib -L/opt/local/lib -arch i386 -o .libs/saslpasswd2 
saslpasswd.o ../sasldb/.libs/libsasldb.al -lresolv -lresolv -L../lib/.libs 
-lsasl2 -ldl -lresolv -lresolv -lresolv -lresolv
ld: warning: in /opt/local/lib/libsasl2.dylib, file is not of required 
architecture
Undefined symbols:
  "_prop_set", referenced from:
      _main in saslpasswd.o
      _main in saslpasswd.o
      _main in saslpasswd.o
  "_prop_dispose", referenced from:
      _main in saslpasswd.o
  "_sasl_errstring", referenced from:
      _exit_sasl in saslpasswd.o
  "_prop_request", ld:referenced from:
      _main in saslpasswd.o
  "_sasl_dispose", referenced from:
      _main in saslpasswd.o
  "_sasl_done", referenced from:
      _main in saslpasswd.o
  "_sasl_server_init", referenced from:
      _main in saslpasswd.o
  "_prop_new", referenced from:
      _main in saslpasswd.o
  "_sasl_setpass", referenced from:
      _main in saslpasswd.o
  "_sasl_auxprop_store", referenced from:
      _main in saslpasswd.o
  "_sasl_server_new", referenced from:
      _main in saslpasswd.o
  "_sasl_version", referenced from:
      _main in saslpasswd.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
 warning: in /opt/local/lib/libsasl2.dylib, file is not of required architecture
Undefined symbols:
  "_sasl_global_utils", referenced from:
      _sasl_global_utils$non_lazy_ptr in dbconverter-2.o
  "_sasl_dispose", referenced from:
      _main in dbconverter-2.o
  "_sasl_done", referenced from:
      _main in dbconverter-2.o
  "_sasl_server_init", referenced from:
      _main in dbconverter-2.o
  "_sasl_server_new", referenced from:
      _main in dbconverter-2.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [saslpasswd2] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [dbconverter-2] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Error: Target org.macports.build returned: shell command " cd 
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_cyrus-sasl2/work/cyrus-sasl-2.1.23-i386"
 && /usr/bin/make -j2 all " returned error 2
DEBUG: Backtrace: shell command " cd 
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_cyrus-sasl2/work/cyrus-sasl-2.1.23-i386"
 && /usr/bin/make -j2 all " returned error 2
    while executing
"$procedure $targetname"
Warning: the following items did not execute (for cyrus-sasl2): 
org.macports.destroot org.macports.build
DEBUG: wrong # args: should be "md5 action ?file?"
    while executing
"md5 $fname"
Error: Unable to upgrade port: 1
To report a bug, see <http://guide.macports.org/#project.tickets>

======================================================================

The bug tracker lists bugs referring to issues with cyrus-sasl2+universal, but
the last comment says that these should be fixed now. But I did an upgrade and
sync before rebuilding all ports, so perhaps this hasn't been properly fixed
yet? Or am I missing something? Does this require a new bug report?

Thanks,

Joost



-- 
Joost Kremers, PhD
University of Göttingen
Institute for German Philology
Käte-Hamburger-Weg 3
37073 Göttingen, Germany
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to