trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: January 2014

Re: [trinity-devel] Need debian help - what fixed: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=707417

From: "David C. Rankin" <drankinatty@...>
Date: Wed, 15 Jan 2014 20:42:35 -0600
On 01/15/2014 07:07 PM, Darrell Anderson wrote:
>> Debian fixed a bug with wv2 I need to patch/fix for tde. The bug 
>> was:
>>
>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=707417
>>
>> How in the heck do you find out what debian did?
> 
> I have never figured out how to find patches mentioned in Debian 
> bug reports. I'm sure there is a method to their madness.
> 
> Attached are two patches I use to build wv2. The patches only allow 
> me to build wv2. I have no way of knowing whether wv2 is actually 
> providing kword the necessary support because wv2 has been 
> unsupported for a long time. Probably should be Yet Another Bug 
> Report.
> 
> Darrell
> 
> 
> 

Darrell, Nick

  Thanks. I don't know how I build without those patches, but it does build
(well, I cheated.... ln -s /usr/include/libxml2/libxml /usr/include/libxml) I
think I found the issue. The wv2 CMakeLists.txt sets:

IF( LIBGSF_FOUND )
  SET( _WV2_LDFLAGS ${_WV2_LDFLAGS} ${LIBGSF_LIBRARIES} )
  SET( _WV2_CFLAGS ${_WV2_CFLAGS} ${LIBGSF_INCLUDE_DIR} )
ENDIF( LIBGSF_FOUND )

  So the directory the cmake file includes is ${LIBGSF_INCLUDE_DIR}. However,
that is the wrong directory if I read the cache file correctly:

18:22 phoinix:/dat_e/tde/tstbld/wv2> grep -i include src/build/CMakeCache.txt
<snip>
//ADVANCED property for variable: LIBGSF_INCLUDE_DIR
LIBGSF_INCLUDE_DIR-ADVANCED:INTERNAL=1
PC_LIBGSF_CFLAGS:INTERNAL=-I/usr/include/libgsf-1;-I/usr/include/glib-2.0;-I/usr/lib/glib-2.0/include;-I/usr/include/libxml2
PC_LIBGSF_INCLUDEDIR:INTERNAL=/usr/include
PC_LIBGSF_INCLUDE_DIRS:INTERNAL=/usr/include/libgsf-1;/usr/include/glib-2.0;/usr/lib/glib-2.0/include;/usr/include/libxml2
PC_LIBGSF_STATIC_CFLAGS:INTERNAL=-I/usr/include/libgsf-1;-I/usr/include/glib-2.0;-I/usr/lib/glib-2.0/include;-I/usr/include/libxml2
PC_LIBGSF_STATIC_INCLUDE_DIRS:INTERNAL=/usr/include/libgsf-1;/usr/include/glib-2.0;/usr/lib/glib-2.0/include;/usr/include/libxml2
PC_LIBGSF_libgsf-1_INCLUDEDIR:INTERNAL=

  It just looks like cmake isn't getting the PC_LIBGSF_INCLUDE_DIRS or the
PC_LIBGSF_CFLAGS information into the actual make. It is almost like I need:

  SET( _WV2_CFLAGS ${_WV2_CFLAGS} ${PC_LIBGSF_INCLUDE_DIRS} )

but I know the correct way is to find where SET( _WV2_CFLAGS ${_WV2_CFLAGS}
${LIBGSF_INCLUDE_DIR} ) is supposed to include that information and fix it.
Grr.. It's like reading Greek...

-- 
David C. Rankin, J.D.,P.E.