installing duc via configure/make

Issues related to applications and software problems
Post Reply
robertw
Posts: 189
Joined: 2012/04/25 13:26:59

installing duc via configure/make

Post by robertw » 2017/07/20 21:54:24

hi all,

installing this -

http://duc.zevv.nl/#download

getting stuck on the ./configure command

get this error

Selected backend tokyocabinet
checking for TC... no
configure: error: Package requirements (tokyocabinet) were not met:

No package 'tokyocabinet' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables TC_CFLAGS
and TC_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

i have installed the package tho by doing

yum install -y tokyocabinet and it installs succesfully

but im still getting this error, can anyone please help

many thanks,

rob

User avatar
TrevorH
Site Admin
Posts: 33220
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: installing duc via configure/make

Post by TrevorH » 2017/07/20 22:23:24

Scroll down his webpage a bit more... helps if you read it while it scrolls of course.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

robertw
Posts: 189
Joined: 2012/04/25 13:26:59

Re: installing duc via configure/make

Post by robertw » 2017/07/20 22:32:46

god so stupid, thanks Trevor

also needed to install this aswell -

ncurses-devel

robertw
Posts: 189
Joined: 2012/04/25 13:26:59

Re: installing duc via configure/make

Post by robertw » 2017/07/20 22:38:12

now im stuck on this

configuration summary:

- Package version: duc 1.4.3
- Prefix: /usr/local
- Database backend: tokyocabinet
- X11 support: yes
- OpenGL support: no
- UI (ncurses) support: yes
- Graph cairo support: yes

openGL support

robertw
Posts: 189
Joined: 2012/04/25 13:26:59

Re: installing duc via configure/make

Post by robertw » 2017/07/20 23:05:21

ok i have got it working and its good, now i want to access it from the intranet

so i have made a script in "/var/www/cgi-bin/ duc.cgi" and the contents looks like this -

#!/bin/bash
/usr/local/bin/duc cgi -d /.duc.db

but i get this error while trying to access it via the web

https://s21.postimg.org/78df1eufr/duc.png

robertw
Posts: 189
Joined: 2012/04/25 13:26:59

Re: installing duc via configure/make

Post by robertw » 2017/07/21 21:17:55

job done

i did everything correct just had to build the index file

duc index -d /duc_db/.duc.db /

once the database had data in i get this result -

https://s4.postimg.org/j4o2jo8l9/duc.png

Post Reply