[Top][All Lists]
[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: |
Fri, 6 Jun 2003 12:22:11 -0700 (PDT) |
--- Christian Grothoff <address@hidden> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Thursday 05 June 2003 08:34 pm, Kenneth Stailey wrote:
> > The same problem with -R happened with glib but it's so messy. The problem
> > is that "glib-config -libs" does not spit out the -R option even though it
> > is a requirement.
>
> But these are not problems with GNUnet. These are problems with the C++
> compiler or glib (or your glib installation???). It is really bad to hardwire
> paths like /usr/local into configure.ac; and in fact, I did not have to do
> this on the Solaris 8 machine that I have access to. Also note that GNUnet
> does not require C++, so I'm not sure where all of this libstdc++.so stuff is
> coming from. libextractor uses C++ (in the PDF extractor), maybe you're
> confusing something here?
The GNUnet 0.5.4 configure.ac has:
# Checks for programs.
AC_PROG_CXX
which will try to build a program linking in libstdc++.so stuff.
Please take out 'AC_PROG_CXX' from configure.ac if you are not using C++.
Thanks.
> I don't have access to Solaris 9, so of course you may have some problems
> that relate exclusively to that OS.
The problem is that /usr/local/lib is not searched by default and Solaris has
never had anything like ldconfig(8). You can either setup an environment
varible called LD_LIBRARY_PATH which is bad I think for security or you can
link with -R /path/to/shared/lib:/another/path/to/more/shared/libs
There are other Solaris 9 issues I think:
if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../../src/include -I../../src/include -DPLUGIN_PATH="\"/usr/local/lib\""
-DELIBDIR=\"\" -I/usr/local/ssl/include -Wall -Xlinker -R/usr/local/lib -MT
identity.lo -MD -MP -MF ".deps/identity.Tpo" \
-c -o identity.lo `test -f 'identity.c' || echo './'`identity.c; \
then mv ".deps/identity.Tpo" ".deps/identity.Plo"; \
else rm -f ".deps/identity.Tpo"; exit 1; \
fi
gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include
-DPLUGIN_PATH=\"/usr/local/lib\" -DELIBDIR=\"\" -I/usr/local/ssl/include -Wall
-Xlinker -R/usr/local/lib -MT identity.lo -MD -MP -MF .deps/identity.Tpo -c
identity.c -DPIC -DPIC
identity.c: In function `getAddressFromIOCTL':
identity.c:173: storage size of `ifr' isn't known
identity.c:174: storage size of `ifc' isn't known
identity.c:205: sizeof applied to an incomplete type
identity.c:209: sizeof applied to an incomplete type
identity.c:211: sizeof applied to an incomplete type
identity.c:213: `IFF_UP' undeclared (first use in this function)
identity.c:213: (Each undeclared identifier is reported only once
identity.c:213: for each function it appears in.)
identity.c:230: sizeof applied to an incomplete type
identity.c:232: sizeof applied to an incomplete type
identity.c:173: warning: unused variable `ifr'
identity.c:174: warning: unused variable `ifc'
*** Error code 1
make: Fatal error: Command failed for target `identity.lo'
> Maybe we'll have to add a version check in
> that case (though I think it's unlikely). Oh, and finally, you may want to
> try the GNUnet CVS code which no longer depends on OpenSSL (if that would be
> any help). Note that instead of having fun with OpenSSL, you can either use
> libgcrypt or have fun with the PRNG detection code in the new configure.ac of
>
> GNUnet-CVS. The fun never ends :-).
>
> Christian
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.7 (GNU/Linux)
>
> iD8DBQE+4K4e9tNtMeXQLkIRAojWAJ9C/XDw49nPSSnMfKvHBS6Z1lAE4gCffOeN
> aoadLgCkBzHhqzJAG/LjE0k=
> =zj8G
> -----END PGP SIGNATURE-----
>
>
>
> _______________________________________________
> GNUnet-developers mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/gnunet-developers
__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com