chunkd: use port xxx82 to build
The build still fails:
# yum install git-core libevent libevent-devel glib2-devel openssl-devel zlib-devel libxml2-devel procps cld cld-devel $ git clone git://git.kernel.org/pub/scm/daemon/cld/cld.git $ ./autogen.sh $ ./configure // fail $ CFLAGS="-O2 -Wall -g" ./configure // fail $ cd chunkd $ ./configure // fail
Still fails in the same spot. Where in the config.log did you see that it was a problem with libevent?
- Rick
Quoted 52 lines
From: Jeff Garzik <[email protected]>
Sent: Aug 7, 2009 11:38 PM
To: Rick Peralta <[email protected]>
Cc: Project Hail List <[email protected]>
Subject: Re: [Patch] chunkd: use port xxx82 to buildQuoted 3 lines · Rick Peralta
Quoted 1 line
We are definitely interested in the build failures, yes.
When builidng, chunkd fails in configure (so do the other Hail files).
According to your config.log, you are missing the libevent dependency. On Fedora, this will be "libevent-devel", which will also install the libevent base package.
configure intentionally stops when it cannot find something.
I wouldn't advise bothering with the tarballs, though. clone and build each git repository, e.g.
$ git clone git://git.kernel.org/pub/scm/daemon/cld/cld.git $ cd cld $ ./autogen.sh $ CFLAGS="-O2 -Wall -g" ./configureBecause development is moving very rapidly, it is best for developers to always look at the git repository for the latest source code.
configure gives much more informative errors in the latest upstream (== current source code in git repository), so this problem should be gone in chunkd version 0.4, when released.
Quoted 8 lines
Running: Linux version 2.6.27.25-78.2.56.fc9.i686 (mockbuild@) (gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC) ) #1 SMP Thu Jun 18 12:47:50 EDT 2009 Fedora release 9 (Sulphur) Default install with all updates complete, all gcc and make updates
I asked a friend to run the build on a different distribution and it failed differently.
Quoted 1 line
Have you verified that all necessary dependencies are installed?
It is not clear what needs to be installed in order to build... is there a list?
Here is the list from pkg/chunkd.spec:
BuildRequires: libevent-devel glib2-devel openssl-devel zlib-devel BuildRequires: libxml2-devel procps cld cld-develRegards,
Jeff
Quoted 10 lines · Rick Peralta
The build still fails:
# yum install git-core libevent libevent-devel glib2-devel openssl-devel zlib-devel libxml2-devel procps cld cld-devel $ git clone git://git.kernel.org/pub/scm/daemon/cld/cld.git $ ./autogen.sh $ ./configure // fail $ CFLAGS="-O2 -Wall -g" ./configure // fail $ cd chunkd $ ./configure // failStill fails in the same spot. Where in the config.log did you see that it was a problem with libevent?
Yeah, it will continue to fail until you install the needed dependencies.
Here is the relevant config.log section:
[...]
Quoted 10 lines
configure:20418: checking for
SSL_newin -lssl
configure:20453: gcc -o conftest -g -O2conftest.c-lssl >&5
configure:20460: $? = 0
configure:20481: result: yes
configure:20487: checking forevent_base_newin -levent
configure:20522: gcc -o conftest -g -O2conftest.c-levent >&5/usr/bin/ld: cannot find -levent
collect2: ld returned 1 exit status configure:20529: $? = 1
configure: failed program was:
[... followed by many lines of state dump ...]
Regards,
Jeff