Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Aug 2003 14:50:46 +0900
From:      Rob Lahaye <lahaye@snu.ac.kr>
To:        freebsd-questions@freebsd.org
Subject:   Qt compiled from ports: inconvenient default to threaded libs?
Message-ID:  <3F430C36.5060306@snu.ac.kr>

next in thread | raw e-mail | index | archive | help

Hi,

I have compiled qt-3.1.2_1 from ports "as is".

It appears that FreeBSD defaults to creating the threaded libraries,
which confuses certain configure scripts.

Problem is that configure scripts of some software needs tweeking:
add -DTHEAD_SAFE, replace "-lc" by "-lc_r", etc.

(main reason is that compilation with threading is so much
different on FreeBSD than this is, for example, on Linux)


However, life would be much easier if either
    Qt ports build creates both, threaded and unthreaded libs
or
    The Qt ports build allows creating only the unthreaded libs.

Is there any good reason why the threaded libs are choosen to
be the default, without offering easy MAKE options to change
this behaviour?

Regards,
Rob.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F430C36.5060306>