View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002603 | GNUnet | build process | public | 2012-10-31 12:08 | 2012-11-05 18:33 |
Reporter | wokungif | Assigned To | Christian Grothoff | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Linux i386 | OS | Debian | OS Version | 7 |
Product Version | Git master | ||||
Target Version | 0.9.4 | Fixed in Version | 0.9.4 | ||
Summary | 0002603: make fail - linking mysql libgnunetmysql.la | ||||
Description | The 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 Information | OS : 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 | ||||
Tags | No tags attached. | ||||
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 |