[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-developers] GNUnet-0.5.4 on Solaris 9
From: |
Kenneth Stailey |
Subject: |
[GNUnet-developers] GNUnet-0.5.4 on Solaris 9 |
Date: |
Thu, 5 Jun 2003 17:48:43 -0700 (PDT) |
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
__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
- [GNUnet-developers] GNUnet-0.5.4 on Solaris 9,
Kenneth Stailey <=