help-gnunet
[Top][All Lists]
Advanced

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

Re: [Help-gnunet] trouble compiling 0.7.0


From: Christian Grothoff
Subject: Re: [Help-gnunet] trouble compiling 0.7.0
Date: Tue, 13 Sep 2005 05:07:52 -0700
User-agent: KMail/1.7.2

Hi!

Yes, there is a (tiny) problem in configure.  You were using

./configure --with-mysql

(and possibly other options).

Just leave out the "--with-mysql" and all should be fine (mysql should still 
be detected and compiled if you have the dependencies installed).  
Alternatively, you can specify "--with-mysql=/usr" or something (but never 
use it without options).  

I have put a fix into SVN which will resolve the issue in the future (but for 
0.7.0 I think the above workaround should be the easiest solution).

Christian

On Monday 12 September 2005 10:05, Darren wrote:
> I'm having trouble getting 0.7.0 to compile.
>
> Making all in sqstore_mysql
> make[4]: Entering directory
> `/var/tmp/portage/gnunet-0.7.0/work/GNUnet-0.7.0/src/applications/sqstore_m
>ysql' /bin/sh ../../../libtool --mode=link x86_64-pc-linux-gnu-gcc
> -fno-strict-aliasing -Wall -mtune=k8 -O2 -pipe -fomit-frame-pointer   -o
> libgnunetmodule_sqstore_mysql.la -rpath /usr/lib64/GNUnet
> -export-dynamic -avoid-version -module -Lyes/lib -Lyes/lib/mysql
> mysql.lo ../../../src/util/libgnunetutil.la -lmysqlclient -lz -lm -lnsl
> -lpthread
> ../../../libtool: line 1654: cd: yes/lib: No such file or directory
> libtool: link: cannot determine absolute directory name of `yes/lib'
> make[4]: *** [libgnunetmodule_sqstore_mysql.la] Error 1
> make[4]: Leaving directory
> `/var/tmp/portage/gnunet-0.7.0/work/GNUnet-0.7.0/src/applications/sqstore_m
>ysql' make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
> `/var/tmp/portage/gnunet-0.7.0/work/GNUnet-0.7.0/src/applications'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/var/tmp/portage/gnunet-0.7.0/work/GNUnet-0.7.0/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/var/tmp/portage/gnunet-0.7.0/work/GNUnet-0.7.0'
> make: *** [all] Error 2
>
>
> The relevant lines in the
> GNUnet-0.7.0/src/applications/sqstore_mysql/Makefile, I believe:
> MYSQL_CPPFLAGS = -Iyes/include
> MYSQL_LDFLAGS = -Lyes/lib -Lyes/lib/mysql
>
>
> Here are my software versions (Gentoo patch revisions):
> autoconf-2.59-r6
> automake-1.9.6
> gcc-3.4.4-r1
> gettext-0.14.4
> libtool-1.5.18-r1
> mysql-4.1.8-r1




reply via email to

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