gnunet-developers
[Top][All Lists]
Advanced

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

Re: [GNUnet-developers] GNUnet-0.5.4 on Solaris 9


From: Kenneth Stailey
Subject: Re: [GNUnet-developers] GNUnet-0.5.4 on Solaris 9
Date: Thu, 5 Jun 2003 18:02:30 -0700 (PDT)

--- Kenneth Stailey <address@hidden> wrote:
> I'm trying to build GNUnet-0.5.4 on Solaris 9.
> 
> The first problem I ran into is that there is a ld option needed to find the
> libstdc++.so.5 library.  That option is the RPATH option -R.  It must be set
> so
> that it includes /usr/local/lib since that's where the libstdc++.so.5 library
> is.
> 
> There is probably a better way to do what the following patch does but it
> works. Without it ./configure fails trying to test the C++ compiler output.
> 
> $ rcsdiff -u -r1.1 -r1.2 configure.ac
> ===================================================================
> RCS file: RCS/configure.ac,v
> retrieving revision 1.1
> retrieving revision 1.2
> diff -u -r1.1 -r1.2
> --- /tmp/T0dSaq0e       Thu Jun  5 20:50:43 2003
> +++ /tmp/T1eSaq0e       Thu Jun  5 20:50:43 2003
> @@ -1,4 +1,4 @@
> -# $Id: configure.ac,v 1.1 2003/06/05 23:52:35 kstailey Exp $
> +# $Id: configure.ac,v 1.2 2003/06/06 00:44:30 kstailey Exp $
>  # This file is part of GNUnet.
>  # (C) 2001, 2002, 2003 Christian Grothoff (and other contributing authors)
>  #
> @@ -31,6 +31,14 @@
>  AM_INIT_AUTOMAKE([GNUnet], [0.5.4])
>  AM_CONFIG_HEADER([src/include/autodefs.h])
> 
> +if test -x /bin/uname ; then
> +   case "`/bin/uname`" in
> +   SunOS)
> +     CXXFLAGS="$CXXFLAGS -Xlinker -R/usr/local/lib:/usr/lib:/usr/sfw/lib"
> +     ;;
> +   esac
> +fi
> +
>  # Checks for programs.
>  AC_PROG_CXX
>  AC_PROG_AWK

It bombed out further into ./configure for a similar reason.  I'm using the
SunFreeware packages for OpenSSL.  I think Sun offers their own package.  I am
using an RPATH that includes both the SunFreeware and the Sun library
directories.

I'll hold off on posting configure.ac patches until it runs all the way
through.


__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]