Re: GerH source distro at hebbut.net: HOW TO compile/compare/merge for Bill et al

"Ger Hobbelt" <[email protected]>
Newsgroups gmane.mail.spam.crm114
Message-ID <[email protected]>
Hi Steve,

Thank you very much for the report and the diffs! This makes me happy.  :-)


On Wed, Mar 26, 2008 at 10:37 PM, Steve <[email protected]> wrote:
>  > Basic 'I want a new crm':
>  >
>  >   ./configure && make && make test
>  >
>  Does not work for me on Gentoo. One reason is:

>  --- crm114_sysincludes.h        2008-03-25 22:06:38.000000000 +0100
>  +++ crm114_sysincludes.h.new    2008-03-26 22:01:27.941275912 +0100
>  @@ -371,7 +371,7 @@
>   #if defined(HAVE__ISNAN)
>   #define isnan(v)               _isnan(v)
>   #else
>  -#error point isnan() to your platform's equivalent function
>  +#error "point isnan() to your platform's equivalent function"
>   #endif
>   #endif

Fixed!

Interesting to see that even on Linux boxxen there's the subtle
differences in compiler behaviour (here it's the preprocessor parsing
disabled statements in an inactive #else clause --- of course assuming
you _do_ have HAVE_ISNAN   ;-) )


>  @@ -773,7 +773,7 @@
>   #if defined (HAVE_LOGL)
>   #define crm_logl(val)       logl(val)
>   #else
>  -#error define/find a suitable high precision log10 function for your system
>  +#error "define/find a suitable high precision log10 function for your system"
>   #endif
>   #endif

Fixed.


>  Second reason:
>  crmregex_tre.c: In function 'crm_regcomp':
>  crmregex_tre.c:285: error: 'regex_t' has no member named 'value'
>  make[2]: *** [crmregex_tre.o] Error 1
>  make[2]: Leaving directory `/var/tmp/portage/app-text/crm114-20080325/work/crm114-20080325-BlameSentansoken/src'
>  make[1]: *** [all] Error 2
>  make[1]: Leaving directory `/var/tmp/portage/app-text/crm114-20080325/work/crm114-20080325-BlameSentansoken/src'
>  make: *** [all-recursive] Error 1

Ah, this may be going to be harder nut to crack. I believe Bill faked
it by providing the TRE header file with the /src/ wget tree, but
that's not playing nice...
Hm...

Quick check: does your generated src/config.h have 'HAVE_TRE_REGEX_H'
#define'd to '1'?

(Better yet, since you're definitely on a system which is slightly
other than the boxes I test this stuff on, can you please please email
me your generated src/config.h? And the 'config.status' and
'config.log' files too, so I can have a look at the configure
operation as it happens over at your place?

Thanks a bundle!

Ger



>  It uses the standard regex.h instead the one from tre.

VERY probably a screwup of mine in the sysincludes.h portability code:
preferences for which regex lib/headers should be loaded first / only.
:-(




-- 
Met vriendelijke groeten / Best regards,

Ger Hobbelt

--------------------------------------------------
web: http://www.hobbelt.com/
 http://www.hebbut.net/
mail: [email protected]
mobile: +31-6-11 120 978
--------------------------------------------------

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.