Building on OS X

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey guys,

Has anyone successfully built Cyrus SASL on OS X? I've been trying to build v2.1.25 for a few hours now, but I'm stuck with this "-install_name only allowed with -dynamiclib" error. Any ideas?

make
make  all-recursive
Making all in include
/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -DOBSOLETE_CRAM_ATTR=1 -Wall -W -O3 -march=core2 -w -pipe -c makemd5.c /bin/sh ../libtool --mode=link /usr/bin/gcc-4.2 -Wall -W -O3 -march=core2 -w -pipe -o makemd5 makemd5.o -lresolv -lresolv
mkdir .libs
/usr/bin/gcc-4.2 -Wall -W -O3 -march=core2 -w -pipe -o makemd5 makemd5.o -lresolv -lresolv
rm -f md5global.h
./makemd5 md5global.h
Making all in sasldb
/bin/sh ../libtool --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -O3 -march=core2 -w -pipe -c -o allockey.lo allockey.c /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -O3 -march=core2 -w -pipe -c -o db_ndbm.lo db_ndbm.c /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -O3 -march=core2 -w -pipe -c db_ndbm.c /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -O3 -march=core2 -w -pipe -c allockey.c /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -O3 -march=core2 -w -pipe -c db_ndbm.c -fno-common -DPIC -o db_ndbm.lo /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -O3 -march=core2 -w -pipe -c allockey.c -fno-common -DPIC -o allockey.lo /bin/sh ../libtool --mode=link /usr/bin/gcc-4.2 -Wall -W -O3 -march=core2 -w -pipe -o libsasldb.la allockey.lo db_ndbm.lo -lresolv -lresolv
mkdir .libs
ar cru .libs/libsasldb.al allockey.lo db_ndbm.lo
ranlib .libs/libsasldb.al
creating libsasldb.la
(cd .libs && rm -f libsasldb.la && ln -s ../libsasldb.la libsasldb.la)
ar cru .libs/libsasldb.a db_ndbm.o allockey.o
Making all in plugins
/bin/sh ../libtool --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -O3 -march=core2 -w -pipe -c -o sasldb.lo sasldb.c /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -O3 -march=core2 -w -pipe -c -o sasldb_init.lo sasldb_init.c /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -O3 -march=core2 -w -pipe -c -o plugin_common.lo plugin_common.c /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -O3 -march=core2 -w -pipe -c -o cram.lo cram.c /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -O3 -march=core2 -w -pipe -c -o crammd5_init.lo crammd5_init.c /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -O3 -march=core2 -w -pipe -c -o digestmd5.lo digestmd5.c /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -O3 -march=core2 -w -pipe -c -o digestmd5_init.lo digestmd5_init.c /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -O3 -march=core2 -w -pipe -c -o scram.lo scram.c /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -O3 -march=core2 -w -pipe -c crammd5_init.c -fno-common -DPIC -o crammd5_init.lo /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -O3 -march=core2 -w -pipe -c digestmd5_init.c -fno-common -DPIC -o digestmd5_init.lo /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -O3 -march=core2 -w -pipe -c sasldb_init.c -fno-common -DPIC -o sasldb_init.lo /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -O3 -march=core2 -w -pipe -c digestmd5.c -fno-common -DPIC -o digestmd5.lo /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -O3 -march=core2 -w -pipe -c cram.c -fno-common -DPIC -o cram.lo /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -O3 -march=core2 -w -pipe -c plugin_common.c -fno-common -DPIC -o plugin_common.lo /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -O3 -march=core2 -w -pipe -c sasldb.c -fno-common -DPIC -o sasldb.lo /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -O3 -march=core2 -w -pipe -c scram.c -fno-common -DPIC -o scram.lo /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -O3 -march=core2 -w -pipe -c -o scram_init.lo scram_init.c /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -O3 -march=core2 -w -pipe -c -o otp.lo otp.c /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -O3 -march=core2 -w -pipe -c -o otp_init.lo otp_init.c /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -O3 -march=core2 -w -pipe -c -o gssapi.lo gssapi.c /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -O3 -march=core2 -w -pipe -c scram_init.c -fno-common -DPIC -o scram_init.lo /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -O3 -march=core2 -w -pipe -c otp.c -fno-common -DPIC -o otp.lo /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -O3 -march=core2 -w -pipe -c otp_init.c -fno-common -DPIC -o otp_init.lo /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -O3 -march=core2 -w -pipe -c -o gssapiv2_init.lo gssapiv2_init.c /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -O3 -march=core2 -w -pipe -c -o plain.lo plain.c /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -O3 -march=core2 -w -pipe -c -o plain_init.lo plain_init.c /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -O3 -march=core2 -w -pipe -c gssapi.c -fno-common -DPIC -o gssapi.lo /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -O3 -march=core2 -w -pipe -c -o anonymous.lo anonymous.c /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -O3 -march=core2 -w -pipe -c gssapiv2_init.c -fno-common -DPIC -o gssapiv2_init.lo /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -O3 -march=core2 -w -pipe -c plain.c -fno-common -DPIC -o plain.lo /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -O3 -march=core2 -w -pipe -c plain_init.c -fno-common -DPIC -o plain_init.lo /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -O3 -march=core2 -w -pipe -c -o anonymous_init.lo anonymous_init.c /bin/sh ../libtool --mode=link /usr/bin/gcc-4.2 -Wall -W -O3 -march=core2 -w -pipe -module -export-dynamic -rpath /usr/lib/sasl2 -version-info 2:25:0 -o libsasldb.la sasldb.lo sasldb_init.lo plugin_common.lo ../sasldb/libsasldb.la -lresolv -lresolv /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -O3 -march=core2 -w -pipe -c anonymous.c -fno-common -DPIC -o anonymous.lo /bin/sh ../libtool --mode=link /usr/bin/gcc-4.2 -Wall -W -O3 -march=core2 -w -pipe -module -export-dynamic -rpath /usr/lib/sasl2 -version-info 2:25:0 -o libcrammd5.la cram.lo crammd5_init.lo plugin_common.lo -lresolv -lresolv
mkdir .libs
/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -DOBSOLETE_CRAM_ATTR=1 -Wall -W -O3 -march=core2 -w -pipe -c anonymous_init.c -fno-common -DPIC -o anonymous_init.lo /bin/sh ../libtool --mode=link /usr/bin/gcc-4.2 -Wall -W -O3 -march=core2 -w -pipe -module -export-dynamic -rpath /usr/lib/sasl2 -version-info 2:25:0 -o libplain.la plain.lo plain_init.lo plugin_common.lo -lresolv -lresolv /bin/sh ../libtool --mode=link /usr/bin/gcc-4.2 -Wall -W -O3 -march=core2 -w -pipe -module -export-dynamic -rpath /usr/lib/sasl2 -version-info 2:25:0 -o libanonymous.la anonymous.lo anonymous_init.lo plugin_common.lo -lresolv -lresolv
rm -fr .libs/libcrammd5.la .libs/libcrammd5.* .libs/libcrammd5.*
rm -fr .libs/libplain.la .libs/libplain.* .libs/libplain.*
rm -fr .libs/libanonymous.la .libs/libanonymous.* .libs/libanonymous.*
(cd . && ln -s sasldb.lo sasldb.o)
(cd . && ln -s sasldb_init.lo sasldb_init.o)
(cd . && ln -s cram.lo cram.o)
(cd . && ln -s plugin_common.lo plugin_common.o)
../libtool: line 2449: test: too many arguments
/usr/bin/gcc-4.2 -bundle -undefined error -o .libs/libsasldb.2.0.25.so sasldb.lo sasldb_init.lo plugin_common.lo -all_load ../sasldb/.libs/libsasldb.al -lresolv -lresolv -lresolv -lresolv -lc -install_name /usr/lib/sasl2/libsasldb.2.so
i686-apple-darwin10-gcc-4.2.1: -install_name only allowed with -dynamiclib
make[2]: *** [libsasldb.la] Error 1
make[2]: *** Waiting for unfinished jobs....
(cd . && ln -s crammd5_init.lo crammd5_init.o)
(cd . && ln -s plain.lo plain.o)
../libtool: line 2449: test: too many arguments
/usr/bin/gcc-4.2 -bundle -undefined error -o .libs/libcrammd5.2.0.25.so cram.lo crammd5_init.lo plugin_common.lo -lresolv -lresolv -lc -install_name /usr/lib/sasl2/libcrammd5.2.so
i686-apple-darwin10-gcc-4.2.1: -install_name only allowed with -dynamiclib
make[2]: *** [libcrammd5.la] Error 1
(cd . && ln -s plain_init.lo plain_init.o)
(cd . && ln -s anonymous.lo anonymous.o)
../libtool: line 2449: test: too many arguments
/usr/bin/gcc-4.2 -bundle -undefined error -o .libs/libplain.2.0.25.so plain.lo plain_init.lo plugin_common.lo -lresolv -lresolv -lc -install_name /usr/lib/sasl2/libplain.2.so
i686-apple-darwin10-gcc-4.2.1: -install_name only allowed with -dynamiclib
make[2]: *** [libplain.la] Error 1
(cd . && ln -s anonymous_init.lo anonymous_init.o)
../libtool: line 2449: test: too many arguments
/usr/bin/gcc-4.2 -bundle -undefined error -o .libs/libanonymous.2.0.25.so anonymous.lo anonymous_init.lo plugin_common.lo -lresolv -lresolv -lc -install_name /usr/lib/sasl2/libanonymous.2.so
i686-apple-darwin10-gcc-4.2.1: -install_name only allowed with -dynamiclib
make[2]: *** [libanonymous.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Error: #<BuildError: Failed executing: make >
/usr/local/Library/Homebrew/formula.rb:523:in `system'
/usr/local/Library/Formula/cyrus-sasl.rb:12:in `install'
/usr/local/Library/Homebrew/build.rb:74:in `install'
/usr/local/Library/Homebrew/formula.rb:265:in `brew'
/usr/local/Library/Homebrew/formula.rb:592:in `stage'
/usr/local/Library/Homebrew/formula.rb:543:in `mktemp'
/usr/local/Library/Homebrew/formula.rb:590:in `stage'
/usr/local/Library/Homebrew/formula.rb:260:in `brew'
/usr/local/Library/Homebrew/build.rb:53:in `install'
/usr/local/Library/Homebrew/build.rb:27
/usr/local/Library/Formula/cyrus-sasl.rb:15


[Index of Archives]     [Info Cyrus]     [Squirrel Mail]     [Linux Media]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux