View Issue Details

IDProjectCategoryView StatusLast Update
0001654libmicrohttpdbuild systempublic2011-02-15 11:19
Reporterrmmonster Assigned ToChristian Grothoff Due Date
PrioritynormalSeveritycrashReproducibilityhave not tried
Status closedResolutionfixed 
Summary0001654: fail to build
Descriptiontry to "make" after

$ sudo apt-get install automake autoconf libtool make gcc g++
$ sudo apt-get install zlib1g-dev libgsf-1-dev libmpeg2-4-dev libpoppler-dev

$ svn checkout https://ng.gnunet.org/svn/Extractor
$ cd Extractor
$ ./bootstrap
$ ./configure
$ make; sudo make install; make check

$ sudo apt-get install gnutls-dev libcurl4-gnutls-dev

$ svn co https://ng.gnunet.org/svn/libmicrohttpd
$ cd libmicrohttpd/
$ ./bootstrap
$ ./configure --with-gnutls --enable-messages --enable-curl

as told by https://gnunet.org/node/1154

on

uname -a
Linux <systemname> 2.6.35-25-generic #44-Ubuntu SMP Fri Jan 21 17:40:44 UTC 2011 x86_64 GNU/Linux
Additional InformationMaking check in contrib
make[1]: Betrete Verzeichnis '/home/<user>/<somefolder>/gnunet/libmicrohttpd/contrib'
make[1]: F
TagsNo tags attached.
Attached Files
valgrind.log (1,623,096 bytes)

Activities

rmmonster

2011-02-01 16:42

reporter   ~0004239

Sorry,

the error pops at "make check", after

$ sudo apt-get install automake autoconf libtool make gcc g++
$ sudo apt-get install zlib1g-dev libgsf-1-dev libmpeg2-4-dev libpoppler-dev

$ svn checkout https://ng.gnunet.org/svn/Extractor [^]
$ cd Extractor
$ ./bootstrap
$ ./configure
$ make; sudo make install; make check

$ sudo apt-get install gnutls-dev libcurl4-gnutls-dev

$ svn co https://ng.gnunet.org/svn/libmicrohttpd [^]
$ cd libmicrohttpd/
$ ./bootstrap
$ ./configure --with-gnutls --enable-messages --enable-curl

$ make
$ sudo make install

not as written above while trying to "make".

Christian Grothoff

2011-02-02 00:09

manager   ~0004240

That is very strange, daemontest should print out an error code if it fails (and it should not fail to begin with). Now, just leaving out the "make check" part will get you around the compilation/installation problem, but it would be nice if we could figure out what actually happened there with the 'make check'.

Can you

apt-get install valgrind

and run

valgrind --trace-children=yes make check &> valgrind.log

(in the "libmicrohttpd" directory) and attach valgrind.log to this bugreport. Maybe it'll tell something.

Christian Grothoff

2011-02-03 16:34

manager   ~0004242

Here is the problem (hidden in the logs):

Failed to bind to port 1080: Address already in use
Error (code: 2)

The test(s) simply don't pass because they use port 1080 and you're already using that one. Not an issue, you can either stop it and the tests will pass, or simply skip the "make check" step (no harm done).

I'll update the docs.

Issue History

Date ModifiedUsernameFieldChange
2011-02-01 16:19rmmonsterNew Issue
2011-02-01 16:42rmmonsterNote Added: 0004239
2011-02-02 00:09Christian GrothoffNote Added: 0004240
2011-02-02 13:10rmmonsterFile Added: valgrind.log
2011-02-03 16:34Christian GrothoffNote Added: 0004242
2011-02-03 16:34Christian GrothoffStatusnew => resolved
2011-02-03 16:34Christian GrothoffResolutionopen => fixed
2011-02-03 16:34Christian GrothoffAssigned To => Christian Grothoff
2011-02-15 11:19Christian GrothoffStatusresolved => closed