[haikuports] Re: Clucene Port

  • From: Matthias Lindner <two4god@xxxxxxxxx>
  • To: haikuports@xxxxxxxxxxxxx
  • Date: Fri, 10 Feb 2017 13:40:27 +0100

Hi

 thanks for the help so far.

Actually scanning throught the folder i found that
LIB_SUFFIX was set to /x86
but still it was not found...
looking into the work directory
i found out that the libs are created here:
haikuports/dev-cpp/clucene/work-x86-2.3.3.4/sources/clucene-core-2.3.3.4/build_x86/bin
So i guess ist the wrong place where it is created? (build_x86) are
created from the recepie..
Since i am really beginner with cmake any help would be welcome

Greetings
Paradoxon


2017-02-10 9:29 GMT+01:00 Adrien Destugues <pulkomandy@xxxxxxxxxxxxx>:

10 février 2017 09:17 "Matthias Lindner" <two4god@xxxxxxxxx> a écrit:
Hi,

since i dont understand haikuporter (and cmake) goood enought i need some 
help
i try since a long time to get clucene recepie working
running haikuporter --get-dependencies -v clucene_x86
i always get
-- Installing: /packages/clucene_x86-2.3.3.4-1/.self/lib/libclucene-core.so
-- Set runtime path of
"/packages/clucene_x86-2.3.3.4-1/.self/lib/libclucene-core.so.2.3.3.4"
to ""
mv: cannot stat
'/packages/clucene_x86-2.3.3.4-1/.self/lib/x86/libclucene.*': No such
file or directory
[Errno -2147459069] No such file or directory:
'/boot/home/develop/haikuports/dev-cpp/clucene/work-x86-2.3.3.4'
Error: Build has failed - stopping.

i tried to set several Path variables over cmake -D... but it didnt
worked out..
Any help / hint would be appreciated

cmake -DLIB_SUFFIX=$secondaryArchSubDir should do the trick. However, this 
assumes the cmake script does the right thing. If that doesn't work, you will 
need to patch the CMakeLists.txt files to adjust "LIBRARY DESTINATION"

--
Adrien.


Other related posts: