The suggestion below worked, thank you.

Jon Burgess wrote:
> On Thu, 2008-10-30 at 13:57 -0700, Jeff Burton wrote:
>> Hi there,
>>
>> I've been using pkgsrc, so everything installs into ~/pkg/
>> I got the source from svn, rev 750 it says.
>>
>> I wondered about the linking stuff, but the name of the file 
>> (libboost_thread-mt.so) is the same as the symbolic link on my ubuntu 
>> system, so I thought that should be fine.
>>
>> The problem appears to be uncovered in the config.log (below)
>> Can I turn on threading support in the compiler with the scons program?
> 
> It seems like it does not want to take additional flags from the
> environment, try adding a line to set the pthread option to the
> SConstruct file
> 
> @@ -117,6 +117,9 @@
>      if env['THREADING'] == 'multi':
>          env['CXXFLAGS'] = ['-mt']
> 
> +env['CXXFLAGS'] = ['-pthread']
> +
> +
>  # Decide which libagg to use
>  if env['INTERNAL_LIBAGG']:
>      env.Prepend(CPPPATH = '#agg/include');
> 
> 

_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to