-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I just realized that the error is because I was using gmake -n. However,
I had another build error before that because it couldn't find libgdbm,
which I will report further on as soon as it happens again. Sorry for
the confusion.

Leo Zhadanovsky wrote:
> The compiler that comes with Sun Studio Pro 11 is quite nice and I have
> not had many problems compiling all sorts of programs on it.
> 
> I maintain the Solaris 9 RPM repository at
> http://rpm.rutgers.edu/rpm2php and I would say that 99% of our packages
> there are compiled with the Sun Studio Pro 11 compiler.
> 
> I could always compile it with GCC but I don't want it to depend on
> libgcc so I would rather not do that if I can avoid it.
> 
> Jay Lee wrote:
>>> 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
> 
> --
> Leo Zhadanovsky
> Student Systems Programmer
> Open System Solutions
> Rutgers University

- -------------------------------------------------------------------------
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

- --
Leo Zhadanovsky
Student Systems Programmer
Open System Solutions
Rutgers University
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFh1PiJR+ZhPEC9ewRAr27AJ49fLnAlvj6X5GlQ/Fk++fdZJCyOQCguren
yuYzQJPtLHpf76kfQmEw/0w=
=xyTY
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
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

Reply via email to