You are not logged in.

#1 2013-08-03 03:45:20

muon
Member
Registered: 2013-03-20
Posts: 26

[SOLVED] clucene-config.h location

Hi,

I'm trying to write a PKGBUILD (new at this) for GoldenCheetah, release 3.0:
git clone -b release_3.0.0 https://github.com/GoldenCheetah/GoldenCheetah.git.

In the Linux install instructions for the package, they say to execute

# cp /usr/lib/CLucene/clucene-config.h /usr/include/CLucene

which I don't think makes sense to put into a PKGBUILD.
A config file they reference in the install process (src/gcconfig.pri) has variables

CLUCENE_INCLUDE = /usr/include/CLucene
CLUCENE_LIBS = -lclucene-core

I tried changing CLUCENE_INCLUDE to add /usr/lib/CLucene, but I couldn't get that to work.

The basic build process I'm using is to clone, edit gcconfig.pri as above, then from the root directory of the extraction, simply

$ qmake-qt4
$ make

Is there a smoother way to deal with clucene?

Thanks,
Ray

Last edited by muon (2013-08-03 21:21:25)

Offline

#2 2013-08-03 03:49:16

muon
Member
Registered: 2013-03-20
Posts: 26

Re: [SOLVED] clucene-config.h location

By the way, I found http://us.generation-nt.com/bug-718371- … 05342.html, which seems to be something where they dealt with this for the Debian package, but it wasn't clear to me if/how their lines

CLUCENE_INCLUDE = /usr/lib/@DEB_HOST_MULTIARCH@
CLUCENE_LIBS = -lclucene-core

could (a) be translated to work in Arch and (b) would fix the issue.

Offline

#3 2013-08-03 04:02:28

muon
Member
Registered: 2013-03-20
Posts: 26

Re: [SOLVED] clucene-config.h location

Wow, this is a bit embarrassing. I tried

CLUCENE_INCLUDE = /usr/lib
CLUCENE_LIBS = -lclucene-core

and it seems to get past that stage where I was having the error of not finding clucene-config.h. Having another issue, but I think it's unrelated. If I can figure out it's unrelated, I'll mark this as solved.

Offline

#4 2013-08-03 21:21:06

muon
Member
Registered: 2013-03-20
Posts: 26

Re: [SOLVED] clucene-config.h location

Yup. Compiling and running fine.

Offline

Board footer

Powered by FluxBB