Kunquat gives "libarchive was not found" error on compile, despite libarchive-dev being installed.

Asked by Russ

As the summary says, libarchive-dev in installed, but when Kunquat is compiled using "scons" or "scons prefix=~/kunquat install" in terminal, it gives libarchive was not found" error.

Google is not helping.

Question information

Language:
English Edit question
Status:
Solved
For:
Kunquat Edit question
Assignee:
No assignee Edit question
Solved by:
Russ
Solved:
Last query:
Last reply:
Revision history for this message
Tomi Jylhä-Ollila (tomi.jylha-ollila) said :
#1

What operating system are you using? Could you provide the contents of the file config.log? This file is created after you run scons and it may help us identify the source of the problem.

Revision history for this message
Russ (russelldyson) said :
#2

Hi,

I'm using Ubuntu 12.10. The output of the config.log is as follows:-

file /tmp/kunquat-0.5.3b/SConstruct,line 102:
 Configure(confdir = .sconf_temp)
scons: Configure: Checking for C type int8_t...
.sconf_temp/conftest_0.c <-
  |
  |
  |#include <stdint.h>
  |
  |int main() {
  | if ((int8_t *) 0)
  | return 0;
  | if (sizeof (int8_t))
  | return 0;
  |}
  |
gcc -o .sconf_temp/conftest_0.o -c -std=c99 -pedantic -Wall -Wextra -Werror -g -O2 .sconf_temp/conftest_0.c
gcc -o .sconf_temp/conftest_0 .sconf_temp/conftest_0.o
scons: Configure: yes

scons: Configure: Checking for C type int16_t...
.sconf_temp/conftest_1.c <-
  |
  |
  |#include <stdint.h>
  |
  |int main() {
  | if ((int16_t *) 0)
  | return 0;
  | if (sizeof (int16_t))
  | return 0;
  |}
  |
gcc -o .sconf_temp/conftest_1.o -c -std=c99 -pedantic -Wall -Wextra -Werror -g -O2 .sconf_temp/conftest_1.c
gcc -o .sconf_temp/conftest_1 .sconf_temp/conftest_1.o
scons: Configure: yes

scons: Configure: Checking for C type int32_t...
.sconf_temp/conftest_2.c <-
  |
  |
  |#include <stdint.h>
  |
  |int main() {
  | if ((int32_t *) 0)
  | return 0;
  | if (sizeof (int32_t))
  | return 0;
  |}
  |
gcc -o .sconf_temp/conftest_2.o -c -std=c99 -pedantic -Wall -Wextra -Werror -g -O2 .sconf_temp/conftest_2.c
gcc -o .sconf_temp/conftest_2 .sconf_temp/conftest_2.o
scons: Configure: yes

scons: Configure: Checking for C type int64_t...
.sconf_temp/conftest_3.c <-
  |
  |
  |#include <stdint.h>
  |
  |int main() {
  | if ((int64_t *) 0)
  | return 0;
  | if (sizeof (int64_t))
  | return 0;
  |}
  |
gcc -o .sconf_temp/conftest_3.o -c -std=c99 -pedantic -Wall -Wextra -Werror -g -O2 .sconf_temp/conftest_3.c
gcc -o .sconf_temp/conftest_3 .sconf_temp/conftest_3.o
scons: Configure: yes

scons: Configure: Checking for C type uint8_t...
.sconf_temp/conftest_4.c <-
  |
  |
  |#include <stdint.h>
  |
  |int main() {
  | if ((uint8_t *) 0)
  | return 0;
  | if (sizeof (uint8_t))
  | return 0;
  |}
  |
gcc -o .sconf_temp/conftest_4.o -c -std=c99 -pedantic -Wall -Wextra -Werror -g -O2 .sconf_temp/conftest_4.c
gcc -o .sconf_temp/conftest_4 .sconf_temp/conftest_4.o
scons: Configure: yes

scons: Configure: Checking for C type uint16_t...
.sconf_temp/conftest_5.c <-
  |
  |
  |#include <stdint.h>
  |
  |int main() {
  | if ((uint16_t *) 0)
  | return 0;
  | if (sizeof (uint16_t))
  | return 0;
  |}
  |
gcc -o .sconf_temp/conftest_5.o -c -std=c99 -pedantic -Wall -Wextra -Werror -g -O2 .sconf_temp/conftest_5.c
gcc -o .sconf_temp/conftest_5 .sconf_temp/conftest_5.o
scons: Configure: yes

scons: Configure: Checking for C type uint32_t...
.sconf_temp/conftest_6.c <-
  |
  |
  |#include <stdint.h>
  |
  |int main() {
  | if ((uint32_t *) 0)
  | return 0;
  | if (sizeof (uint32_t))
  | return 0;
  |}
  |
gcc -o .sconf_temp/conftest_6.o -c -std=c99 -pedantic -Wall -Wextra -Werror -g -O2 .sconf_temp/conftest_6.c
gcc -o .sconf_temp/conftest_6 .sconf_temp/conftest_6.o
scons: Configure: yes

scons: Configure: Checking for C type uint64_t...
.sconf_temp/conftest_7.c <-
  |
  |
  |#include <stdint.h>
  |
  |int main() {
  | if ((uint64_t *) 0)
  | return 0;
  | if (sizeof (uint64_t))
  | return 0;
  |}
  |
