debug strigi packaging for 10.9
Jack Howarth <[email protected]>
| Newsgroups | gmane.os.apple.fink.devel |
|---|---|
| Message-ID | <CAP5Ds0AV=S-6npAwtRf5X7D2633ste_H-oxY2oZFz2TPFrsT4Q@mail.gmail.com> |
Hanspeter,
You can use the attached packaging with the following changes to
debug the strigi build issue on 10.9 against Xcode 6.2 by substituting
the clang-3.5/clang++-3.5 compilers from llvm35-3.5.2 which also
exhibits the new strictness.
Jack
--- strigi.info 2015-04-17 15:20:35.000000000 -0400
+++ strigi.info.debug 2015-04-17 15:18:13.000000000 -0400
@@ -18,6 +18,8 @@
<<
BuildDepends: <<
bzip2-dev,
+ clang35,
+ libcxx1-dev,
clucene-core (>= 0.9.20-1),
cmake (>= 2.8.10.2-1),
cppunit1.12.1,
@@ -28,8 +30,12 @@
libxml2 (>= 2.9.1-1),
pkgconfig (>= 0.23-1)
<<
+BuildConflicts: strigi-dev
GCC: 4.0
+SetCC: clang-3.5
+SetCXX: clang++-3.5
+
Source: http://www.vandenoever.info/software/strigi/strigi-%v.tar.bz2
Source-MD5: d69443234f4286d71997db9de543331a
SourceDirectory: strigi-%v
@@ -39,7 +45,7 @@
CompileScript: <<
#!/bin/sh -ev
- export CMAKE_LIBRARY_PATH="%p/lib" CMAKE_INCLUDE_PATH="%p/include"
+# export CMAKE_LIBRARY_PATH="%p/lib" CMAKE_INCLUDE_PATH="%p/include"
mkdir -p build
pushd build
# sqlite and hyperestraier are both busted
@@ -47,13 +53,20 @@
-DCMAKE_INSTALL_PREFIX="%p" \
-DCMAKE_INSTALL_NAME_DIR=%p/lib \
-DCMAKE_C_FLAGS:STRING=-MD \
- -DCMAKE_CXX_FLAGS:STRING=-MD \
+ -DCMAKE_CXX_FLAGS:STRING="-MD -cxx-isystem %p/include/c++/v1 -I%p/lib" \
+ -DCMAKE_LD_FLAGS:STRING="-L%p/lib -L/usr/lib" \
-DENABLE_QT4:BOOL=OFF \
-DENABLE_FAM:BOOL=OFF \
-DENABLE_CLUCENE_NG:BOOL=OFF \
-DENABLE_LOG4CXX:BOOL=OFF \
-D__STRIGI_HAVE_GCC_VISIBILITY:BOOL=OFF \
-DENABLE_FFMPEG:BOOL=OFF \
+ -DDBUS_INCLUDE_DIR:PATH=%p/include \
+ -DICONV_INCLUDE_DIR:PATH=%p/include \
+ -DLIBXML2_INCLUDE_DIR:PATH=%p/include \
+ -DDBUS_LIBRARIES:FILEPATH=%p/lib/libdbus-1.dylib \
+ -DICONV_LIBRARIES:FILEPATH=%p/lib/libiconv.dylib \
+ -DLIBXML2_LIBRARIES:FILEPATH=%p/lib/libxml2.dylib \
..
make
popd
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
strigi.info.debug
(application/octet-stream, 3.6 KB) - not displayed