Unusual error, compiling Postler

Bug #804952 reported by Gusions
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Postler
Fix Committed
Undecided
Unassigned

Bug Description

When i try compile Postler, i see this:

Build failed: -> task failed (err #1):
 {task: cc postler-index.c -> postler-index_1.o}

And the compilation fail!

Revision history for this message
Sergio Spinatelli (spinatelli) wrote :

Could you paste the whole output?that part says online "there is an error" but not where it is..=P

Revision history for this message
Ramón Grill (ramon-grill) wrote :

I think I have the same problem.
The console prints out:

/home/ramon/Downloads/postler/wscript:108: error: the configuration failed (see'/home/ramon/Downloads/postler/_build_/config.log')

And the logfile:

-------------------------------------------
Checking for function db_create
==>
#include <db.h>

 int main() {
 void *p;
 p=(void*)(db_create);
 return 0;
}

<==
[1/2] cc: _build_/.conf_check_0/test.c -> _build_/.conf_check_0/testbuild/default/test_1.o
../test.c:1:16: fatal error: db.h: No such file or directory
compilation terminated.
['/usr/bin/gcc', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found

Revision history for this message
Ramón Grill (ramon-grill) wrote :

okay, I found the solution:
apt-get install libdb-dev

The build script could be a little clearer on what you have to install...

Revision history for this message
Cris Dywan (kalikiana) wrote :

I agree the error is unclear. I added a clear error message. (libdb only installs headers, that's why the default message is so poor)

Changed in postler:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.