gcc -o .sconf_temp/conftest_7.o -c -std=c99 -pedantic -Wall -Wextra -Werror -g -O2 .sconf_temp/conftest_7.c
gcc -o .sconf_temp/conftest_7 .sconf_temp/conftest_7.o
scons: Configure: yes

scons: Configure: Checking for C header file execinfo.h...
.sconf_temp/conftest_8.c <-
  |
  |#include <execinfo.h>
  |
  |
gcc -o .sconf_temp/conftest_8.o -c -std=c99 -pedantic -Wall -Wextra -Werror -g -O2 -DENABLE_KUNQUAT_ASSERT .sconf_temp/conftest_8.c
scons: Configure: yes

scons: Configure: Checking for C library m...
.sconf_temp/conftest_9.c <-
  |
  |
  |#include "math.h"
  |
  |int
  |main() {
  |
  |return 0;
  |}
  |
gcc -o .sconf_temp/conftest_9.o -c -std=c99 -pedantic -Wall -Wextra -Werror -g -O2 -DENABLE_KUNQUAT_ASSERT -DHAS_EXECINFO -rdynamic .sconf_temp/conftest_9.c
gcc -o .sconf_temp/conftest_9 .sconf_temp/conftest_9.o -lm
scons: Configure: yes

scons: Configure: Checking for C library wavpack...
.sconf_temp/conftest_10.c <-
  |
  |
  |#include "wavpack/wavpack.h"
  |
  |int
  |main() {
  |
  |return 0;
  |}
  |
gcc -o .sconf_temp/conftest_10.o -c -std=c99 -pedantic -Wall -Wextra -Werror -g -O2 -DENABLE_KUNQUAT_ASSERT -DHAS_EXECINFO -rdynamic -Dushort=uint16_t -Duint=uint32_t .sconf_temp/conftest_10.c
gcc -o .sconf_temp/conftest_10 .sconf_temp/conftest_10.o -lm -lwavpack
scons: Configure: yes

scons: Configure: Checking for C library archive...
.sconf_temp/conftest_11.c <-
  |
  |
  |#include "archive.h"
  |
  |int
  |main() {
  |
  |return 0;
  |}
  |
gcc -o .sconf_temp/conftest_11.o -c -std=c99 -pedantic -Wall -Wextra -Werror -g -O2 -DENABLE_KUNQUAT_ASSERT -DHAS_EXECINFO -rdynamic -Dushort=uint16_t -Duint=uint32_t -DWITH_WAVPACK .sconf_temp/conftest_11.c
In file included from .sconf_temp/conftest_11.c:3:0:
/usr/include/archive.h:902:7: error: unknown type name 'time_t'
scons: Configure: no

scons: Configure: Checking for C library pulse-simple...
.sconf_temp/conftest_12.c <-
  |
  |
  |#include "pulse/simple.h"
  |
  |int
  |main() {
  |
  |return 0;
  |}
  |
gcc -o .sconf_temp/conftest_12.o -c -std=c99 -pedantic -Wall -Wextra -Werror -g -O2 -DENABLE_KUNQUAT_ASSERT -DHAS_EXECINFO -rdynamic -Dushort=uint16_t -Duint=uint32_t -DWITH_WAVPACK .sconf_temp/conftest_12.c
gcc -o .sconf_temp/conftest_12 .sconf_temp/conftest_12.o -lm -lwavpack -lpulse-simple
scons: Configure: yes

scons: Configure: Checking for C library check...
.sconf_temp/conftest_13.c <-
  |
  |
  |#include "check.h"
  |
  |int
  |main() {
  |
  |return 0;
  |}
  |
gcc -o .sconf_temp/conftest_13.o -c -std=c99 -pedantic -Wall -Wextra -Werror -g -O2 -DENABLE_KUNQUAT_ASSERT -DHAS_EXECINFO -rdynamic -Dushort=uint16_t -Duint=uint32_t -DWITH_WAVPACK -DWITH_PULSE .sconf_temp/conftest_13.c
gcc -o .sconf_temp/conftest_13 .sconf_temp/conftest_13.o -lm -lwavpack -lpulse-simple -lcheck
scons: Configure: yes

Revision history for this message
Tomi Jylhä-Ollila (tomi.jylha-ollila) said :
#3

Ok, try this version and see if it works for you: http://kunquat.org/kunquat-0.5.3b2.tar.gz

As a side note: we are happy that you are interested in our project, but at this early stage we do not recommend using Kunquat for any critical productions.

Revision history for this message
Russ (russelldyson) said :
#4

Thanks I will try it later this evening. I was hoping Konquat might assist me in my MSc research, but maybe not if you do not recommend use for critical situations.

As a side note, have you considered a name change. Google tries to be 'helpful' and refines search queries to the more common Kumquat (fruit). You need a keen eye to make Google play fairly. ;)

Tomi Jylhä-Ollila <email address hidden> wrote:

>Your question #216204 on Kunquat changed:
>https://answers.launchpad.net/kunquat/+question/216204
>
>Tomi Jylhä-Ollila posted a new comment:
>Ok, try this version and see if it works for you:
>http://kunquat.org/kunquat-0.5.3b2.tar.gz
>
>As a side note: we are happy that you are interested in our project, but
>at this early stage we do not recommend using Kunquat for any critical
>productions.
>
>--
>You received this question notification because you asked the question.

Revision history for this message
Russ (russelldyson) said :
#5

Hi again,

Yes that works well. A very interesting piece of software you have developed here. I love the nuance and expression in the music demo example. I'm looking forward to exploring it.

Thanks for your assistance.