View Issue Details

IDProjectCategoryView StatusLast Update
0002603GNUnetbuild processpublic2012-11-05 18:33
Reporterwokungif Assigned ToChristian Grothoff  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
PlatformLinux i386OSDebianOS Version7
Product VersionGit master 
Target Version0.9.4Fixed in Version0.9.4 
Summary0002603: make fail - linking mysql libgnunetmysql.la
DescriptionThe error log :

Making all in mysql
make[3]: entrant dans le répertoire « /home/wokungif/peer/gnunet/src/mysql »
  CC mysql.lo
  CCLD libgnunetmysql.la
libtool: link: require no space between `-L' and `-lmysqlclient'
make[3]: *** [libgnunetmysql.la] Erreur 1
make[3]: quittant le répertoire « /home/wokungif/peer/gnunet/src/mysql »
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire « /home/wokungif/peer/gnunet/src »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/wokungif/peer/gnunet »
make: *** [all] Erreur 2


Some help :

The relink_command is not good for the file gnunet/src/mysql/libgnunetmysql.la : "-L -lmysqlclient ../../src/util/libgnunetutil.la"

I think, it miss an argument after the -L.


This is cause by the gnunet/src/mysql/Makefile
line 278 :
MYSQL_LDFLAGS = -L

The MYSQL_LIBDIR is not found

Some solutions (perhaps not good, i'm not a C developper) :

Specify manually --with-mysql=/usr/lib/i386-linux-gnu/ to the configure command

Or modify the gnunet/configure code line 24353
if test -d "/usr/lib64/mysql"; then
 MYSQL_LIBDIR="/usr/lib64/mysql"
elif test -d "/usr/lib/mysql"; then
 MYSQL_LIBDIR="/usr/lib/mysql"
elif test -d "/usr/lib/i386-linux-gnu/"; then
 MYSQL_LIBDIR="/usr/lib/i386-linux-gnu/"
fi

I think we must add a verification if MYSQL_LIBDIR is not found, but I don't know how to do this (error log + exit).
Steps To Reproduce$ svn checkout https://gnunet.org/svn/gnunet/
$ cd gnunet/
$ export GNUNET_HOME=/usr/local
$ ./bootstrap
$ ./configure --prefix=$GNUNET_HOME --with-extractor=$GNUNET_HOME --with-microhttpd=$GNUNET_HOME --enable-logging=verbose --enable-javaports
$ make
Additional InformationOS : Linux
OS RELEASE : 3.2.0-3-686-pae
HARDWARE : i686
gcc : gcc (Debian 4.7.1-7) 4.7.1
autoconf : 2.69
automake : 1.11.6
libtool : 2.4.2
libextractor : v1.0.1
GNUnet 0.8 : Not Found (good)
./contrib/report.sh: 93: ./contrib/report.sh: gnunet-arm: not found
libgcrypt : 1.5.0
mysql : 5.5.24
pkg-config : 0.26
glib2 : 2.32.4
GMP : libgmp3-dev-2:5.0.5+dfsg-2.deb
libunistring : libunistring3-dev-0.9.3-5.deb
GNU gettext : 0.18.1
libcurl : 7.26.0
libmicrohttpd : 91600
GNU GLPK : Not found
GNUtls : 2.12.20
TagsNo tags attached.

Activities

Christian Grothoff

2012-11-04 22:33

manager   ~0006508

Should be fixed now.

Issue History

Date Modified Username Field Change
2012-10-31 12:08 wokungif New Issue
2012-11-04 22:33 Christian Grothoff Assigned To => Christian Grothoff
2012-11-04 22:33 Christian Grothoff Status new => assigned
2012-11-04 22:33 Christian Grothoff Note Added: 0006508
2012-11-04 22:33 Christian Grothoff Resolution open => fixed
2012-11-04 22:33 Christian Grothoff Fixed in Version => 0.9.4
2012-11-04 22:33 Christian Grothoff Target Version => 0.9.4
2012-11-04 22:33 Christian Grothoff Status assigned => resolved
2012-11-05 18:33 Christian Grothoff Status resolved => closed