HTCondor Project List Archives



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Condor-devel] pcre external (again)



hi all,


okay, i think i've got all the pcre-7.6 issues resolved.  for each platform
that it didn't compile on, here's why and what i did:


1) HPUX

problem:
  hpux has a 'long long' data type but no 'strtoll' function for converting
  strings to said type.
solution:
  patch configure to force HAVE_LONG_LONG and HAVE_UNSIGNED_LONG_LONG to be
  false.  this was done for all platforms for consistency.


2) SOLARIS

problem:
  pcre didn't compile with gcc 2.95 on HPUX due to namespace and STL crud.
solution:
  use the --disable-cpp flag to configure.  condor uses the C bindings, so no
  need to worry about C++ linking headaches.


3) MAC OS X

problem:
  the unit test (RunTest) fails using the default configure settings
solution:
  set CFLAGS='-arch i386' to solve an apparent byte-ordering problem.  i should
  have noticed this change earlier, but i started from a stale version of the
  build-pcre-5.0 script that i used as a basis the 7.6 script.


4) Windows

problem:
  just needs a batch script to be written that does the build.  unfortunately,
  things have changed around a bit since pcre-5.0 so the old one doesn't work.
solution:
  todd is dealing with it.


cheers,
-zach