Leo Zhadanovsky wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I am trying to compile Courier IMAP 4.1.1 on Solaris 9 using Sun Studio Pro.
>
> Here is my build environment:
>
> PATH="/opt/SUNWspro/bin:${PATH}" \
> CC="cc" CXX="CC" CPPFLAGS="-I/usr/local/include -I/usr/local/ssl/include \
> - -I/usr/local/lib/courier-authlib/include" \
> LD="/usr/ccs/bin/ld" \
> LDFLAGS="-L/usr/local/ssl/lib -L/usr/local/lib -R/usr/local/ssl/lib \
> - -R/usr/local/lib -L/usr/local/lib/courier-authlib/lib/courier-authlib/ \
> - -R/usr/local/lib/courier-authlib/lib/courier-authlib/" \
> export PATH CC CXX CPPFLAGS LD LDFLAGS CFLAGS CXXFLAGS
> COURIERAUTHCONFIG="/usr/local/lib/courier-authlib/bin/courierauthconfig" \
> ./configure --localstatedir=/var/run \
> - --without-authdaemon --with-db=gdbm --without-ipv6 \
> - --prefix=/usr/local/lib/courier-imap \
> - --enable-workarounds-for-imap-client-bugs \
> - --with-waitfunc=wait3 # Work around for broken wait in Solaris
>
> gmake -n
>
> And here is where it dies:
>
> cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include
> - -I/usr/local/ssl/include -I/usr/local/lib/courier-authlib/include -g
> - -I./.. -I.. -c rfc1035bindsource.c
> source='spf.c' object='spf.o' libtool=no \
> DEPDIR=.deps depmode=none /bin/bash ./../depcomp \
> cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include
> - -I/usr/local/ssl/include -I/usr/local/lib/courier-authlib/include -g
> - -I./.. -I.. -c spf.c
> rm -f librfc1035.a
> ar cru librfc1035.a rfc1035.o rfc1035_res.o rfc1035an.o rfc1035dump.o
> rfc1035dumprrdata.o rfc1035fmttime.o rfc1035gettxt.o rfc1035ifconf.o
> rfc1035ipv6to4.o rfc1035mkaddress.o rfc1035mksocket.o rfc1035mxlist.o
> rfc1035qa.o rfc1035qptr.o rfc1035reply.o rfc1035resolve.o
> rfc1035sameip.o rfc1035search.o rfc1035sockaddrip.o
> rfc1035sockaddrport.o rfc1035str.o rfc1035tcp.o rfc1035udp.o
> rfc1035bindsource.o spf.o
> ranlib librfc1035.a
> source='testlookup.c' object='testlookup.o' libtool=no \
> DEPDIR=.deps depmode=none /bin/bash ./../depcomp \
> cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include
> - -I/usr/local/ssl/include -I/usr/local/lib/courier-authlib/include -g
> - -I./.. -I.. -c testlookup.c
> gmake[3]: *** No rule to make target `../md5/libmd5.la', needed by
> `testlookup'. Stop.
> gmake[3]: Leaving directory
> `/usr/local/src/rpm-packages/BUILD/courier-imap-4.1.1/rfc1035'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory
> `/usr/local/src/rpm-packages/BUILD/courier-imap-4.1.1/rfc1035'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory
> `/usr/local/src/rpm-packages/BUILD/courier-imap-4.1.1'
> gmake: *** [all] Error 2
> error: Bad exit status from /var/local/tmp/rpm-tmp.21116 (%build)
>
> How do I go about fixing this?
>
I've not used Solaris before (never found a good reason to) but I do
recall that you might need to be using gcc instead of Sun's broken
excuse for a C compiler... Cheers,
Jay
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap